Call for developers: rpmbuilder
Chris Evich
cevich at redhat.com
Tue Sep 9 17:57:22 UTC 2008
> Chris Evich wrote:
>> Hi,
>>
>> Hopefully this is the right mailing list :)
>>
>> Project rpmbuilder aims to provide a template-based approach to packaging. In
>> other words, it removes responsibility from developer to produce an RPM spec
>> file the "right" way. Instead, the package developer just feeds in his
>> project's particulars, and a template-driven engine puts the pieces together
>> and spits out a "sane" RPM and SRPM.
>>
>> https://fedorahosted.org/rpmbuilder
>
> Interesting. Fails to build here:
>
> gcc -D__USE_FIXED_PROTOTYPES__ -Wall -g -pthread -DORBIT2=1
> -I/home/behdad/.local/include/cairo -I/home/behdad/.local/include/pango-1.0
> -I/home/behdad/.local/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libgnome-2.0
> -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0
> -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0
> -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0
> -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0
> -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libart-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2
> -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/libxml2
> -c -o template.o template.c
> In file included from template.c:32:
> macro.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘macro_new_context’
> macro.h:42: error: expected ‘)’ before ‘mc’
> macro.h:47: error: expected ‘)’ before ‘mc’
> macro.h:52: error: expected ‘)’ before ‘mc’
> template.c: In function ‘template_expand’:
> template.c:41: error: ‘MacroContext’ undeclared (first use in this function)
> template.c:41: error: (Each undeclared identifier is reported only once
> template.c:41: error: for each function it appears in.)
> template.c:41: error: expected ‘;’ before ‘mc’
> template.c:49: error: ‘mc’ undeclared (first use in this function)
> template.c:49: warning: implicit declaration of function ‘macro_new_context’
> make: *** [template.o] Error 1
I think you're missing rpm-devel or some other rpm headers/libraries. Though
N.B. The current development version won't actually do anything for you. See
the project page for a link to a (very old but somewhat working) version.
Contact me off-list for any questions/proposals/info./etc.
More information about the devel
mailing list