Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406883 - dev-libs/gobject-introspection-1.30.0-r2 fails to build: libintl.h: No such file or directory
Summary: dev-libs/gobject-introspection-1.30.0-r2 fails to build: libintl.h: No such f...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 407467
Blocks:
  Show dependency tree
 
Reported: 2012-03-04 13:22 UTC by Dennis Schridde
Modified: 2012-04-01 17:45 UTC (History)
0 users

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


Attachments
build.log (build.log,49.43 KB, text/plain)
2012-03-04 13:22 UTC, Dennis Schridde
Details
build.log (build.log,103.95 KB, text/plain)
2012-03-04 19:07 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2012-03-04 13:22:27 UTC
In file included from <stdin>:38:0:
/usr/include/glib-2.0/glib/gi18n.h:25:21: fatal error: libintl.h: No such file or directory

build.log attached.

Reproducible: Always




Portage 2.2.0_alpha89 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.2, glibc-2.14.1-r2, 3.2.9-gentoo x86_64)
=================================================================
System uname: Linux-3.2.9-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.1
Timestamp of tree: Sun, 04 Mar 2012 11:15:01 +0000
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.2
sys-devel/gcc-config:     1.5.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo local kde sunrise
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon64-sse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/neatx/home"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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="-pipe -O2 -march=athlon64-sse3"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--depclean-lib-check n --with-bdeps y --keep-going"
FEATURES="assume-digests binpkg-logs compressdebug distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS=""
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--hash-style=gnu"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/local /var/cache/portage/overlays/kde /var/cache/portage/overlays/sunrise"
[...]
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dennis Schridde 2012-03-04 13:22:49 UTC
Created attachment 304209 [details]
build.log
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-03-04 16:22:39 UTC
Please attach the build log from building with MAKEOPTS="V=1"
Comment 3 Dennis Schridde 2012-03-04 19:07:14 UTC
Created attachment 304237 [details]
build.log
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-03-05 03:44:56 UTC
Please check that you have /usr/include/libintl.h on your system. It should be installed by sys-libs/glibc.
Comment 5 Jan K 2012-03-05 14:29:06 UTC
same problem here; file /usr/include/libintl.h present.
Comment 6 Dennis Schridde 2012-03-05 17:14:54 UTC
$ ll /usr/include/libintl.h 
-rw-r--r-- 1 root root 4702 Feb  8 17:12 /usr/include/libintl.h
$ q file -v /usr/include/libintl.h 
sys-libs/glibc-2.14.1-r2 (/usr/include/libintl.h)
Comment 7 Jan K 2012-03-09 08:49:37 UTC
Ok, I know more or less what caused the problem for me, but I don't know why's that.
I run 'MAKEOPTS="V=1" emerge -1 dev-libs/gobject-introspection' and parsed the output to see what syscall fails, and the file (libintl.h) has NOT been searched in '/usr/include' but in '/usr/lib/gcc/arm-none-eabi/4.5.2/include/' (dir containing includes for arm crossdev toolchain).
File has been owned by cross-arm-none-eabi/binutils-2.21, so I unmerged all packages form cross-arm-none-eabi/* and this helped.
The cross-arm-none-eabi/binutils-2.21 has been rebuild by newuse from 'emerge -DavNu @world' the same say this bug occurred first.
This seems to be other issue, a few other packages also failed to merge (most probably also due to this bug).
Comment 8 Dennis Schridde 2012-03-09 14:37:08 UTC
This might be strongly related to bug #407467. Once I ran crossdev -C i686-pc-mingw32 && crossdev i686-pc-mingw32 gcc pointed to the correct compiler (instead of the mingw one) and gobject-introspection also merged without issues. Other packages also showed similar issues (e.g. lvm2 / bug #406881).
Comment 9 Dennis Schridde 2012-03-09 14:57:31 UTC
@Jan: Would be nice if you could compare your crossdev/cross-toolchain version with mine in bug #407467.
Comment 10 Pacho Ramos gentoo-dev 2012-04-01 17:45:45 UTC
looks like bug 407467 is waiting for info, making this one also need to wait for it :|