Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568294 - app-shells/ksh-93.20120229 build failure with gcc 4.9
Summary: app-shells/ksh-93.20120229 build failure with gcc 4.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on: 580346
Blocks:
  Show dependency tree
 
Reported: 2015-12-14 23:45 UTC by Laszlo Valko
Modified: 2016-09-05 00:10 UTC (History)
0 users

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


Attachments
build log of latest stable ksh with gcc 4.8.4 (build.log.stable.ok,892.21 KB, text/plain)
2015-12-14 23:46 UTC, Laszlo Valko
Details
build log of latest stable ksh with gcc 4.9.3 (build.log.stable.fail,588.71 KB, text/plain)
2015-12-14 23:46 UTC, Laszlo Valko
Details
build log of latest unstable ksh with gcc 4.9.3 (build.log.latest.ok,985.58 KB, text/plain)
2015-12-14 23:50 UTC, Laszlo Valko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laszlo Valko 2015-12-14 23:45:19 UTC
After upgrading gcc to the latest stable 4.9.3, the latest stable ksh package app-shells/ksh-93.20120229 no longer builds successfully. The same package does build with gcc 4.8.4.

The key error:
+ cc -O2 -march=pentium-m -mtune=core2 -fomit-frame-pointer -I. -I/var/tmp/portage/app-shells/ksh-93.20120229/work/src/lib/libardir -I/var/tmp/port
In file included from /usr/include/fcntl.h:302:0,
                 from /var/tmp/portage/app-shells/ksh-93.20120229/work/arch/linux.i386/include/ast/ast_sys.h:126,
                 from /var/tmp/portage/app-shells/ksh-93.20120229/work/arch/linux.i386/include/ast/ast_std.h:75,
                 from /var/tmp/portage/app-shells/ksh-93.20120229/work/arch/linux.i386/include/ast/ast.h:43,
                 from /var/tmp/portage/app-shells/ksh-93.20120229/work/src/lib/libardir/ardirlib.h:28,
                 from /var/tmp/portage/app-shells/ksh-93.20120229/work/src/lib/libardir/ardir.c:27:
In function 'open64',
    inlined from 'ardiropen' at /var/tmp/portage/app-shells/ksh-93.20120229/work/src/lib/libardir/ardir.c:42:17:
/usr/include/bits/fcntl2.h:82:4: error: call to '__open64_missing_mode' declared with attribute error: open64 with O_CREAT in second argument needs
    __open64_missing_mode ();
    ^
mamake [lib/libardir]: *** exit code 1 making ardir.o
Comment 1 Laszlo Valko 2015-12-14 23:46:07 UTC
Created attachment 419226 [details]
build log of latest stable ksh with gcc 4.8.4
Comment 2 Laszlo Valko 2015-12-14 23:46:29 UTC
Created attachment 419228 [details]
build log of latest stable ksh with gcc 4.9.3
Comment 3 Laszlo Valko 2015-12-14 23:46:53 UTC
Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/x86/13.0, gcc-4.9.3, glibc-2.21-r1, 3.18.9-myhardened i686)
=================================================================
System uname: Linux-3.18.9-myhardened-i686-Intel-R-_Core-TM-_i5-4670_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     8157876 total,   3005368 free
KiB Swap:    8388592 total,   8386536 free
Timestamp of repository gentoo: Fri, 11 Dec 2015 19:00:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.1.9 [disabled]
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/ccache:          3.1.9-r4::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.18.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.4::gentoo, 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: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://127.0.0.1:874/gentoo-portage
    priority: -1000

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 0

myhardened
    location: /var/lib/layman/myhardened
    masters: gentoo
    priority: 1

myfixes
    location: /var/lib/layman/myfixes
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=core2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -mtune=core2 -fomit-frame-pointer"
DISTDIR="/old.distfiles"
FCFLAGS="-O2 -march=i686 -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 xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/old.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="3dnow 3dnowext X Xaw3d a52 aac aacplus aacs aalib acl acpi alsa amr amrenc amrnb amrwb apache2 audio berkdb bluetooth bluray browserplugin bzip2 bzlib cairo caps cgi clamdtop clang cli conntrack cracklib crypt css ctype curl cxx dc1394 dga dirac directfb dkim dri dts dv dvb dvd egl encode exif faac faad fbcon fdk ffmpeg flac fontconfig fpm ftp gd gdbm ggi gif glamor gles1 gles2 gpm gtk gtk2 h323 hash iconv ieee1394 imap irda java jce joystick jpeg lame ldap ldapsam libass libcaca libsamplerate libsoxr libv4l linsys live lmtp logrotate loop-aes lzma lzo mad maildir maildrop matroska memlimit mhash mime mjpeg mmap mmx mod modplug modules motif mozilla mp3 mpeg mtp musepack mysql mysqli ncurses no-helper nptl nsplugin oav ogg opencl opengl openmp openvg opus osmesa pam pcmcia pcntl pcre perl php png pnm procmail pyzord qt3support quicktime quotas quvi rar razor readline real rtmp rtsp samba schroedinger sdl seccomp session sieve slang smartcard sna sndfile soap sockets socks5 spamassassin speex sse sse2 ssl suexec svg syslog sysvipc taglib tcl tcltk tcpd tga theora tiff tk truetype twolame udev unicode usb uxa v4l v4l2 vaapi vcd vda vdpau vdr video vidix vorbis vpx wavpack webp win32codecs wmf x264 x265 x86 xa xanim xattr xcb xine xinerama xml xml2 xmlreader xmlwriter xpm xsl xv xvid xvmc zip zlib zvbi" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http reqtimeout rewrite setenvif speling status substitute unique_id userdir usertrack vhost_alias cgi" APACHE2_MPMS="worker" 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" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US hu" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="mustek_usb2" USERLAND="GNU" VIDEO_CARDS="intel fbdev radeonhd radeon nouveau nv vesa" 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"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Laszlo Valko 2015-12-14 23:49:18 UTC
The latest unstable version app-shells/ksh-93.20140625 does build with gcc 4.9.3 as well.
Please either stabilize a working version, or backport the fix.
Comment 5 Laszlo Valko 2015-12-14 23:50:12 UTC
Created attachment 419230 [details]
build log of latest unstable ksh with gcc 4.9.3