Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568576 - dev-perl/Net-DNS-0.810.0 Bareword "Errno::EINVAL" not allowed while "strict subs" in use at /usr/lib64/perl5/5.20.2/x86_64-linux/IO/Socket.pm line 135
Summary: dev-perl/Net-DNS-0.810.0 Bareword "Errno::EINVAL" not allowed while "strict s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-17 20:23 UTC by darkbasic
Modified: 2016-05-21 21:48 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,1.95 KB, text/plain)
2015-12-17 20:23 UTC, darkbasic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description darkbasic 2015-12-17 20:23:18 UTC
gcc-5.3, I rebuilt whole @world

>>> Configuring source in /var/tmp/portage/dev-perl/Net-DNS-0.810.0/work/Net-DNS-0.81 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Net-DNS-0.810.0/image/ --no-online-tests --no-IPv6-tests
Bareword "Errno::EINVAL" not allowed while "strict subs" in use at /usr/lib64/perl5/5.20.2/x86_64-linux/IO/Socket.pm line 135.
Compilation failed in require at Makefile.PL line 27.
BEGIN failed--compilation aborted at Makefile.PL line 27.

Reproducible: Always




~ # emerge --info
Portage 2.2.26 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.3.0, glibc-2.21-r1, 4.4.0-rc2-core-avx-i+ x86_64)
=================================================================
System uname: Linux-4.4.0-rc2-core-avx-i+-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    16124164 total,   9824804 free
KiB Swap:          0 total,         0 free
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::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: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo.git
    priority: -1000

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

games-overlay
    location: /var/lib/layman/games-overlay
    sync-type: laymansync
    sync-uri: git://github.com/hasufell/games-overlay.git
    masters: gentoo
    priority: 50

ixit
    location: /var/lib/layman/ixit
    sync-type: laymansync
    sync-uri: git://github.com/okias/ixit.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

miramir
    location: /var/lib/layman/miramir
    sync-type: laymansync
    sync-uri: https://github.com/miramir/miramir-layman.git
    masters: gentoo
    priority: 50

mrueg
    location: /var/lib/layman/mrueg
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/dev/mrueg.git
    masters: gentoo
    priority: 50

multimedia
    location: /var/lib/layman/multimedia
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/multimedia.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

wine
    location: /var/lib/layman/wine
    sync-type: laymansync
    sync-uri: https://github.com/darkbasic/wine.git
    masters: gentoo
    priority: 50

wine-d3dstream
    location: /var/lib/layman/wine-d3dstream
    sync-type: laymansync
    sync-uri: https://github.com/darkbasic/wine-d3dstream.git
    masters: gentoo
    priority: 50

wine-nine
    location: /var/lib/layman/wine-nine
    sync-type: laymansync
    sync-uri: https://github.com/darkbasic/wine-nine.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11
    masters: gentoo
    priority: 50

Installed sets: @kde-frameworks-live, @kde-plasma-live
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x PUEL google-chrome skype-4.0.0.7-copyright googleearth Intel-SDP Google-TOS AdobeAIRSDK Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb /var/lib/unifi/data/system.properties"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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"
CXXFLAGS="-march=core-avx-i -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean 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://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://tux.rainside.sk/gentoo/ http://mirror.bytemark.co.uk/gentoo/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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 bluray branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dri3 dts dvd dvdr egl emboss encode exif fam firefox flac fortran gdbm gif glamor gles2 gpm graphite gtk hidpi iconv ipv6 jpeg kde kipi lcms ldap libinput libnotify lm_sensors mad mmx mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg opencl opengl openmax openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vpx wayland widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965 radeon radeonsi amdgpu" 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 1 darkbasic 2015-12-17 20:23:39 UTC
Created attachment 419528 [details]
build.log
Comment 2 Ian Moone 2016-01-05 03:20:33 UTC
I had the same problem, but after reading this (http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2015-April/070114.html) I decided to upgrade to Perl 5.22.1, now the "errno" problem is gone. Everything seems to be running fine.
Comment 3 Gary E. Miller 2016-01-26 20:29:53 UTC
(In reply to Ian from comment #2)
> I had the same problem, but after reading this
> (http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2015-April/070114.
> html) I decided to upgrade to Perl 5.22.1, now the "errno" problem is gone.
> Everything seems to be running fine.

Same problem here.  When I looked at going to unstable Perl 5.22.1 it seemed like I would need to keyword every perl package, so I did not do that...
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2016-01-26 20:39:00 UTC
(In reply to Gary E. Miller from comment #3)
> (In reply to Ian from comment #2)
> > I had the same problem, but after reading this
> > (http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2015-April/070114.
> > html) I decided to upgrade to Perl 5.22.1, now the "errno" problem is gone.
> > Everything seems to be running fine.
> 
> Same problem here.  When I looked at going to unstable Perl 5.22.1 it seemed
> like I would need to keyword every perl package, so I did not do that...

You can put this in package.accept_keywords to upgrade perl to ~arch:

    dev-lang/perl
    virtual/perl-*
    perl-core/*

Alternatively, just upgrade to 
 
    =dev-lang/perl-5.20.0-r1

(which has the gcc-5 fixes).
Comment 5 Gary E. Miller 2016-01-26 20:49:31 UTC
(In reply to Andreas K. Hüttel from comment #4)

> You can put this in package.accept_keywords to upgrade perl to ~arch:
> 
>     dev-lang/perl
>     virtual/perl-*
>     perl-core/*

I could, but I find that the rabbit hole can get real deep once I try to maintain a 1/2 stable and 1/2 unstable system.  I keep my production systems on a much stable as possible.

> Alternatively, just upgrade to 
>  
>     =dev-lang/perl-5.20.0-r1

I am on stable 5.20.2, so that is a downgrade.

And it is no longer in portage:

  backup nagios-check_sip-1.2 # eix dev-lang/perl
  [I] dev-lang/perl
     Available versions:  5.20.2(0/5.20) ~5.20.2-r1(0/5.20) ~5.22.0(0/5.22) ~5.22.1(0/5.22) {berkdb debug doc gdbm ithreads}
 
> (which has the gcc-5 fixes).

5.20.2-r1 did the trick.  Thanks for the hint.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2016-05-21 21:48:04 UTC
Closing this since 5.22.2 is going stable now.