Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111769 - net-misc/d4x-2.5.6 failed to build
Summary: net-misc/d4x-2.5.6 failed to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
: 113040 113552 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-07 03:38 UTC by Gleb Litvjak
Modified: 2005-12-28 11:06 UTC (History)
4 users (show)

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


Attachments
d4x-2.5.6-r1.ebuild (d4x-2.5.6-r1.ebuild,1.85 KB, text/plain)
2005-12-06 18:32 UTC, Alexey Maximov
Details
d4x-2.5.6-libintl_fix.patch (d4x-2.5.6-libintl_fix.patch,395 bytes, patch)
2005-12-06 18:33 UTC, Alexey Maximov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Litvjak 2005-11-07 03:38:59 UTC
I tried to install d4x-2.5.6 and got this error: 
In file included 
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/i686-pc-linux-gnu/bits/c++locale.h:46, 
                 
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/iosfwd:46, 
                 
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_algobase.h:70, 
                 
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_tree.h:66, 
                 
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/set:66, 
                 from ../speed.h:16, 
                 from ../locstr.h:15, 
                 from ../addr.h:13, 
                 from ../mainlog.h:19, 
                 from ../var.h:38, 
                 from prefs.cc:15: 
/usr/include/libintl.h:40: error: expected unqualified-id before "const" 
/usr/include/libintl.h:40: error: expected `)' before "const" 
/usr/include/libintl.h:40: error: expected init-declarator before "const" 
/usr/include/libintl.h:40: error: expected `,' or `;' before "const" 
/usr/include/libintl.h:44: error: expected unqualified-id before "const" 
/usr/include/libintl.h:44: error: expected `)' before "const" 
/usr/include/libintl.h:44: error: expected init-declarator before "const" 
/usr/include/libintl.h:44: error: expected `,' or `;' before "const" 
/usr/include/libintl.h:51: error: expected unqualified-id before "const" 
/usr/include/libintl.h:51: error: expected `)' before "const" 
/usr/include/libintl.h:51: error: expected init-declarator before "const" 
/usr/include/libintl.h:51: error: expected `,' or `;' before "const" 
/usr/include/libintl.h:81: error: expected unqualified-id before "const" 
/usr/include/libintl.h:81: error: expected `)' before "const" 
/usr/include/libintl.h:81: error: expected init-declarator before "const" 
/usr/include/libintl.h:81: error: expected `,' or `;' before "const" 
/usr/include/libintl.h:85: error: expected unqualified-id before "const" 
/usr/include/libintl.h:85: error: expected `)' before "const" 
/usr/include/libintl.h:85: error: expected init-declarator before "const" 
/usr/include/libintl.h:85: error: expected `,' or `;' before "const" 
make[3]: *** [prefs.o] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/d4x-2.5.6/work/d4x-2.5.6/main/face' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/var/tmp/portage/d4x-2.5.6/work/d4x-2.5.6/main' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/d4x-2.5.6/work/d4x-2.5.6' 
make: *** [all] Error 2 
 
My emerge info: 
 
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, 
glibc-2.3.4.20040808-r1,glibc-2.3.5-r3, 2.6.12-gentoo-r9 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r9 i686 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.4.3-r4, 1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe 
-momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/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/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe 
-momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
LANG="en_GB.utf8" 
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main/bmg-main" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 3dnow 3dnowext X Xaw3d a52 aac aalib alsa apache2 apm audiofile avi 
berkdb bitmap-fonts bonobo browserplugin cddb cdparanoia cdr crypt css cups 
curl dvd dvdr dvdread eds emboss encode fam ffmpeg flac foomaticdb fortran gd 
gdbm gif gimp gimp-print gimpprint gphoto2 gpm gstreamer gtk gtk2 gtkhtml 
guile hal imagemagick imlib java jpeg jpeg2k kde kdeenablefinal kqemu ldap 
libg++ libwww mad mikmod mmx mng motif mozilla mp3 mpeg mplayer musicbrainz 
mysql nas ncurses nptl nsplugin nvidia ogg oggvorbis openal opengl oss pam 
pascal pdflib perl php pic plugin png ppds python qt quicktime rar readline 
real samba scanner sdl sensord slang speex spell sse sse2 ssl subtitles svg 
svga tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts 
udev unicode usb utf8 visualization vorbis win32codecs wmf wxgtk1 xine xml 
xml2 xmms xrandr xscreensaver xv xvid zlib userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LC_ALL, LINGUAS, MAKEOPTS 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-11-07 11:15:20 UTC
Those errors in /usr/include/libintl.h look strange. Having two versions of
glibc (from your emerge --info: glibc-2.3.4.20040808-r1,glibc-2.3.5-r3) looks
strange too. Please try to fix your glibc (unmerge old version, and reemerge
current stable) and try to reemerge d4x.
Comment 2 Gleb Litvjak 2005-11-07 23:17:19 UTC
Yes, I don't know why I had 2 glibc versions -- as I understand, glibc isn't 
slotted. I unmerged 2.3.4.20040808-r1 and reemerged glibc-2.3.5-r3, still I get 
the same error during d4x  compilation. 
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-11-24 08:31:03 UTC
*** Bug 113040 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-11-25 05:51:14 UTC
*** Bug 113552 has been marked as a duplicate of this bug. ***
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-11-25 16:18:43 UTC
I can't reproduce it on pure ~x86 system, neither on pure x86 (+ ~x86 required
deps). Both systems are Athlon64. Could You provide output of this:

bzcat /var/db/pkg/sys-devel/gcc-3*/environment.bz2
/var/db/pkg/sys-libs/glibc-*/environment.bz2 | egrep
'^(ACCEPT_KEYWORDS|C.*HOST=|CTARGET=|ARCH=)'

(all on one line)
Comment 6 Alexey Maximov 2005-11-25 16:41:57 UTC
try install glibc 2.3.6-r1
:)
Comment 7 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-11-25 16:49:22 UTC
sys-libs/glibc-2.3.6-r1 is masked by -*. Try downgrading to ~x86 version.
Comment 8 Alexey Maximov 2005-11-25 20:30:36 UTC
localhost ~ # bzcat /var/db/pkg/sys-devel/gcc-3*/environment.bz2
/var/db/pkg/sys-libs/glibc-*/environment.bz2 | egrep
'^(ACCEPT_KEYWORDS|C.*HOST=|CTARGET=|ARCH=)'
ACCEPT_KEYWORDS='x86 ~x86'
ARCH=x86
CHOST=i686-pc-linux-gnu
CTARGET=i686-pc-linux-gnu
ACCEPT_KEYWORDS='x86 ~x86'
ARCH=x86
CHOST=i686-pc-linux-gnu
CTARGET=i686-pc-linux-gnu


downgrade to the 2.3.5 glibc ~x86 and same bug is exists.

Comment 9 Gleb Litvjak 2005-11-25 23:29:03 UTC
This command outputs the following: 
ACCEPT_KEYWORDS|C.*HOST=|CTARGET=|ARCH=)' 
ACCEPT_KEYWORDS=x86 
ARCH=x86 
CCHOST=i686-pc-linux-gnu 
CHOST=i686-pc-linux-gnu 
ACCEPT_KEYWORDS=x86 
ARCH=x86 
CHOST=i686-pc-linux-gnu 
CTARGET=i686-pc-linux-gnu 
ACCEPT_KEYWORDS=x86 
ARCH=x86 
CHOST=i686-pc-linux-gnu 
CTARGET=i686-pc-linux-gnu 
ACCEPT_KEYWORDS=x86 
ARCH=x86 
CHOST=i686-pc-linux-gnu 
CTARGET=i686-pc-linux-gnu 
Comment 10 Alexey Maximov 2005-12-06 18:32:33 UTC
Created attachment 74192 [details]
d4x-2.5.6-r1.ebuild
Comment 11 Alexey Maximov 2005-12-06 18:33:51 UTC
Created attachment 74193 [details, diff]
d4x-2.5.6-libintl_fix.patch

The stupid bug is now FIXED

Please check and commit to the portage
Comment 12 Gleb Litvjak 2005-12-07 08:42:10 UTC
Works for me. Thanks. 
Comment 13 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-12-28 11:06:03 UTC
Thanks, fixed.