Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge failed dev-libs/apr
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kaizushi
n00b
n00b


Joined: 22 Sep 2018
Posts: 70

PostPosted: Sat Aug 22, 2020 5:55 am    Post subject: emerge failed dev-libs/apr Reply with quote

I am having issues updating a system with the dependency =dev-libs/apr-1.7.0-r1::gentoo where the build fails.

emerge --info '=dev-libs/apr-1.7.0-r1::gentoo' output...
Code:

python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.4
fatal: mmap failed: Permission denied
fatal: mmap failed: Permission denied
Portage 2.3.103 (python 3.6.11-final-0, default/linux/amd64/17.0/no-multilib/hardened/selinux, gcc-9.3.0, glibc-2.31-r6, 5.4.48-gentoo-kaizukvm-5.1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.48-gentoo-kaizukvm-5.1-x86_64-Intel_Xeon_E312xx_-Sandy_Bridge-with-gentoo-2.6
KiB Mem:     8149296 total,    721736 free
KiB Swap:   12582908 total,  12498428 free
Timestamp of repository gentoo: Sat, 22 Aug 2020 05:30:01 +0000
Head commit of repository gentoo: ebd0f5c08e21d69706aafa9a4fb5376342608353
Timestamp of repository ago: Sat, 14 Mar 2020 23:47:28 +0000
Timestamp of repository mva: Fri, 29 May 2020 09:05:12 +0000
sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            7.4.0-r2::gentoo, 9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

ago
    location: /var/db/repos/ago
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ago.git
    masters: gentoo

mva
    location: /var/db/repos/mva
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mva.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"
USE="acl amd64 bzip2 crypt custom-cflags fpm gd gmp hardened iconv imagemagick ipv6 jpeg libglvnd libtirpc mysql ncurses nls nptl openmp pam pcre perl php pie png python readline ruby seccomp selinux split-usr ssl ssp sysvipc tiff unicode vim-syntax xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm kaiser tsc_adjust arat" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="auth_pam naxsi gzip auth_basic fastcgi gunzip memcached proxy random_index referer rewrite secure_link security upload_progress userid access autoindex referer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


emerge -pqv '=dev-libs/apr-1.7.0-r1::gentoo' output...
Code:

python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.4
[ebuild  r  U ] dev-libs/apr-1.7.0-r1 [1.6.3-r4] USE="(selinux) urandom -doc -older-kernels-compatibility -static-libs"
[ebuild  rR   ] dev-libs/apr-util-1.6.1-r6  USE="mysql -berkdb -doc -gdbm -ldap -libressl -nss -odbc -openssl -postgres -sqlite -static-libs"
[ebuild  rR   ] app-admin/apache-tools-2.4.46  USE="ssl -libressl"
[ebuild  rR   ] net-libs/serf-1.3.9-r1  USE="-kerberos -libressl -static-libs"
[ebuild  rR   ] www-servers/apache-2.4.46  USE="(selinux) (split-usr) ssl suexec-caps -debug -doc -gdbm -ldap -libressl -static -suexec -suexec-syslog -threads" APACHE2_MODULES="actions alias auth_basic authn_alias 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 include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -access_compat -asis -auth_digest -auth_form -authn_dbd -authn_socache -authz_dbd -brotli -cache_disk -cache_socache -cern_meta -charset_lite -dbd -dumpio -http2 -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -macro -md -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_html -proxy_http -proxy_http2 -proxy_scgi -proxy_wstunnel -ratelimit -remoteip -reqtimeout -session -session_cookie -session_crypto -session_dbd -slotmem_shm -substitute -version -watchdog -xml2enc" APACHE2_MPMS="-event -prefork -worker"
[ebuild  rR   ] www-servers/nginx-1.18.0-r2  USE="http http-cache http2 ipv6 pcre (selinux) ssl threads vim-syntax -aio -debug -libatomic -libressl -luajit -pcre-jit -rtmp" NGINX_MODULES_HTTP="access auth_basic auth_pam autoindex fastcgi gunzip gzip memcached naxsi proxy random_index referer rewrite secure_link security upload_progress userid -addition -auth_ldap -auth_request -brotli -browser -cache_purge -charset -dav -dav_ext -degradation -echo -empty_gif -fancyindex -flv -geo -geoip -geoip2 -grpc -gzip_static -headers_more -image_filter -javascript -limit_conn -limit_req -lua -map -memc -metrics -mirror -mogilefs -mp4 -perl -push_stream -realip -scgi -slice -slowfs_cache -spdy -split_clients -ssi -sticky -stub_status -sub -upstream_check -upstream_hash -upstream_ip_hash -upstream_keepalive -upstream_least_conn -upstream_zone -uwsgi -vhost_traffic_status -xslt" NGINX_MODULES_MAIL="-imap -pop3 -smtp" NGINX_MODULES_STREAM="-access -geo -geoip -geoip2 -javascript -limit_conn -map -realip -return -split_clients -ssl_preread -upstream_hash -upstream_least_conn -upstream_zone"

The following packages are causing rebuilds:

  (dev-libs/apr-1.7.0-r1:1/1.7::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (app-admin/apache-tools-2.4.46:0/0::gentoo, ebuild scheduled for merge)
    (net-libs/serf-1.3.9-r1:1/1::gentoo, ebuild scheduled for merge)
    (www-servers/nginx-1.18.0-r2:0/0::gentoo, ebuild scheduled for merge)
    (dev-libs/apr-util-1.6.1-r6:1/1::gentoo, ebuild scheduled for merge)
    (www-servers/apache-2.4.46:2/2::gentoo, ebuild scheduled for merge)

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


Build log is here: https://dpaste.com/6ZDN2JB8R

Point of interest at end of build log:
Code:

locks/unix/proc_mutex.c: In function ‘proc_mutex_choose_method’:
locks/unix/proc_mutex.c:1494:28: error: ‘mutex_proc_pthread_methods’ undeclared (first use in this function); did you mean ‘mutex_posixsem_methods’?
 1494 |         new_mutex->meth = &mutex_proc_pthread_methods;
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            mutex_posixsem_methods
locks/unix/proc_mutex.c:1494:28: note: each undeclared identifier is reported only once for each function it appears in
locks/unix/proc_mutex.c:1496:27: error: ‘apr_os_proc_mutex_t’ {aka ‘struct apr_os_proc_mutex_t’} has no member named ‘pthread_interproc’; did you mean ‘psem_interproc’?
 1496 |             if (ospmutex->pthread_interproc == NULL) {
      |                           ^~~~~~~~~~~~~~~~~
      |                           psem_interproc
locks/unix/proc_mutex.c:1499:27: error: ‘apr_os_proc_mutex_t’ {aka ‘struct apr_os_proc_mutex_t’} has no member named ‘pthread_interproc’; did you mean ‘psem_interproc’?
 1499 |             new_mutex->os.pthread_interproc = ospmutex->pthread_interproc;
      |                           ^~~~~~~~~~~~~~~~~
      |                           psem_interproc
locks/unix/proc_mutex.c:1499:57: error: ‘apr_os_proc_mutex_t’ {aka ‘struct apr_os_proc_mutex_t’} has no member named ‘pthread_interproc’; did you mean ‘psem_interproc’?
 1499 |             new_mutex->os.pthread_interproc = ospmutex->pthread_interproc;
      |                                                         ^~~~~~~~~~~~~~~~~
      |                                                         psem_interproc


The error error: ‘mutex_proc_pthread_methods’ undeclared (first use in this function) makes me think broken dependencies.
_________________
I cook a delicious onion stew without any chili peppers.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Aug 22, 2020 3:04 pm    Post subject: Reply with quote

I think we already have a bug for this: https://bugs.gentoo.org/738546
Back to top
View user's profile Send private message
kaizushi
n00b
n00b


Joined: 22 Sep 2018
Posts: 70

PostPosted: Sun Aug 23, 2020 5:17 am    Post subject: Reply with quote

I stopped SELinux from enforcing and was able to update the package. I find it strange I didn't get an error along the lines of 'permission denied' - I was considering trying this but disabling SELinux means kicking off all my users for security. Thankfully, the update did not take long.
_________________
I cook a delicious onion stew without any chili peppers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
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