>>>>> On Mon, 16 Aug 2010 16:57:28 -0400, Kern Sibbald said: > > I fixed this some time ago justs after Martin pointed out the problem. > There is no need to tweak the spec files or create new ones. The fixed > versions are in the git repo.
I couldn't find any trace of the change in git platforms/rpm/bacula.spec and the 5.0.2 and 5.0.3 versions are identical except for the blurb. Maybe it is still in your private repo? __Martin > > Kern > > > On Monday 16 August 2010 09:31:32 Bruno Friedmann wrote: > > Hi all. > > > > Trying to build the "most not bad package" I'm trying to understand what I > > need to do to have a good bacula-lib rpm. > > > > I'm in the process to conclude that I need two separated package which > > conflict each others bacula-client + bacula-client-libs > > conflict > > bacula-mysql + bacula-mysql-libs > > bacula-sqlite + bacula-sqlite-libs > > bacula-postgrsql + bacula-postgresql-libs > > > > or would it be better to have a common bacula-libs without libbacsql > > and 3 little packages bacula-[db]-libbacsql ? > > > > > > > > When I rebuild rpm for the moment I've found this strange trouble > > > > building bacula sqlite > > in bacula libs > > ldd libbacsql-5.0.3.so > > ldd sqlite-libbacsql-5.0.3.so > > linux-vdso.so.1 => (0x00007fff28fdb000) > > libdl.so.2 => /lib64/libdl.so.2 (0x00007f46f30cd000) > > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f46f2eb0000) > > libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f46f2ba5000) > > libm.so.6 => /lib64/libm.so.6 (0x00007f46f294e000) > > libc.so.6 => /lib64/libc.so.6 (0x00007f46f25ee000) > > libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f46f23d7000) > > /lib64/ld-linux-x86-64.so.2 (0x00007f46f35a3000) > > > > > > configure sqlite > > > > > > ==>Entering directory /usr/src/packages/BUILD/bacula-5.0.3/src/cats > > make[1]: Entering directory `/usr/src/packages/BUILD/bacula-5.0.3/src/cats' > > Compiling mysql.c > > Compiling sql_cmds.c > > Compiling dbi.c > > Compiling sql.c > > Compiling sql_create.c > > Compiling sql_delete.c > > Compiling sql_find.c > > Compiling sql_get.c > > Compiling sql_list.c > > Compiling sql_update.c > > Compiling sqlite.c > > Compiling postgresql.c > > Compiling bvfs.c > > Making libbacsql.la ... > > /usr/src/packages/BUILD/bacula-5.0.3/libtool --silent --tag=CXX --mode=link > > /usr/bin/g++ -L/usr/lib/termcap -L/usr/lib64/termcap -o libbacsql.la > > mysql.lo dbi.lo sql.lo sql_cmds.lo sql_create.lo sql_delete.lo sql_find.lo > > sql_get.lo sql_list.lo sql_update.lo sqlite.lo postgresql.lo bvfs.lo > > -export-dynamic -rpath /usr/lib64 -release 5.0.3 > > -L/usr/src/packages/BUILD/bacula-5.0.3/../depkgs/sqlite3 -lsqlite3 ==== > > Make of sqllib is good ==== > > > > Host: x86_64-unknown-linux-gnu -- suse 11.3 > > Bacula version: Bacula 5.0.3 (04 August 2010) > > Source code location: . > > Install binaries: /usr/sbin > > Install libraries: /usr/lib64 > > Install config files: /etc/bacula > > Scripts directory: /usr/lib64/bacula > > Archive directory: /tmp > > Working directory: /var/lib/bacula > > PID directory: /var/run > > Subsys directory: /var/lock/subsys > > Man directory: /usr/share/man > > Data directory: /usr/share > > Plugin directory: /usr/lib64/bacula > > C Compiler: gcc Linux) > > C++ Compiler: /usr/bin/g++ Linux) > > Compiler flags: -O2 -g -m64 -fmessage-length=0 > > -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables > > -fasynchronous-unwind-tables -fno-strict-aliasing -fno-strict-aliasing > > -fno-exceptions -fno-rtti Linker flags: -L/usr/lib/termcap > > -L/usr/lib64/termcap Libraries: -lpthread -ldl > > Statically Linked Tools: no > > Statically Linked FD: no > > Statically Linked SD: no > > Statically Linked DIR: no > > Statically Linked CONS: no > > Database type: SQLite3 > > Database port: > > Database lib: > > -L/usr/src/packages/BUILD/bacula-5.0.3/../depkgs/sqlite3 -lsqlite3 Database > > name: bacula > > Database user: bacula > > > > Job Output Email: r...@localhost > > Traceback Email: r...@localhost > > SMTP Host Address: localhost > > > > Director Port: 9101 > > File daemon Port: 9102 > > Storage daemon Port: 9103 > > > > Director User: bacula > > Director Group: bacula > > Storage Daemon User: bacula > > Storage DaemonGroup: disk > > File Daemon User: root > > File Daemon Group: bacula > > > > SQL binaries Directory > > /usr/src/packages/BUILD/bacula-5.0.3/../depkgs/sqlite3 > > > > Large file support: yes > > Bacula conio support: no -lreadline -lncurses > > readline support: yes > > TCP Wrappers support: yes -lwrap > > TLS support: yes > > Encryption support: yes > > ZLIB support: yes > > enable-smartalloc: yes > > enable-lockmgr: no > > bat support: no > > enable-gnome: no > > enable-bwx-console: no > > enable-tray-monitor: no > > client-only: no > > build-dird: yes > > build-stored: yes > > Plugin support: yes > > AFS support: no > > ACL support: yes > > XATTR support: yes > > Python support: no > > Batch insert enabled: yes > > > > =========================================================================== > >========================================== > > > > building postgresql > > in bacula libs > > ldd libbacsql-5.0.3.so > > linux-vdso.so.1 => (0x00007ffff81ff000) > > libpq.so.5 => /usr/lib64/libpq.so.5 (0x00007f9478727000) > > libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f94784ec000) > > libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f94781e1000) > > libm.so.6 => /lib64/libm.so.6 (0x00007f9477f8a000) > > libc.so.6 => /lib64/libc.so.6 (0x00007f9477c2a000) > > libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f9477a13000) > > libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007f94777b7000) > > libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 > > (0x00007f9477408000) libkrb5.so.3 => /usr/lib64/libkrb5.so.3 > > (0x00007f947713c000) libcom_err.so.2 => /lib64/libcom_err.so.2 > > (0x00007f9476f38000) libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 > > (0x00007f9476d02000) libldap_r-2.4.so.2 => /usr/lib64/libldap_r-2.4.so.2 > > (0x00007f9476ab1000) libpthread.so.0 => /lib64/libpthread.so.0 > > (0x00007f9476894000) /lib64/ld-linux-x86-64.so.2 (0x00007f9478b95000) > > libdl.so.2 => /lib64/libdl.so.2 (0x00007f947668f000) > > libz.so.1 => /lib64/libz.so.1 (0x00007f9476479000) > > libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 > > (0x00007f9476252000) libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 > > (0x00007f9476049000) libkeyutils.so.1 => /lib64/libkeyutils.so.1 > > (0x00007f9475e45000) libresolv.so.2 => /lib64/libresolv.so.2 > > (0x00007f9475c2e000) liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 > > (0x00007f9475a1f000) libsasl2.so.2 => /usr/lib64/libsasl2.so.2 > > (0x00007f9475803000) > > > > > > configure for postgresql > > Configuration on Mon Aug 16 14:50:43 CEST 2010: > > > > Host: x86_64-unknown-linux-gnu -- suse 11.3 > > Bacula version: Bacula 5.0.3 (04 August 2010) > > Source code location: . > > Install binaries: /usr/sbin > > Install libraries: /usr/lib64 > > Install config files: /etc/bacula > > Scripts directory: /usr/lib64/bacula > > Archive directory: /tmp > > Working directory: /var/lib/bacula > > PID directory: /var/run > > Subsys directory: /var/lock/subsys > > Man directory: /usr/share/man > > Data directory: /usr/share > > Plugin directory: /usr/lib64/bacula > > C Compiler: gcc Linux) > > C++ Compiler: /usr/bin/g++ Linux) > > Compiler flags: -O2 -g -m64 -fmessage-length=0 > > -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables > > -fasynchronous-unwind-tables -fno-strict-aliasing -fno-strict-aliasing > > -fno-exceptions -fno-rtti Linker flags: -L/usr/lib/termcap > > -L/usr/lib64/termcap Libraries: -lpthread -ldl > > Statically Linked Tools: no > > Statically Linked FD: no > > Statically Linked SD: no > > Statically Linked DIR: no > > Statically Linked CONS: no > > Database type: PostgreSQL > > Database port: > > Database lib: -L/usr/lib64 -lpq -lcrypt > > Database name: bacula > > Database user: bacula > > > > Job Output Email: r...@localhost > > Traceback Email: r...@localhost > > SMTP Host Address: localhost > > > > Director Port: 9101 > > File daemon Port: 9102 > > Storage daemon Port: 9103 > > > > Director User: bacula > > Director Group: bacula > > Storage Daemon User: bacula > > Storage DaemonGroup: disk > > File Daemon User: root > > File Daemon Group: bacula > > > > SQL binaries Directory /usr/bin > > > > Large file support: yes > > Bacula conio support: no -lreadline -lncurses > > readline support: yes > > TCP Wrappers support: yes -lwrap > > TLS support: yes > > Encryption support: yes > > ZLIB support: yes > > enable-smartalloc: yes > > enable-lockmgr: no > > bat support: no > > enable-gnome: no > > enable-bwx-console: no > > enable-tray-monitor: no > > client-only: no > > build-dird: yes > > build-stored: yes > > Plugin support: yes > > AFS support: no > > ACL support: yes > > XATTR support: yes > > Python support: no > > Batch insert enabled: no > > > > > > ==>Entering directory /usr/src/packages/BUILD/bacula-5.0.3/src/cats > > make[1]: Entering directory `/usr/src/packages/BUILD/bacula-5.0.3/src/cats' > > Compiling mysql.c > > Compiling sql_cmds.c > > Compiling dbi.c > > Compiling sql.c > > Compiling sql_create.c > > Compiling sql_delete.c > > Compiling sql_find.c > > Compiling sql_get.c > > Compiling sql_list.c > > Compiling sql_update.c > > Compiling sqlite.c > > Compiling postgresql.c > > Compiling bvfs.c > > Making libbacsql.la ... > > /usr/src/packages/BUILD/bacula-5.0.3/libtool --silent --tag=CXX --mode=link > > /usr/bin/g++ -L/usr/lib/termcap -L/usr/lib64/termcap -o libbacsql.la > > mysql.lo dbi.lo sql.lo sql_cmds.lo sql_create.lo sql_delete.lo sql_find.lo > > sql_get.lo sql_list.lo sql_update.lo sqlite.lo postgresql.lo bvfs.lo > > -export-dynamic -rpath /usr/lib64 -release 5.0.3 -L/usr/lib64 -lpq -lcrypt > > ==== Make of sqllib is good ==== > > > > =========================================================================== > >========================================== > > > > building mysql > > in bacula libs > > ldd libbacsql-5.0.3.so > > linux-vdso.so.1 => (0x00007ffffd7b6000) > > libmysqlclient_r.so.16 => /usr/lib64/libmysqlclient_r.so.16 > > (0x00007f0b571b5000) libz.so.1 => /lib64/libz.so.1 (0x00007f0b56f9f000) > > libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f0b56c94000) > > libm.so.6 => /lib64/libm.so.6 (0x00007f0b56a3d000) > > libc.so.6 => /lib64/libc.so.6 (0x00007f0b566dd000) > > libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f0b564c6000) > > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0b562a9000) > > libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007f0b5604d000) > > libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 > > (0x00007f0b55c9d000) /lib64/ld-linux-x86-64.so.2 (0x00007f0b57782000) > > libdl.so.2 => /lib64/libdl.so.2 (0x00007f0b55a99000) > > > > > > configure for mysql > > Host: x86_64-unknown-linux-gnu -- suse 11.3 > > Bacula version: Bacula 5.0.3 (04 August 2010) > > Source code location: . > > Install binaries: /usr/sbin > > Install libraries: /usr/lib64 > > Install config files: /etc/bacula > > Scripts directory: /usr/lib64/bacula > > Archive directory: /tmp > > Working directory: /var/lib/bacula > > PID directory: /var/run > > Subsys directory: /var/lock/subsys > > Man directory: /usr/share/man > > Data directory: /usr/share > > Plugin directory: /usr/lib64/bacula > > C Compiler: gcc Linux) > > C++ Compiler: /usr/bin/g++ Linux) > > Compiler flags: -O2 -g -m64 -fmessage-length=0 > > -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables > > -fasynchronous-unwind-tables -fno-strict-aliasing -fno-strict-aliasing > > -fno-exceptions -fno-rtti Linker flags: -L/usr/lib/termcap > > -L/usr/lib64/termcap Libraries: -lpthread -ldl > > Statically Linked Tools: no > > Statically Linked FD: no > > Statically Linked SD: no > > Statically Linked DIR: no > > Statically Linked CONS: no > > Database type: MySQL > > Database port: > > Database lib: -L/usr/lib64 -lmysqlclient_r -lz > > Database name: bacula > > Database user: bacula > > > > Job Output Email: r...@localhost > > Traceback Email: r...@localhost > > SMTP Host Address: localhost > > > > Director Port: 9101 > > File daemon Port: 9102 > > Storage daemon Port: 9103 > > > > Director User: bacula > > Director Group: bacula > > Storage Daemon User: bacula > > Storage DaemonGroup: disk > > File Daemon User: root > > File Daemon Group: bacula > > > > SQL binaries Directory /usr/bin > > > > Large file support: yes > > Bacula conio support: no -lreadline -lncurses > > readline support: yes > > TCP Wrappers support: yes -lwrap > > TLS support: yes > > Encryption support: yes > > ZLIB support: yes > > enable-smartalloc: yes > > enable-lockmgr: no > > bat support: no > > enable-gnome: no > > enable-bwx-console: no > > enable-tray-monitor: no > > client-only: no > > build-dird: yes > > build-stored: yes > > Plugin support: yes > > AFS support: no > > ACL support: yes > > XATTR support: yes > > Python support: no > > Batch insert enabled: no > > > > =>Entering directory /usr/src/packages/BUILD/bacula-5.0.3/src/cats > > make[1]: Entering directory `/usr/src/packages/BUILD/bacula-5.0.3/src/cats' > > Compiling mysql.c > > Compiling sql_cmds.c > > Compiling dbi.c > > Compiling sql.c > > Compiling sql_create.c > > Compiling sql_delete.c > > Compiling sql_find.c > > Compiling sql_get.c > > Compiling sql_list.c > > Compiling sql_update.c > > Compiling sqlite.c > > Compiling postgresql.c > > Compiling bvfs.c > > Making libbacsql.la ... > > /usr/src/packages/BUILD/bacula-5.0.3/libtool --silent --tag=CXX --mode=link > > /usr/bin/g++ -L/usr/lib/termcap -L/usr/lib64/termcap -o libbacsql.la > > mysql.lo dbi.lo sql.lo sql_cmds.lo sql_create.lo sql_delete.lo sql_find.lo > > sql_get.lo sql_list.lo sql_update.lo sqlite.lo postgresql.lo bvfs.lo > > -export-dynamic -rpath /usr/lib64 -release 5.0.3 -L/usr/lib64 > > -lmysqlclient_r -lz > > ==== Make of sqllib is good ==== > > > > > > Also I didn't understand why I finish with a batch-insert-enable = no with > > mysql & postgresql even if I specify the --enable-batch-insert at > > ./configure > > > > thank you to express your opinion and advise > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Bacula-devel mailing list > Bacula-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-devel > ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel