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

Bug 858836

Summary: www-servers/apache-2.4.54-r4 - rdlibtool: error logged in slbt_lconf_open(), line 597: flow error: unexpected condition or other.
Product: Gentoo Linux Reporter: orbea <orbea>
Component: Current packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: hydrapolic
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=858833
https://github.com/gentoo/gentoo/pull/26475
https://bugs.gentoo.org/show_bug.cgi?id=860081
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 765709, 779364    
Attachments: Build log

Description orbea 2022-07-18 17:17:54 UTC
Fails to build with rlibtool.

Reproducible: Always

Actual Results:  
rdlibtool --mode=compile x86_64-pc-linux-gnu-gcc -O2 -pipe -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/os/unix -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/include -I/usr/include/apr-1 -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/aaa -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/cache -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/core -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/database -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/filters -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/ldap -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/loggers -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/lua -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/proxy -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/http2 -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/session -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/ssl -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/test -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/server -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/md -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/arch/unix -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/dav/main -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/generators -I/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/modules/mappers -prefer-non-pic -static -c unixd.c

rdlibtool: lconf: {.name="libtool"}.
rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/os/unix"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 109142979}.
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 9772872}.
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 178500462}.
rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(4,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 9764606}.
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 39460633}.
rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(4,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 181444033}.
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 100666345}.
rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(4,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 67160194}.
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 128}.
rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(4,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65025, .st_ino = 128}.
rdlibtool: lconf: stopped in "/" (config file not found on current device).
rdlibtool: error logged in slbt_lconf_open(), line 597: flow error: unexpected condition or other.
rdlibtool: < returned to > slbt_get_lconf_flags(), line 639.
make[3]: *** [/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/build/rules.mk:206: unixd.lo] Error 2
make[3]: Leaving directory '/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/os/unix'
make[2]: *** [/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/build/rules.mk:75: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/os/unix'
make[1]: *** [/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/build/rules.mk:75: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/os'
make: *** [/var/tmp/portage/www-servers/apache-2.4.54-r4/work/httpd-2.4.54/build/rules.mk:75: all-recursive] Error 1
Comment 1 orbea 2022-07-18 17:18:07 UTC
Created attachment 792179 [details]
Build log
Comment 2 Larry the Git Cow gentoo-dev 2022-07-22 07:51:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b1026e2a5c0761ed5b820a903312e186849fd16

commit 5b1026e2a5c0761ed5b820a903312e186849fd16
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-07-19 15:07:50 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-07-22 07:51:12 +0000

    www-servers/apache: Fix the build with rlibtool
    
    Bug: https://bugs.gentoo.org/858836
    Signed-off-by: orbea <orbea@riseup.net>
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 www-servers/apache/apache-2.4.54-r5.ebuild         | 259 +++++++++++++++++++++
 .../apache/files/apache-2.4.54-libtool.patch       |  21 ++
 2 files changed, 280 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2023-09-03 08:32:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/apache.git/commit/?id=4dc522359ec9731c76f5de74c4b3904c9592fd5a

commit 4dc522359ec9731c76f5de74c4b3904c9592fd5a
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-09-03 08:30:15 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-09-03 08:30:15 +0000

    Add libtool patch
    
    Bug: https://bugs.gentoo.org/858836
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 2.4/patches/05_libtool.patch | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)