rendered paste body[elake@ronin numlockx]$ cat numlockx.recipe
class Numlockx(AutoPackageRecipe):
name = "numlockx"
version = "1.1"
buildRequires = [ 'libXt:devel', 'libX11:devel', 'automake:runtime',
'autoconf:runtime', 'libXext:devel', 'libXtst:devel', ]
def unpack(r):
r.addArchive('http://ktown.kde.org/~seli/%(name)s/')
r.addSource('numlockx.sh',
dest='%(sysconfdir)s/X11/xinit/xinitrc.d/', mode=0755)
def configure(r):
r.macros.optflags = '-O3'
r.Automake()
r.Configure()
[elake@ronin numlockx]$
[elake@ronin numlockx]$ cvc cook numlockx.recipe
+ Methods called:
AutoPackageRecipe.setup
Numlockx.unpack
Numlockx.configure
AutoPackageRecipe.make
AutoPackageRecipe.makeinstall
AutoPackageRecipe.policy
+ Building numlockx=etank.rpath.org@fl:2-devel[]
+ Cleaning your old build tree
+ found numlockx-1.1.tar.gz in repository
+ copying /home/elake/conary/etank/numlockx/numlockx.sh to /home/elake/conary/builds/numlockx/_ROOT_/etc/X11/xinit/xinitrc.d//numlockx.sh
+ cd '/home/elake/conary/builds/numlockx/numlockx-1.1/' && aclocal && autoconf && automake
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/audiofile.m4:12: run info '(automake)Extending aclocal'
/usr/share/aclocal/audiofile.m4:12: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
+ cd '/home/elake/conary/builds/numlockx/numlockx-1.1/'; CLASSPATH="" CFLAGS="-O3 -g -D_FORTIFY_SOURCE=2 -fstack-protector" CXXFLAGS="-O3 -g -D_FORTIFY_SOURCE=2 -fstack-protector " CPPFLAGS="" LDFLAGS="-g -O1 " CC=gcc CXX=g++ ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!
error: Shell command "cd '/home/elake/conary/builds/numlockx/numlockx-1.1/'; CLASSPATH="" CFLAGS="-O3 -g -D_FORTIFY_SOURCE=2 -fstack-protector" CXXFLAGS="-O3 -g -D_FORTIFY_SOURCE=2 -fstack-protector " CPPFLAGS="" LDFLAGS="-g -O1 " CC=gcc CXX=g++ ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info " exited with exit code 1
Shell command "cd '/home/elake/conary/builds/numlockx/numlockx-1.1/'; CLASSPATH="" CFLAGS="-O3 -g -D_FORTIFY_SOURCE=2 -fstack-protector" CXXFLAGS="-O3 -g -D_FORTIFY_SOURCE=2 -fstack-protector " CPPFLAGS="" LDFLAGS="-g -O1 " CC=gcc CXX=g++ ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info " exited with exit code 1
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/conary/build/cook.py", line 1170, in _cookPackageObject
recipeObj.doBuild(builddir, resume=resume)
File "/usr/lib/python2.4/site-packages/conary/build/packagerecipe.py", line 458, in doBuild
bld.doAction()
File "/usr/lib/python2.4/site-packages//conary/build/build.py", line 116, in doAction
self.do(self.recipe.macros)
File "/usr/lib/python2.4/site-packages//conary/build/build.py", line 530, in do
util.execute(self.command %macros)
File "/usr/lib/python2.4/site-packages/conary/lib/util.py", line 253, in execute
_handle_rc(rc, cmd)
File "/usr/lib/python2.4/site-packages/conary/lib/util.py", line 236, in _handle_rc
raise RuntimeError, info
RuntimeError: Shell command "cd '/home/elake/conary/builds/numlockx/numlockx-1.1/'; CLASSPATH="" CFLAGS="-O3 -g -D_FORTIFY_SOURCE=2 -fstack-protector" CXXFLAGS="-O3 -g -D_FORTIFY_SOURCE=2 -fstack-protector " CPPFLAGS="" LDFLAGS="-g -O1 " CC=gcc CXX=g++ ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info " exited with exit code 1
/var/tmp/temp-numlockx-If34-D.recipe:16: RuntimeError: Shell command "cd '/home/elake/conary/builds/numlockx/numlockx-1.1/'; CLASSPATH="" CFLAGS="-O3 -g -D_FORTIFY_SOURCE=2 -fstack-protector" CXXFLAGS="-O3 -g -D_FORTIFY_SOURCE=2 -fstack-protector " CPPFLAGS="" LDFLAGS="-g -O1 " CC=gcc CXX=g++ ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info " exited with exit code 1