Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292613 - x11-libs/libXt-1.0.7-r1: ../libtool: line 834: X--tag=CC: command not found
Summary: x11-libs/libXt-1.0.7-r1: ../libtool: line 834: X--tag=CC: command not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-10 00:15 UTC by Martin Mokrejš
Modified: 2009-11-18 18:17 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,9.93 KB, text/plain)
2009-11-10 00:16 UTC, Martin Mokrejš
Details
libXt-1.0.7-r1.tar.bz2 (libXt-1.0.7-r1.tar.bz2,662.97 KB, application/octet-stream)
2009-11-12 16:13 UTC, Martin Mokrejš
Details
libXt-1.0.7-r1.tar.bz2 (libXt-1.0.7-r1.tar.bz2,767.06 KB, application/octet-stream)
2009-11-12 16:28 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2009-11-10 00:15:58 UTC
config.status: executing libtool commands
make 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/x11-libs/libXt-1.0.7-r1/work/libXt-1.0.7'
Making all in util
make[2]: Entering directory `/var/tmp/portage/x11-libs/libXt-1.0.7-r1/work/libXt-1.0.7/util'
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..     -O2 -pipe -march=nocona -ggdb -MT makestrs-makestrs.o -MD -MP -MF .deps/makestrs-makestrs.Tpo -c -o makestrs-makestrs.o `test -f 'makestrs.c' || echo './'`makestrs.c
mv -f .deps/makestrs-makestrs.Tpo .deps/makestrs-makestrs.Po
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99  -O2 -pipe -march=nocona -ggdb  -Wl,-O1 -o makestrs makestrs-makestrs.o  
../libtool: line 834: X--tag=CC: command not found
../libtool: line 867: libtool: ignoring unknown tag : command not found
../libtool: line 834: X--mode=link: command not found
../libtool: line 1001: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1002: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 2251: X-std=gnu99: command not found
../libtool: line 2251: X-O2: command not found
../libtool: line 2251: X-pipe: command not found
../libtool: line 2081: X-march=nocona: command not found
../libtool: line 2251: X-ggdb: command not found
../libtool: line 2214: X-Wl,-O1: command not found

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 

../libtool: line 2420: Xmakestrs: command not found

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 

../libtool: line 2432: Xmakestrs: command not found
../libtool: line 2440: mkdir /.libs: No such file or directory
ACCESS DENIED  mkdir:        /.libs
mkdir: cannot create directory `/.libs': Permission denied
make[2]: *** [makestrs] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libXt-1.0.7-r1/work/libXt-1.0.7/util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libXt-1.0.7-r1/work/libXt-1.0.7'
make: *** [all] Error 2
 * ERROR: x11-libs/libXt-1.0.7-r1 failed:


# emerge --info
Portage 2.1.7.4 (default/linux/amd64/10.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30.9-default x86_64)
=================================================================
System uname: Linux-2.6.30.9-default-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 09 Nov 2009 23:00:05 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.3, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona -ggdb"
DISTDIR="/nfslarge/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
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="/nfslarge/usr/portage"
PORTDIR_OVERLAY="/nfslarge/usr/portage/local/layman/sunrise /nfslarge/usr/portage/local/layman/science /nfslarge/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 apache2 berkdb bzip2 cgi crypt gdbm hal java jce kerberos laptop mmx modules mpi mpich2 multilib ncurses nptl nptlonly nsplugin pam pcre python readline sse sse2 ssl svg sysfs syslog tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin Mokrejš 2009-11-10 00:16:47 UTC
Created attachment 209782 [details]
build.log
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-11-10 06:25:33 UTC
Either, you should upgrade libtool to 2.2, or libtool macros need to be removed before running eautoreconf.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-11-10 06:54:02 UTC
libtool 2.2 is already stable, please upgrade your _entire_ system with : emerge -DuNa world

Thanks
Comment 4 Martin Mokrejš 2009-11-10 10:03:24 UTC
x11-libs/libXt-1.0.7 does not have the problem. I am updating as much as I can. As I could see I have:
sys-devel/libtool:   2.2.6a

So what's the culprit?
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-11-10 11:26:34 UTC
No idea, feel free to help us find out.

Thanks
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-11-10 11:40:40 UTC
Please tar.bz2 up the entire build dir (/var/tmp/portage/...) and attach it here, I'll take a look.

Thanks
Comment 7 Rafał Mużyło 2009-11-10 13:06:36 UTC
No, it looks like macro was updated:
libtool is created at the end of configure.

So, more likely, ltmain.sh was not updated.
Comment 8 Martin Mokrejš 2009-11-12 16:13:58 UTC
Created attachment 210037 [details]
libXt-1.0.7-r1.tar.bz2

I decided to re-install that machine completely so hurry up if you want me to test something soon. ;)
Comment 9 Martin Mokrejš 2009-11-12 16:28:38 UTC
Created attachment 210038 [details]
libXt-1.0.7-r1.tar.bz2

Sorry, that was a cancelled build attempt. Here is a new try.
Comment 10 Martin Mokrejš 2009-11-12 16:41:48 UTC
I think the culprit is here:

libXt-1.0.7-r1/temp/libtoolize.out contains:

***** libtoolize *****
***** PWD: /var/tmp/portage/x11-libs/libXt-1.0.7-r1/work/libXt-1.0.7
***** libtoolize --copy --force --install --automake

/usr/bin/libtoolize: line 286: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory
/usr/bin/libtoolize: line 292: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory
/usr/bin/libtoolize: line 1065: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory
/usr/bin/libtoolize: line 1885: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory
/usr/bin/libtoolize: line 1648: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory
/usr/bin/libtoolize: line 1648: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory
/usr/bin/libtoolize: line 1648: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory
/usr/bin/libtoolize: line 1648: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory
/usr/bin/libtoolize: line 1648: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory
/usr/bin/libtoolize: line 1648: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory
/usr/bin/libtoolize: line 1648: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory
/usr/bin/libtoolize: line 1661: /usr/lib64/portage/bin/ebuild-helpers/sed: No such file or directory



# ls -la /usr/lib64/portage/bin/ebuild-helpers    
total 204
drwxr-xr-x 3 root root 4096 Nov  7 15:19 .
drwxr-xr-x 3 root root 4096 Nov  7 15:19 ..
drwxr-xr-x 2 root root 4096 Nov  7 15:19 3
-rwxr-xr-x 1 root root  492 Nov  7 15:19 die
-rwxr-xr-x 1 root root  661 Nov  7 15:19 dobin
-rwxr-xr-x 1 root root  308 Nov  7 15:19 doconfd
-rwxr-xr-x 1 root root  215 Nov  7 15:19 dodir
-rwxr-xr-x 1 root root  667 Nov  7 15:19 dodoc
-rwxr-xr-x 1 root root  306 Nov  7 15:19 doenvd
-rwxr-xr-x 1 root root  838 Nov  7 15:19 doexe
-rwxr-xr-x 1 root root  340 Nov  7 15:19 dohard
-rwxr-xr-x 1 root root  503 Nov  7 15:19 dohtml
-rwxr-xr-x 1 root root  518 Nov  7 15:19 doinfo
-rwxr-xr-x 1 root root  312 Nov  7 15:19 doinitd
-rwxr-xr-x 1 root root 2650 Nov  7 15:19 doins
-rwxr-xr-x 1 root root  877 Nov  7 15:19 dolib
-rwxr-xr-x 1 root root  215 Nov  7 15:19 dolib.a
-rwxr-xr-x 1 root root  216 Nov  7 15:19 dolib.so
-rwxr-xr-x 1 root root 1359 Nov  7 15:19 doman
-rwxr-xr-x 1 root root  701 Nov  7 15:19 domo
-rwxr-xr-x 1 root root  592 Nov  7 15:19 dosbin
-rwxr-xr-x 1 root root  638 Nov  7 15:19 dosed
-rwxr-xr-x 1 root root  337 Nov  7 15:19 dosym
-rwxr-xr-x 1 root root 2611 Nov  7 15:19 ecompress
-rwxr-xr-x 1 root root 3801 Nov  7 15:19 ecompressdir
lrwxrwxrwx 1 root root    4 Nov  7 15:19 eerror -> elog
lrwxrwxrwx 1 root root    4 Nov  7 15:19 einfo -> elog
-rwxr-xr-x 1 root root  257 Nov  7 15:19 elog
-rwxr-xr-x 1 root root  854 Nov  7 15:19 emake
lrwxrwxrwx 1 root root    4 Nov  7 15:19 eqawarn -> elog
lrwxrwxrwx 1 root root    4 Nov  7 15:19 ewarn -> elog
-rwxr-xr-x 1 root root  292 Nov  7 15:19 fowners
-rwxr-xr-x 1 root root  291 Nov  7 15:19 fperms
-rwxr-xr-x 1 root root  441 Nov  7 15:19 newbin
-rwxr-xr-x 1 root root  445 Nov  7 15:19 newconfd
-rwxr-xr-x 1 root root  441 Nov  7 15:19 newdoc
-rwxr-xr-x 1 root root  443 Nov  7 15:19 newenvd
-rwxr-xr-x 1 root root  441 Nov  7 15:19 newexe
-rwxr-xr-x 1 root root  445 Nov  7 15:19 newinitd
-rwxr-xr-x 1 root root  552 Nov  7 15:19 newins
-rwxr-xr-x 1 root root  445 Nov  7 15:19 newlib.a
-rwxr-xr-x 1 root root  447 Nov  7 15:19 newlib.so
-rwxr-xr-x 1 root root  441 Nov  7 15:19 newman
-rwxr-xr-x 1 root root  443 Nov  7 15:19 newsbin
-rwxr-xr-x 1 root root  504 Nov  7 15:19 portageq
-rwxr-xr-x 1 root root  792 Nov  7 15:19 prepall
-rwxr-xr-x 1 root root  462 Nov  7 15:19 prepalldocs
-rwxr-xr-x 1 root root  305 Nov  7 15:19 prepallinfo
-rwxr-xr-x 1 root root  447 Nov  7 15:19 prepallman
-rwxr-xr-x 1 root root  199 Nov  7 15:19 prepallstrip
-rwxr-xr-x 1 root root  688 Nov  7 15:19 prepinfo
-rwxr-xr-x 1 root root  675 Nov  7 15:19 preplib
-rwxr-xr-x 1 root root  737 Nov  7 15:19 prepman
-rwxr-xr-x 1 root root 5740 Nov  7 15:19 prepstrip
# ls -la /usr/lib32/portage/
ls: cannot access /usr/lib32/portage/: No such file or directory
#
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2009-11-13 18:36:40 UTC
Looks like a multilib issue, can't reproduce on a non-multilib system.

@base-system, what say you?

Thanks
Comment 12 SpanKY gentoo-dev 2009-11-13 22:28:46 UTC
i dont think it's a multilib issue at all.  sounds more like user had a script named `sed` at /usr/lib64/portage/bin/ebuild-helpers/sed when libtool was emerged, but has been removed since.

/usr/lib64/portage/bin/ebuild-helpers/3/ is also suspicious looking

re-emerge libtool
Comment 13 Martin Mokrejš 2009-11-18 17:42:33 UTC
(In reply to comment #12)
> i dont think it's a multilib issue at all.  sounds more like user had a script
> named `sed` at /usr/lib64/portage/bin/ebuild-helpers/sed when libtool was
> emerged, but has been removed since.
> 
> /usr/lib64/portage/bin/ebuild-helpers/3/ is also suspicious looking
> 
> re-emerge libtool
> 

Sorry, but I decided to re-install that machine. I am rather convinced this was not my fault. Are you able to guess from the "sys-devel/libtool: 2.2.6a" that I had a recent re-install of libtool? I was trying like crazy to upgrade the machine hoping it will stop crashing. I tried to pursue that during a month or more.

I am unable to provide more info, sorry.

However, tell me how I could re-emerge any other ebuilds which contain patches. I do not believe this was the only package which was -r[1-9] broken. I just do not believe but thats all I can say.
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2009-11-18 18:17:33 UTC
Nothing we can do then. Feel free to reopen if you can still reproduce later on.

Thanks