Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147912 - app-portage/conf-update-0.12.0 fails to compile
Summary: app-portage/conf-update-0.12.0 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Simon Stelling (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-17 03:59 UTC by Beuss
Modified: 2006-09-17 05:23 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 Beuss 2006-09-17 03:59:30 UTC
Tried on two box, failed on both with following message :

>>> Compiling source in /var/tmp/portage/conf-update-0.12.0/work/conf-update-0.12.0 ...
/usr/portage/app-portage/conf-update/conf-update-0.12.0.ebuild: line 39: tc-gcc: command not found
$(pkg-config --cflags glib-2.0) -W -Wall  -g -mtune=pentium-m -msse3 -O2 -pipe -c core.c
$(pkg-config --cflags glib-2.0) -W -Wall  -g -mtune=pentium-m -msse3 -O2 -pipe -c helpers.c
$(pkg-config --cflags glib-2.0) -W -Wall  -g -mtune=pentium-m -msse3 -O2 -pipe -c conf-update.c
/bin/sh: -I/usr/include/glib-2.0: No such file or directory
make: *** [conf-update.o] Error 127
make: *** Waiting for unfinished jobs....
/bin/sh: -I/usr/include/glib-2.0: No such file or directory
make: *** [helpers.o] Error 127
/bin/sh: -I/usr/include/glib-2.0: No such file or directory
make: *** [core.o] Error 127

!!! ERROR: app-portage/conf-update-0.12.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  conf-update-0.12.0.ebuild, line 39:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Note : it is strange since /usr/include/glib-2.0 exists :


$ ls /usr/include/glib-2.0
glib  glib.h  glib-object.h  gmodule.h  gobject


emerge --info (box 1)
=============
Portage 2.1.2_pre1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7-20060904-4 i686)
=================================================================
System uname: 2.6.17-gentoo-r7-20060904-4 i686 Genuine Intel(R) CPU           T2250  @ 1.73GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 17 Sep 2006 08:50:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.5-r1, 2.0.28-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium-m -msse3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mtune=pentium-m -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups divx dlloader dri dvd dvdr elibc_glibc emboss fam firefox gdbm gif gnome gpm gstreamer gtk input_devices_keyboard input_devices_mouse isdnlog java jpeg kernel_linux libedit libg++ linguas_fr mad mikmod mp3 mpeg ncurses nls nojoystick nptl nptlonly nsplugin ogg opengl pam pcre pdf perl png ppds pppd python quicktime readline real reflection sdl session spell spl ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fglrx video_cards_vesa vorbis win32codecs wmp xml xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge --info (box 2)
=============

Portage 2.1.2_pre1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r6_20060824_1 i686)
=================================================================
System uname: 2.6.17-gentoo-r6_20060824_1 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 16 Sep 2006 20:00:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -mtune=pentium-m -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo"
LANG="fr_FR"
LC_ALL="fr_FR"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 berkdb bitmap-fonts bzip1 cairo cdr cli crypt cups dbus dlloader dri dvd dvdr elibc_glibc esd fam firefox fortran ftp gdbm gif glibc-omitfp gpm hal input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog java jpeg kdeenablefinal kdehiddenvisibility kernel_linux libg++ linguas_fr mad mikmod mmx mp3 mpeg msn ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre perl php png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session sockets spell spl sse ssl symlink tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_fglrx vorbis wifi win32codecs xcomposite xml xorg xosd xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Mike Auty (RETIRED) gentoo-dev 2006-09-17 04:05:36 UTC
The problem seems to be in the line:

emake CC=$(tc-gcc) || ...

it should probably read:

emake CC=$(tc-getCC) || ...

That seems to let everything compile fine.  5:)
Comment 2 Beuss 2006-09-17 04:44:34 UTC
> The problem seems to be in the line:
> 
> emake CC=$(tc-gcc) || ...
> 
> it should probably read:
> 
> emake CC=$(tc-getCC) || ...
> 
> That seems to let everything compile fine.  5:)
> 

Same for me, compiles fine
BUT when you run it, it complains about loading conf-update.conf. It seems that conf-update is unable to handle an update on its own configuration file...
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-09-17 05:23:29 UTC
darn, i committed the wrong ebuild it seems. the tc-getCC bug is fixed now in CVS too. As for the "it can't update its own config file": It's a known issue. The previous config format was a hack at best and the new one is more extensible, so this will be the only incident of this type. Since the package is marked testing exclusively I decided against adding more code just to be backwards-compatible. Most convenient way is to use etc-update for that single file, which is now mentioned in the ebuild too.

Thanks for reporting :)