Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356599 - cross-m68k-unknown-linux-gnu/glibc-2.13-r1 faile because F_GETPIPE_SZ undeclared
Summary: cross-m68k-unknown-linux-gnu/glibc-2.13-r1 faile because F_GETPIPE_SZ undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: m68k Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-26 17:38 UTC by niogic
Modified: 2011-03-11 04:56 UTC (History)
1 user (show)

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


Attachments
cross-m68k-unknown-linux-gnu-info.log (cross-m68k-unknown-linux-gnu-info.log,14.96 KB, text/plain)
2011-02-27 16:52 UTC, Roc Vallès
Details
cross-m68k-unknown-linux-gnu-glibc-headers.log (cross-m68k-unknown-linux-gnu-glibc-headers.log,1.35 KB, text/plain)
2011-02-27 16:53 UTC, Roc Vallès
Details

Note You need to log in before you can comment on or make changes to this bug.
Description niogic 2011-02-26 17:38:48 UTC
Trying to compile with crossdev (host: amd64, target: m68k).
Have:
cross-m68k-unknown-linux-gnu/binutils-2.21
cross-m68k-unknown-linux-gnu/linux-headers-2.6.36.1
cross-m68k-unknown-linux-gnu/glibc-2.13-r1 (stage 1 only)
cross-m68k-unknown-linux-gnu/gcc-4.4.5 (stage 1 only)
And fail to build glibc-2.13-r1 stage 2 as you can see:

m68k-unknown-linux-gnu-gcc ../ports/sysdeps/unix/sysv/linux/m68k/glob64.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -fno-unwind-tables -pipe -Wstrict-prototypes   -fexceptions -fexceptions   -I../include -I/var/tmp/portage/cross-m68k-unknown-linux-gnu/glibc-2.13-r1/work/build-default-m68k-unknown-linux-gnu-nptl/posix -I/var/tmp/portage/cross-m68k-unknown-linux-gnu/glibc-2.13-r1/work/build-default-m68k-unknown-linux-gnu-nptl -I../ports/sysdeps/m68k/elf -I../ports/sysdeps/unix/sysv/linux/m68k/m680x0 -I../ports/sysdeps/unix/sysv/linux/m68k/nptl -I../ports/sysdeps/unix/sysv/linux/m68k -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/m68k/m680x0/m68020 -I../ports/sysdeps/m68k/m680x0/fpu -I../ports/sysdeps/m68k/m680x0 -I../sysdeps/ieee754/ldbl-96 -I../ports/sysdeps/m68k/fpu -I../ports/sysdeps/m68k/nptl -I../ports/sysdeps/m68k -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/m68k-unknown-linux-gnu/4.4.5/include -isystem /usr/lib/gcc/m68k-unknown-linux-gnu/4.4.5/include-fixed -isystem /usr/m68k-unknown-linux-gnu/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -o /var/tmp/portage/cross-m68k-unknown-linux-gnu/glibc-2.13-r1/work/build-default-m68k-unknown-linux-gnu-nptl/posix/glob64.o -MD -MP -MF /var/tmp/portage/cross-m68k-unknown-linux-gnu/glibc-2.13-r1/work/build-default-m68k-unknown-linux-gnu-nptl/posix/glob64.o.dt -MT /var/tmp/portage/cross-m68k-unknown-linux-gnu/glibc-2.13-r1/work/build-default-m68k-unknown-linux-gnu-nptl/posix/glob64.o 
../sysdeps/unix/sysv/linux/fpathconf.c: In function ‘__fpathconf’:
../sysdeps/unix/sysv/linux/fpathconf.c:55: error: ‘F_GETPIPE_SZ’ undeclared (first use in this function)
../sysdeps/unix/sysv/linux/fpathconf.c:55: error: (Each undeclared identifier is reported only once
../sysdeps/unix/sysv/linux/fpathconf.c:55: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/cross-m68k-unknown-linux-gnu/glibc-2.13-r1/work/build-default-m68k-unknown-linux-gnu-nptl/posix/fpathconf.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/cross-m68k-unknown-linux-gnu/glibc-2.13-r1/work/glibc-2.13/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/cross-m68k-unknown-linux-gnu/glibc-2.13-r1/work/glibc-2.13'
make: *** [all] Error 2
emake failed
Comment 1 niogic 2011-02-26 17:41:35 UTC
With glibc stage 1 I mean glibc headers.

# emerge --info
Portage 2.2.0_alpha25 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 23 Feb 2011 12:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 1.3.7-r1, 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo my-overlay
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 dlj-1.1 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/my-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups curl custom-cflags custom-cxxflags cxx dbus djvu dri dts dv dvb dvd dvdr emboss encode evo exif expat fam ffmpeg fftw firefox flac fontconfig fortran gd gdbm gdu gif glitz gmp gnome gnome-keyring gnuplot gphoto2 gpm gstreamer gtk iconv icu imlib inotify jpeg ladspa lame latex lcms libnotify lua lzo mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib musepack nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt4 raw readline scanner sdl session speex spell sqlite sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcl tcpd theora threads tiff timidity tk truetype udev unicode usb v4l2 vim-syntax vorbis wavpack x264 xcb xcomposite xml xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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="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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 m68k mips mipsel" QEMU_USER_TARGETS="arm armeb i386 m68k mips mipsel" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Roc Vallès 2011-02-27 16:52:55 UTC
Created attachment 264069 [details]
cross-m68k-unknown-linux-gnu-info.log
Comment 3 Roc Vallès 2011-02-27 16:53:28 UTC
Created attachment 264071 [details]
cross-m68k-unknown-linux-gnu-glibc-headers.log
Comment 4 Roc Vallès 2011-02-27 16:55:03 UTC
reimu ~ # crossdev -t m68k
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 * crossdev version:      20101011
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   m68k
 * Target System:         m68k-unknown-linux-gnu
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * headers:               linux-headers-[latest]
 * libc:                  glibc-[latest]

 * PORTDIR_OVERLAY:       /var/lib/layman/desktop-effects
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:
 * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...                                                                                                                                                                                                                                                    [ ok ]
 * Log: /var/log/portage/cross-m68k-unknown-linux-gnu-binutils.log
 * Emerging cross-binutils ...                                                                                                                                                                                                                                                                                           [ ok ]
 * Log: /var/log/portage/cross-m68k-unknown-linux-gnu-linux-headers-quick.log
 * Emerging cross-linux-headers-quick ...                                                                                                                                                                                                                                                                                [ ok ]
 * Log: /var/log/portage/cross-m68k-unknown-linux-gnu-glibc-headers.log
 * Emerging cross-glibc-headers ...

 * glibc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-m68k-unknown-linux-gnu-info.log
 * /var/log/portage/cross-m68k-unknown-linux-gnu-glibc-headers.log


# emerge --info
Portage 2.1.9.41 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r1, 2.6.38-rc6 x86_64)
=================================================================
System uname: Linux-2.6.38-rc6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 27 Feb 2011 01:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10 AdobeFlash-10.1 cadsoft dlj-1.1 googleearth Introversion PUEL sun-bcla-java-vm"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=core2 -msse4.1 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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="-O3 -pipe -march=core2 -msse4.1 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fpermissive"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/desktop-effects /var/lib/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi alac alsa amd64 anthy avahi berkdb bluetooth bzip2 cairo cdda cddb cjk cli consolekit cracklib crypt cscope css cups curl cxx dbus dirac djvu doc dri drm dssi dts dvb dvd dvdr dvdread enca encode exif expat fat fbcon ffmpeg firefox flac fltk fluidsynth fortran ftd2xx ftdi fuse gd gdbm gif gimp glib gnome gpg gpm gsm gstreamer gtk hbci hvm iconv icu idn immqt-bc inotify ipv6 jack jadetex java javascript joystick jpeg jpeg2k kate kde kqemu ladspa lm_sensors logitech-mouse lzo mac mad matroska mdnsresponder-compat mikmod mmap mmx mng mod modplug modules mp3 mpeg mudflap multilib musepack ncurses net nls nodrm nptl nptlonly nsplugin ntfs offensive ofx ogg openal opengl openmp openssl oss pam parallel paste64 pcntl pcre pdf perl pkcs11 png policykit ppds pppd private-headers python qt3 qt3support qt4 quotes readline reiser4 rtc rubberband ruby samba schroedinger sdl semantic-desktop session shaders shorten sid slang smp sndfile sox speex spell sqlite sqlite3 srt sse sse2 sse3 sse4 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff timidity tk truetype unicode usb v4l v4l2 vcd vnc vorbis wavpack wxwidgets wxwindows x264 xcb xcomposite xfce xforms xinerama xml xmp xorg xulrunner xv xvmc zeroconf zip zlib" ALSA_CARDS="emu10k1" 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="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="tda10045 tda10046 usb-dib0700 ttusb-dec" 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-02-28 16:30:31 UTC
(In reply to comment #3)
> Created an attachment (id=264071) [details]
> cross-m68k-unknown-linux-gnu-glibc-headers.log

Calculating dependencies  .... done!

!!! All ebuilds that could satisfy "cross-m68k-unknown-linux-gnu/glibc" have been masked.
!!! One of the following masked packages is required to complete your request:
- cross-m68k-unknown-linux-gnu/glibc-2.13-r1 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.12.2 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.12.1-r3 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.11.3 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.11.2-r3 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.10.1-r1 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.9_p20081201-r3 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.9_p20081201-r2 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.8_p20080602-r1 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.7-r2 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.6.1 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.5.1 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.5-r4 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/glibc-2.2.5-r10 (masked by: missing keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Please add proper keywords for your crossdev environment. Your issue doesn't seem to be related in any way to gionnico's report.
Comment 6 SpanKY gentoo-dev 2011-03-11 04:56:54 UTC
fixed by updating the glibc-ports addon to 2.13