[fpc-devel] rpmbuild fails on FC5:

40 at dk2net.dk 40 at dk2net.dk
Wed Oct 3 16:05:58 CEST 2007


Hi;

I have been trying to (re)compile via the current downloadable 
fpc-2.2.0-0.src.rpm on a Fedora FC5 platform like this:

# rpmbuild --rebuild fpc-2.2.0-0.src.rpm   .. and
# rpmbuild --rebuild --target i686-linux-fc5 fpc-2.2.0-0.src.rpm

My current fpc originates from the FC5 package fpc-2.0.4-2.fc5

Both attempts ends up like this:

-snip-
...
make[2]: Leaving directory `/usr/src/redhat/BUILD/fpc-2.2.0/packages/base'
make -C fpmkunit distinstall
make[2]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fpmkunit'
/bin/mkdir -p units/i386-linux
/usr/src/redhat/BUILD/fpc-2.2.0/compiler/ppc386 -Ur -Xs -O2 -n 
-Fu/usr/src/redhat/BUILD/fpc-2.2.0/rtl/units/i386-linux -Fisrc -FE. 
-FUunits/i386-linux -di386 -dRELEASE src/fpmkunit.pp
/usr/bin/fpcmake -p -Ti386-linux Makefile.fpc
Processing Makefile.fpc
 Writing Package.fpc
/usr/bin/install -m 755 -d 
/var/tmp/fpc-2.2.0-0-root-root/usr/lib/fpc/2.2.0/units/i386-linux/fpmkunit
/usr/bin/install -c -m 644 Package.fpc 
/var/tmp/fpc-2.2.0-0-root-root/usr/lib/fpc/2.2.0/units/i386-linux/fpmkunit
/usr/bin/install -m 755 -d 
/var/tmp/fpc-2.2.0-0-root-root/usr/lib/fpc/2.2.0/units/i386-linux/fpmkunit
/usr/bin/install -c -m 644 units/i386-linux/fpmkunit.ppu 
/var/tmp/fpc-2.2.0-0-root-root/usr/lib/fpc/2.2.0/units/i386-linux/fpmkunit
make[2]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fpmkunit'
make -C fcl-base distinstall
make[2]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-base'
/usr/bin/fpcmake -p -Ti386-linux Makefile.fpc
Processing Makefile.fpc
 Writing Package.fpc
/usr/bin/install -m 755 -d 
/var/tmp/fpc-2.2.0-0-root-root/usr/lib/fpc/2.2.0/units/i386-linux/fcl-base
/usr/bin/install -c -m 644 Package.fpc 
/var/tmp/fpc-2.2.0-0-root-root/usr/lib/fpc/2.2.0/units/i386-linux/fcl-base
/usr/bin/install -m 755 -d 
/var/tmp/fpc-2.2.0-0-root-root/usr/lib/fpc/2.2.0/units/i386-linux/fcl-base
/usr/bin/install -c -m 644 units/i386-linux/contnrs.ppu 
units/i386-linux/inifiles.ppu units/i386-linux/ezcgi.ppu 
units/i386-linux/pipes.ppu units/i386-linux/rtfpars.ppu 
units/i386-linux/idea.ppu units/i386-linux/base64.ppu 
units/i386-linux/gettext.ppu units/i386-linux/iostream.ppu 
units/i386-linux/zstream.ppu units/i386-linux/cachecls.ppu 
units/i386-linux/avl_tree.ppu units/i386-linux/eventlog.ppu 
units/i386-linux/custapp.ppu units/i386-linux/cgiapp.ppu 
units/i386-linux/wformat.ppu units/i386-linux/whtml.ppu 
units/i386-linux/wtex.ppu units/i386-linux/rttiutils.ppu 
units/i386-linux/bufstream.ppu units/i386-linux/streamex.ppu 
units/i386-linux/blowfish.ppu units/i386-linux/zipper.ppu 
units/i386-linux/streamio.ppu units/i386-linux/inicol.ppu 
units/i386-linux/pooledmm.ppu units/i386-linux/libtar.ppu 
units/i386-linux/streamcoll.ppu units/i386-linux/process.ppu 
units/i386-linux/resolve.ppu units/i386-linux/ssockets.ppu 
units/i386-linux/fpasync.ppu units/i386-linux/syncobjs.ppu 
units/i386-linux/simpleipc.ppu units/i386-linux/dbugmsg.ppu 
units/i386-linux/dbugintf.ppu units/i386-linux/daemonapp.ppu 
/var/tmp/fpc-2.2.0-0-root-root/usr/lib/fpc/2.2.0/units/i386-linux/fcl-base
/usr/bin/install -c -m 644 units/i386-linux/contnrs.o 
units/i386-linux/inifiles.o units/i386-linux/ezcgi.o 
units/i386-linux/pipes.o units/i386-linux/rtfpars.o 
units/i386-linux/idea.o units/i386-linux/base64.o 
units/i386-linux/gettext.o units/i386-linux/iostream.o 
units/i386-linux/zstream.o units/i386-linux/cachecls.o 
units/i386-linux/avl_tree.o units/i386-linux/eventlog.o 
units/i386-linux/custapp.o units/i386-linux/cgiapp.o 
units/i386-linux/wformat.o units/i386-linux/whtml.o 
units/i386-linux/wtex.o units/i386-linux/rttiutils.o 
units/i386-linux/bufstream.o units/i386-linux/streamex.o 
units/i386-linux/blowfish.o units/i386-linux/zipper.o 
units/i386-linux/streamio.o units/i386-linux/inicol.o 
units/i386-linux/pooledmm.o units/i386-linux/libtar.o 
units/i386-linux/streamcoll.o units/i386-linux/process.o 
units/i386-linux/resolve.o units/i386-linux/ssockets.o 
units/i386-linux/fpasync.o units/i386-linux/syncobjs.o 
units/i386-linux/simpleipc.o units/i386-linux/dbugmsg.o 
units/i386-linux/dbugintf.o units/i386-linux/daemonapp.o 
units/i386-linux/libpcontnrs.a units/i386-linux/libpinifiles.a 
units/i386-linux/libpezcgi.a units/i386-linux/libppipes.a 
units/i386-linux/libprtfpars.a units/i386-linux/libpidea.a 
units/i386-linux/libpbase64.a units/i386-linux/libpgettext.a 
units/i386-linux/libpiostream.a units/i386-linux/libpzstream.a 
units/i386-linux/libpcachecls.a units/i386-linux/libpavl_tree.a 
units/i386-linux/libpeventlog.a units/i386-linux/libpcustapp.a 
units/i386-linux/libpcgiapp.a units/i386-linux/libpwformat.a 
units/i386-linux/libpwhtml.a units/i386-linux/libpwtex.a 
units/i386-linux/libprttiutils.a units/i386-linux/libpbufstream.a 
units/i386-linux/libpstreamex.a units/i386-linux/libpblowfish.a 
units/i386-linux/libpzipper.a units/i386-linux/libpstreamio.a 
units/i386-linux/libpinicol.a units/i386-linux/libppooledmm.a 
units/i386-linux/libplibtar.a units/i386-linux/libpstreamcoll.a 
units/i386-linux/libpprocess.a units/i386-linux/libpresolve.a 
units/i386-linux/libpssockets.a units/i386-linux/libpfpasync.a 
units/i386-linux/libpsyncobjs.a units/i386-linux/libpsimpleipc.a 
units/i386-linux/libpdbugmsg.a units/i386-linux/libpdbugintf.a 
units/i386-linux/libpdaemonapp.a 
/var/tmp/fpc-2.2.0-0-root-root/usr/lib/fpc/2.2.0/units/i386-linux/fcl-base
make[2]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-base'
make -C fcl-db distinstall
make[2]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db'
make -C src/sdf all
make[3]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sdf'
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sdf'
make -C src/memds all
make[3]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/memds'
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/memds'
make -C src/sqldb all
make[3]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb'
make -C interbase all
make[4]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb/interbase'
make[4]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb/interbase'
make -C postgres all
make[4]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb/postgres'
make[4]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb/postgres'
make -C mysql all
make[4]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb/mysql'
make[4]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb/mysql'
make -C odbc all
make[4]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb/odbc'
make[4]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb/odbc'
make -C oracle all
make[4]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb/oracle'
make[4]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb/oracle'
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqldb'
make -C src/dbase all
make[3]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/dbase'
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/dbase'
make -C src/sqlite all
make[3]: Entering directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqlite'
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db/src/sqlite'
/usr/bin/fpcmake -p -Ti386-linux Makefile.fpc
Processing Makefile.fpc
Error: Target "linux", package "fcl-base" not found
make[2]: *** [fpc_install] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/fpc-2.2.0/packages/fcl-db'
make[1]: *** [fcl-db_distinstall] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/fpc-2.2.0/packages'
make: *** [packages_distinstall] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.69465 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.69465 (%install)


- end snip -

When I peek into the build tree in /var/tmp it looks as if the whole 
fcl-base has been compiled, but the rest of the build process is not 
aware of it.

Any clues on how to fix this ?





More information about the fpc-devel mailing list