Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328919 - gnome-base/gnome-desktop-2.*: fails to built because of empty po/Makefile.in
Summary: gnome-base/gnome-desktop-2.*: fails to built because of empty po/Makefile.in
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 08:37 UTC by Paul Goller
Modified: 2010-12-28 09:26 UTC (History)
0 users

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


Attachments
emerge error log (config.log,42.72 KB, text/plain)
2010-07-19 08:39 UTC, Paul Goller
Details
world file (world,3.21 KB, text/plain)
2010-07-19 08:39 UTC, Paul Goller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Goller 2010-07-19 08:37:27 UTC
The package fails to build because of a configure check in line 17717 for the string "^# INTLTOOL_MAKEFILE$" in po/Makefile.in.
That file is empty.

The error message says "po/Makefile.in.in was not created by intltoolize.", which IS existing and is a symlink to /usr/share/intltool/Makefile.in.in.

Reproducible: Always

Steps to Reproduce:
1. emerge gnome-desktop
Actual Results:  
Emerge fails!

Expected Results:  
Emerge succeed.

Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 19 Jul 2010 07:45:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.utf-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
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/local/portage/local /usr/local/portage/layman/gnome /usr/local/portage/layman/vmware /usr/local/portage/layman/openrc"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups cxx dbus devicekit dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gnutls gpm gstreamer gtk iconv ipv6 jpeg jpeg2k lcms libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis x264 xcb xml xorg xulrunner xv xvid zlib zsh-completion" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paul Goller 2010-07-19 08:39:06 UTC
Created attachment 239341 [details]
emerge error log
Comment 2 Paul Goller 2010-07-19 08:39:39 UTC
Created attachment 239343 [details]
world file
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-07-19 09:27:54 UTC
looks like the fix applied in src_prepare is not needed anymore. Could you remove it from your ebuild, and try that modified ebuild ?
Comment 4 Paul Goller 2010-07-19 09:44:39 UTC
I've tried that, with exactly same result.

Can anyone tell my, why in the configure file the check runs against po/Makefile.in but the message tells that po/Makefile.in.in is missing?
Comment 5 Paul Goller 2010-07-24 14:23:37 UTC
A little push: this happens with _every_ version in portage. This is very annoying. Are there any suggestions to get rid of this porblem, any kind of workaround?
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-07-30 09:14:31 UTC
I wonder why that file is a symlink btw.
Comment 7 Paul Goller 2010-08-06 21:48:14 UTC
I don't know why exactly it is a symlink, but I think that is the way intltoolize works.
Comment 8 Pacho Ramos gentoo-dev 2010-09-03 19:24:47 UTC
The most strange think is that I am unable to reproduce, and looks like there are no more duplicated reports :-|
Comment 9 Paul Goller 2010-09-28 13:07:23 UTC
This problem is still existing and still very annoying!
Is there anyone who knows something about intltool(ize) and how it works?
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-09-28 14:23:17 UTC
could you rebuild intltool making sure it does not come from an overlay and try rebuilding gnome-desktop ?
Comment 11 Paul Goller 2010-09-28 14:30:55 UTC
I've made that a few times before. I've rebuilt libintl, intlfonts, intltool and gnome-desktop in all existing versions. The result is exactly the same. The configure script does not create and check the same file!
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-09-28 14:38:02 UTC
could you show the output of qfile intltool and ls -l ${S}/po of gnome-desktop (ie show where the link are pointing to)
Comment 13 Paul Goller 2010-09-28 15:52:04 UTC
qfile shows as expected:
# qfile intltool
dev-util/intltool (/usr/share/intltool)

At the moment, none of the Makefile.in.in's are symlinks anymore. For every version I tried to install during the last few days, assuming diff's output, the file is an exakt copy of /usr/share/intltool/Makefile.in.in.
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-09-28 16:24:33 UTC
damn, I meant qlist, but whatever, if the files are not symlinks anymore, it shouldn't change anything. So, is po/Makefile.in.in still empty, does it contain said "INTLTOOL_MAKEFILE" marker ? Is po/Makefile.in existing just after unpacking the ebuild ?
Comment 15 Paul Goller 2010-09-29 08:08:38 UTC
OK, qlist makes more sense ;)
# qlist intltool
/usr/bin/intltool-merge
/usr/bin/intltool-extract
/usr/bin/intltool-update
/usr/bin/intltoolize
/usr/bin/intltool-prepare
/usr/share/intltool/Makefile.in.in
/usr/share/aclocal/intltool.m4
/usr/share/man/man8/intltool-extract.8.bz2
/usr/share/man/man8/intltool-update.8.bz2
/usr/share/man/man8/intltoolize.8.bz2
/usr/share/man/man8/intltool-merge.8.bz2
/usr/share/man/man8/intltool-prepare.8.bz2
/usr/share/doc/intltool-0.41.1/TODO.bz2
/usr/share/doc/intltool-0.41.1/README.bz2
/usr/share/doc/intltool-0.41.1/AUTHORS.bz2
/usr/share/doc/intltool-0.41.1/I18N-HOWTO.bz2

I've extracted the file gnome-desktop-2.30.2.tar.bz2 and there was an "po/Makefile.in.in" with the exactly same content as "/usr/share/intltool/Makefile.in.in".

It's not the file Makefile.in.in which was empty, but the file against which the configure script make it's checks: "Makefile.in".
# grep -B1 -A1 Makefile.in.in configure
if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
  as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
fi

After executing the configure script, and the error message about "Makefile.in", there are two new files: "Makefile.in" and "Makefile", both are empty.
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-09-29 09:05:23 UTC
This makes no sense, configure creates the Makefile.in file from the Makefile.in.in, and from what you say, Makefile.in.in is a valid intltool makefile file, so the file should not be empty in the end.

Do you have anything installed in /usr/local that might be conflicting with portage installed packages ?

I'm getting out of ideas here.
Comment 17 Paul Goller 2010-09-29 09:11:49 UTC
I neither have any selfcompiled packages in /usr nor in /usr/local. The only thing I've put there is a modified ebuild in a local overlay (/usr/local/portage/local/app-laptop/...). There is nothing I've modified in a way that could influence portage at all, this is my working laptop...
Comment 18 Pacho Ramos gentoo-dev 2010-12-23 20:04:59 UTC
Could you retry with 2.32?
Comment 19 Paul Goller 2010-12-28 06:37:06 UTC
Oh yes! It finally works!

I've not made a world update since this error last appeared, so nothing else has changed, just the version 2.32.1.

What has changed?
Comment 20 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-28 09:26:11 UTC
Not sure anything really changed, must have been a local problem that got fixed by upgrading various packages involved in the build process. Thanks for your feedback.