View previous topic :: View next topic |
Author |
Message |
freke Veteran

Joined: 23 Jan 2003 Posts: 1072 Location: Somewhere in Denmark
|
Posted: Thu Apr 17, 2025 4:44 pm Post subject: [SOLVED] Failed to build www-servers/apache-2.4.63-r1 |
|
|
Discovered during an emerge -vae1 @world to check that my system would rebuild fine - Feels like it has to be something I've done to my system as it built fine back in february, but I have no clue as to what...
Code: | gawk -f /var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/build/make_var_export.awk `cat export_files` > export_vars.h
/usr/share/apr/build/libtool --silent --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Wstack-protector -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fno-fat-lto-objects -L/var/tmp/portage/dev-libs/apr-util-1.6.3/temp -fuse-ld=mold -Wl,--as-needed -Wl,-O2 -flto -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--no-as-needed -o gen_test_char -L/var/tmp/portage/dev-libs/apr-util-1.6.3/temp gen_test_char.lo
gawk -f /var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/build/make_exports.awk `cat export_files` > exports.c
./gen_test_char > test_char.h
/bin/sh: line 1: ./gen_test_char: No such file or directory
make[2]: *** [Makefile:37: test_char.h] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/server'
make[1]: *** [/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/build/rules.mk:75: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/server'
make: *** [/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/build/rules.mk:75: all-recursive] Error 1
* ERROR: www-servers/apache-2.4.63-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=www-servers/apache-2.4.63-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=www-servers/apache-2.4.63-r1::gentoo'`.
* The complete build log is located at '/var/log/portage/build/www-servers/apache-2.4.63-r1:20250417-164046.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/www-servers/apache-2.4.63-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-servers/apache-2.4.63-r1/temp/environment'.
* Working directory: '/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63'
* S: '/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63'
>>> Failed to emerge www-servers/apache-2.4.63-r1, Log file:
>>> '/var/log/portage/build/www-servers/apache-2.4.63-r1:20250417-164046.log' |
Code: | lamp ~ # emerge --info '=www-servers/apache-2.4.63-r1::gentoo'
Portage 3.0.68 (python 3.13.3-final-0, default/linux/amd64/23.0/no-multilib/hardened, gcc-14, glibc-2.41-r1, 6.12.21-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.12.21-gentoo-x86_64-x86_64-Intel-R-_Atom-TM-_CPU_C3758R_@_2.40GHz-with-glibc2.41
KiB Mem: 16393508 total, 8006624 free
KiB Swap: 6291452 total, 6291452 free
Timestamp of repository eras-overlay: Tue, 15 Apr 2025 14:37:54 +0000
Head commit of repository eras-overlay: 45e3ce92f943653d2d265556d128d83cc185eca2
Timestamp of repository guru: Wed, 16 Apr 2025 13:05:29 +0000
Head commit of repository guru: e5d7eb8bb7db9156458092d0400e1a164f4309e8
Timestamp of repository gentoo: Wed, 16 Apr 2025 23:45:00 +0000
Head commit of repository gentoo: 43253b89e220d115552423f776a6ea338e2b6e4b
sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.72-r1::gentoo
dev-build/automake: 1.17-r2::gentoo
dev-build/cmake: 3.31.7::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.2::gentoo
dev-lang/perl: 5.40.2::gentoo
dev-lang/python: 3.12.10::gentoo, 3.13.3::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.61::gentoo
sys-apps/sandbox: 2.46::gentoo
sys-devel/binutils: 2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.2.1_p20250301::gentoo, 15.0.1_pre20250413::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.14::gentoo (virtual/os-headers)
sys-libs/glibc: 2.41-r1::gentoo
Repositories:
local
location: /var/db/repos/local
sync-type: rsync
sync-uri: rsync://ns.vlh.dk/vlh-portage
masters: gentoo
priority: -1
volatile: False
sync-rsync-verify-metamanifest: no
sync-rsync-extra-opts:
eras-overlay
location: /var/db/repos/eras-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/eras-overlay.git
masters: gentoo
volatile: False
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://ns.vlh.dk/gentoo-portage
priority: 1
volatile: False
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: no
sync-rsync-verify-max-age: 3
sync-rsync-extra-opts:
Binary Repositories:
binhost
priority: 10
sync-uri: http://ns.vlh.dk/packages
Installed sets: @common
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Wstack-protector -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fno-fat-lto-objects"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.4/ext-active/ /etc/php/cgi-php8.4/ext-active/ /etc/php/cli-php8.4/ext-active/ /etc/php/fpm-php8.4/ext-active/ /etc/php/phpdbg-php8.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Wstack-protector -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fno-fat-lto-objects -flifetime-dse=1"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --binpkg-respect-use=y --binpkg-changed-deps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Wstack-protector -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fno-fat-lto-objects"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks export-pms-vars fixlafiles getbinpkg ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Wstack-protector -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fno-fat-lto-objects"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-fuse-ld=mold -Wl,--as-needed -Wl,-O2 -flto -Wl,--defsym=__gentoo_check_ldflags__=0"
LEX="flex"
LIBTOOL="rlibtool"
LINGUAS="en"
MAKE="make LIBTOOL=rlibtool"
MAKEFLAGS="LIBTOOL=rlibtool"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="acl amd64 apache2 apparmor audit berkdb bzip2 caps cet crypt exif gdbm graphite hardened iconv icu idn ipv6 jemalloc libtirpc lto mysql ncurses nls openmp pam pcre pgo pic pie readline seccomp ssl ssp test-rust truetype udev unicode usb verify-sig xattr xml xtpax zip zlib" ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias http2 proxy proxy_http proxy_wstunnel" CPU_FLAGS_X86="mmx mmxext sse sse2 aes pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-3 lua5-4" PERL_FEATURES="ithreads quadmath" PHP_TARGETS="php8-3" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_12 python3_13" RUBY_TARGETS="ruby32"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
=================================================================
Package Settings
=================================================================
www-servers/apache-2.4.63-r1::gentoo was built with the following:
USE="gdbm ssl suexec suexec-caps -debug -doc -ldap (-selinux) -static -suexec-syslog -systemd -threads" APACHE2_MODULES="actions alias auth_basic authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers http2 include info log_config logio mime mime_magic negotiation proxy proxy_http proxy_wstunnel rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -access_compat -allowmethods -asis -auth_digest -auth_form -authn_dbd -authn_socache -authz_dbd -brotli -cache_disk -cache_socache -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic (-lua) -macro -md -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_hcheck -proxy_html -proxy_http2 -proxy_scgi -proxy_uwsgi -ratelimit -remoteip -reqtimeout -session -session_cookie -session_crypto -session_dbd -slotmem_shm -socache_memcache -substitute -version -watchdog -xml2enc" APACHE2_MPMS="-event -prefork -worker" LUA_SINGLE_TARGET="lua5-4 -lua5-1 -lua5-3"
CFLAGS="-O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fuse-linker-plugin -fno-fat-lto-objects -ftree-vectorize"
CXXFLAGS="-O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fuse-linker-plugin -fno-fat-lto-objects -ftree-vectorize -flifetime-dse=1"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
LDFLAGS="-fuse-ld=mold -Wl,--as-needed -Wl,-O2 -flto -fuse-linker-plugin -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--no-as-needed" |
Code: | lamp ~ # emerge -pqv '=www-servers/apache-2.4.63-r1::gentoo'
Local copy of remote index is up-to-date and will be used.
[ebuild R ] www-servers/apache-2.4.63-r1 USE="gdbm ssl suexec suexec-caps -debug -doc -ldap (-selinux) -static -suexec-syslog -systemd -threads" APACHE2_MODULES="actions alias auth_basic authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers http2 include info log_config logio mime mime_magic negotiation proxy proxy_http proxy_wstunnel rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -access_compat -allowmethods -asis -auth_digest -auth_form -authn_dbd -authn_socache -authz_dbd -brotli -cache_disk -cache_socache -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic (-lua) -macro -md -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_hcheck -proxy_html -proxy_http2 -proxy_scgi -proxy_uwsgi -ratelimit -remoteip -reqtimeout -session -session_cookie -session_crypto -session_dbd -slotmem_shm -socache_memcache -substitute -version -watchdog -xml2enc" APACHE2_MPMS="-event -prefork -worker" LUA_SINGLE_TARGET="lua5-4 -lua5-1 -lua5-3" |
And build.log is here https://paste.gentoo.zip/8s5cqhql
Last edited by freke on Thu Apr 17, 2025 6:57 pm; edited 1 time in total |
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2112
|
Posted: Thu Apr 17, 2025 5:41 pm Post subject: |
|
|
Looks to be a parallel build issue. Try with -j1 MAKEOPTS for this package |
|
Back to top |
|
 |
freke Veteran

Joined: 23 Jan 2003 Posts: 1072 Location: Somewhere in Denmark
|
Posted: Thu Apr 17, 2025 5:53 pm Post subject: |
|
|
Thanks - but alas doesn't change much Code: | /usr/share/apr/build/libtool --silent --mode=compile x86_64-pc-linux-gnu-gcc -O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Wstack-protector -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fno-fat-lto-objects -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/os/unix -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/include -I/usr/include/apr-1 -I/usr/include/db6.0 -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/aaa -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/cache -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/core -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/database -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/filters -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/ldap -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/loggers -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/lua -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/proxy -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/http2 -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/session -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/ssl -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/test -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/server -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/md -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/arch/unix -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/dav/main -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/generators -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/server -I/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/modules/mappers -c gen_test_char.c && touch gen_test_char.lo
/usr/share/apr/build/libtool --silent --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Wstack-protector -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fno-fat-lto-objects -L/var/tmp/portage/dev-libs/apr-util-1.6.3/temp -fuse-ld=mold -Wl,--as-needed -Wl,-O2 -flto -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--no-as-needed -o gen_test_char -L/var/tmp/portage/dev-libs/apr-util-1.6.3/temp gen_test_char.lo
./gen_test_char > test_char.h
/bin/sh: line 1: ./gen_test_char: No such file or directory
make[2]: *** [Makefile:37: test_char.h] Error 127
make[2]: Leaving directory '/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/server'
make[1]: *** [/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/build/rules.mk:75: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/server'
make: *** [/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63/build/rules.mk:75: all-recursive] Error 1
* ERROR: www-servers/apache-2.4.63-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=www-servers/apache-2.4.63-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=www-servers/apache-2.4.63-r1::gentoo'`.
* The complete build log is located at '/var/log/portage/build/www-servers/apache-2.4.63-r1:20250417-174841.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/www-servers/apache-2.4.63-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-servers/apache-2.4.63-r1/temp/environment'.
* Working directory: '/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63'
* S: '/var/tmp/portage/www-servers/apache-2.4.63-r1/work/httpd-2.4.63'
>>> Failed to emerge www-servers/apache-2.4.63-r1, Log file:
>>> '/var/log/portage/build/www-servers/apache-2.4.63-r1:20250417-174841.log' |
build.log with -j1 https://paste.gentoo.zip/GDuCe5jy |
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2112
|
Posted: Thu Apr 17, 2025 6:05 pm Post subject: |
|
|
The process just built gen_test_char and tried to execute it. This may also be that noexec is effective on a mount where /var/tmp/portage exists if on a separate mount from the rootfs. |
|
Back to top |
|
 |
freke Veteran

Joined: 23 Jan 2003 Posts: 1072 Location: Somewhere in Denmark
|
Posted: Thu Apr 17, 2025 6:45 pm Post subject: |
|
|
It actually seems to be due to dev-libs/apr (and or dev-libs/apr-util) build using dev-build/slibtool - https://wiki.gentoo.org/wiki/Slibtool
I saw no errors building these with slibtool, though.
Build them using normal libtool and apache builds fine - will try and switch apr/apr-util back to slibtool to confirm.
Got the idea to switch apr/apr-util back to normal libtool because apache didn't previously build with slibtool.
And if it really is the cause of slibtool, I think I will be abandoning that - don't like the troubleshooting of stuff that caries over from stuff that seems to build fine.
[EDIT]
It certainly is slibtool used for dev-libs/apr/dev-libs/apr-util that's the root-cause of this; when built using standard libtool apache and mod_qos builds fine, when apr/apr-util is built using slibtool/rclibtool neither apache nor mod_qos builds (both complaining about file not found) |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23333
|
Posted: Thu Apr 17, 2025 7:33 pm Post subject: |
|
|
A mount with noexec will cause a failure with Permission denied, not No such file or directory. Also, in my experience, if the Portage working directory is mounted noexec, builds fail very early, so I would not expect to get as far as OP did if noexec was set. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|