First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 111769
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Desktop Misc. Team <desktop-misc@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gleb Litvjak <blaster999@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
d4x-2.5.6-r1.ebuild d4x-2.5.6-r1.ebuild text/plain Alexey Maximov 2005-12-06 18:32 0000 1.85 KB Details
d4x-2.5.6-libintl_fix.patch d4x-2.5.6-libintl_fix.patch patch Alexey Maximov 2005-12-06 18:33 0000 395 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 111769 depends on: Show dependency tree
Bug 111769 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-07 03:38 0000
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 From Krzysiek Pawlik 2005-11-07 11:15:20 0000 -------
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 From Gleb Litvjak 2005-11-07 23:17:19 0000 -------
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 From Krzysiek Pawlik 2005-11-24 08:31:03 0000 -------
*** Bug 113040 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jakub Moc (RETIRED) 2005-11-25 05:51:14 0000 -------
*** Bug 113552 has been marked as a duplicate of this bug. ***

------- Comment #5 From Krzysiek Pawlik 2005-11-25 16:18:43 0000 -------
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 From Alexey Maximov 2005-11-25 16:41:57 0000 -------
try install glibc 2.3.6-r1
:)

------- Comment #7 From Krzysiek Pawlik 2005-11-25 16:49:22 0000 -------
sys-libs/glibc-2.3.6-r1 is masked by -*. Try downgrading to ~x86 version.

------- Comment #8 From Alexey Maximov 2005-11-25 20:30:36 0000 -------
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 From Gleb Litvjak 2005-11-25 23:29:03 0000 -------
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 From Alexey Maximov 2005-12-06 18:32:33 0000 -------
Created an attachment (id=74192) [edit]
d4x-2.5.6-r1.ebuild

------- Comment #11 From Alexey Maximov 2005-12-06 18:33:51 0000 -------
Created an attachment (id=74193) [edit]
d4x-2.5.6-libintl_fix.patch

The stupid bug is now FIXED

Please check and commit to the portage

------- Comment #12 From Gleb Litvjak 2005-12-07 08:42:10 0000 -------
Works for me. Thanks. 

------- Comment #13 From Krzysiek Pawlik 2005-12-28 11:06:03 0000 -------
Thanks, fixed.

First Last Prev Next    No search results available      Search page      Enter new bug