Summary: | sys-libs/gdbm-1.13[exporter]: /.../gdbmdefs.h:248:32: error: GDBM_NEED_RECOVERY undeclared (first use in this function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 sys-libs:gdbm-1.13:20170716-161331.log temp.tbz2 |
Description
Toralf Förster
![]() Created attachment 485092 [details]
emerge-info.txt
Created attachment 485094 [details]
emerge-history.txt
Created attachment 485096 [details]
environment
Created attachment 485098 [details]
etc.portage.tbz2
Created attachment 485100 [details]
logs.tbz2
Created attachment 485102 [details]
sys-libs:gdbm-1.13:20170716-161331.log
Created attachment 485104 [details]
temp.tbz2
Similar thing on sparc: /var/tmp/portage/sys-libs/gdbm-1.13-r1/work/gdbm-1.13/export/../src/gdbmexp.c: In function ‘gdbm_export_to_file’: /var/tmp/portage/sys-libs/gdbm-1.13-r1/work/gdbm-1.13/export/../src/gdbmdefs.h:246:14: error: ‘struct <anonymous>’ has no member named ‘need_recovery’ if (dbf->need_recovery) \ ^ /var/tmp/portage/sys-libs/gdbm-1.13-r1/work/gdbm-1.13/export/../src/gdbmexp.c:37:3: note: in expansion of macro ‘GDBM_ASSERT_CONSISTENCY’ GDBM_ASSERT_CONSISTENCY (dbf, -1); ^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-libs/gdbm-1.13-r1/work/gdbm-1.13/export/../src/gdbmdefs.h:317:45: warning: implicit declaration of function ‘gdbm_set_errno’ [-Wimplicit-function-declaration] # define GDBM_SET_ERRNO2(dbf, ec, fatal, m) gdbm_set_errno (dbf, ec, fatal) tatt build matrix: USE='-berkdb exporter nls -readline -static-libs' failed for =sys-libs/gdbm-1.13-r1 USE='-berkdb -exporter -nls readline -static-libs' failed for =sys-libs/gdbm-1.13-r1 USE='berkdb -exporter -nls readline -static-libs' succeeded for =sys-libs/gdbm-1.13-r1 USE='-berkdb exporter nls readline -static-libs' failed for =sys-libs/gdbm-1.13-r1 USE='berkdb exporter nls readline -static-libs' failed for =sys-libs/gdbm-1.13-r1 log has been saved as /root/tatt/logs/sys-libs_gdbm-1.13-r1_use_Fte1B USE='-berkdb exporter -nls -readline static-libs' failed for =sys-libs/gdbm-1.13-r1 USE='-berkdb -exporter nls -readline static-libs' failed for =sys-libs/gdbm-1.13-r1 USE='-berkdb exporter nls -readline static-libs' failed for =sys-libs/gdbm-1.13-r1 USE='berkdb exporter nls -readline static-libs' failed for =sys-libs/gdbm-1.13-r1 log has been saved as /root/tatt/logs/sys-libs_gdbm-1.13-r1_use_Cg3R7 USE='berkdb exporter -nls readline static-libs' failed for =sys-libs/gdbm-1.13-r1 log has been saved as /root/tatt/logs/sys-libs_gdbm-1.13-r1_use_SwLVM USE='-berkdb exporter nls readline static-libs' failed for =sys-libs/gdbm-1.13-r1 USE='berkdb exporter nls readline static-libs' failed for =sys-libs/gdbm-1.13-r1 log has been saved as /root/tatt/logs/sys-libs_gdbm-1.13-r1_use_5AIaP Those marked as "log has been saved" are all errors of the given kind, the other build failures are in some dependencies. Use flag "exporter" is causing the problem. Can't reproduce with gdbm-1.14. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a21f609aeffc23219b35a5546e543111b709ff7 commit 2a21f609aeffc23219b35a5546e543111b709ff7 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-01-02 22:10:43 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-01-02 22:10:54 +0000 sys-libs/gdbm: Fix building with USE flag "exporter" Ebuild changes: =============== - Patch: Add patch to fix build with --enable-gdbm-export. [Bug 625302] [Link 1] - Already introduced a sub slot to help upgrading to 1.14 later. [Bug 643188] Link 1: http://git.gnu.org.ua/cgit/gdbm.git/commit/?id=272713d611c55effeaf1d2b45fbb2c69d70e4c74 Closes: https://bugs.gentoo.org/625302 Bug: https://bugs.gentoo.org/643188 Package-Manager: Portage-2.3.19, Repoman-2.3.6 ...bm-1.13-fix-build-with-enable-gdbm-export.patch | 57 ++++++++++++++++++++++ .../{gdbm-1.13-r1.ebuild => gdbm-1.13-r2.ebuild} | 5 +- 2 files changed, 60 insertions(+), 2 deletions(-) |