Summary: | x11-misc/xscreensaver + dev-util/intltool-0.40.5 - config.status: error: po/Makefile.in.in was not created by intltoolize. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ivan <Ivan.Miljenovic> |
Component: | Current packages | Assignee: | Samuli Suominen (RETIRED) <ssuominen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexxy, ao, dawnstyle, desktop-misc, disinbox, eXt, georgi, iaindb, jwz, kdvgent, leio, m.debruijne, magowiz, marduk, mark_alec, n-roeser, pva, telefrancisco, znmeb |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=803479 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 242660 | ||
Attachments: | Hack :) |
Description
Ivan
2008-10-10 03:04:41 UTC
And amd64 ========== Portage 2.2_rc11 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.26-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5 Timestamp of tree: Thu, 09 Oct 2008 12:47:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -mtune=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=native -mtune=native" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache collision-protect distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://local.weirdwire.ru/distr/mirror/gentoo http://mirror.yandex.ru/gentoo-distfiles http://trumpetti.atm.tut.fi/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror ftp://gentoo.chem.wisc.edu/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distfiles.gentoo.org" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="ru" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi additions alsa amd64 amr amrnb amrwb ao apm applet arts audacious audiofile bdf berkdb bindist bzip2 cairo cdparanoia cdr cgi cjk clamav cli color-console cracklib crypt dbus divx djvu dri drm dts dvd dvdr dvdread enca encode exif fbcondecor ffmpeg fftw fortran ftp fuse gd gdbm gecko gif gimp glitz gmedia gphoto2 gpm graphviz gtk gtkhtml hal hddtemp hdri htmlhandbook icons iconv icq imagemagick imlib isdnlog java java5 java6 javascript jbig jpeg jpeg2k kde lame lcms lm_sensors lzma mad midi mikmod mime mjpeg mmx mmxext mng motif mp2 mp3 mp4 mpeg mplayer mudflap multilib multitarget ncurses nls nptl nptlonly nsplugin oav objc objc++ objc-gc ogg openexr opengl openmp pam pcre pdf perl pertty plotutils png povray pppd python qt3 qt3support qt4 quicktime rar rcc readline realmedia reflection rtc samba sdl sensord session sndfile sound source spell spl sqlite3 srt sse sse2 ssl startup-notification svg symlink sysfs syslog szip tcpd theora tidy tiff truetype type1 unicode unsupported usb userlocales utempter vcd visualization vorbis wma wmf wmp x264 x264-svn-encoder xattr xcomposite xml xorg xpm xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="intel8x0" Compiled successful: downgrade dev-util/intltool-0.40.5 >> dev-util/intltool-0.40.4 Same here, masking intltool 0.40.5 fixes the problem. (In reply to comment #2) > Compiled successful: downgrade dev-util/intltool-0.40.5 >> > dev-util/intltool-0.40.4 > Thanks for the workaround! (In reply to comment #4) > (In reply to comment #2) > > Compiled successful: downgrade dev-util/intltool-0.40.5 >> > > dev-util/intltool-0.40.4 > > > Thanks for the workaround! > Note that this workaround was listed in my original bug report (in the middle though): > Masking dev-util/intltool-0.40.5 (and thus using version 0.40.4) fixes this > problem (i.e. xscreensaver installs). It now seems that leio has removed intltool-0.40.4 because it's "old"... Yes it's old, and the change in 0.40.5 is precisely to not allow broken intltoolized stuff. Now it errors, before it was plain out broken in translation handling (in principle, I don't know what the effects were on the system when installed). The problem is that it uses both gettext and intltool - there are both AC_PROG_INTLTOOL and AM_GLIB_GNU_GETTEXT calls in configure.in. It should use one or the other for the translations, not both. If intltool isn't intended to be used (it before wasn't used, but maybe accidentally because intltool didn't warn about it) then AC_PROG_INTLTOOL call could be removed and it should work. Created attachment 168632 [details, diff]
Hack :)
The quick-patch I made, that made it merge fine on my machine.
Thanks for this. Moving to intltool-0.40.4 not only allowed xscreensaver to compile, but xfce-netload as well. Nice. Blessed be! Pappy (In reply to comment #9) > Created an attachment (id=168632) [edit] > Hack :) > > The quick-patch I made, that made it merge fine on my machine. It works for me. To apply it, save it to "${local_portage}/x11-misc/xscreensaver/files/5.07/02_all_no_intltool.patch" (where "$(local_portage}" is your local portage overlay) and run "ebuild ${local_portage}/x11-misc/xscreensaver/xscreensaver-5.07 manifest". (In reply to comment #11) > > It works for me. To apply it, save it to > "${local_portage}/x11-misc/xscreensaver/files/5.07/02_all_no_intltool.patch" > (where "$(local_portage}" is your local portage overlay) and run "ebuild > ${local_portage}/x11-misc/xscreensaver/xscreensaver-5.07 manifest". > Did you mean "ebuild ${local_portage}/x11-misc/xscreensaver/xscreensaver-5.07.ebuild manifest"? That's what I had to run anyway. Thank you to both of you for the patch and explanation! *** Bug 242448 has been marked as a duplicate of this bug. *** (In reply to comment #9) > Created an attachment (id=168632) [edit] > Hack :) > > The quick-patch I made, that made it merge fine on my machine. > It does the trick for me too. *** Bug 245671 has been marked as a duplicate of this bug. *** Patch committed. I don't understand what's going on here. Surely that patch isn't the right way to fix this? Is there some change I should make upstream? If so, what, and why? Reopening. The patch committed is invalid. Comment on attachment 168632 [details, diff]
Hack :)
This "patch" breaks translations of .desktop file entirely.
(In reply to comment #17) > I don't understand what's going on here. > > Surely that patch isn't the right way to fix this? > > Is there some change I should make upstream? If so, what, and why? > Quoting from, http://bugs.gentoo.org/show_bug.cgi?id=242530#c3 "The problem is that it uses both gettext and intltool - there are both AC_PROG_INTLTOOL and AM_GLIB_GNU_GETTEXT calls in configure.in. It should use one or the other for the translations, not both. If intltool isn't intended to be used (it before wasn't used, but maybe accidentally because intltool didn't warn about it) then AC_PROG_INTLTOOL call could be removed and it should work." Quoting from, http://bugs.gentoo.org/show_bug.cgi?id=240958#c8 "The problem must be that compiz asks both gettext and intltool to create po/Makefile.in.in - that is safeguarded with intltool-0.40.5 because that's probably not what was intended. You use either gettext or intltool to take care of po/, not both. There is a bug against xscreensaver with the same problem that has a longer explanation from me as a comment" That said, I don't know the real solution to xscreensaver yet. It breaks when you autoreconf with combination of autoconf-2.63, automake-1.10.2 and intltool-0.40.5. (In reply to comment #17) > I don't understand what's going on here. We need to run autoreconf to xscreensaver before ./configure because of bug 155049. That is no problem for us, until intltool-0.40.5. (In reply to comment #21) > (In reply to comment #17) > > I don't understand what's going on here. > > We need to run autoreconf to xscreensaver before ./configure because of bug > 155049. That is no problem for us, until intltool-0.40.5. > Arg, I meant bug 113681. Sorry. simply needs to call: intltoolize --force --copy --automake || die "intltoolize failed" before calling eautoreconf. (In reply to comment #23) > simply needs to call: > intltoolize --force --copy --automake || die "intltoolize failed" > before calling eautoreconf. > That doesn't work for xscreensaver, it seems the generated files has been edited by hand.. I found that Fedora is applying this, http://cvs.fedoraproject.org/viewvc/rpms/xscreensaver/devel/xscreensaver-5.08-po-recreate.patch?revision=1.3&view=markup But it doesn't work after we autoreconf for bug 113681. I give up.. I'll simply "unset LINGUAS" to avoid the catalog failure with LINGUAS="zh".. and realize this package can't be autoreconfigured anymore. |