Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77467 - desktop-file-utils-0.9 failes on configure on a distcc system
Summary: desktop-file-utils-0.9 failes on configure on a distcc system
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 22:43 UTC by Jukka Palko
Modified: 2005-01-11 00:11 UTC (History)
0 users

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 Jukka Palko 2005-01-10 22:43:29 UTC
Trying to emerge desktop-file-utils-0.9 causes it to fail on configure.

>>> emerge (1 of 9) dev-util/desktop-file-utils-0.9 to /
>>> md5 src_uri ;-) desktop-file-utils-0.9.tar.gz
>>> Unpacking source...
>>> Unpacking desktop-file-utils-0.9.tar.gz to /usr/tmp_portage/portage/desktop-file-utils-0.9/work
 * Applying desktop-file-utils-0.8-noemacs.patch ...                                                                         [ ok ]
>>> Source unpacked.
 * econf: updating /usr/tmp_portage/portage/desktop-file-utils-0.9/work/desktop-file-utils-0.9/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating /usr/tmp_portage/portage/desktop-file-utils-0.9/work/desktop-file-utils-0.9/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

!!! ERROR: dev-util/desktop-file-utils-0.9 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

The config.log states the following:
gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
configure:2288: $? = 0
configure:2290: i686-pc-linux-gnu-gcc -V </dev/null >&5
i686-pc-linux-gnu-gcc: `-V' option must have argument
distcc[16365] ERROR: compile (null) on localhost failed
configure:2293: $? = 1
configure:2316: checking for C compiler default output file name
configure:2319: i686-pc-linux-gnu-gcc -march=pentium4 -mcpu=pentium4 -Os -pipe -msse -msse2 -mmmx -fomit-frame-pointer   conftest.c
  >&5
configure:2322: $? = 0
configure:2368: result: a.out
configure:2373: checking whether the C compiler works
configure:2379: ./a.out
configure:2382: $? = 0
configure:2399: result: yes
configure:2406: checking whether we are cross compiling
configure:2408: result: no
configure:2411: checking for suffix of executables
configure:2413: i686-pc-linux-gnu-gcc -o conftest -march=pentium4 -mcpu=pentium4 -Os -pipe -msse -msse2 -mmmx -fomit-frame-pointer 
  conftest.c  >&5
configure:2416: $? = 0
configure:2441: result: 
configure:2447: checking for suffix of object files
configure:2468: i686-pc-linux-gnu-gcc -c -march=pentium4 -mcpu=pentium4 -Os -pipe -msse -msse2 -mmmx -fomit-frame-pointer  conftest
.c >&5
/tmp/distccd_3156909d.i:1: error: stray '\352' in program
/tmp/distccd_3156909d.i:1: error: stray '\342' in program
/tmp/distccd_3156909d.i:1: error: stray '\6' in program
/tmp/distccd_3156909d.i:1: error: stray '\20' in program
/tmp/distccd_3156909d.i:1: error: syntax error before ',' token
/tmp/distccd_3156909d.i:1: error: stray '\360' in program
/tmp/distccd_3156909d.i:1: error: stray '\263' in program
/tmp/distccd_3156909d.i:1: error: stray '\236' in program
/tmp/distccd_3156909d.i:1:12: missing terminating ' character
/tmp/distccd_3156909d.i:1:12: warning: character constant too long for its type
/tmp/distccd_3156909d.i:2: error: stray '\301' in program
/tmp/distccd_3156909d.i:2: error: stray '\252' in program
/tmp/distccd_3156909d.i:2: error: stray '\224' in program
/tmp/distccd_3156909d.i:2: error: stray '\260' in program
/tmp/distccd_3156909d.i:2: error: stray '\237' in program
/tmp/distccd_3156909d.i:2: error: stray '\352' in program
/tmp/distccd_3156909d.i:2: error: stray '\225' in program
/tmp/distccd_3156909d.i:2: error: stray '\237' in program
/tmp/distccd_3156909d.i:2: error: stray '\375' in program
/tmp/distccd_3156909d.i:2: error: stray '\302' in program
/tmp/distccd_3156909d.i:2: error: stray '\340' in program
/tmp/distccd_3156909d.i:2: error: stray '\256' in program
/tmp/distccd_3156909d.i:2: error: stray '\33' in program
/tmp/distccd_3156909d.i:2: error: stray '`' in program
/tmp/distccd_3156909d.i:2: error: stray '\272' in program
/tmp/distccd_3156909d.i:2: error: stray '\370' in program
/tmp/distccd_3156909d.i:2: error: stray '\226' in program
/tmp/distccd_3156909d.i:2: error: stray '\306' in program
/tmp/distccd_3156909d.i:2: error: stray '\354' in program
/tmp/distccd_3156909d.i:2: error: stray '\233' in program
/tmp/distccd_3156909d.i:2: error: stray '\315' in program
/tmp/distccd_3156909d.i:2: error: stray '\304' in program
/tmp/distccd_3156909d.i:2: error: stray '\225' in program
/tmp/distccd_3156909d.i:2: error: stray '\240' in program
/tmp/distccd_3156909d.i:2:42: missing terminating " character
/tmp/distccd_3156909d.i:3: error: stray '\306' in program
/tmp/distccd_3156909d.i:3: error: stray '\' in program
/tmp/distccd_3156909d.i:3: error: stray '\273' in program
/tmp/distccd_3156909d.i:3: error: stray '\263' in program
/tmp/distccd_3156909d.i:3: error: stray '\362' in program
/tmp/distccd_3156909d.i:3:8: missing terminating ' character
/tmp/distccd_3156909d.i:3:8: warning: character constant too long for its type
distcc[16405] ERROR: compile conftest.c on tuit07.europe.nokia.com failed
configure:2471: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "desktop-file-utils"
| #define VERSION "0.9"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2485: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

However, merging with "FEATURES=-distcc emerge -Dva desktop-file-utils" works perfectly

Reproducible: Always
Steps to Reproduce:
1. configure system to distcc
2. emerge desktop-file-utils

Actual Results:  
configure failed

Expected Results:  
configured and compiled desktop-file-utils

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -msse -msse2 -mmmx
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -msse -msse2 -mmmx
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp_portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X acl acpi alsa apm arts avi berkdb bitmap-fonts bluetooth bonobo cdr
crypt cups dga doc dvd encode esd f77 fam flac foomaticdb fortran freetype gdbm
gif gnome gphoto2 gpm gtk gtk2 gtkhtml i8x0 imagemagick imap imlib ipv6 java
javascript jpeg ldap libwww mad maildir mbox mikmod mmx motif mozilla mpeg
ncurses nls oggvorbis opengl oss pam pcmcia pda pdflib perl png ppds python qt
quicktime radeon readline samba sasl sdl slang sms spell sse ssl svga tcltk tcpd
tetex tiff transcode truetype unicode wifi xchattext xml xml2 xmms xv zlib
video_cards_radeon"
Comment 1 Jukka Palko 2005-01-10 22:49:30 UTC
Sorry, I think this is my mistake... nptl system and non-nptl system placed into same distcc...
Comment 2 Joe McCann (RETIRED) gentoo-dev 2005-01-11 00:11:57 UTC
yep distcc boxes should have the same toolchain setup