Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321721 - >=app-editors/bluefish-2.0.0 does not compile with gettext-0.18
Summary: >=app-editors/bluefish-2.0.0 does not compile with gettext-0.18
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
: 328571 328601 (view as bug list)
Depends on:
Blocks: gettext-0.18
  Show dependency tree
 
Reported: 2010-05-27 19:25 UTC by Alexandre Ferreira
Modified: 2010-11-24 17:27 UTC (History)
9 users (show)

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


Attachments
bluefish-2.0.1-system-gettext.patch (bluefish-2.0.1-system-gettext.patch,581 bytes, patch)
2010-07-15 20:19 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
bluefish-2.0.1.patch (bluefish-2.0.1-321721.patch,573 bytes, patch)
2010-07-31 22:03 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Ferreira 2010-05-27 19:25:45 UTC
Trying to compile bluefish leads to this error: *** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.17 but the autoconf macros are from gettext version 0.18

Reproducible: Always

Steps to Reproduce:
1.emerge bluefish
2.
3.

Actual Results:  
make[5]: Entering directory `/var/tmp/portage/app-editors/bluefish-2.0.0/work/bluefish-2.0.0/src/plugin_about/po'
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.17 but the autoconf macros are from gettext version 0.18
make[5]: *** [check-macro-version] Error 1
make[5]: Leaving directory `/var/tmp/portage/app-editors/bluefish-2.0.0/work/bluefish-2.0.0/src/plugin_about/po'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-editors/bluefish-2.0.0/work/bluefish-2.0.0/src/plugin_about'
make[3]: *** [all] Error 2
rm about_rev.h.tmp
make[3]: Leaving directory `/var/tmp/portage/app-editors/bluefish-2.0.0/work/bluefish-2.0.0/src/plugin_about'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-editors/bluefish-2.0.0/work/bluefish-2.0.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-editors/bluefish-2.0.0/work/bluefish-2.0.0/src'
make: *** [all-recursive] Error 1
 * ERROR: app-editors/bluefish-2.0.0 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 2954:  Called _eapi2_src_compile
 *     ebuild.sh, line  640:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =app-editors/bluefish-2.0.0',
 * the complete build log and the output of 'emerge -pqv =app-editors/bluefish-2.0.0'.
 * The complete build log is located at '/var/tmp/portage/app-editors/bluefish-2.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-editors/bluefish-2.0.0/temp/environment'.
 * S: '/var/tmp/portage/app-editors/bluefish-2.0.0/work/bluefish-2.0.0'

>>> Failed to emerge app-editors/bluefish-2.0.0, Log file:

>>>  '/var/tmp/portage/app-editors/bluefish-2.0.0/temp/build.log'


Expected Results:  
Working bluefish

emerge --info

Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34 x86_64)
=================================================================
System uname: Linux-2.6.34-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9550_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 27 May 2010 06:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 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.7b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US pt pt_BR"
MAKEOPTS="-j 3"
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/portages-other/my_portage /usr/local/portage/layman/kde /usr/local/portage/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 apache2 asf ati atk audiofile avi berkdb blas bluetooth branding bzip2 bzlib cairo cdparanoia cdr cli consolekit cracklib cross crypt cscope ctype cups curl curlwrappers cxx dba dbus dhcpcd divx divx4linux doc dri dts dvd dvdr dvdread emboss encode ethereal exif fam ffmpeg firefox flac fontconfig foomaticdb fortran gd gdbm ggi gif glitz glut gpm graphviz gstreamer gtk gtk2 gtkhtml guile h323 hal iconv icq imagemagick imap imlib innodb ipod ipv6 jabber jadetex java java5 joystick jpeg jpeg2k kde lapack laptop latex lcms ldap lesstif libcaca libg++ libnotify lm_sensors logrotate lua lzo mad matroska mcal mikmod mime mjpeg mmap mmx mng modules motif mp3 mp4 mpeg mplayer msn mudflap multilib musicbrainz mysql ncurses networking networkmanager nls no-seamonkey nptl nptlonly nsplugin ofx ogg oggvorbis openal opengl openmp oss pam pango pcre pdf pdflib perl php pic plotutils png policykit postgres ppds pppd python qt qt3support qt4 qthelp quicktime readline reflection rtc ruby samba scanner sdl secure-delete semantic-desktop session shared sip slp sndfile soap sockets speex spell spl srt sse sse2 ssl startup-notification subversion svg sysfs tcltk tcpd theora threads tiff tk truetype udev unicode usb v4l v4l2 vcd vorbis wav wlm wmp wxwindows x264 xcb xcomposite xine xinerama xml xml2 xorg xpm xscreensaver xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US pt pt_BR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Abbott (RETIRED) gentoo-dev 2010-05-27 20:03:17 UTC
does reinstalling gettext-0.18 help?
Comment 2 Alexandre Ferreira 2010-05-27 20:10:03 UTC
It did not help. Still the same error.
Comment 3 tman 2010-05-29 06:06:21 UTC
i can cofirm this problem too
Comment 4 Jouni Rinne 2010-07-01 06:44:27 UTC
Having the same problem, too... No fix yet?
Comment 5 Sven E. 2010-07-07 04:07:02 UTC
Icky workaround: downgrade gettext du 0.17-r1, emerge bluefish and reemerge current gettext.

I guess what will be needed is something like autoreconf for the i18n stuff, to upgrade the stuff in the tarball after unpacking it.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-15 19:55:22 UTC
Same with bluefish-2.0.1
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-15 20:19:09 UTC
Created attachment 238931 [details, diff]
bluefish-2.0.1-system-gettext.patch

Possible (kinda hackish) fix.
Comment 8 Juergen Rose 2010-07-16 08:35:56 UTC
The patch worked for me.
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-16 09:08:18 UTC
*** Bug 328571 has been marked as a duplicate of this bug. ***
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-07-16 12:36:27 UTC
*** Bug 328601 has been marked as a duplicate of this bug. ***
Comment 11 BerS 2010-07-20 06:26:50 UTC
thanks, it worked for me too
Comment 12 Alexandre Ferreira 2010-07-20 17:27:11 UTC
Works for me too.
Comment 13 Bob Raitz 2010-07-21 10:35:53 UTC
Tried the patch...it works.
Comment 14 Sven E. 2010-07-21 16:27:35 UTC
The patch works for me aswell. When I was looking into the issue, I came up with the intoolize part aswell, I didn't find the Maekfile.in.in solution though. I am wondering if there is a less hackish way of accomplishing the same thing. Any thoughts from a dev with a better insight of i18n?
Comment 15 tman 2010-07-23 16:15:37 UTC
nice that it works but it would be nice if sb can put this patch into portage so thate the latest unstable can compile

thanks
Comment 16 Ed Catmur 2010-07-31 22:03:05 UTC
Created attachment 240885 [details, diff]
bluefish-2.0.1.patch

Patch looks pretty good, but I'm not keen on hard-coding the /usr/share/gettext path.  We can actually reuse the intltool Makefile.in.in, so removing that dependency.

Also, src_prepare can assume to be run in ${S}.
Comment 17 Hanno Böck gentoo-dev 2010-08-03 23:08:53 UTC
it's not a nice fix but I'll commit it anyway, the proper fix probably has to happen upstream.
Comment 18 Lukas Zavodny 2010-11-24 17:27:28 UTC
"If use nsl" is big fail 'cause this bug happens even nls flag is disabled