Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948225 - mail-filter/spamprobe-1.4d-r3: fails to include berkleydb with USE=berkdb and all in-tree versions
Summary: mail-filter/spamprobe-1.4d-r3: fails to include berkleydb with USE=berkdb and...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-01-17 12:28 UTC by NHO
Modified: 2025-01-17 22:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NHO 2025-01-17 12:28:24 UTC
Configure checks that it's API is correct, and automagically excludes when it isn't:

configure:4537: checking for BerkeleyDB library
configure:4560: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -ggdb -ftree-vectorize -std=gnu23 -I/usr/include/db5.3 -DNDEBUG  -L/usr/include/db5.3 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs conftest.c  >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/mail-filter/spamprobe-1.4d-r4/temp/ccUtNcRd.o: in function `main':
/var/tmp/portage/mail-filter/spamprobe-1.4d-r4/work/spamprobe-1.4d/conftest.c:30:(.text.startup+0x1e): undefined reference to `db_create'
collect2: error: ld returned 1 exit status

configure:4537: checking for BerkeleyDB library
configure:4560: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -ggdb -ftree-vectorize -std=gnu23 -I/usr/include/db4.8 -DNDEBUG  -L/usr/include/db4.8 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs conftest.c  >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/mail-filter/spamprobe-1.4d-r4/temp/ccWxZCYR.o: in function `main':
/var/tmp/portage/mail-filter/spamprobe-1.4d-r4/work/spamprobe-1.4d/conftest.c:30:(.text.startup+0x1e): undefined reference to `db_create'


I think we need to remove USE=berkdb, it does nothing.

Reproducible: Always
Comment 1 NHO 2025-01-17 12:33:46 UTC
see also: https://bugs.gentoo.org/896054