Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183819 - app-office/scribus-1.3.4-r1 needs cairo w/ USE=svg
Summary: app-office/scribus-1.3.4-r1 needs cairo w/ USE=svg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-01 11:11 UTC by Peter Green
Modified: 2007-07-08 00:44 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Green 2007-07-01 11:11:34 UTC
o scimgdataloader_qt.cpp; \
        then mv -f ".deps/scimgdataloader_qt.Tpo" ".deps/scimgdataloader_qt.Po"; else rm -f ".deps/scimgdataloader_qt.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DPNG_NO_MMX_CODE -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12    -I/usr/include/freetype2  -I/usr/qt/3/include -I. -DDOCDIR=\"/usr/share/doc/scribus-1.3.4/\" -DICONDIR=\"/usr/share/scribus/icons/\" -DSAMPLESDIR=\"/usr/share/scribus/samples/\" -DSCRIPTSDIR=\"/usr/share/scribus/scripts/\" -DTEMPLATEDIR=\"/usr/share/scribus/templates/\" -DLIBDIR=\"/usr/lib/scribus/\" -DPLUGINDIR=\"/usr/lib/scribus/plugins/\" -DSHAREDIR=\"/usr/share/scribus/\" -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -march=pentium4 -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -MT scimgdataloader_tiff.o -MD -MP -MF ".deps/scimgdataloader_tiff.Tpo" -c -o scimgdataloader_tiff.o scimgdataloader_tiff.cpp; \
        then mv -f ".deps/scimgdataloader_tiff.Tpo" ".deps/scimgdataloader_tiff.Po"; else rm -f ".deps/scimgdataloader_tiff.Tpo"; exit 1; fi
scimgdataloader_qt.cpp:24: warning: unused parameter 'fn'
scimgdataloader_qt.cpp:57: warning: unused parameter 'res'
/usr/qt/3/bin/moc ./scmenu.h -o scmenu.moc
/usr/qt/3/bin/moc ./scmessagebox.h -o scmessagebox.moc
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DPNG_NO_MMX_CODE -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12    -I/usr/include/freetype2  -I/usr/qt/3/include -I. -DDOCDIR=\"/usr/share/doc/scribus-1.3.4/\" -DICONDIR=\"/usr/share/scribus/icons/\" -DSAMPLESDIR=\"/usr/share/scribus/samples/\" -DSCRIPTSDIR=\"/usr/share/scribus/scripts/\" -DTEMPLATEDIR=\"/usr/share/scribus/templates/\" -DLIBDIR=\"/usr/lib/scribus/\" -DPLUGINDIR=\"/usr/lib/scribus/plugins/\" -DSHAREDIR=\"/usr/share/scribus/\" -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -march=pentium4 -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -MT scpainter.o -MD -MP -MF ".deps/scpainter.Tpo" -c -o scpainter.o scpainter.cpp; \
        then mv -f ".deps/scpainter.Tpo" ".deps/scpainter.Po"; else rm -f ".deps/scpainter.Tpo"; exit 1; fi
scpainter.cpp:46:24: error: cairo-svg.h: No such file or directory
scimgdataloader_tiff.cpp:513: warning: unused parameter 'res'
scpainter.cpp: In constructor 'ScPainter::ScPainter(QString, unsigned int, unsigned int, double, int)':
scpainter.cpp:305: error: 'cairo_svg_surface_create' was not declared in this scope
make[3]: *** [scpainter.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/app-office/scribus-1.3.4-r1/work/scribus-1.3.4/scribus'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/scribus-1.3.4-r1/work/scribus-1.3.4/scribus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/scribus-1.3.4-r1/work/scribus-1.3.4'
make: *** [all] Error 2
 *
 * ERROR: app-office/scribus-1.3.4-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1642:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   scribus-1.3.4-r1.ebuild, line 36:   Called die
 *
 * (no error message)
 * If you need support, post the topmost build error, and the call stack if relevant.


Reproducible: Always
Comment 1 Dieter Ries 2007-07-01 18:54:41 UTC
Same here on AMD64:  Always reproducible, and solved by adding USE="svg" to cairo's useflags

######################################## cut ###################
        then mv -f ".deps/scimgdataloader_tiff.Tpo" ".deps/scimgdataloader_tiff.Po"; else rm -f ".deps/scimgdataloader_tiff.Tpo"; exit 1; fi
scimgdataloader_psd.cpp:91: Warnung: unbenutzter Parameter »res«
scimgdataloader_psd.cpp:132: Warnung: unbenutzter Parameter »res«
scimgdataloader_tiff.cpp:513: Warnung: unbenutzter Parameter »res«
/usr/qt/3/bin/moc ./scmenu.h -o scmenu.moc
/usr/qt/3/bin/moc ./scmessagebox.h -o scmessagebox.moc
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DPNG_NO_MMX_CODE -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12    -I/usr/include/freetype2  -I/usr/qt/3/include -I. -DDOCDIR=\"/usr/share/doc/scribus-1.3.4/\" -DICONDIR=\"/usr/share/scribus/icons/\" -DSAMPLESDIR=\"/usr/share/scribus/samples/\" -DSCRIPTSDIR=\"/usr/share/scribus/scripts/\" -DTEMPLATEDIR=\"/usr/share/scribus/templates/\" -DLIBDIR=\"/usr/lib64/scribus/\" -DPLUGINDIR=\"/usr/lib64/scribus/plugins/\" -DSHAREDIR=\"/usr/share/scribus/\" -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -march=k8 -pipe -fomit-frame-pointer -msse3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -MT scpainter.o -MD -MP -MF ".deps/scpainter.Tpo" -c -o scpainter.o scpainter.cpp; \
	then mv -f ".deps/scpainter.Tpo" ".deps/scpainter.Po"; else rm -f ".deps/scpainter.Tpo"; exit 1; fi
scpainter.cpp:46:24: Fehler: cairo-svg.h: Datei oder Verzeichnis nicht gefunden
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DPNG_NO_MMX_CODE -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12    -I/usr/include/freetype2  -I/usr/qt/3/include -I. -DDOCDIR=\"/usr/share/doc/scribus-1.3.4/\" -DICONDIR=\"/usr/share/scribus/icons/\" -DSAMPLESDIR=\"/usr/share/scribus/samples/\" -DSCRIPTSDIR=\"/usr/share/scribus/scripts/\" -DTEMPLATEDIR=\"/usr/share/scribus/templates/\" -DLIBDIR=\"/usr/lib64/scribus/\" -DPLUGINDIR=\"/usr/lib64/scribus/plugins/\" -DSHAREDIR=\"/usr/share/scribus/\" -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -march=k8 -pipe -fomit-frame-pointer -msse3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -MT scpaths.o -MD -MP -MF ".deps/scpaths.Tpo" -c -o scpaths.o scpaths.cpp; \
	then mv -f ".deps/scpaths.Tpo" ".deps/scpaths.Po"; else rm -f ".deps/scpaths.Tpo"; exit 1; fi
scpaths.cpp:312: Warnung: unbenutzter Parameter »folder«
scpainter.cpp: In constructor »ScPainter::ScPainter(QString, unsigned int, unsigned int, double, int)«:
scpainter.cpp:305: Fehler: »cairo_svg_surface_create« wurde in diesem Gültigkeitsbereich nicht definiertif x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DPNG_NO_MMX_CODE -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12    -I/usr/include/freetype2  -I/usr/qt/3/include -I. -DDOCDIR=\"/usr/share/doc/scribus-1.3.4/\" -DICONDIR=\"/usr/share/scribus/icons/\" -DSAMPLESDIR=\"/usr/share/scribus/samples/\" -DSCRIPTSDIR=\"/usr/share/scribus/scripts/\" -DTEMPLATEDIR=\"/usr/share/scribus/templates/\" -DLIBDIR=\"/usr/lib64/scribus/\" -DPLUGINDIR=\"/usr/lib64/scribus/plugins/\" -DSHAREDIR=\"/usr/share/scribus/\" -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -march=k8 -pipe -fomit-frame-pointer -msse3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -MT scpattern.o -MD -MP -MF ".deps/scpattern.Tpo" -c -o scpattern.o scpattern.cpp; \
	then mv -f ".deps/scpattern.Tpo" ".deps/scpattern.Po"; else rm -f ".deps/scpattern.Tpo"; exit 1; fi
 
make[3]: *** [scpainter.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/var/tmp/portage/app-office/scribus-1.3.4-r1/work/scribus-1.3.4/scribus'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/app-office/scribus-1.3.4-r1/work/scribus-1.3.4/scribus'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/app-office/scribus-1.3.4-r1/work/scribus-1.3.4'
make: *** [all] Fehler 2
 
!!! ERROR: app-office/scribus-1.3.4-r1 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  scribus-1.3.4-r1.ebuild, line 36:   Called die
 
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-office/scribus-1.3.4-r1/temp/build.log'.
Comment 2 Dale 2007-07-04 05:34:00 UTC
Same thing here:

/usr/qt/3/bin/moc ./scprogressbar.h -o scprogressbar.moc
/usr/qt/3/bin/moc ./scraction.h -o scraction.moc
/usr/qt/3/bin/moc ./scrap.h -o scrap.moc
/usr/qt/3/bin/moc ./scribusdoc.h -o scribusdoc.moc
/usr/qt/3/bin/moc ./scribusview.h -o scribusview.moc
/usr/qt/3/bin/moc ./scribuswin.h -o scribuswin.moc
/usr/qt/3/bin/moc ./scribusXml.h -o scribusXml.moc
/usr/qt/3/bin/moc ./scrpalettebase.h -o scrpalettebase.moc
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DPNG_NO_MMX_CODE -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12    -I/usr/include/freetype2  -I/usr/qt/3/include -I. -DDOCDIR=\"/usr/share/doc/scribus-1.3.4/\" -DICONDIR=\"/usr/share/scribus/icons/\" -DSAMPLESDIR=\"/usr/share/scribus/samples/\" -DSCRIPTSDIR=\"/usr/share/scribus/scripts/\" -DTEMPLATEDIR=\"/usr/share/scribus/templates/\" -DLIBDIR=\"/usr/lib/scribus/\" -DPLUGINDIR=\"/usr/lib/scribus/plugins/\" -DSHAREDIR=\"/usr/share/scribus/\" -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -march=athlon-xp -O2 -momit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -MT sctextstruct.o -MD -MP -MF ".deps/sctextstruct.Tpo" -c -o sctextstruct.o sctextstruct.cpp; \
        then mv -f ".deps/sctextstruct.Tpo" ".deps/sctextstruct.Po"; else rm -f ".deps/sctextstruct.Tpo"; exit 1; fi
scpainter.cpp:46:24: error: cairo-svg.h: No such file or directory
scpainter.cpp: In constructor 'ScPainter::ScPainter(QString, unsigned int, unsigned int, double, int)':
scpainter.cpp:305: error: 'cairo_svg_surface_create' was not declared in this scope
make[3]: *** [scpainter.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/app-office/scribus-1.3.4-r1/work/scribus-1.3.4/scribus'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/scribus-1.3.4-r1/work/scribus-1.3.4/scribus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/scribus-1.3.4-r1/work/scribus-1.3.4'
make: *** [all] Error 2
 *
 * ERROR: app-office/scribus-1.3.4-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1642:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   scribus-1.3.4-r1.ebuild, line 36:   Called die
 *
 * (no error message)
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-office:scribus-1.3.4-r1:20070704-051541.log'.
 *
root@smoker / # 

and of course:

root@smoker / # emerge --info
Portage 2.1.3_rc6 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 04 Jul 2007 02:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -momit-leaf-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.arcticnetwork.ca/ http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://mirror.espri.arizona.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo "
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa amd arts artswrappersuid automount berkdb bitmap-fonts browserplugin bzip2 cairo cddb cdr chroot cli cracklib crypt cups dbus doc dri dvd dvdr dvdread eds emboss encode esd exif fam fdftk fortran gaim gcj gdbm gif gimp gimpprint gkrellm gphoto2 gpm gstreamer gtk hal hbci iconv ipv6 isdnlog java javascript jbig jpeg jpeg2k justify kde ldap libg++ logrotate mad midi mikmod mmx mp3 mpeg mudflap ncurses nptl nptlonly nsplugin offensive ofx ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline realmedia reflection scanner sdl seamonkey session spell spl sqlite sse ssl syslog tcl tcpd tiff tk truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wma wmf wmp x86 xml xorg xprint xv yahoo zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY

root@smoker / #

Just in case you need that too.
Comment 3 Hanno Böck gentoo-dev 2007-07-08 00:44:13 UTC
check added