Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576348 - www-apache/mod_perl-2.0.10_pre201601 : Connection.xs:117:33: error: ‘conn_rec’ has no member named ‘client_addr’
Summary: www-apache/mod_perl-2.0.10_pre201601 : Connection.xs:117:33: error: ‘conn_rec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-03 13:55 UTC by Toralf Förster
Modified: 2017-04-19 21:56 UTC (History)
8 users (show)

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


Attachments
emerge-history.txt (emerge-history.txt,290.98 KB, text/plain)
2016-03-03 13:55 UTC, Toralf Förster
Details
environment (environment,108.95 KB, text/plain)
2016-03-03 13:55 UTC, Toralf Förster
Details
www-apache:mod_perl-2.0.10_pre201601:20160303-100145.log (www-apache:mod_perl-2.0.10_pre201601:20160303-100145.log,77.85 KB, text/plain)
2016-03-03 13:55 UTC, Toralf Förster
Details
JH_Various-environment-details (file_576348.txt,30.88 KB, text/plain)
2016-09-18 16:00 UTC, John Harlan
Details
JH_Test-mod_perl-2.0.10_rc1 (file_576348.txt,13.23 KB, text/plain)
2016-10-04 09:40 UTC, John Harlan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-03-03 13:55:26 UTC
x86_64-pc-linux-gnu-gcc -c  -I/var/tmp/portage/www-apache/mod_perl-2.0.10_pre201601/work/mod_perl-2.0.10_pre201601/src/modules/perl -I/var/tmp/portage/www-apache/mod_perl-2.0.10_pre201601/work/mod_perl-2.0.10_pre201601/xs -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db6.0 -I/usr/include/apache2 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -DMP_COMPAT_1X -DLINUX -D_REENTRANT -D_GNU_SOURCE  -march=native -O2 -pipe   -DVERSION=\"2.000010\" -DXS_VERSION=\"2.000010\" -fPIC "-I/usr/lib64/perl5/5.22.1/x86_64-linux-thread-multi/CORE"  -DMP_HAVE_APR_LIBS Connection.c
Connection.xs: In function ‘XS_Apache2__Connection_client_addr’:
Connection.xs:117:33: error: ‘conn_rec’ has no member named ‘client_addr’
     RETVAL = (APR__SockAddr) obj->client_addr;
                                 ^
Connection.xs: In function ‘XS_Apache2__Connection_client_ip’:


$ cat emerge-info.txt
  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named amd64-kde-unstable_20160226-142700) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

  make.conf: USE="mmx sse sse2 pax_kernel -cdinstall -oci8 -bindist alisp avformat cddb cgi clang compat curl custom-cflags custom-optimization dec_av2 designer evdev fpm freetds -ftp gles2 gnuplot haptic hdf5 icu imap ithreads javaxml mbox mikmod mysql mysqli objc opencv opengl openmpi pwquality qemu qt5 scripts sdl -sockets ufed vdpau xmlreader xmp pcre16 qt4 -qt5 egl"

  -----------------------------------------------------------------
Portage 2.2.27 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.22-r2, 4.4.3-hardened x86_64)
=================================================================
System uname: Linux-4.4.3-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164680 total,   1527184 free
KiB Swap:   16777212 total,  16618560 free
Timestamp of repository gentoo: Thu, 03 Mar 2016 07:02:42 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage/
    priority: 1

local
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/lib/i2pd/certificates"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--deep --verbose-conflicts --color=n --nospinner --tree --quiet-build --accept-properties=-interactive --accept-restrict=-fetch"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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="X a52 aac acl acpi alisp alsa amd64 avformat berkdb bluetooth branding bzip2 cairo cdda cddb cdr cgi clang cli compat consolekit cracklib crypt cups curl custom-cflags custom-optimization cxx dbus dec_av2 declarative designer dri dts dvd dvdr egl emboss encode evdev exif fam firefox flac fortran fpm freetds gdbm gif glamor gles2 gnuplot gpm gtk haptic hdf5 iconv icu imap ipv6 ithreads javaxml jpeg kde kipi lcms ldap libnotify mad mbox mikmod mmx mmxext mng modules mp3 mp4 mpeg multilib mysql mysqli ncurses nls nptl objc ogg opencv opengl openmp openmpi pam pango pax_kernel pcre pcre16 pdf phonon plasma png policykit ppds pwquality qemu qt3support qt4 readline scripts sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks ufed unicode upower usb vdpau vorbis wxwidgets x264 xattr xcb xcomposite xinerama xml xmlreader xmp xscreensaver xv xvid zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Toralf Förster gentoo-dev 2016-03-03 13:55:28 UTC
Created attachment 427334 [details]
emerge-history.txt
Comment 2 Toralf Förster gentoo-dev 2016-03-03 13:55:31 UTC
Created attachment 427336 [details]
environment
Comment 3 Toralf Förster gentoo-dev 2016-03-03 13:55:34 UTC
Created attachment 427338 [details]
www-apache:mod_perl-2.0.10_pre201601:20160303-100145.log
Comment 4 Alarig Le Lay 2016-03-20 16:48:16 UTC
I’m also seeing this error:

Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r2, 4.1.15-gentoo-r1-grigri x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.15-gentoo-r1-grigri-x86_64-Intel-R-_Core-TM-_i5-2400S_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3722492 total,    684388 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 20 Mar 2016 00:45:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r2::gentoo
Repositories:

SwordArMor
    location: /usr/local/portage
    masters: gentoo

gentoo
    location: /usr/portage
    priority: 1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
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 /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-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.swordarmor.fr/gentoo https://ftp.uni-erlangen.de/pub/mirrors/gentoo https://ftp.heanet.ie/pub/gentoo/ https://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 apache2 bash-completion berkdb bzip2 cli cracklib crypt curl cxx dedicated dri examples fortran gdbm git gnutls iconv ipv6 leaps_timezone lm_sensors man mmx mmxext modules multilib munin ncurses nls nptl openmp pam pcre php readline seccomp server session sieve sse sse2 ssl symlink tcpd threads unicode vim-pager vim-syntax xattr zlib" ABI_X86="64" 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="proxy proxy_http 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 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 cgid charset_lite" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr fr_FR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 Daniel Frey 2016-04-09 23:37:33 UTC
I've also just hit this error. I've masked this specific version for now.

# emerge --info
Portage 2.2.26 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r4, 4.1.12-gentoo x86_64)
=================================================================
System uname: Linux-4.1.12-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     4035148 total,    306196 free
KiB Swap:    4194300 total,   4103644 free
Timestamp of repository gentoo: Sat, 09 Apr 2016 17:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j17 -l4"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gtk iconv jpeg lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds python qt3support qt4 readline sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 6 John Harlan 2016-05-14 06:51:50 UTC
Also affected. Looks like you've got everything you need, but here it all is again:
https://bpaste.net/show/675a83d3529c
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2016-05-27 21:06:59 UTC
Everyone, if you're affected by this please post here the versions of

* dev-lang/perl
* www-servers/apache
* www-apache/mod_perl

Thanks!!!
Comment 8 Chris Henhawke 2016-05-27 22:21:57 UTC
As requested:

[IP-] [  ] dev-lang/perl-5.20.2:0/5.20
[IP-] [  ] www-apache/mod_perl-2.0.8:1
[IP-] [  ] www-servers/apache-2.2.31:2

Yes, I am aware that a newer apache has been released.  Due to the configuration layout changes I have yet to perform the upgrade.

Thank you
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2016-05-27 22:27:42 UTC
Toralf's config:

www-servers/apache-2.2.31
dev-lang/perl-5.22.1
Comment 10 Alarig Le Lay 2016-05-27 23:12:49 UTC
Hi,

dev-lang/perl-5.20.2
www-servers/apache-2.2.31
www-apache/mod_perl-2.0.8

I’m still using apache 2.2 because there is some conflicts in the portage tree about 2.4 (cf. https://paste.swordarmor.fr/raw/Nh3w)

-- 
alarig
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2016-05-27 23:22:04 UTC
1) I can reproduce this with Apache 2.2. :/

2) The problem is our packaging, not the upstream mod_perl code... :(

Investigating further...
Comment 12 darkseer 2016-07-04 02:01:19 UTC
I have a lead but not a solution since I'm not sure how the make file generation works:

On line 416 in Connection.c is the line:

RETVAL = (APR__SockAddr) obj->client_addr;

This eventually creates Connection.xs line 117

There are two other instances of obj->client_addr as well. 

As listed here:

https://perl.apache.org/docs/2.0/api/APR/SockAddr.html

obj->client_addr; 

does not actually exist anymore. I think obj->remote_addr MAY be what we want her... I'm not sure. If its not remote_addr then its local_addr. If I use remote_addr it compiles... but I'm not sure it works right.
Comment 13 Chris Henhawke 2016-09-04 10:03:13 UTC
Pardon the bump, but I'm still having problems compiling this with the same setup as previously reported.  Thanks
Comment 14 John Harlan 2016-09-18 16:00:50 UTC
Created attachment 446434 [details]
JH_Various-environment-details
Comment 15 John Harlan 2016-09-18 16:05:07 UTC
mod_perl is still failing compilation. I was in the middle of a 'perl-cleaner --all' after an 'emerge -av1O dev-lang/perl' due to significant perl blockers during attempting to update @wold. I'm going ahead and removing Apache/mod_apache/etc. as they are no longer truly required on my system & trying to work around this gets frustrating. I look forward to one day being able to have apache back :) E-mail me if you need something tested/tried, it's just my home desktop.

Environment details attached: https://bugs.gentoo.org/attachment.cgi?id=446434

Running Mkbootstrap for Apache2::Connection ()
cp Connection.pm ../../../blib/lib/Apache2/Connection.pm
chmod 644 "Connection.bs"
x86_64-pc-linux-gnu-gcc -c  -I/var/tmp/portage/www-apache/mod_perl-2.0.10_pre201601/work/mod_perl-2.0.10_pre201601/src/modules/perl -I/var/tmp/portage/www-apache/mod_perl-2.0.10_pre201601/work/mod_perl-2.0.10_pre201601/xs -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.8 -I/usr/include/apache2 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -DMP_COMPAT_1X -DLINUX -D_REENTRANT -D_GNU_SOURCE  -march=native -O2 -pipe   -DVERSION=\"2.000010\" -DXS_VERSION=\"2.000010\" -fPIC "-I/usr/lib64/perl5/5.22.2/x86_64-linux-thread-multi/CORE"  -DMP_HAVE_APR_LIBS Connection.c
Connection.xs: In function ‘XS_Apache2__Connection_client_addr’:
Connection.xs:117:33: error: ‘conn_rec’ has no member named ‘client_addr’
     RETVAL = (APR__SockAddr) obj->client_addr;
                                 ^
Connection.xs: In function ‘XS_Apache2__Connection_client_ip’:
Connection.xs:134:26: error: ‘conn_rec’ has no member named ‘client_ip’
     RETVAL = (char *) obj->client_ip;
                          ^
Connection.xs:138:13: error: ‘conn_rec’ has no member named ‘client_ip’
          obj->client_ip = (char *) (SvOK(ST(1)) ?
             ^
Makefile:324: recipe for target 'Connection.o' failed
make[3]: *** [Connection.o] Error 1
make[3]: Leaving directory '/var/tmp/portage/www-apache/mod_perl-2.0.10_pre201601/work/mod_perl-2.0.10_pre201601/WrapXS/Apache2/Connection'
Makefile:487: recipe for target 'subdirs' failed
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory '/var/tmp/portage/www-apache/mod_perl-2.0.10_pre201601/work/mod_perl-2.0.10_pre201601/WrapXS/Apache2'
Makefile:481: recipe for target 'subdirs' failed
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory '/var/tmp/portage/www-apache/mod_perl-2.0.10_pre201601/work/mod_perl-2.0.10_pre201601/WrapXS'
Makefile:674: recipe for target 'subdirs' failed
make: *** [subdirs] Error 2
 * ERROR: www-apache/mod_perl-2.0.10_pre201601::gentoo failed (compile phase):
 *   emake failed
Comment 16 Stefan G. Weichinger 2016-09-27 07:36:09 UTC
(In reply to Andreas K. Hüttel from comment #7)
> Everyone, if you're affected by this please post here the versions of
> 
> * dev-lang/perl
> * www-servers/apache
> * www-apache/mod_perl
> 
> Thanks!!!

dev-lang/perl-5.22.2
www-servers/apache-2.2.31 (2.4 masked here so far)
www-apache/mod_perl-2.0.8
Comment 17 Stefan G. Weichinger 2016-09-27 20:50:14 UTC
Is there any known workaround yet? Aside from upgrading apache to 2.4 (which I would like to avoid right now in my case) ...
Comment 18 Andreas K. Hüttel archtester gentoo-dev 2016-10-01 12:07:08 UTC
Please test www-apache/mod_perl-2.0.10_rc1 and report back!
Comment 19 Toralf Förster gentoo-dev 2016-10-02 11:12:10 UTC
(In reply to Andreas K. Hüttel from comment #18)
installed fine at tinderbox image :
amd64-13.0-no-multilib-libressl-unstable_20160928-214201
Comment 20 Andreas K. Hüttel archtester gentoo-dev 2016-10-02 11:38:05 UTC
(In reply to Toralf Förster from comment #19)
> (In reply to Andreas K. Hüttel from comment #18)
> installed fine at tinderbox image :
> amd64-13.0-no-multilib-libressl-unstable_20160928-214201

I assume that means Apache 2.4 and Perl 5.24? Good.

To everyone else, info about other Apache/Perl combinations would be great.
Comment 21 John Harlan 2016-10-04 09:40:20 UTC
Created attachment 449108 [details]
JH_Test-mod_perl-2.0.10_rc1
Comment 22 John Harlan 2016-10-04 09:42:31 UTC
With dev-lang/perl-5.22.2:0/5.22 I can successfully emerge www-apache/mod_perl-2.0.10_rc1 against all currently available apache versions (2.2.31, 2.4.23, ~2.4.23-r1). See https://bugs.gentoo.org/attachment.cgi?id=449108 for truncated emerge output.

Thank you!
Comment 23 Andreas K. Hüttel archtester gentoo-dev 2016-10-22 19:30:02 UTC
(In reply to John Harlan from comment #22)
> With dev-lang/perl-5.22.2:0/5.22 I can successfully emerge
> www-apache/mod_perl-2.0.10_rc1 against all currently available apache
> versions (2.2.31, 2.4.23, ~2.4.23-r1). See
> https://bugs.gentoo.org/attachment.cgi?id=449108 for truncated emerge output.
> 
> Thank you!

Excellent! Thanks.
Comment 24 Andreas K. Hüttel archtester gentoo-dev 2017-04-19 21:56:49 UTC
This is fixed in 2.0.10