Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 665738

Summary: dev-lang/php-7.1.8: mod_php depends on libnsl, but dev-lang/php-7.1.8 has no (indirect) RDEPEND to it
Product: Gentoo Linux Reporter: dkjii
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, mjo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info php apache, lddtree mod_php and equery d libnsl
build.log for dev-lang/php-7.1.8

Description dkjii 2018-09-11 20:46:30 UTC
Created attachment 546678 [details]
emerge --info php apache, lddtree mod_php and equery d libnsl

/usr/lib/apache2/modules/mod_php.so depends on libnsl.so.2, as seen in the attached file, but neither dev-lang/php-7.1.8 nor www-servers/apache-2.4.34-r2 have it in the dependency graph
Comment 1 dkjii 2018-09-11 20:46:58 UTC
Created attachment 546680 [details]
build.log for dev-lang/php-7.1.8
Comment 2 Brian Evans (RETIRED) gentoo-dev 2020-01-23 16:33:49 UTC
Does this still happen on 7.2 and higher?
Comment 3 Michael Orlitzky gentoo-dev 2023-07-28 11:52:00 UTC
I don't think this is happening any more:

  * PHP's configure.ac only links against libnsl if gethostname or
    gethostbyaddr aren't found in libc. They should be.

  * My mod_php.so (php-8.1) isn't linked to it.

I plan to mask php-7.4 in a few days (it's been EOL for a while) so I'm giving up on this. If you still see the problem with php-8.1 or php-8.2, please let me know.