Summary: | error compiling Passepartout | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | WiseLYNX <wiselynx.naima> |
Component: | Current packages | Assignee: | Gentoo SGML project <sgml> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | dberkholz, ed, martin.klaffenboeck |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | passepartout-0.6-gcc34.patch |
Description
WiseLYNX
2005-04-02 14:17:40 UTC
one note I just forgot: I saw a lot of warning about old_style casts while compilg both version. They look like: In file included from /usr/include/sigc++-1.2/sigc++/sigc++.h:31, from /usr/include/gtkmm-2.0/glibmm/thread.h:30, from ../../src/fonts/fontmanager.hh:10, from pdf.cc:7: /usr/include/sigc++-1.2/sigc++/method_slot.h: In static member function `static typename SigC::Trait<T>::type SigC::MethodSlot0_<R, Obj>::proxy(Obj&, void*)': /usr/include/sigc++-1.2/sigc++/method_slot.h:77: warning: use of old-style cast /usr/include/sigc++-1.2/sigc++/method_slot.h:79: warning: use of old-style cast [snip] Please submit the output of `emerge --info`. I've also problems with compiling passepartout-0.6: fi pfb2pfa.cc: In function `void PS::pfb2pfa(std::istream&, std::ostream&, std::vector<long int, std::allocator<long int> >*)': pfb2pfa.cc:51: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3/bits/postypes.h:190: note: candidate 1: std::fpos<_StateT> std::fpos<_StateT>::operator-(std::streamoff) const [with _StateT = mbstate_t] pfb2pfa.cc:51: note: candidate 2: operator-(std::streamoff, long int) <built-in> make[3]: *** [libps_a-pfb2pfa.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/passepartout-0.6/work/passepartout-0.6/src/ps' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/passepartout-0.6/work/passepartout-0.6/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/passepartout-0.6/work/passepartout-0.6/src' make: *** [all-recursive] Error 1 !!! ERROR: app-office/passepartout-0.6 failed. !!! Function gnome2_src_compile, Line 40, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. emerge --info Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.12-rc1-love1 i686) ================================================================= System uname: 2.6.12-rc1-love1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 4 2005, 18:32:36)] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe -ftracer" 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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks moo sandbox sfperms" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LANG="nl_BE@euro" LC_ALL="nl_BE@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aalib acpi alsa apm arts avi bash-completion berkdb bitmap-fonts cairo cdr compositor crypt cscope cups curl dga divx4linux doc dvd encode esd fam flac font-server foomaticdb fortran gdbm gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icu imagemagick imlib ipv6 jabber java joystick jpeg junit kde libg++ libwww mad mikmod mmx mono motif mozcalendar mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg msn ncurses netbeans nls nptl nvidia offensive ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang softmmu spell sqlite ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vim vim-with-x wmf wxwindows xml xml2 xmms xv xvid zlib linguas_nl" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS mh.. yes, sorry, I forgot it ;) $ emerge --info Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r5 i686) ================================================================= System uname: 2.6.10-gentoo-r5 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz Gentoo Base System version 1.6.9 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Jul 4 2004, 07:11:25)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.2 [enabled] dev-lang/python: 2.2.3-r5, 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/home/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aalib acpi acpi4linux alsa atlas avi bitmap-fonts bluetooth bonobo bootsplash cdr crypt cscope cups curl dga directfb dvd emboss encode esd ethereal fam fbcon firebird flac font-server fortran gb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imlib ipv6 jack java jpeg junit ldap libg++ libwww mikmod motif mozilla mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png pnp python quicktime readline samba sdk sdl slang sms speex spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts trusted type1-fonts usb wifi wmf xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS Looks like it fails to install if you use gcc-3.4 (it compiles fine with gcc-3.3). I'll try to find a way to solve the issue later. Created attachment 55475 [details, diff]
passepartout-0.6-gcc34.patch
After fixing that bug, there were a few more; this patch makes passepartout-0.6
compile on my system (gcc 3.4.3-20050110). It should be OK to apply in general.
I applied the patch, but now I end up with this: In file included from /usr/include/libgnomecanvasmm-2.0/libgnomecanvasmm.h:35, from xcanvas.hh:14, from typesetter.cc:11: /usr/include/libgnomecanvasmm-2.0/libgnomecanvasmm/line.h: At global scope: /usr/include/libgnomecanvasmm-2.0/libgnomecanvasmm/line.h:201: error: extra qualification ignored /usr/include/libgnomecanvasmm-2.0/libgnomecanvasmm/line.h:202: error: explicit specialization of non-template `Glib::<anonymous class>' /usr/include/libgnomecanvasmm-2.0/libgnomecanvasmm/line.h:202: error: an anonymous union cannot have function members /usr/include/libgnomecanvasmm-2.0/libgnomecanvasmm/line.h:205: error: abstract declarator `Glib::<anonymous class>' used as declaration if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/libxml2 -I/usr/include/libxml++-1.0 -I/usr/include/libxml2 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/libgnomecanvasmm-2.0 -I/usr/lib/libgnomecanvasmm-2.0/include -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/libart-2.0 -I../../src -march=pentium3 -O3 -pipe -Wall -Wold-style-casts -MT libxml2ps_a-psstream.o -MD -MP -MF ".deps/libxml2ps_a-psstream.Tpo" \ -c -o libxml2ps_a-psstream.o `test -f 'psstream.cc' || echo './'`psstream.cc; \ then mv -f ".deps/libxml2ps_a-psstream.Tpo" ".deps/libxml2ps_a-psstream.Po"; \ else rm -f ".deps/libxml2ps_a-psstream.Tpo"; exit 1; \ fi make[3]: *** [libxml2ps_a-typesetter.o] Error 1 0.6_p1 is now in the tree, including the latest patch released upstream, which should resolve the issues mentioned in this report. Please test and re-open if you come across any other problems. Thanks. |