Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463666 - x11-apps/luit-1.1.1 - /work/luit-1.1.1/sys.c:339:5: error: implicit declaration of function 'posix_openpt' [-Werror=implicit-function-declaration]
Summary: x11-apps/luit-1.1.1 - /work/luit-1.1.1/sys.c:339:5: error: implicit declarati...
Status: RESOLVED DUPLICATE of bug 415949
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Reported: 2013-03-29 02:03 UTC by Raymond Jennings
Modified: 2013-04-13 19:31 UTC (History)
3 users (show)

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

buildlog (build.log,12.62 KB, text/plain)
2013-03-29 02:05 UTC, Raymond Jennings
emerge --info (einfo.txt,5.32 KB, text/plain)
2013-03-29 02:08 UTC, Raymond Jennings

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2013-03-29 02:03:54 UTC
Build failure when building with gcc 4.8.0

Did not happen with gcc 4.7

I propose making this a blocker of the gcc 4.8 porting bug.

Reproducible: Always
Comment 1 Raymond Jennings 2013-03-29 02:05:01 UTC
Created attachment 343570 [details]
Comment 2 Raymond Jennings 2013-03-29 02:08:12 UTC
Created attachment 343572 [details]
emerge --info
Comment 3 Xavier Miller (RETIRED) gentoo-dev 2013-04-09 16:33:36 UTC
same case for me:

 -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=k8 -fomit-frame-pointer -O2 -c /var/tmp/portage/x11-apps/luit-1.1.1/work/luit-1.1.1/sys.c
/var/tmp/portage/x11-apps/luit-1.1.1/work/luit-1.1.1/sys.c: In function ‘allocatePty’:
/var/tmp/portage/x11-apps/luit-1.1.1/work/luit-1.1.1/sys.c:339:5: erreur: implicit declaration of function ‘posix_openpt’ [-Werror=implicit-function-declaration]
     pty = posix_openpt(O_RDWR);
/var/tmp/portage/x11-apps/luit-1.1.1/work/luit-1.1.1/sys.c:339:5: attention : nested extern declaration of ‘posix_openpt’ [-Wnested-externs]
cc1: some warnings being treated as errors
make[2]: *** [sys.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[2] : on quitte le répertoire « /var/tmp/portage/x11-apps/luit-1.1.1/work/luit-1.1.1_build »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /var/tmp/portage/x11-apps/luit-1.1.1/work/luit-1.1.1_build »
make: *** [all] Erreur 2
 * ERROR: x11-apps/luit-1.1.1 failed (compile phase):
 *   emake failed
 * If you need support, post the output of `emerge --info '=x11-apps/luit-1.1.1'`,
 * the complete build log and the output of `emerge -pqv '=x11-apps/luit-1.1.1'`.
 * The complete build log is located at '/var/tmp/portage/x11-apps/luit-1.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-apps/luit-1.1.1/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-apps/luit-1.1.1/work/luit-1.1.1_build'
 * S: '/var/tmp/portage/x11-apps/luit-1.1.1/work/luit-1.1.1'
Comment 4 Xavier Miller (RETIRED) gentoo-dev 2013-04-09 16:34:33 UTC
emerge --info '=x11-apps/luit-1.1.1'
Portage 2.2.0_alpha171 (default/linux/amd64/13.0, gcc-4.8.0, glibc-2.17, 3.8.6-gentoo x86_64)
                        System Settings
System uname: Linux-3.8.6-gentoo-x86_64-AMD_Athlon-tm-64_X2_Dual_Core_Processor_4400+-with-gentoo-2.2
KiB Mem:     2056312 total,    843260 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Tue, 09 Apr 2013 15:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-gentoo-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.8.0
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local pd-overlay proaudio
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE as-is freedist"
CFLAGS="-march=k8-sse3 -mno-cx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=k8 -fomit-frame-pointer -O2"
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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8-sse3 -mno-cx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=k8 -fomit-frame-pointer -O2"
EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy ccache 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"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/overlay /var/lib/layman/pd-overlay /var/lib/layman/pro-audio"
USE="3dnow 3dnowext X aac alsa amd64 apng asio branding bzip2 cairo cli cracklib crypt cups cxx dbus dri dssi encode gif git gpm grammar gtk gudev hwdb iconv id3tag imlib imlib2 infinality jack jpeg ladspa lame libkms libsamplerate lxde mmx modules mp3 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp openxml osc pam pcre pdf png qt4 readline samba session smpeg sqlite sse sse2 ssl svg tcpd thesaurus tiff truetype unicode usb vorbis wmf x264 xcb xft xinerama xrandr xvid zlib" ABI_X86="64" ALSA_CARDS="ice1712 hda-intel usb-audio virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" 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"

                        Package Settings

x11-apps/luit-1.1.1 was built with the following:
USE="" ABI_X86="64"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
Comment 5 Steev Klimaszewski (RETIRED) gentoo-dev 2013-04-10 22:19:31 UTC
Isn't this a dupe of bug #415949?
Comment 6 Raymond Jennings 2013-04-10 22:25:09 UTC
If it is whoever closes this shoulnd't forget about the bug dependencies on this one
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-04-11 16:22:05 UTC

*** This bug has been marked as a duplicate of bug 415949 ***