ERRORS: qdbm.spec

Tomasz Wittner twittner w o2.pl
Wto, 31 Paź 2006, 22:20:46 CET


On Tue 31. October 2006 21:50, you wrote:
> qdbm.spec (HEAD): FAILED
[...]
> + cd ..
> + cd perl
> + autoconf
> + ./configure LDFLAGS=-Wl,--as-needed  CFLAGS=-O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2  CXXFLAGS=-O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2  FFLAGS=-O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2  CPPFLAGS= CC=i686-pld-linux-gcc CXX=i686-pld-linux-g++ --host=i686-pld-linux --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/qdbm --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-libraries=/usr/lib
> checking for i686-pld-linux-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 ISO C89... none needed
> checking for main in -lc... yes
> checking for main in -lpthread... yes
> checking for main in -lz... yes
> checking for main in -llzo2... yes
> checking for main in -lbz2... yes
> checking for main in -liconv... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
> + /usr/bin/make INSTALLDIRS=vendor OPTIMIZE=-O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2 
> cd depot && [ -f Makefile ] || \
> 	  perl Makefile.PL CC="gcc" INC="-I. -I../.." OPTIMIZE="-O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2 " INSTALLDIRS=vendor \
> 	    LD="ld" LIBS="-L../.. -L../.libs -L../../.libs -lqdbm -lbz2 -llzo2 -lz -lpthread -lc " PREFIX="/usr" ; \
> 	  make
> Checking if your kit is complete...
> Looks good
> Warning: -L../.. changed to -L/home/users/builder/rpm/BUILD/qdbm-1.8.73/perl/depot/../..
> Warning: -L../../.libs changed to -L/home/users/builder/rpm/BUILD/qdbm-1.8.73/perl/depot/../../.libs
> Writing Makefile for Depot
> make[1]: Entering directory `/home/users/builder/rpm/BUILD/qdbm-1.8.73/perl/depot'
> cp Depot.pm blib/lib/Depot.pm
> /usr/bin/perl /usr/share/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/share/perl5/5.8.8/ExtUtils/typemap  Depot.xs > Depot.xsc && mv Depot.xsc Depot.c
> gcc -c  -I. -I../.. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2    -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-pld-linux-thread-multi/CORE"   Depot.c
> Running Mkbootstrap for Depot ()
> chmod 644 Depot.bs
> rm -f blib/arch/auto/Depot/Depot.so
> LD_RUN_PATH="/home/users/builder/rpm/BUILD/qdbm-1.8.73/perl/depot/../../.libs:/usr/lib" ld  -shared -Wl,--as-needed  Depot.o  -o blib/arch/auto/Depot/Depot.so 	\
> 	   -L/home/users/builder/rpm/BUILD/qdbm-1.8.73/perl/depot/../.. -L/home/users/builder/rpm/BUILD/qdbm-1.8.73/perl/depot/../../.libs -lqdbm -lbz2 -llzo2 -lz -lpthread -lc  	\
> 	  
> ld: unrecognized option '-Wl,--as-needed'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ld: use the --help option for usage information
> make[1]: *** [blib/arch/auto/Depot/Depot.so] Error 1
> make[1]: Leaving directory `/home/users/builder/rpm/BUILD/qdbm-1.8.73/perl/depot'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.40337 (%build)
> 
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.40337 (%build)
> error: No files produced.
> Begin-PLD-Builder-Info
> Build-Time: user:88.39s sys:14.36s real:123.86s (faults io:993 non-io:3610288)
> 
> End-PLD-Builder-Info
> 
Co z tym się robi? (przed puszczeniem zbudowałem to na Ac - przeszło)

-- 
Tomasz Wittner


Więcej informacji o liście dyskusyjnej pld-devel-pl