| Summary: | net-print/hplip-3.20.6-r1 : hpaio: undefined symbol: _DBG | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ed Santiago <gentoo> |
| Component: | Current packages | Assignee: | Daniel Pielmeier <billie> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jstein, printing |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Ed Santiago
2020-09-28 01:46:47 UTC
Update (it was late when I filed last night):
USE= fax hpcups hpijs libnotify scanner snmp -doc -kde -libressl -libusb0 -minimal -parport -policykit -qt5 -static-ppds
Culprit seems to be:
# ebuild hplip-3.20.6-r1.ebuild compile
...
# for i in $(find . -name '*.o');do ;nm $i|grep _DBG && echo $i;done
U _DBG
./.libs/libsane_hpaio_la-orblite.o
# grep -3n _DBG scan/sane/orblite.c
195-
196-static int bb_unload(SANE_THandle ps)
197-{
198: _DBG("Calling orblite bb_unload: \n");
199- if (ps->bb_handle)
200- {
201- dlclose(ps->bb_handle);
Suggestion: just epatch that _DBG out. _DBG seems to be defined ad-hoc by modules that need it; there doesn't seem to be a global package-level _DBG for use in orblite.c or other places.
Have you tried hplip-3.20.6-r2? >Have you tried hplip-3.20.6-r2?
I just did, and it works fine.
Fine, thanks for confirming! But please next time just try the highest version before reporting a bug! This potentially saves all of us some time! Just for reference. This has been reported upstream here: https://bugs.launchpad.net/hplip/+bug/1880065 Ans solved here: https://bugs.launchpad.net/hplip/+bug/1879445 |