Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112144 - k3d-0.5.0.33 fails to compile
Summary: k3d-0.5.0.33 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-10 23:06 UTC by John
Modified: 2006-01-29 19:34 UTC (History)
3 users (show)

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


Attachments
k3d-0.5.0.34-nls.patch (k3d-0.5.0.34-nls.patch,1.57 KB, patch)
2006-01-29 17:38 UTC, Marcelo Goes (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John 2005-11-10 23:06:24 UTC
I have tried many different configurations trying to get k3d to compile, I
recently tried recompiling binutils glibc and gcc to see if it would help.  It
hasn't.

Please let me know if I can provide any more data that would be helpful.

Reproducible: Always
Steps to Reproduce:
1.emerge k3d
2.
3.

Actual Results:  
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L16101' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L16101' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L16101' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L16101' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L16101' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L16101' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L16101' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L15517' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L16101' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L16101' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L16101' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`.L15517' referenced in section `.rodata' of .libs/scripting.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of .libs/scripting.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`typeinfo for k3d::basic_bitmap<k3d::basic_rgba<half, k3d::color_traits<half> >
>*' referenced in section
`.gnu.linkonce.t._ZN10libk3dngui15tool_properties7control14implementation9on_updateEv'
of .libs/tool_properties.o: defined in discarded section
`.gnu.linkonce.d._ZTIPN3k3d12basic_bitmapINS_10basic_rgbaI4halfNS_12color_traitsIS2_EEEEEE'
of .libs/tool_properties.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
`typeinfo for k3d::mesh*' referenced in section
`.gnu.linkonce.t._ZN10libk3dngui15tool_properties7control14implementation9on_updateEv'
of .libs/tool_properties.o: defined in discarded section
`.gnu.linkonce.d._ZTIPN3k3d4meshE' of .libs/tool_properties.o

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
BFD 2.15.92.0.2 20040927 internal error, aborting at
/var/tmp/portage/binutils-2.15.92.0.2-r10/work/binutils-2.15.92.0.2/bfd/elf32-i386.c
line 2262 in elf_i386_relocate_section

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
Please report this bug.

collect2: ld returned 1 exit status
make[1]: *** [libk3dngui.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/k3d-0.5.0.33/work/k3d-0.5.0.33/ngui'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/k3d-0.5.0.33 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.14-rc5-ck1 i686)
=================================================================
System uname: 2.6.14-rc5-ck1 i686 Unknown CPU Typ
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/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 -mcpu=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.netnitco.net
http://adelie.polymtl.ca/"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib acl aim alsa audiofile avi bitmap-fonts bzip2
cddb cdr cpudetection cscope cups curl dga divx4linux dvd dvdread eds emboss
encode exif expat fam fbcon ffmpeg flac fortran gd gdbm ggi gif gimpprint glut
gnutls gstreamer gtk gtk2 hal id3 idn imagemagick imlib jack jpeg lame lcms ldap
libwww lua lzo mad memlimit mikmod mmx mmx2 mmxext mng motif mp3 mpeg mpeg2
mysql nas ncurses network nptl nvidia ogg oggvorbis openal opengl oscar pam pcre
pdflib perl png python quicktime readline real ruby sdl slang spell sqlite sse
ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev
usb userlocales videos vorbis win32codecs xine xml xml2 xmms xv xvid zlib
linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Luca Barbato gentoo-dev 2005-11-11 02:23:09 UTC
binutils problem I guess...
Comment 2 SpanKY gentoo-dev 2005-11-11 06:59:06 UTC
try re-emerging boost

if that doesnt work, try emerging binutils-2.16.1 and then re-emerge
boost and then k3d
Comment 3 John 2005-11-11 17:26:21 UTC
I tried both suggestions, this is now the error I get:


mkdir .libs
 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"k3d\" -DVERSION=\"0.5.0.33\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_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_PLATFORM_POSIX=1 -DK3D_HAVE_X86=1 -DHAVE_VA_COPY=1 -DVA_COPY=va_copy
-DHAPY_HAVE_NUMERIC_LIMITS=1 -DHAPY_HAVE_STD_ITERATOR_TYPE=1 -DK3D_HAVE_EXPAT=1
-I. -I. -I../.. -I../.. -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-DK3D_HAVE_SIGC_2_0 -Wall -Wno-ctor-dtor-privacy -O2 -march=athlon-xp
-mcpu=athlon-xp -fomit-frame-pointer -MT bitmap_checker.lo -MD -MP -MF
.deps/bitmap_checker.Tpo -c bitmap_checker.cpp  -fPIC -DPIC -o
.libs/bitmap_checker.o
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/i686-pc-linux-gnu/bits/c++locale.h:44,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/iosfwd:46,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/stl_algobase.h:70,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/list:67,
                 from /usr/include/sigc++-2.0/sigc++/trackable.h:21,
                 from /usr/include/sigc++-2.0/sigc++/limit_reference.h:10,
                 from /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:13,
                 from /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:9,
                 from /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:5,
                 from /usr/include/sigc++-2.0/sigc++/bind.h:22,
                 from ../../k3dsdk/signal_system.h:25,
                 from ../../k3dsdk/idag.h:28,
                 from ../../k3dsdk/data.h:23,
                 from ../../k3dsdk/bitmap_source.h:23,
                 from bitmap_checker.cpp:25:
/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 `throw'
/usr/include/libintl.h:85: error: syntax error before `throw'
/usr/include/libintl.h:90: error: syntax error before `throw'
 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"k3d\" -DVERSION=\"0.5.0.33\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1
-DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DINTDIV0_RAISES_SIGFPE=1
-DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_STDINT_H_WITH_UINTMAX=1
-DHAVE_UNSIGNED_LONG_LONG=1 -DHAVE_UINTMAX_T=1 -DHAVE_INTTYPES_H=1
-DHAVE_ARGZ_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NL_TYPES_H=1
-DHAVE_MALLOC_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_FEOF_UNLOCKED=1
-DHAVE_FGETS_UNLOCKED=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETCWD=1 -DHAVE_GETEGID=1
-DHAVE_GETEUID=1 -DHAVE_GETGID=1 -DHAVE_GETUID=1 -DHAVE_MEMPCPY=1
-DHAVE_MUNMAP=1 -DHAVE_PUTENV=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1
-DHAVE_STPCPY=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRTOUL=1
-DHAVE_TSEARCH=1 -DHAVE___ARGZ_COUNT=1 -DHAVE___ARGZ_STRINGIFY=1
-DHAVE___ARGZ_NEXT=1 -DHAVE___FSETLOCKING=1 -DHAVE_ICONV=1 -DICONV_CONST=
-DHAVE_LANGINFO_CODESET=1 -DHAVE_LC_MESSAGES=1 -DHAVE_DLFCN_H=1 -DSIZEOF_VOIDP=4
-DK3D_PLATFORM_POSIX=1 -DK3D_HAVE_X86=1 -DHAVE_VA_COPY=1 -DVA_COPY=va_copy
-DHAPY_HAVE_NUMERIC_LIMITS=1 -DHAPY_HAVE_STD_ITERATOR_TYPE=1 -DK3D_HAVE_EXPAT=1
-I. -I. -I../.. -I../.. -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-DK3D_HAVE_SIGC_2_0 -Wall -Wno-ctor-dtor-privacy -O2 -march=athlon-xp
-mcpu=athlon-xp -fomit-frame-pointer -MT bitmap_add.lo -MD -MP -MF
.deps/bitmap_add.Tpo -c bitmap_add.cpp  -fPIC -DPIC -o .libs/bitmap_add.o
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/i686-pc-linux-gnu/bits/c++locale.h:44,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/iosfwd:46,
                 from ../../k3dsdk/uuid.h:27,
                 from ../../k3dsdk/iplugin_factory.h:29,
                 from ../../k3dsdk/module.h:30,
                 from bitmap_add.cpp:25:
/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 `throw'
/usr/include/libintl.h:85: error: syntax error before `throw'
/usr/include/libintl.h:90: error: syntax error before `throw'
make[2]: *** [bitmap_add.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [bitmap_checker.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/k3d-0.5.0.33/work/k3d-0.5.0.33/modules/bitmap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/k3d-0.5.0.33/work/k3d-0.5.0.33/modules'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/k3d-0.5.0.33 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 4 Triffid Hunter 2005-11-14 22:19:47 UTC
my media-gfx/k3d-0.5.0.33 dies with:

Optional libraries
------------------
checking for freetype2... found version 9.8.3
checking for GraphViz... checking for dot... yes
yes
checking for gts... not found.
checking for Magick++... found
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for gtkmm to build NGUI... configure: error: couldn't find gtkmm 
libraries ... if you don't require the NGUI user interface, re-run configure 
using the --without-ngui option


depend problem?
Comment 5 Luca Barbato gentoo-dev 2005-11-14 23:16:57 UTC
gtkmm broken maybe?
Comment 6 John 2005-12-06 03:58:23 UTC
Due to the marking stable of gcc-3.4, I began emerging world, and as usual k3d
would fail to build.  Anyway, I --skipfirst 'd it, and later on decided to try
to solve the problem.

I took out every use flag, disabled cflags, nothing seemed to work.  I then
noticed the errors were about locales.  So I assumed "nls" was somehow to blame.

It turns out that this assumption was true, nls is the determining factor in
getting k3d to build.

Not sure if I should file a new bug report pertaining to this or not.
Comment 7 Mark Loeser (RETIRED) gentoo-dev 2005-12-15 02:08:51 UTC
John: can you please post the error you are getting now?  (emerge info as well)
Comment 8 Mark Loeser (RETIRED) gentoo-dev 2006-01-29 10:55:22 UTC
Please reopen when you attach the error you are getting now and `emerge info`.
Comment 9 John 2006-01-29 15:55:02 UTC
(This error only occurs when nls is unset as a use flag.  When nls is enabled as a use flag, no error occurs during compilation.)

current error with 0.5.0.34:

if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DP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OCKING=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_LANGINFO_CODESET=1 -DHAVE_LC_MESSAGES=1 -DHAVE_DLFCN_H=1 -DSIZEOF_VOIDP=4 -DK3D_PLATFORM_POSIX=1 -DK3D_HAVE_X86=1 -DHAVE_VA_COPY=1 -DVA_COPY=va_copy -DHAPY_HAVE_NUMERIC_LIMITS=1 -DHAPY_HAVE_STD_ITERATOR_TYPE=1 -DK3D_HAVE_EXPAT=1  -I. -I.  -I.. -I..  -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include   -DK3D_HAVE_SIGC_2_0  -I/usr/X11R6/include -I/usr/X11R6/include  -Wall -Wno-ctor-dtor-privacy -O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe -MT plugin_factory_collection.lo -MD -MP -MF ".deps/plugin_factory_collection.Tpo" -c -o plugin_factory_collection.lo plugin_factory_collection.cpp; \
then mv -f ".deps/plugin_factory_collection.Tpo" ".deps/plugin_factory_collection.Plo"; else rm -f ".deps/plugin_factory_collection.Tpo"; exit 1; fi
 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"k3d\" -DVERSION=\"0.5.0.34\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DINTDIV0_RAISES_SIGFPE=1 -DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_UNSIGNED_LONG_LONG=1 -DHAVE_UINTMAX_T=1 -DHAVE_INTTYPES_H=1 -DHAVE_ARGZ_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_FEOF_UNLOCKED=1 -DHAVE_FGETS_UNLOCKED=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETCWD=1 -DHAVE_GETEGID=1 -DHAVE_GETEUID=1 -DHAVE_GETGID=1 -DHAVE_GETUID=1 -DHAVE_MEMPCPY=1 -DHAVE_MUNMAP=1 -DHAVE_PUTENV=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STPCPY=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRTOUL=1 -DHAVE_TSEARCH=1 -DHAVE___ARGZ_COUNT=1 -DHAVE___ARGZ_STRINGIFY=1 -DHAVE___ARGZ_NEXT=1 -DHAVE___FSETLOCKING=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_LANGINFO_CODESET=1 -DHAVE_LC_MESSAGES=1 -DHAVE_DLFCN_H=1 -DSIZEOF_VOIDP=4 -DK3D_PLATFORM_POSIX=1 -DK3D_HAVE_X86=1 -DHAVE_VA_COPY=1 -DVA_COPY=va_copy -DHAPY_HAVE_NUMERIC_LIMITS=1 -DHAPY_HAVE_STD_ITERATOR_TYPE=1 -DK3D_HAVE_EXPAT=1 -I. -I. -I.. -I.. -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -DK3D_HAVE_SIGC_2_0 -I/usr/X11R6/include -I/usr/X11R6/include -Wall -Wno-ctor-dtor-privacy -O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe -MT plugin_factory_collection.lo -MD -MP -MF .deps/plugin_factory_collection.Tpo -c plugin_factory_collection.cpp  -fPIC -DPIC -o .libs/plugin_factory_collection.o
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 uuid.h:27,
                 from iplugin_factory.h:29,
                 from plugin_factory_collection.cpp:26:
/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 "throw"
/usr/include/libintl.h:81: error: expected init-declarator before "throw"
/usr/include/libintl.h:81: error: expected `,' or `;' before "throw"
/usr/include/libintl.h:85: error: expected unqualified-id before "throw"
/usr/include/libintl.h:85: error: expected init-declarator before "throw"
/usr/include/libintl.h:85: error: expected `,' or `;' before "throw"
/usr/include/libintl.h:90: error: expected unqualified-id before "throw"
/usr/include/libintl.h:90: error: expected init-declarator before "throw"
/usr/include/libintl.h:90: error: expected `,' or `;' before "throw"
make[2]: *** [plugin_factory_collection.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/k3d-0.5.0.34/work/k3d-0.5.0.34/k3dsdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/k3d-0.5.0.34/work/k3d-0.5.0.34/k3dsdk'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/k3d-0.5.0.34 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


emerge --info:

emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-ck5 i686)
=================================================================
System uname: 2.6.14-ck5 i686 Unknown CPU Type
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/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 -mtune=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.netnitco.net http://adelie.polymtl.ca/"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib acl aim alsa audiofile avi bash-completion bitmap-fonts bzip2 cddb cdr cpudetection cscope cups curl dga divx4linux dvd dvdr dvdread eds emboss encode exif expat fam fbcon ffmpeg flac fortran gd gdbm ggi gif gimpprint glut gmp gstreamer gtk gtk2 gtkhtml hal id3 idn imagemagick imlib jack jpeg lame lcms ldap libwww lua lzo mad memlimit mikmod mmx mmx2 mmxext mng motif mp3 mpeg mpeg2 mudflap mysql nas ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl oscar pam pcre pdflib perl png python quicktime readline real ruby sdl slang speex spell sqlite sse ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb userlocales videos vorbis win32codecs xine xml xml2 xv xvid zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS


Sorry for the delay in replying, my computer was off for awhile.
Comment 10 Marcelo Goes (RETIRED) gentoo-dev 2006-01-29 16:52:45 UTC
I can confirm the problem with USE=-nls.
Comment 11 Marcelo Goes (RETIRED) gentoo-dev 2006-01-29 17:38:49 UTC
Created attachment 78487 [details, diff]
k3d-0.5.0.34-nls.patch

Flameeyes's experimental patch.
Comment 12 Marcelo Goes (RETIRED) gentoo-dev 2006-01-29 19:34:29 UTC
Patch works for me, in cvs.

Diego: care to push this upstream? It's your patch, after all :-).
Mark: modular X will have to wait a little more, I borked my modular X chroot...