Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525752 - dev-perl/IO-Tty-1.110.0: emake failed
Summary: dev-perl/IO-Tty-1.110.0: emake failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
: 528458 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-10-18 10:49 UTC by DIZ
Modified: 2014-11-08 19:00 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DIZ 2014-10-18 10:49:50 UTC
I've upgraded to Perl version 5.20.1 following instructions I've found here and there for first upgrading perl virtuals and then running perl-cleaner. Everything works fine until I get to dev-perl/IO-Tty-1.110.0

EMERGE INFO:

Entering Gentoo Prefix /Volumes/GENTOO
danielibnzayd@boojum ~ $ emerge --info '=dev-perl/IO-Tty-1.110.0::gentoo_prefix'
Portage 2.2.10.1-prefix (python 3.3.3-final-0, prefix/darwin/macos/10.5/ppc, gcc-4.2.1, unavailable, 9.8.0 Power Macintosh)
=================================================================
                         System Settings
=================================================================
System uname: Darwin-9.8.0-Power_Macintosh-powerpc-32bit
Timestamp of tree: Thu, 16 Oct 2014 04:25:54 +0000
distcc 2.18.5-Apple.1 powerpc-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:      4.2_p52
dev-lang/perl:        5.20.1-r1
dev-lang/python:      2.7.6-r1, 3.2.5-r3, 3.3.3
dev-util/cmake:       3.0.2
dev-util/pkgconfig:   0.28-r2
sys-devel/autoconf:   2.69
sys-devel/automake:   1.12.4, 1.14
sys-devel/gcc-config: 1.8-r00.1
sys-devel/libtool:    2.4.2-r1
sys-devel/make:       4.1
Repositories: gentoo_prefix
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-apple-darwin9"
CFLAGS=" -O2 -pipe-mcpu=G4 -mtune=G4"
CHOST="powerpc-apple-darwin9"
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/revdep-rebuild /etc/terminfo"
CXXFLAGS=" -O2 -pipe-mcpu=G4 -mtune=G4"
DISTDIR="/Volumes/GENTOO/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j2"
PKGDIR="/Volumes/GENTOO/usr/portage/packages"
PORTAGE_CONFIGROOT="/Volumes/GENTOO/"
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="/Volumes/GENTOO/var/tmp"
PORTDIR="/Volumes/GENTOO/usr/portage"
PORTDIR_OVERLAY=""
USE="animgif apng aqua autotrace bzip2 coreaudio corefonts cracklib cxx djvu fftw fontconfig gif graphviz hdri ipv6 jbig jpeg jpeg2k lcms lzma modules ncurses nls objc objc++ openmp pango perl png postscript ppc-macos prefix q32 q64 q8 readline ssh ssl svg tiff truetype unicode webp wmf xml xpm zlib" 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" ELIBC="Darwin" 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" KERNEL="Darwin" 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_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-perl/IO-Tty-1.110.0 was built with the following:
USE="(prefix)"

danielibnzayd@boojum ~ $








BUILD LOG:
 * Package:    dev-perl/IO-Tty-1.110.0
 * Repository: gentoo_prefix
 * Maintainer: perl@gentoo.org
 * USE:        elibc_Darwin kernel_Darwin ppc-macos prefix userland_GNU
 * FEATURES:   nostrip preserve-libs userpriv usersandbox
>>> Unpacking source...
>>> Unpacking IO-Tty-1.11.tar.gz to /Volumes/GENTOO/var/tmp/portage/dev-perl/IO-Tty-1.110.0/work
>>> Source unpacked in /Volumes/GENTOO/var/tmp/portage/dev-perl/IO-Tty-1.110.0/work
>>> Preparing source in /Volumes/GENTOO/var/tmp/portage/dev-perl/IO-Tty-1.110.0/work/IO-Tty-1.11 ...
>>> Source prepared.
>>> Configuring source in /Volumes/GENTOO/var/tmp/portage/dev-perl/IO-Tty-1.110.0/work/IO-Tty-1.11 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/Volumes/GENTOO/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/Volumes/GENTOO/var/tmp/portage/dev-perl/IO-Tty-1.110.0/image/
Now let's see what we can find out about your system
(logfiles of failing tests are available in the conf/ dir)...
Looking for _getpty()...... not found.
Looking for getpt()........ not found.
Looking for grantpt()...... FOUND.
Looking for openpty()...... FOUND.
Looking for posix_openpt(). FOUND.
Looking for ptsname()...... FOUND.
Looking for ptsname_r().... not found.
Looking for sigaction().... FOUND.
Looking for strlcpy()...... FOUND.
Looking for ttyname()...... FOUND.
Looking for unlockpt()..... FOUND.
Looking for libutil.h...... not found.
Looking for pty.h.......... not found.
Looking for sys/pty.h...... not found.
Looking for sys/ptyio.h.... not found.
Looking for sys/stropts.h.. not found.
Looking for termio.h....... not found.
Looking for termios.h...... FOUND.
Looking for util.h......... FOUND.
Checking which symbols compile OK...
(sorry for the tedious check, but some systems have not too clean
 header files, to say the least;  '+' means OK, '-' means not defined
 and '*' has compile problems...)
+B0 +B110 +B115200 +B1200 +B134 +B150 -B153600 +B1800 +B19200 +B200 +B230400 +B2400 +B300 -B307200 +B38400 -B460800 +B4800 +B50 +B57600 +B600 +B75 +B76800 +B9600 +BRKINT +BS0 +BS1 +BSDLY -CBAUD -CBAUDEXT +CBRK +CCTS_OFLOW -CDEL +CDSUSP +CEOF +CEOL -CEOL2 +CEOT +CERASE -CESC +CFLUSH -CIBAUD -CIBAUDEXT +CINTR +CKILL +CLNEXT +CLOCAL -CNSWTCH -CNUL +CQUIT +CR0 +CR1 +CR2 +CR3 +CRDLY +CREAD +CRPRNT +CRTSCTS -CRTSXOFF +CRTS_IFLOW +CS5 +CS6 +CS7 +CS8 +CSIZE +CSTART +CSTOP +CSTOPB +CSUSP -CSWTCH +CWERASE -DEFECHO -DIOC -DIOCGETP -DIOCSETP -DOSMODE +ECHO +ECHOCTL +ECHOE +ECHOK +ECHOKE +ECHONL +ECHOPRT +EXTA +EXTB +FF0 +FF1 +FFDLY -FIORDCHK +FLUSHO +HUPCL +ICANON +ICRNL +IEXTEN +IGNBRK +IGNCR +IGNPAR +IMAXBEL +INLCR +INPCK +ISIG +ISTRIP -IUCLC +IXANY +IXOFF +IXON -KBENABLED -LDCHG -LDCLOSE -LDDMAP -LDEMAP -LDGETT -LDGMAP -LDIOC -LDNMAP -LDOPEN -LDSETT -LDSMAP -LOBLK +NCCS +NL0 +NL1 +NLDLY +NOFLSH +OCRNL +OFDEL +OFILL -OLCUC +ONLCR +ONLRET +ONOCR +OPOST -PAGEOUT +PARENB -PAREXT +PARMRK +PARODD +PENDIN -RCV1EN -RTS_TOG +TAB0 +TAB1 +TAB2 +TAB3 +TABDLY -TCDSET -TCFLSH -TCGETA -TCGETS +TCIFLUSH +TCIOFF +TCIOFLUSH +TCION +TCOFLUSH +TCOOFF +TCOON +TCSADRAIN +TCSAFLUSH +TCSANOW -TCSBRK -TCSETA -TCSETAF -TCSETAW -TCSETCTTY -TCSETS -TCSETSF -TCSETSW -TCXONC -TERM_D40 -TERM_D42 -TERM_H45 -TERM_NONE -TERM_TEC -TERM_TEX -TERM_V10 -TERM_V61 +TIOCCBRK +TIOCCDTR +TIOCCONS +TIOCEXCL +TIOCFLUSH -TIOCGETC +TIOCGETD -TIOCGETP -TIOCGLTC +TIOCGPGRP -TIOCGSID -TIOCGSOFTCAR +TIOCGWINSZ -TIOCHPCL -TIOCKBOF -TIOCKBON -TIOCLBIC -TIOCLBIS -TIOCLGET -TIOCLSET +TIOCMBIC +TIOCMBIS +TIOCMGET +TIOCMSET +TIOCM_CAR +TIOCM_CD +TIOCM_CTS +TIOCM_DSR +TIOCM_DTR +TIOCM_LE +TIOCM_RI +TIOCM_RNG +TIOCM_RTS +TIOCM_SR +TIOCM_ST +TIOCNOTTY +TIOCNXCL +TIOCOUTQ +TIOCREMOTE +TIOCSBRK +TIOCSCTTY +TIOCSDTR -TIOCSETC +TIOCSETD -TIOCSETN -TIOCSETP -TIOCSIGNAL -TIOCSLTC +TIOCSPGRP -TIOCSSID -TIOCSSOFTCAR +TIOCSTART +TIOCSTI +TIOCSTOP +TIOCSWINSZ -TM_ANL -TM_CECHO -TM_CINVIS -TM_LCF -TM_NONE -TM_SET -TM_SNL +TOSTOP -VCEOF -VCEOL +VDISCARD +VDSUSP +VEOF +VEOL +VEOL2 +VERASE +VINTR +VKILL +VLNEXT +VMIN +VQUIT +VREPRINT +VSTART +VSTOP +VSUSP -VSWTCH +VT0 +VT1 +VTDLY +VTIME +VWERASE -WRAP -XCASE -XCLUDE -XMT1EN -XTABS

>>> Configuration looks good! <<<

Writing IO::Tty::Constant.pm...
DEFINE = -DHAVE_DEV_PTMX -DHAVE_GRANTPT -DHAVE_OPENPTY -DHAVE_POSIX_OPENPT -DHAVE_PTSNAME -DHAVE_SIGACTION -DHAVE_STRLCPY -DHAVE_TERMIOS_H -DHAVE_TTYNAME -DHAVE_UNLOCKPT -DHAVE_UTIL_H
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for IO::Tty
Writing MYMETA.yml and MYMETA.json
>>> Source configured.
>>> Compiling source in /Volumes/GENTOO/var/tmp/portage/dev-perl/IO-Tty-1.110.0/work/IO-Tty-1.11 ...
 * emake OTHERLDFLAGS=-Wl,-dead_strip_dylibs
make -j2 OTHERLDFLAGS=-Wl,-dead_strip_dylibs
Running Mkbootstrap for IO::Tty ()
chmod 644 Tty.bs
/Volumes/GENTOO/usr/bin/perl /Volumes/GENTOO/usr/lib/perl5/5.20.1/ExtUtils/xsubpp  -typemap /Volumes/GENTOO/usr/lib/perl5/5.20.1/ExtUtils/typemap  Tty.xs > Tty.xsc && mv Tty.xsc Tty.c
cp Tty.pm blib/lib/IO/Tty.pm
cp Pty.pm blib/lib/IO/Pty.pm
cp Tty/Constant.pm blib/lib/IO/Tty/Constant.pm
powerpc-apple-darwin9-gcc -c   -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/Volumes/GENTOO/usr/include -O2 -pipe-mcpu=G4 -mtune=G4   -DVERSION=\"1.11\" -DXS_VERSION=\"1.11\"  "-I/Volumes/GENTOO/usr/lib/perl5/5.20.1/powerpc-darwin/CORE"  -DHAVE_DEV_PTMX -DHAVE_GRANTPT -DHAVE_OPENPTY -DHAVE_POSIX_OPENPT -DHAVE_PTSNAME -DHAVE_SIGACTION -DHAVE_STRLCPY -DHAVE_TERMIOS_H -DHAVE_TTYNAME -DHAVE_UNLOCKPT -DHAVE_UTIL_H Tty.c
In file included from Tty.xs:61:
/Volumes/GENTOO/usr/lib/perl5/5.20.1/powerpc-darwin/CORE/util.h:69: error: redefinition of typedef ‘perl_drand48_t’
/Volumes/GENTOO/usr/lib/perl5/5.20.1/powerpc-darwin/CORE/util.h:69: error: previous declaration of ‘perl_drand48_t’ was here
Tty.xs: In function ‘XS_IO__Tty_unpack_winsize’:
Tty.xs:831: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘STRLEN’
Tty.xs:831: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
Makefile:348: recipe for target 'Tty.o' failed
make: *** [Tty.o] Error 1
 * ERROR: dev-perl/IO-Tty-1.110.0::gentoo_prefix failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-perl/IO-Tty-1.110.0::gentoo_prefix'`,
 * the complete build log and the output of `emerge -pqv '=dev-perl/IO-Tty-1.110.0::gentoo_prefix'`.
 * The complete build log is located at '/Volumes/GENTOO/var/tmp/portage/dev-perl/IO-Tty-1.110.0/temp/build.log'.
 * The ebuild environment file is located at '/Volumes/GENTOO/var/tmp/portage/dev-perl/IO-Tty-1.110.0/temp/environment'.
 * Working directory: '/Volumes/GENTOO/var/tmp/portage/dev-perl/IO-Tty-1.110.0/work/IO-Tty-1.11'
 * S: '/Volumes/GENTOO/var/tmp/portage/dev-perl/IO-Tty-1.110.0/work/IO-Tty-1.11'






EMERGE -pqv:
Entering Gentoo Prefix /Volumes/GENTOO
danielibnzayd@boojum ~ $ emerge -pqv '=dev-perl/IO-Tty-1.110.0::gentoo_prefix'
[ebuild   R   ] dev-perl/IO-Tty-1.110.0
danielibnzayd@boojum ~ $
Comment 1 DIZ 2014-10-21 08:09:30 UTC
It seems likely to be a Perl platform-specific issue?

http://static.cpantesters.org/distro/I/IO-Tty.html
Comment 2 DIZ 2014-10-23 07:15:45 UTC
My apologies, this is a bug on the Perl side:

https://rt.cpan.org/Public/Bug/Display.html?id=96710

Awaiting 1.12.
Comment 3 Fabian Groffen gentoo-dev 2014-10-24 18:34:52 UTC
Would this patch help?
https://github.com/bingos/IO-Tty/commit/b59e8e2b6f001a135d49cb8f10a9ca4d49a1d5c5
Comment 4 DIZ 2014-10-25 08:49:00 UTC
Patch applied. All is well! Thank you.
Comment 5 Fabian Groffen gentoo-dev 2014-11-06 19:48:24 UTC
*** Bug 528458 has been marked as a duplicate of this bug. ***
Comment 6 yegle 2014-11-06 19:50:18 UTC
I modified the 1.110.0 ebuild file (rename to match version number, modified the version number in it) and works well for 1.12.0 version.
Comment 7 Fabian Groffen gentoo-dev 2014-11-06 19:52:40 UTC
@perl: could we get a IO-Tty bump to 1.12?  Thanks!
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2014-11-06 20:08:47 UTC
Bumped, thanks!
Comment 9 yegle 2014-11-08 18:53:33 UTC
Looks like the new version is still not available in the prefix portage tree?
Comment 10 Fabian Groffen gentoo-dev 2014-11-08 19:00:19 UTC
it appears rsync5 is behind :(