First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 147739
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo net-p2p team <net-p2p@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: jsado_sc3@comcast.net
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
qfile.out qfile text/plain jsado_sc3@comcast.net 2006-09-18 02:45 0000 71 bytes Details
libintl.h libintl.h text/plain jsado_sc3@comcast.net 2006-09-18 18:31 0000 4.59 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 147739 depends on: Show dependency tree
Bug 147739 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: 2006-09-15 15:22 0000
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include
-I/usr/include/gtk-2.0 -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 -fno-strict-aliasing -Wall -Os -mtune=pentium4
-msse2 -mfpmath=sse -pipe -fomit-frame-pointer -MT gconf_support.lo -MD -MP -MF
.deps/gconf_support.Tpo -c gconf_support.c  -fPIC -DPIC -o
.libs/gconf_support.o
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H
-I. -I. -I../.. -I../../src/include   -I/usr/include/gtk-2.0
-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  
-fno-strict-aliasing -Wall -Os -mtune=pentium4 -msse2 -mfpmath=sse -pipe
-fomit-frame-pointer -MT gconf.lo -MD -MP -MF ".deps/gconf.Tpo" -c -o gconf.lo
gconf.c; \
then mv -f ".deps/gconf.Tpo" ".deps/gconf.Plo"; else rm -f ".deps/gconf.Tpo";
exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include
-I/usr/include/gtk-2.0 -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 -fno-strict-aliasing -Wall -Os -mtune=pentium4
-msse2 -mfpmath=sse -pipe -fomit-frame-pointer -MT gconf.lo -MD -MP -MF
.deps/gconf.Tpo -c gconf.c  -fPIC -DPIC -o .libs/gconf.o
In file included from gconf_support.h:15,
                 from gconf.c:57:
/usr/include/libintl.h:40: error: syntax error before "const"
/usr/include/libintl.h:45: error: syntax error before "const"
/usr/include/libintl.h:52: error: syntax error before "const"
/usr/include/libintl.h:62: error: syntax error before "unsigned"
/usr/include/libintl.h:68: error: syntax error before "unsigned"
/usr/include/libintl.h:74: error: syntax error before "unsigned"
/usr/include/libintl.h:83: error: syntax error before ';' token
/usr/include/libintl.h:87: error: syntax error before ';' token
/usr/include/libintl.h:92: error: syntax error before "const"
gconf.c: In function `gconf_main':
gconf.c:1695: warning: statement with no effect
make[4]: *** [gconf.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/gnunet-0.7.0d-r1/work/GNUnet-0.7.0d/src/conf'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/var/tmp/portage/gnunet-0.7.0d-r1/work/GNUnet-0.7.0d/src/conf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnunet-0.7.0d-r1/work/GNUnet-0.7.0d/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnunet-0.7.0d-r1/work/GNUnet-0.7.0d'
make: *** [all] Error 2


root@bit:~ 5> emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3,
2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Transmeta Efficeon(tm) Processor TM8000
Gentoo Base System version 1.12.5
Last Sync: Fri, 15 Sep 2006 16:00:05 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.4, 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-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mtune=pentium4 -msse2 -mfpmath=sse -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/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/gconf /etc/terminfo"
CXXFLAGS="-Os -mtune=pentium4 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
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.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 apm audiofile avi berkdb bitmap-fonts bonobo
bzlib cli cpdflib crypt cscope dga dio directfb divx4linux dlloader doc dri dts
dv dvb dvd dvdread eds elibc_glibc emboss encode fbcon fftw firefox flac
fortran ftp gb gd gdbm gif gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap
imlib input_devices_evdev input_devices_keyboard input_devices_mouse
input_devices_synaptics isdnlog jack jpeg kernel_linux ladcca lcms lesstif
libg++ libwww mad mikmod mime mmx mmxext mng motif mp3 mpeg mysql ncurses nis
nptl nptlonly offensive ogg oggvorbis opengl pam pcmcia pcre pda pdflib perl
png pnp posix pppd qt3 qt4 quicktime radeon readline reflection sdl session
sndfile speex spell spl sse sse2 ssl svg sysvipc tcpd tga theora tidy tiff
truetype truetype-fonts type1-fonts udev usb userland_GNU vcd
video_cards_radeon vim-with-x vorbis win32codecs xine xml xmms xorg xpm xv xvid
zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From SpanKY 2006-09-15 20:46:29 0000 -------
run `qfile /usr/include/libintl.h` and post it as an attachment

------- Comment #2 From jsado_sc3@comcast.net 2006-09-17 05:54:07 0000 -------
> qfile /usr/include/libintl.h
sys-libs/glibc (/usr/include/libintl.h)

------- Comment #3 From SpanKY 2006-09-17 12:35:32 0000 -------
you didnt post it as an attachment

------- Comment #4 From jsado_sc3@comcast.net 2006-09-18 02:45:43 0000 -------
Created an attachment (id=97316) [edit]
qfile

------- Comment #5 From jsado_sc3@comcast.net 2006-09-18 02:46:06 0000 -------
Here's your attachment

------- Comment #6 From SpanKY 2006-09-18 03:18:51 0000 -------
no, post the actual /usr/include/libintl.h as an attachment

------- Comment #7 From jsado_sc3@comcast.net 2006-09-18 18:31:28 0000 -------
Created an attachment (id=97376) [edit]
libintl.h

------- Comment #8 From jsado_sc3@comcast.net 2006-09-18 18:35:01 0000 -------
Ok, now I understand.

------- Comment #9 From SpanKY 2006-12-31 05:39:20 0000 -------
ok, that isnt working ... run this:

cd /var/tmp/portage/gnunet-0.7.0d-r1/work/GNUnet-0.7.0d/src/conf
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include \
-I/usr/include/gtk-2.0 -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 -fno-strict-aliasing -Wall -Os -mtune=pentium4 \
-msse2 -mfpmath=sse -pipe -fomit-frame-pointer -E -dD gconf.c -fPIC -DPIC \
-o gconf.i

then post the gconf.i as an attachment

------- Comment #10 From jsado_sc3@comcast.net 2007-01-01 06:29:25 0000 -------
I could not post the gconf.i as it is too big. Even compressed it is 217K, and
bugzilla only allows files up to 100K.

------- Comment #11 From SpanKY 2007-01-01 06:51:09 0000 -------
then e-mail it to me

------- Comment #12 From SpanKY 2007-01-01 18:31:39 0000 -------
ok, that shows the problem ... it's a bug in gnunet, not the toolchain

the issue shows up if you try to build with --disable-nls ... the local headers
will setup macros to disable gettext:
...
# 45 "../../src/include/gettext.h"
#define gettext(Msgid) ((const char *) (Msgid))
...

the gconf.c does something stupid:
#define ENABLE_NLS 1
which causes libintl.h to get pulled in and the prototype of gettext gets
screwed up

------- Comment #13 From Raúl Porcel 2007-01-21 14:27:36 0000 -------
Fixed in 0.7.0e, that is now stable.

Thanks.

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