Fwd: ERRORS: rlocate.spec

Elan Ruusamäe glen at delfi.ee
Sat May 21 17:29:53 CEST 2005


how this should be handled?

----------  Forwarded Message  ----------

Subject: ERRORS: rlocate.spec
Date: Saturday 21 May 2005 18:26
From: PLD ac-i686 builder <builder-ac-i686 at pld-linux.org>
To: glen at pld-linux.org
Cc: pld-logs-builder at lists.pld-linux.org

rlocate.spec (HEAD): FAILED

--- rlocate.spec:HEAD:
Build-Time: user:16.24s sys:6.58s real:23.36s (faults io:0 non-io:637435)



*** buildlog for rlocate.spec
request from: glen
started at: Sat May 21 17:26:05 2005
fetching
 http://ep09.pld-linux.org/~buildsrc/srpms/23d484cf-93b7-470e-a306-0eb767613e
99/rlocate-0.2.4-0.14.src.rpm fetched 196454 bytes, 948.3 K/s
installing srpm: rlocate-0.2.4-0.14.src.rpm
checking BR
no BR needed
building RPM using: cd rpm/SPECS; TMPDIR=/tmp/B.7230bf nice -n 0 rpmbuild -bb
  --target i686-pld-linux rlocate.spec Building target platforms:
 i686-pld-linux
Building for target i686-pld-linux
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.28797
+ umask 022
+ cd /home/users/builder/rpm/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ :
+ unset LINGUAS
+ :
+ cd /home/users/builder/rpm/BUILD
+ rm -rf rlocate-0.2.4
+ /bin/gzip -dc /home/users/builder/rpm/SOURCES/rlocate-0.2.4.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd rlocate-0.2.4
+ /bin/id -u
+ [ 10010 = 0 ]
+ true .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo Patch #0 (rlocate-build.patch):
Patch #0 (rlocate-build.patch):
+ patch -p1 -s
+ < /home/users/builder/rpm/SOURCES/rlocate-build.patch
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28797
+ umask 022
+ cd /home/users/builder/rpm/BUILD
+ cd rlocate-0.2.4
+ LANG=C
+ export LANG
+ unset DISPLAY
+ :
+ unset LINGUAS
+ :
+ libtoolize --copy --force
Remember to add `AC_PROG_LIBTOOL' to `configure.ac'.
You should update your `aclocal.m4' by running aclocal.
+ aclocal -I m4
+ autoconf
+ autoheader
+ automake -a -c -f --foreign
+ ./configure LDFLAGS= CFLAGS=-O2 -march=i686 CXXFLAGS=-O2 -march=i686
 FFLAGS=-O2 -march=i686 CPPFLAGS= CC=i686-pld-linux-gcc
 CXX=i686-pld-linux-g++ --build=i686-pld-linux --prefix=/usr
 --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib
 --mandir=/usr/share/man --infodir=/usr/share/info
 --x-libraries=/usr/X11R6/lib --localstatedir=/var/lib checking for a
 BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... i686-pld-linux-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 i686-pld-linux-gcc accepts -g... yes
checking for i686-pld-linux-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pld-linux-gcc... gcc3
checking whether i686-pld-linux-gcc and cc understand -c and -o together...
 yes checking for mknod... /bin/mknod
checking for depmod... /sbin/depmod
checking for '/etc/cron.daily/' directory... yes
checking whether to enable updates in rlocate module... no
checking whether to enable sandboxed... no
checking for perl... /usr/bin/perl
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... i686-pld-linux-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether stat file-mode macros are broken... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for unistd.h... (cached) yes
checking fts.h usability... yes
checking fts.h presence... yes
checking for fts.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for off_t... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking for working POSIX fnmatch... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether closedir returns void... no
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat dereferences a symlink specified with a trailing
 slash... yes checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing
 slash... (cached) yes checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether stat accepts an empty string... no
checking for working alloca.h... yes
checking for alloca... yes
checking for mbstate_t... yes
checking for working POSIX fnmatch... (cached) yes
checking for getcwd... yes
checking for regcomp... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for bzero... yes
checking for fchdir... yes
checking for memset... yes
checking for strchr... yes
checking for strrchr... yes
checking for getgrnam... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rlocate-daemon/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating rlocate-scripts/rlocate-checkpoint
config.status: creating rlocate-scripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
+ /usr/bin/make
cd . && /bin/sh /home/users/builder/rpm/BUILD/rlocate-0.2.4/missing --run
 autoheader rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/bin/make  all-recursive
make[1]: Entering directory `/home/users/builder/rpm/BUILD/rlocate-0.2.4'
Making all in doc
make[2]: Entering directory `/home/users/builder/rpm/BUILD/rlocate-0.2.4/doc'
Making all in man
make[3]: Entering directory
 `/home/users/builder/rpm/BUILD/rlocate-0.2.4/doc/man' make[3]: Nothing to be
 done for `all'.
make[3]: Leaving directory
 `/home/users/builder/rpm/BUILD/rlocate-0.2.4/doc/man' make[3]: Entering
 directory `/home/users/builder/rpm/BUILD/rlocate-0.2.4/doc' make[3]: Nothing
 to be done for `all-am'.
make[3]: Leaving directory `/home/users/builder/rpm/BUILD/rlocate-0.2.4/doc'
make[2]: Leaving directory `/home/users/builder/rpm/BUILD/rlocate-0.2.4/doc'
Making all in rlocate-daemon
make[2]: Entering directory
 `/home/users/builder/rpm/BUILD/rlocate-0.2.4/rlocate-daemon' if
 i686-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. 
 -DRLOCATE_DB=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo rlocate|sed
 's,x,x,'`.db\" -DMODULE_CFG=\"/etc/`echo rlocate|sed 's,x,x,'`/module.cfg\"
 -DRLOCATE_GRP=\"`echo rlocate|sed 's,x,x,'`\"  -O2 -Wall -O2 -march=i686 -MT
 misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o `test -f '../misc.c' ||
 echo './'`../misc.c; \ then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm
 -f ".deps/misc.Tpo"; exit 1; fi if i686-pld-linux-gcc -DHAVE_CONFIG_H -I.
 -I. -I..  -DRLOCATE_DB=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo
 rlocate|sed 's,x,x,'`.db\" -DMODULE_CFG=\"/etc/`echo rlocate|sed
 's,x,x,'`/module.cfg\" -DRLOCATE_GRP=\"`echo rlocate|sed 's,x,x,'`\"  -O2
 -Wall -O2 -march=i686 -MT pidfile.o -MD -MP -MF ".deps/pidfile.Tpo" -c -o
 pidfile.o `test -f '../pidfile.c' || echo './'`../pidfile.c; \ then mv -f
 ".deps/pidfile.Tpo" ".deps/pidfile.Po"; else rm -f ".deps/pidfile.Tpo"; exit
 1; fi if i686-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. 
 -DRLOCATE_DB=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo rlocate|sed
 's,x,x,'`.db\" -DMODULE_CFG=\"/etc/`echo rlocate|sed 's,x,x,'`/module.cfg\"
 -DRLOCATE_GRP=\"`echo rlocate|sed 's,x,x,'`\"  -O2 -Wall -O2 -march=i686 -MT
 rlocated.o -MD -MP -MF ".deps/rlocated.Tpo" -c -o rlocated.o rlocated.c; \
 then mv -f ".deps/rlocated.Tpo" ".deps/rlocated.Po"; else rm -f
 ".deps/rlocated.Tpo"; exit 1; fi i686-pld-linux-gcc -O2 -Wall -O2
 -march=i686   -o rlocated  misc.o pidfile.o rlocated.o make[2]: Leaving
 directory `/home/users/builder/rpm/BUILD/rlocate-0.2.4/rlocate-daemon'
 Making all in rlocate-scripts
make[2]: Entering directory
 `/home/users/builder/rpm/BUILD/rlocate-0.2.4/rlocate-scripts' sed \
-e "s, at RLOCATE_DB@,/var/lib/`echo rlocate|sed 's,x,x,'`/`echo rlocate|sed
 's,x,x,'`.db," \ -e "s, at RLOCATED_CMD@,/usr/sbin/`echo rlocated|sed
 's,x,x,'`," \
./rlocate-checkpoint > \
	./rlocate-checkpoint.temp
cp ./rlocate-checkpoint.temp ./rlocate-checkpoint
rm ./rlocate-checkpoint.temp
make[2]: Leaving directory
 `/home/users/builder/rpm/BUILD/rlocate-0.2.4/rlocate-scripts' make[2]:
 Entering directory `/home/users/builder/rpm/BUILD/rlocate-0.2.4' if
 i686-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. 
 -DRLOCATE_DB=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo rlocate|sed
 's,x,x,'`.db\" -DRLOCATE_DB_TMP=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo
 rlocate|sed 's,x,x,'`.db.tmp\" -DRLOCATE_DB_DIR=\"/var/lib/`echo rlocate|sed
 's,x,x,'`\" -DMODULE_CFG=\"/etc/`echo rlocate|sed 's,x,x,'`/module.cfg\"
 -DRLOCATE_GRP=\"`echo rlocate|sed 's,x,x,'`\"
 -DRLOCATED_CMD=\"/usr/sbin/`echo rlocated|sed 's,x,x,'`\"  -O2 -Wall -O2
 -march=i686 -MT pidfile.o -MD -MP -MF ".deps/pidfile.Tpo" -c -o pidfile.o
 pidfile.c; \ then mv -f ".deps/pidfile.Tpo" ".deps/pidfile.Po"; else rm -f
 ".deps/pidfile.Tpo"; exit 1; fi if i686-pld-linux-gcc -DHAVE_CONFIG_H -I.
 -I. -I.  -DRLOCATE_DB=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo
 rlocate|sed 's,x,x,'`.db\" -DRLOCATE_DB_TMP=\"/var/lib/`echo rlocate|sed
 's,x,x,'`/`echo rlocate|sed 's,x,x,'`.db.tmp\"
 -DRLOCATE_DB_DIR=\"/var/lib/`echo rlocate|sed 's,x,x,'`\"
 -DMODULE_CFG=\"/etc/`echo rlocate|sed 's,x,x,'`/module.cfg\"
 -DRLOCATE_GRP=\"`echo rlocate|sed 's,x,x,'`\"
 -DRLOCATED_CMD=\"/usr/sbin/`echo rlocated|sed 's,x,x,'`\"  -O2 -Wall -O2
 -march=i686 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
 then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo";
 exit 1; fi if i686-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. 
 -DRLOCATE_DB=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo rlocate|sed
 's,x,x,'`.db\" -DRLOCATE_DB_TMP=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo
 rlocate|sed 's,x,x,'`.db.tmp\" -DRLOCATE_DB_DIR=\"/var/lib/`echo rlocate|sed
 's,x,x,'`\" -DMODULE_CFG=\"/etc/`echo rlocate|sed 's,x,x,'`/module.cfg\"
 -DRLOCATE_GRP=\"`echo rlocate|sed 's,x,x,'`\"
 -DRLOCATED_CMD=\"/usr/sbin/`echo rlocated|sed 's,x,x,'`\"  -O2 -Wall -O2
 -march=i686 -MT link.o -MD -MP -MF ".deps/link.Tpo" -c -o link.o link.c; \
 then mv -f ".deps/link.Tpo" ".deps/link.Po"; else rm -f ".deps/link.Tpo";
 exit 1; fi if i686-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. 
 -DRLOCATE_DB=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo rlocate|sed
 's,x,x,'`.db\" -DRLOCATE_DB_TMP=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo
 rlocate|sed 's,x,x,'`.db.tmp\" -DRLOCATE_DB_DIR=\"/var/lib/`echo rlocate|sed
 's,x,x,'`\" -DMODULE_CFG=\"/etc/`echo rlocate|sed 's,x,x,'`/module.cfg\"
 -DRLOCATE_GRP=\"`echo rlocate|sed 's,x,x,'`\"
 -DRLOCATED_CMD=\"/usr/sbin/`echo rlocated|sed 's,x,x,'`\"  -O2 -Wall -O2
 -march=i686 -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c; \
 then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo";
 exit 1; fi if i686-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. 
 -DRLOCATE_DB=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo rlocate|sed
 's,x,x,'`.db\" -DRLOCATE_DB_TMP=\"/var/lib/`echo rlocate|sed 's,x,x,'`/`echo
 rlocate|sed 's,x,x,'`.db.tmp\" -DRLOCATE_DB_DIR=\"/var/lib/`echo rlocate|sed
 's,x,x,'`\" -DMODULE_CFG=\"/etc/`echo rlocate|sed 's,x,x,'`/module.cfg\"
 -DRLOCATE_GRP=\"`echo rlocate|sed 's,x,x,'`\"
 -DRLOCATED_CMD=\"/usr/sbin/`echo rlocated|sed 's,x,x,'`\"  -O2 -Wall -O2
 -march=i686 -MT rlocate.o -MD -MP -MF ".deps/rlocate.Tpo" -c -o rlocate.o
 rlocate.c; \ then mv -f ".deps/rlocate.Tpo" ".deps/rlocate.Po"; else rm -f
 ".deps/rlocate.Tpo"; exit 1; fi i686-pld-linux-gcc -O2 -Wall -O2 -march=i686
   -o rlocate  pidfile.o main.o link.o misc.o rlocate.o make[2]: Leaving
 directory `/home/users/builder/rpm/BUILD/rlocate-0.2.4' make[1]: Leaving
 directory `/home/users/builder/rpm/BUILD/rlocate-0.2.4' + cat
+ 2>&1
+ << "EOF"
WARNING:
- CONFIG_SECURITY must be enabled in the kernel config,
- Capabilities must be built as a module or disabled in the kernel config,
for nondist kernel build to work.
+ cd rlocate-module
+ [ ! -r /usr/src/linux/config-smp ]
+ rm -rf include
+ install -d include/linux include/config
+ ln -sf /usr/src/linux/config-smp .config
+ ln -sf /usr/src/linux/include/linux/autoconf-smp.h include/linux/autoconf.h
+ ln -sf /usr/src/linux/include/asm-i386 include/asm
+ ln -sf /usr/src/linux/scripts scripts
+ touch include/config/MARKER
+ echo EXTRA_CFLAGS:= -DRL_VERSION=\"0.2.4\" -DRLOCATE_UPDATES
+ > Makefile
+ echo obj-m:= rlocate.o
+ >> Makefile
+ /usr/bin/make -C /usr/src/linux clean RCS_FIND_IGNORE=-name '*.ko' -o
 M=/home/users/builder/rpm/BUILD/rlocate-0.2.4/rlocate-module
 O=/home/users/builder/rpm/BUILD/rlocate-0.2.4/rlocate-module make: Entering
 directory `/usr/src/linux-2.6.11.10'
make: Leaving directory `/usr/src/linux-2.6.11.10'
+ /usr/bin/make -C /usr/src/linux modules CC=i686-pld-linux-gcc
 CPP=i686-pld-linux-gcc -E
 M=/home/users/builder/rpm/BUILD/rlocate-0.2.4/rlocate-module
 O=/home/users/builder/rpm/BUILD/rlocate-0.2.4/rlocate-module make: Entering
 directory `/usr/src/linux-2.6.11.10'
  HOSTCC  scripts/basic/fixdep
cc1: Permission denied: opening dependency file scripts/basic/.fixdep.d
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** [modules] Error 2
make: Leaving directory `/usr/src/linux-2.6.11.10'
error: Bad exit status from /var/tmp/rpm-tmp.28797 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.28797 (%build)
error: No files produced.
Begin-PLD-Builder-Info
Build-Time: user:16.24s sys:6.58s real:23.36s (faults io:0 non-io:637435)

End-PLD-Builder-Info

-------------------------------------------------------

-- 
glen



More information about the pld-devel-en mailing list