[Pkg-firebird-general] fb2 packages ready for testing

Remco Seesink raseesink@hotpop.com
Mon, 28 Jun 2004 03:31:18 +0200


> Hi all
> 
> http://debian.sente.pl/fb2
> 
> There are sources of packages and debs compiled
> for debian woody.
> Tomorrow I will compile it on sarge.
> Please test it and give me a feed back -
> what in your opinion is lacking to finish them.

Great! 

You may want to add this build dependency:
docbook-to-man

I just tried compiling on sarge and sid. It fails on both
in the same way on compiling super with this in the end of the log:

--------------------------------------------------------------------------------
g++  ../temp/static.gpre/gpre/cmd.o ../temp/static.gpre/gpre/cme.o ../temp/static.gpre/gpre/cmp.o ../temp/static.gpre/gpre/c_cxx.o ../temp/static.gpre/gpre/exp.o ../temp/
static.gpre/gpre/gpre.o ../temp/static.gpre/gpre/hsh.o ../temp/static.gpre/gpre/int.o ../temp/static.gpre/gpre/int_cxx.o ../temp/static.gpre/gpre/jrdmet.o ../temp/static.
gpre/gpre/movg.o ../temp/static.gpre/gpre/msc.o ../temp/static.gpre/gpre/par.o ../temp/static.gpre/gpre/pat.o ../temp/static.gpre/gpre/sqe.o ../temp/static.gpre/gpre/sql.
o ../temp/static.gpre/gpre/noform.o ../temp/static.gpre/gpre/gpre_meta.o -o ../gen/firebird/bin/gpre_static -L../gen/firebird/lib -lfbstatic -lfbcommon -lstdc++ -lcurses 
-lcrypt -lpthread -lm -lc -ldl  -leditline
../gen/firebird/lib/libfbstatic.a(gds.o)(.text+0x784): In function `.L84':
../src/jrd/gds.cpp:969: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
../gen/firebird/lib/libfbstatic.a(gds.o)(.text+0x777):../src/jrd/gds.cpp:969: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
rm -f ../gen/firebird/bin/gpre_current
(cd ../gen/firebird/bin; ln -s gpre_static gpre_current)
make[4]: Leaving directory `/home/remco/packaging/daniel/firebird2-1.5.0/src'
make[3]: Leaving directory `/home/remco/packaging/daniel/firebird2-1.5.0/src'
/usr/bin/make boot_phase2_build
make[3]: Entering directory `/home/remco/packaging/daniel/firebird2-1.5.0/src'
/usr/bin/make -f ../gen/Makefile.embed.util create_db
make[4]: Entering directory `/home/remco/packaging/daniel/firebird2-1.5.0/src'
need to rebuild ../src/utilities/ppg.cpp
echo ../temp/embed.util/utilities/ppg.o " : FORCE" > ../temp/embed.util/utilities/ppg.d
need to rebuild ../src/utilities/dba.epp
echo ../temp/embed.util/utilities/dba.o " : FORCE" > ../temp/embed.util/utilities/dba.d
need to rebuild ../src/utilities/gsec.cpp
echo ../temp/embed.util/utilities/gsec.o " : FORCE" > ../temp/embed.util/utilities/gsec.d
need to rebuild ../src/utilities/drop.cpp
echo ../temp/embed.util/utilities/drop.o " : FORCE" > ../temp/embed.util/utilities/drop.d
need to rebuild ../src/utilities/create_db.cpp
echo ../temp/embed.util/utilities/create_db.o " : FORCE" > ../temp/embed.util/utilities/create_db.d
make[4]: Leaving directory `/home/remco/packaging/daniel/firebird2-1.5.0/src'
make[4]: Entering directory `/home/remco/packaging/daniel/firebird2-1.5.0/src'
g++   -I../src/include/gen -I../src/include -ggdb -O3 -march=i486 -mcpu=i486 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC  -DPROD_BUILD -c ../sr
c/utilities/create_db.cpp -o ../temp/embed.util/utilities/create_db.o
g++  ../temp/embed.util/utilities/create_db.o -o ../gen/firebird/bin/create_db -L../gen/firebird/lib -lfbstatic -lfbcommon -lstdc++ -lcurses -lcrypt -lpthread -lm -lc -ld
l  -leditline
../gen/firebird/lib/libfbstatic.a(gds.o)(.text+0x784): In function `.L84':
../src/jrd/gds.cpp:969: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
../gen/firebird/lib/libfbstatic.a(gds.o)(.text+0x777):../src/jrd/gds.cpp:969: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
make[4]: Leaving directory `/home/remco/packaging/daniel/firebird2-1.5.0/src'
/usr/bin/make -f ../gen/Makefile.refDatabases empty_db
make[4]: Entering directory `/home/remco/packaging/daniel/firebird2-1.5.0/src'
rm -f empty.fdb
../gen/firebird/bin/create_db empty.fdb
make[4]: *** [empty.fdb] Segmentation fault
make[4]: *** Deleting file `empty.fdb'
make[4]: Leaving directory `/home/remco/packaging/daniel/firebird2-1.5.0/src'
make[3]: *** [empty_db] Error 2
make[3]: Leaving directory `/home/remco/packaging/daniel/firebird2-1.5.0/src'
make[2]: *** [../gen/firebird/security.fdb] Error 2
make[2]: Leaving directory `/home/remco/packaging/daniel/firebird2-1.5.0/src'
make[1]: *** [firebird] Error 2
make[1]: Leaving directory `/home/remco/packaging/daniel/firebird2-1.5.0'
------------------------------------------------------------

Which doesn't happen when this:

------------------------------------------------------------
--- firebird2-1.5.0.orig/builds/posix/prefix.linux
+++ firebird2-1.5.0/builds/posix/prefix.linux
@@ -22,7 +22,7 @@
 
 # -fno-builtin is used because GCC 3.0-3.2.2 had bug with builtins expansion
 # you may remove it if engine is getting compiled with any other GCC version
-PROD_FLAGS=-ggdb -O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builti
n -DNDEBUG -DLINUX -pipe -MMD -fPIC
+PROD_FLAGS=-ggdb -O3 -march=i486 -mcpu=i486 -fno-omit-frame-pointer -fno-builti
n -DNDEBUG -DLINUX -pipe -MMD -fPIC
 DEV_FLAGS=-ggdb -DLINUX -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall -Wno-switch
 
 OS_ServerFiles=inet_server.cpp
------------------------------------------------------------

isn't applied. But that is not a solution. Without it it fails on this:

------------------------------------------------------------
# Add here commands to install the package into debian/firebird2.
./debian/make_packages.sh
make: execvp: ./debian/make_packages.sh: Permission denied
make: *** [install] Error 127
debuild: fatal error at line 763:
dpkg-buildpackage failed!
 make_packages.sh 
------------------------------------------------------------
because make_packages.sh is not set executable? Strange it worked on woody.

When that is fixed .debs come out on at least sarge.

Cheers,
Remco.