Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764167 - dev-libs/libmaxminddb-1.5.0 causes bind service fail to start
Summary: dev-libs/libmaxminddb-1.5.0 causes bind service fail to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-01-06 19:36 UTC by Leonid Kopylov
Modified: 2021-01-07 01:35 UTC (History)
3 users (show)

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


Attachments
revert to autoconf + add test dep.patch (0001-dev-libs-libmaxminddb-revert-to-autoconf-add-test-de.patch,3.17 KB, patch)
2021-01-07 00:27 UTC, Ionen Wolkens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2021-01-06 19:36:04 UTC
server ~ # emerge libmaxminddb -pvq
[ebuild   R   ] dev-libs/libmaxminddb-1.5.0  USE="-test"

After emerge --sync, and updating the @world, bind service fails to start with:
"error while loading shared libraries: libmaxminddb.so.0: cannot open shared object file"
Downgrading it back to dev-libs/libmaxminddb-1.4.3, resolves the issue

server ~ # systemctl status named
● named.service - Internet domain name server
     Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Wed 2021-01-06 21:31:35 IST; 2min 4s ago
    Process: 8168 ExecStartPre=/usr/libexec/generate-rndc-key.sh (code=exited, status=0/SUCCESS)
    Process: 8169 ExecStartPre=/usr/sbin/named-checkconf -z /etc/bind/named.conf (code=exited, status=127)

Jan 06 21:31:35 server systemd[1]: Starting Internet domain name server...
Jan 06 21:31:35 server named-checkconf[8169]: /usr/sbin/named-checkconf: error while loading shared libraries: libmaxminddb.so.0: cannot open shared object file: No such file or directory
Jan 06 21:31:35 server systemd[1]: named.service: Control process exited, code=exited, status=127/n/a
Jan 06 21:31:35 server systemd[1]: named.service: Failed with result 'exit-code'.
Jan 06 21:31:35 server systemd[1]: Failed to start Internet domain name server.
Comment 1 Leonid Kopylov 2021-01-06 19:45:12 UTC
libmaxminddb.so.0 is missing in dev-libs/libmaxminddb-1.5.0
Comment 2 Ionen Wolkens gentoo-dev 2021-01-06 22:19:14 UTC
Hm, seems also lost other files like man pages, and libmaxminddb.pc

CMakeLists appears incomplete and should stick to autoconf
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-06 23:47:46 UTC
(In reply to Ionen Wolkens from comment #2)
> Hm, seems also lost other files like man pages, and libmaxminddb.pc
> 
> CMakeLists appears incomplete and should stick to autoconf

Ugh, thanks.
Comment 4 Ionen Wolkens gentoo-dev 2021-01-06 23:52:43 UTC
On a side-note, some tests are silently skipped without dev-perl/IPC-Run3
Comment 5 Ionen Wolkens gentoo-dev 2021-01-07 00:11:20 UTC
(In reply to Ionen Wolkens from comment #4)
> On a side-note, some tests are silently skipped without dev-perl/IPC-Run3
..and pass on 1.5.0 without any new test data
Comment 6 Ionen Wolkens gentoo-dev 2021-01-07 00:27:12 UTC
Created attachment 681592 [details, diff]
revert to autoconf + add test dep.patch

I wasn't planning to send a patch, but while testing I ended up with it so might as well, assuming I'm not too late.
Comment 7 Larry the Git Cow gentoo-dev 2021-01-07 01:35:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a4e58cd2b9afd8e1281abeb4d2c5cce18ec1e13

commit 4a4e58cd2b9afd8e1281abeb4d2c5cce18ec1e13
Author:     Ionen Wolkens <sudinave@gmail.com>
AuthorDate: 2021-01-07 00:19:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-07 01:33:25 +0000

    dev-libs/libmaxminddb: revert to autoconf, add test dep
    
    cmake build is incomplete (lacks man pages, pkgconfig, .so.0 symlink)
    
    Closes: https://bugs.gentoo.org/764167
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libmaxminddb/Manifest                     |  1 -
 ...b-1.5.0.ebuild => libmaxminddb-1.5.0-r1.ebuild} | 22 ++++++++++++----------
 2 files changed, 12 insertions(+), 11 deletions(-)