Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141213 - xfce-extra/terminal-0.2.4 fails to compile
Summary: xfce-extra/terminal-0.2.4 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
: 145541 (view as bug list)
Depends on: xfce44
Blocks:
  Show dependency tree
 
Reported: 2006-07-20 15:24 UTC by Matthias Bethke
Modified: 2007-02-06 22:32 UTC (History)
2 users (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 Matthias Bethke 2006-07-20 15:24:09 UTC
Compilation fails with an error in /usr/include/libintl.h:

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -DEXO_API_SUBJECT_TO_CHANGE -DEXO_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"Terminal\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DSN_API_NOT_YET_FROZEN -DTERMINAL_HELP_BIN=\"/usr/libexec/TerminalHelp\" -I..   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/exo-0.3 -I/usr/include/gtk-2.0 -I/usr/include/xfce4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/startup-notification-1.0   -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo   -DDBUS_API_SUBJECT_TO_CHANGE -Os -march=athlon-xp -pipe -fomit-frame-pointer -MT Terminal-main.o -MD -MP -MF ".deps/Terminal-main.Tpo" -c -o Terminal-main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/Terminal-main.Tpo" ".deps/Terminal-main.Po"; else rm -f ".deps/Terminal-main.Tpo"; exit 1; fi
In file included from /usr/include/glib-2.0/glib/gi18n.h:23,
                 from /usr/include/exo-0.3/exo/exo.h:34,
                 from ../terminal/terminal-app.h:25,
                 from terminal-enum-types.c:7:
/usr/include/libintl.h:40: error: syntax error before "const"
/usr/include/libintl.h:44: error: syntax error before "const"
/usr/include/libintl.h:51: error: syntax error before "const"
/usr/include/libintl.h:81: error: syntax error before "const"
/usr/include/libintl.h:85: error: syntax error before "do"
In file included from /usr/include/exo-0.3/exo/exo.h:34,
                 from ../terminal/terminal-app.h:25,
                 from terminal-enum-types.c:7:
/usr/include/glib-2.0/glib/gi18n.h:25:1: warning: "_" redefined
In file included from /usr/include/xfce4/libxfce4util/libxfce4util.h:34,
                 from ../terminal/terminal-enum-types.h:6,
                 from terminal-enum-types.c:6:
/usr/include/xfce4/libxfce4util/i18n.h:100:1: warning: this is the location of the previous definition
In file included from /usr/include/exo-0.3/exo/exo.h:34,
                 from ../terminal/terminal-app.h:25,
                 from terminal-enum-types.c:7:
/usr/include/glib-2.0/glib/gi18n.h:26:1: warning: "Q_" redefined
In file included from /usr/include/xfce4/libxfce4util/libxfce4util.h:34,
                 from ../terminal/terminal-enum-types.h:6,
                 from terminal-enum-types.c:6:
/usr/include/xfce4/libxfce4util/i18n.h:110:1: warning: this is the location of the previous definition
In file included from /usr/include/exo-0.3/exo/exo.h:34,
                 from ../terminal/terminal-app.h:25,
                 from terminal-enum-types.c:7:
/usr/include/glib-2.0/glib/gi18n.h:30:1: warning: "N_" redefined
In file included from /usr/include/xfce4/libxfce4util/libxfce4util.h:34,
                 from ../terminal/terminal-enum-types.h:6,
                 from terminal-enum-types.c:6:
/usr/include/xfce4/libxfce4util/i18n.h:105:1: warning: this is the location of the previous definition
make[4]: *** [Terminal-terminal-enum-types.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/mnt/portage/var-tmp-portage/terminal-0.2.4/work/Terminal-0.2.4/terminal'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/portage/var-tmp-portage/terminal-0.2.4/work/Terminal-0.2.4/terminal'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/portage/var-tmp-portage/terminal-0.2.4/work/Terminal-0.2.4/terminal'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/portage/var-tmp-portage/terminal-0.2.4/work/Terminal-0.2.4'
make: *** [all] Error 2

!!! ERROR: xfce-extra/terminal-0.2.4 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called xfce4_src_compile
  xfce4.eclass, line 82:   Called die


# emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12 i686)
=================================================================
System uname: 2.6.16-gentoo-r12 i686 mobile AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="x86 3dnow 3dnowext X a52 aac acl acpi alsa apm arts asf audiofile avi bash-completion bcmath berkdb bindist bitmap-fonts bzip2 cairo caps cardbus cdb cdda cddb cdio cdparanoia cdr chroot cli cpdflib cron crypt cscope ctype cups curl curlwrappers dba dbm dbus dbx dga dio divx4linux dlloader doc dri dv dvd dvdr dvdread dxr3 emboss encode fam fbcon fdftk firefox flac flatfile foomaticdb ftp gdbm gif gimpprint glut gmp gnome gnutls gpgme gpm gstreamer gtk gtk2 gtkhtml guile hal hyperwave-api iconv idn ieee1394 imagemagick imap imlib innodb iodbc ipv6 isdnlog jack java javascript jbig jikes jpeg jpeg2k kerberos libg++ libgda libwww lm_sensors mad maildir matroska mbox mcal memlimit mikmod mime mmap mmx mng motif mozilla mp3 mpeg mpi musepack ncurses nis nls nodrm nptl nptlonly nsplugin offensive ogg opengl pam pcmcia pcntl pcre pdflib perl pie plotutils png posix ppds pppd prelude python qt qt3 qt4 quicktime readline recode reflection rss ruby sasl sdk sdl session sharedmem slp smime sndfile soap sockets spell spl ssl svg sysvipc szip tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vim-with-x vorbis wifi win32codecs wxgtk1 wxwindows x264 xinerama xml xmms xorg xosd xpm xprint xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_evdev kernel_linux userland_GNU video_cards_vesa video_cards_fbdev video_cards_sis"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Matthias Bethke 2006-09-07 05:20:47 UTC
Update: I noticed my exo library wasn't up to date, but updating to 0.3.1.8_beta2 had no effect. The same error occurs with xfce-extras/terminal-0.2.4-r1, but the hard-masked version 0.2.5.4_beta2 compiles just fine.
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-12-05 22:07:22 UTC
*** Bug 145541 has been marked as a duplicate of this bug. ***
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-01-07 18:38:42 UTC
(In reply to comment #0)
> Compilation fails with an error in /usr/include/libintl.h:
> Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4

As libintl.h is part of glibc and current stable is 2.4-r4 can you still reproduce  this with it?
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-01-21 22:59:04 UTC
> The same error occurs with xfce-extras/terminal-0.2.4-r1, but the hard-masked   > version 0.2.5.4_beta2 compiles just fine.

So it works on 4.4rc2, and 4.4 is almost out.. with terminal-0.2.6. Once it hits portage and is out from package.mask, I believe this bug can be closed too.

Actually I was about to close it allready, but little bit of waiting won't do any damage..
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-01-21 22:59:42 UTC
oops, hah.
Comment 6 Erlend Davidson 2007-01-27 10:53:35 UTC
Terminal 0.2.6 compiles fine here (runs too).
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-02-06 22:32:58 UTC
xfce-extra/terminal-0.2.6 is unmasked, closing.