Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263749 - dev-util/ltrace-0.4-r1 failed to build (using sys-libs/glibc-2.8_p20080602-r1 hardened)
Summary: dev-util/ltrace-0.4-r1 failed to build (using sys-libs/glibc-2.8_p20080602-r1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 302471
  Show dependency tree
 
Reported: 2009-03-25 16:48 UTC by Alex Efros
Modified: 2010-02-28 16:02 UTC (History)
1 user (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 Alex Efros 2009-03-25 16:48:53 UTC
After upgrading (on hardened system) sys-libs/glibc-2.6.1 to sys-libs/glibc-2.8_p20080602-r1 I notice ltrace failed to rebuild with this error:

i686-pc-linux-gnu-gcc -Wall -march=prescott -O2 -pipe -I /var/tmp/portage/dev-util/ltrace-0.4-r1/work/ltrace-0.4 -I /var/tmp/portage/dev-util/ltrace-0.4-r1/work/ltrace-0.4/sysdeps/linux-gnu -I- -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\"  -I/var/tmp/portage/dev-util/ltrace-0.4-r1/work/ltrace-0.4/sysdeps/linux-gnu/i386  -c -o breakpoint.o breakpoint.c
In file included from trace.c:8:
/usr/include/asm/unistd.h:2:25: unistd_32.h: No such file or directory

I believe this is same bug as in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473948#10

Reproducible: Always




Portage 2.1.6.7 (hardened/x86/2.6, gcc-3.4.6, glibc-2.8_p20080602-r1, 2.6.27-hardened-r8 i686)
=================================================================
System uname: Linux-2.6.27-hardened-r8-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.3.2
Timestamp of tree: Tue, 24 Mar 2009 11:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /service /usr/inferno/keydb /usr/inferno/lib /usr/inferno/services /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/log /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage-distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.lug.ro/gentoo/ http://mirror.qubenet.net/mirror/gentoo/"
LANG="ru_RU.UTF-8"
LDFLAGS=""
LINGUAS="en ru"
MAKEOPTS="-j3"
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/portage/local/layman/powerman /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acpi aim alsa apache2 arts asf avi bash-completion berkdb bitmap-fonts bzip2 cdr cracklib crypt cscope curl dbus dga divx4linux dlloader dri dts dvd dvdr dvdread encode fastcgi ffmpeg flac flash gd gdbm gif gnutls gpgme gtk gtk2 hardened hddtemp icq idn imagemagick imap imlib irc jabber javascript jpeg kdeenablefinal lm_sensors lzo mad mailbox mbox midi mmx mng motif mp3 mpeg msn mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre perl pic png pwdb qt quicktime rcc readline rss rtc samba sdl spell sse sse2 ssl svg sysfs tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode urandom vim-pager vim-syntax vim-with-x vorbis win32codecs x86 xinetd xorg xv xvid yahoo zlib" 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" 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="     log_config vhost_alias     autoindex alias rewrite dir deflate filter mime negotiation     auth_basic authn_file authz_host authz_user authz_groupfile     cgi actions headers env setenvif     " ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="vesa fbdev nv"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Heinz 2009-05-30 00:43:01 UTC
I have the same problem. Removing "-I-" from CPPFLAGS for /var/tmp/portage/dev-util/ltrace-0.4-r1/work/ltrace-0.4/sysdeps/linux-gnu/trace.c solves the issue.
Comment 2 Tilman Giese 2009-07-07 11:27:47 UTC
Still the same issue with Portage 2.1.6.13 (hardened/linux/amd64/2008.0, gcc-3.4.6, glibc-2.8_p20080602-r1, 2.6.24-hardened-r3 x86_64):

x86_64-pc-linux-gnu-gcc -Wall -march=athlon64 -O3 -pipe -fforce-addr -I /var/tmp/portage/dev-util/ltrace-0.4-r1/work/ltrace-0.4 -I /var/tmp/portage/dev-util/ltrace-0.4-r1/work/ltrace-0.4/sysdeps/linux-gnu -I- -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\"  -I/var/tmp/portage/dev-util/ltrace-0.4-r1/work/ltrace-0.4/sysdeps/linux-gnu/x86_64  -c -o trace.o trace.c
In file included from trace.c:8:
/usr/include/asm/unistd.h:4:25: unistd_64.h: No such file or directory
make[1]: *** [trace.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-01-27 17:06:53 UTC
Please try 0.5.3.1.
Comment 4 Alex Efros 2010-02-28 16:02:18 UTC
Updating to current toolchain (sys-kernel/linux-headers-2.6.30-r1, sys-libs/glibc-2.10.1-r1, sys-devel/gcc-4.3.4) fixed this bug. Closing ticket.