i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"k3d\" -DVERSION=\"0.5.0.37\" -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 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=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 -DHAVE_LIBBOOST_REGEX=1 -DHAVE_LIBBOOST_DATE_TIME=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -DK3D_HAVE_SVG_ICONS=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/include -I/usr/include -Wall -Wno-ctor-dtor-privacy -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -MT bounding_box.lo -MD -MP -MF .deps/bounding_box.Tpo -c bounding_box.cpp -fPIC -DPIC -o .libs/bounding_box.o vectors.h:94: error: extra qualification 'k3d::vector2::' on member 'operator[]' make[2]: *** [bounding_box.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/k3d-0.5.0.37-r1/work/k3d-0.5.0.37/k3dsdk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/k3d-0.5.0.37-r1/work/k3d-0.5.0.37/k3dsdk' make: *** [all-recursive] Error 1 !!! ERROR: media-gfx/k3d-0.5.0.37-r1 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile k3d-0.5.0.37-r1.ebuild, line 82: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 84441 [details, diff] Allows k3d to compile under gcc-4.1 It looks like this has been dealt with upstream. The latest CVS version has several patches that fix compilation with gcc-4.1 We are several versions behind the current stable in portage. Maybe a version bump would fix this. Either way, I managed to get it to compile by adding the attached patch. Let me know if it works for you.
works perfectly, runtime too. please apply to portage and close.
gfx: do you guys want to bump this, or just apply the attached patch?
we should bump it asap
So...should I just apply this patch? :) I'd be happy to do that for you until you guys have time to bump it and test the new version.
ping
*** Bug 145695 has been marked as a duplicate of this bug. ***
@graphics: what's up?
Please check the latest ebuild, works fine on ppc
OK, please test with 0.6.2.0 and reopen if it doesn't work. Thanks.