dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: source package libdbd-oracle-perl dpkg-buildpackage: source version 1.36-1 dpkg-buildpackage: source changed by Joost van Baal-Ilić dpkg-source --before-build DBD-Oracle-1.36 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot dh_clean build-stamp install-stamp # Add commands to clean up after the build process here [ ! -f Makefile ] || /usr/bin/make realclean make[1]: Entering directory `/home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36' rm -f \ *.a core \ core.[0-9] blib/arch/auto/DBD/Oracle/extralibs.all \ core.[0-9][0-9] Oracle.bso \ pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \ Oracle.x Oracle.bs \ perl tmon.out \ *.o pm_to_blib \ blib/arch/auto/DBD/Oracle/extralibs.ld blibdirs.ts \ Oracle.c core.[0-9][0-9][0-9][0-9][0-9] \ *perl.core core.*perl.*.? \ Makefile.aperl perl \ Oracle.def core.[0-9][0-9][0-9] \ mon.out libOracle.def \ perlmain.c perl.exe \ so_locations Oracle.exp rm -rf \ dll.base DBD_ORA_OBJ.* \ Oracle.xsi dll.exp \ libOracle.def sqlnet.log \ blib xstmp.c \ mk.pm mv Makefile Makefile.old > /dev/null 2>&1 rm -f \ Oracle.o dbdimp.o oci8.o Makefile.old \ Makefile rm -rf \ DBD-Oracle-1.36 make[1]: Leaving directory `/home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36' dpkg-source -b DBD-Oracle-1.36 dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: warning: source directory 'DBD-Oracle-1.36' is not - 'libdbd-oracle-perl-1.36' dpkg-source: warning: .orig directory name DBD-Oracle-1.36.orig is not - (wanted libdbd-oracle-perl-1.36.orig) dpkg-source: info: using source format `1.0' dpkg-source: info: building libdbd-oracle-perl using existing libdbd-oracle-perl_1.36.orig.tar.gz dpkg-source: info: building libdbd-oracle-perl in libdbd-oracle-perl_1.36-1.diff.gz dpkg-source: info: building libdbd-oracle-perl in libdbd-oracle-perl_1.36-1.dsc debian/rules build dh_testdir # Add commands to compile the package here # JvB /usr/bin/perl Makefile.PL -V 11.2 -m /usr/share/oracle/11.2/client64/demo.mk INSTALLDIRS=vendor Using DBI 1.612 (for perl 5.010001 on x86_64-linux-gnu-thread-multi) installed in /usr/lib/perl5/auto/DBI/ Configuring DBD::Oracle for perl 5.010001 on linux (x86_64-linux-gnu-thread-multi) Remember to actually *READ* the README file! Especially if you have any problems. Installing on a linux, Ver#2.6 Using Oracle in /usr/lib/oracle/11.2/client64 Can't find sqlplus. Pity, it would have helped. Forcing Oracle version to be treated as 11.2 Oracle version 11.2 (11.2) Found /usr/share/oracle/11.2/client64/demo.mk Found /usr/share/oracle/11.2/client64/demo.mk Using /usr/share/oracle/11.2/client64/demo.mk Your LD_LIBRARY_PATH env var is set to '/usr/lib/oracle/11.2/client64/lib' Reading /usr/share/oracle/11.2/client64/demo.mk WARNING: Oracle /usr/share/oracle/11.2/client64/demo.mk doesn't define a 'build' rule. WARNING: I will now try to guess how to build and link DBD::Oracle for you. This kind of guess work is very error prone and Oracle-version sensitive. It is possible that it won't be supported in future versions of DBD::Oracle. *PLEASE* notify dbi-users about exactly _why_ you had to build it this way. Found header files in /usr/include/oracle/11.2/client64. client_version=11.2 DEFINE= -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2\" -DORA_OCI_102 -DORA_OCI_112 Checking for functioning wait.ph System: perl5.010001 linux brahms 2.6.32-5-amd64 #1 smp tue jun 14 09:42:28 utc 2011 x86_64 gnulinux Compiler: cc -O2 -g -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 Linker: /usr/bin/ld Sysliblist: Oracle makefiles would have used these definitions but we override them: CC: /usr/bin/gcc LDFLAGS: -g [-g] Linking with -L../../ -locci -lclntsh -lpthread [from $(CCLIB)] Checking if your kit is complete... Looks good Warning: -L../../ changed to -L/home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/../../ LD_RUN_PATH=/usr/lib/oracle/11.2/client64/lib Using DBD::Oracle 1.36. Using DBD::Oracle 1.36. Using DBI 1.612 (for perl 5.010001 on x86_64-linux-gnu-thread-multi) installed in /usr/lib/perl5/auto/DBI/ Writing Makefile for DBD::Oracle *** If you have problems... read all the log printed above, and the README and README.help.txt files. (Of course, you have read README by now anyway, haven't you?) /usr/bin/make OPTIMIZE="-Wall -g -O2" LD_RUN_PATH="" make[1]: Entering directory `/home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36' cp Oracle.pm blib/lib/DBD/Oracle.pm cp oraperl.ph blib/lib/oraperl.ph cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h cp Oraperl.pm blib/lib/Oraperl.pm cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h cp lib/DBD/Oracle/Troubleshooting.pm blib/lib/DBD/Oracle/Troubleshooting.pm cp lib/DBD/Oracle/Object.pm blib/lib/DBD/Oracle/Object.pm cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm /usr/bin/perl -p -e "s/~DRIVER~/Oracle/g" /usr/lib/perl5/auto/DBI/Driver.xst > Oracle.xsi /usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c cc -c -I/usr/include/oracle/11.2/client64 -I/usr/lib/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O2 -DVERSION=\"1.36\" -DXS_VERSION=\"1.36\" -fPIC "-I/usr/lib/perl/5.10/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2\" -DORA_OCI_102 -DORA_OCI_112 Oracle.c cc -c -I/usr/include/oracle/11.2/client64 -I/usr/lib/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O2 -DVERSION=\"1.36\" -DXS_VERSION=\"1.36\" -fPIC "-I/usr/lib/perl/5.10/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2\" -DORA_OCI_102 -DORA_OCI_112 dbdimp.c dbdimp.c: In function 'ora_db_login6': dbdimp.c:765: warning: format '%d' expects type 'int', but argument 12 has type 'size_t' dbdimp.c:765: warning: format '%d' expects type 'int', but argument 14 has type 'size_t' cc -c -I/usr/include/oracle/11.2/client64 -I/usr/lib/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O2 -DVERSION=\"1.36\" -DXS_VERSION=\"1.36\" -fPIC "-I/usr/lib/perl/5.10/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2\" -DORA_OCI_102 -DORA_OCI_112 oci8.c oci8.c: In function 'ora_blob_read_mb_piece': oci8.c:1786: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'ub4' Running Mkbootstrap for DBD::Oracle () chmod 644 Oracle.bs rm -f blib/arch/auto/DBD/Oracle/Oracle.so LD_RUN_PATH="" cc -shared -O2 -g -L/usr/local/lib -fstack-protector Oracle.o dbdimp.o oci8.o -o blib/arch/auto/DBD/Oracle/Oracle.so \ -L/usr/lib/oracle/11.2/client64/lib -L/home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/../.. -locci -lclntsh -lpthread \ chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs Manifying blib/man3/DBD::Oracle.3pm Manifying blib/man3/DBD::Oracle::Troubleshooting.3pm Manifying blib/man3/DBD::Oraperl.3pm make[1]: Leaving directory `/home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36' # JvB # /usr/bin/make test touch build-stamp fakeroot debian/rules binary dh_testdir dh_testroot dh_clean -k dh_clean: dh_clean -k is deprecated; use dh_prep instead # Add commands to install the package into /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl /usr/bin/make install DESTDIR=/home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl PREFIX=/usr make[1]: Entering directory `/home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36' Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/auto/DBD/Oracle/dbdimp.h Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/auto/DBD/Oracle/ocitrace.h Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/auto/DBD/Oracle/Oracle.h Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/auto/DBD/Oracle/mk.pm Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/auto/DBD/Oracle/Oracle.so Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/auto/DBD/Oracle/Oracle.bs Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/oraperl.ph Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/Oraperl.pm Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/DBD/Oracle.pm Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/DBD/Oracle/Troubleshooting.pm Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/DBD/Oracle/Object.pm Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/lib/perl5/DBD/Oracle/GetInfo.pm Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/share/man/man3/DBD::Oracle.3pm Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/share/man/man3/DBD::Oracle::Troubleshooting.3pm Installing /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/share/man/man3/DBD::Oraperl.3pm make[1]: Leaving directory `/home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36' [ ! -d /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/share/perl5 ] || \ rmdir --ignore-fail-on-non-empty --parents --verbose \ /home/joostvb/build/libdbd-oracle-perl/DBD-Oracle-1.36/debian/libdbd-oracle-perl/usr/share/perl5 touch install-stamp dh_testdir dh_testroot dh_installdocs README.java.txt Todo README.help.txt README README.sec.txt README.clients.txt README.64bit.txt dh_installchangelogs Changes dh_shlibdeps dpkg-shlibdeps: warning: dependency on libocci.so.11.1 could be avoided if "debian/libdbd-oracle-perl/usr/lib/perl5/auto/DBD/Oracle/Oracle.so" were not uselessly linked against it (they use none of its symbols). dh_strip dh_perl dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package `libdbd-oracle-perl' in `../libdbd-oracle-perl_1.36-1_amd64.deb'. dpkg-genchanges >../libdbd-oracle-perl_1.36-1_amd64.changes dpkg-genchanges: including full source code in upload dpkg-source --after-build DBD-Oracle-1.36 dpkg-buildpackage: full upload (original source is included)