Summary: | app-backup/bacula-5.0.2-r1: missing bacula-dir and bacula-fd binaries | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Eric Thibodeau <kyron> |
Component: | Current packages | Assignee: | Thomas Beierlein <tomjbe> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | app-backup |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Eric Thibodeau
2010-06-15 15:34:32 UTC
In short, the problem was "resolved" by re-emerging dev-db/postgresql-base. For some reason, the configure process doesn't halt on errors, incorrectly leading me to believe 'all went well'. In fact, the build process wasn't able to find the dev-db/postgresql-base provided header files, which caused the 'cats' portion of bacula to fail to build: ==>Entering directory /var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/cats make[1]: Entering directory `/var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/cats' In file included from mysql.c:44: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from bdb.c:49: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from dbi.c:61: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from sql.c:47: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from sql_create.c:42: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from sql_delete.c:44: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from sql_find.c:46: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from sql_get.c:45: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from sql_list.c:43: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from sql_update.c:42: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from sqlite.c:44: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from postgresql.c:45: cats.h:427:22: error: libpq-fe.h: No such file or directory postgresql.c:49:61: error: postgres_ext.h: No such file or directory postgresql.c:50:78: error: pg_config_manual.h: No such file or directory In file included from ingres.c:46: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from bvfs.c:32: ../cats/cats.h:427:22: error: libpq-fe.h: No such file or directory make[1]: *** [depend] Error 1 Errors would then cascade in the make phase (obviously): ==>Entering directory /var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/plugins/fd make[1]: Entering directory `/var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/plugins/fd' /var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -D_FORTIFY_SOURCE=0 -march=nocona -I../.. -I../../filed -c bpipe-fd.c /var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/x86_64-pc-linux-gnu-g++ -Wl,-O1 -shared bpipe-fd.lo -o bpipe-fd.la -rpath /usr/lib64 -module -export-dynamic -avoid-version make[1]: Leaving directory `/var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/plugins/fd' ==>Entering directory /var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/cats make[1]: Entering directory `/var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/cats' Compiling mysql.c In file included from mysql.c:44: cats.h:427:22: error: libpq-fe.h: No such file or directory In file included from mysql.c:44: cats.h:452: error: ISO C++ forbids declaration of ‘PGconn’ with no type cats.h:452: error: expected ‘;’ before ‘*’ token cats.h:453: error: ISO C++ forbids declaration of ‘PGresult’ with no type cats.h:453: error: expected ‘;’ before ‘*’ token make[1]: *** [mysql.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/cats' ====== Error in /var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/cats ====== And: make[1]: *** No rule to make target `../cats/libbacsql.la', needed by `bacula-dir'. Stop. make[1]: Leaving directory `/var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/dird' ====== Error in /var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/dird ====== Also: make[1]: *** No rule to make target `../cats/libbacsql.la', needed by `bscan'. Stop. make[1]: Leaving directory `/var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/stored' ====== Error in /var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2/src/stored ====== ....anyways, think this is enough meat for the search engines to hit on this 'bug'...for prosperity's sake ;) Thanks for reporting Eric. Make does not fail even if some of the submakes fail because of an error in upstreams Makefile. Can you please report that problem upstream? |