Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 168794
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Hanno Boeck <hanno@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Skwar <askwar@digitalprojects.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build.log build.log text/plain Alexander Skwar 2007-02-28 21:38 0000 300.36 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 168794 depends on: Show dependency tree
Bug 168794 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: 2007-02-28 21:37 0000
While trying to emerge scribus with the following flags:

[ebuild     U ] app-office/scribus-1.3.3.8 [1.3.3.7] USE="-cairo" 0 kB 

[...]
/bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ 
-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 -mtune=pentium-m -pipe
-fomit-frame-pointer -Wformat-security -Wmissing-format-attribute
-fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor 
-export-dynamic -lfreetype -lz  -o scribus -L/usr/lib -L/usr/qt/3/lib about.o
aboutplugins.o actionmanager.o aligndistribute.o alignselect.o annota.o annot.o
applytemplatedialog.o arrowchooser.o autoformbuttongroup.o autoform.o
bookmwin.o bookpalette.o buttonicon.o charselect.o checkDocument.o
cmserrorhandling.o cmsprefs.o cmsutil.o cmykfw.o collect4output.o colorchart.o
colorm.o colorsetmanager.o colorcombo.o commonstrings.o cpalette.o
cupsoptions.o customfdialog.o dcolor.o deferredtask.o delpages.o docinfo.o
docitemattrprefs.o documentchecker.o documentinformation.o docsections.o
druck.o dynamictip.o edit1format.o editformats.o editor.o effectsdialog.o
exif.o extimageprops.o fileloader.o filesearch.o fileunzip.o filewatcher.o
fmitem.o fontcombo.o fontprefs.o fontreplacedialog.o fparser.o fpoptimizer.o
fpointarray.o fpoint.o frameedit.o gradienteditor.o gsutil.o gtaction.o
gtdialogs.o gtfont.o gtframestyle.o gtgettext.o gtmeasure.o gtparagraphstyle.o
gtstyle.o gtwriter.o guidemanager.o helpbrowser.o hnjalloc.o hruler.o hyask.o
hyphenator.o hyphen.o hysettings.o imageinfodialog.o insertTable.o inspage.o
ioapi.o javadocs.o keymanager.o langmgr.o layers.o linecombo.o lineformats.o
linkbutton.o loadsaveplugin.o loremipsum.o margindialog.o marginWidget.o md5.o
mdup.o measurements.o menumanager.o mergedoc.o missing.o movepage.o mpalette.o
mspinbox.o multiline.o multiprogressdialog.o muster.o navigator.o newfile.o
newtemp.o page.o pageitemattributes.o pageitem.o pageitem_imageframe.o
pageitem_line.o pageitem_pathtext.o pageitem_polygon.o pageitem_polyline.o
pageitem_textframe.o pagelayout.o pageselector.o pagesize.o pdflib.o
pdfoptions.o pdfoptionsio.o pdfopts.o picsearch.o picstatus.o pluginmanager.o
pluginmanagerprefsgui.o polygonwidget.o polyprops.o prefscontext.o prefs.o
prefsdialogbase.o prefsfile.o prefsmanager.o prefspanel.o prefsreader.o
prefstable.o preview.o printerutil.o pslib.o query.o rc4.o reformdoc.o
rulermover.o sampleitem.o sccolor.o sccombobox.o scfonts.o scfonts_ttf.o
scfontmetrics.o scimage.o scmenu.o scmessagebox.o scpainter.o scpaths.o
scplugin.o scpreview.o scraction.o scrap.o scribusdoc.o scribusview.o
scribuswin.o scribusXml.o scrpalettebase.o sctoolbar.o search.o seiten.o
selection.o selfield.o serializer.o shadebutton.o smlinestyle.o spalette.o
splash.o stencilreader.o story.o styleitem.o stylemanager.o styleselect.o
tabcheckdoc.o tabguides.o tabmanager.o tabpdfoptions.o tabruler.o tabtools.o
tabtypography.o tocgenerator.o tocindexprefs.o tree.o undogui.o undomanager.o
undoobject.o undostate.o units.o unzip.o upgradechecker.o
useprintermarginsdialog.o util.o vgradient.o vruler.o werktoolb.o scribus.o
scribusapp.o main.o aboutpluginsbase.o docitemattrprefsbase.o docsectionsbase.o
multiprogressdialogbase.o pageitemattributesbase.o smlinestylewbase.o
stylemanagerbase.o tocindexprefsbase.o useprintermarginsdialogbase.o  -ljpeg
-L/usr/lib -lart_lgpl_2 -lm -lfreetype -lz -lfontconfig   -lcups -lz -lpthread
-lm -lcrypt -llcms -ldl  -ltiff -lm -lqt-mt  -lz -lpng -lz -lm -lXext -lX11 
-lSM -lICE -lpthread -lX11   libart/libart.la pixbuf/libpixbuf.la
text/libtext.la  -lnsl 
scpainter.o: In function `ScPainter::ensureSpace(unsigned int)':
scpainter.cpp:(.text+0x44c): undefined reference to `art_realloc(void*,
unsigned int)'
scpainter.cpp:(.text+0x463): undefined reference to `art_alloc(unsigned int)'
scpainter.o: In function `ScPainter::resize(unsigned int, unsigned int)':
scpainter.cpp:(.text+0x7e1): undefined reference to `art_free(void*)'
scpainter.cpp:(.text+0x827): undefined reference to `art_alloc(unsigned int)'
scpainter.o: In function `ScPainter::setClipPath()':
scpainter.cpp:(.text+0x108f): undefined reference to `art_free(void*)'
scpainter.cpp:(.text+0x10da): undefined reference to `art_free(void*)'
scpainter.o: In function `ScPainter::setClipPath2(FPointArray*, bool)':
scpainter.cpp:(.text+0x11a7): undefined reference to `art_free(void*)'
scpainter.cpp:(.text+0x1206): undefined reference to `art_free(void*)'
scpainter.o: In function `ScPainter::buildStopArray(VGradient&, int&)':
scpainter.cpp:(.text+0x1642): undefined reference to `art_alloc(unsigned int)'
scpainter.o: In function `ScPainter::applyGradient(_ArtSVP*, bool)':
scpainter.cpp:(.text+0x1ce5): undefined reference to `art_alloc(unsigned int)'
scpainter.cpp:(.text+0x1ef3): undefined reference to `art_free(void*)'
scpainter.cpp:(.text+0x1efb): undefined reference to `art_free(void*)'
scpainter.cpp:(.text+0x1f2e): undefined reference to `art_alloc(unsigned int)'
scpainter.cpp:(.text+0x21b6): undefined reference to `art_free(void*)'
scpainter.cpp:(.text+0x21be): undefined reference to `art_free(void*)'
scpainter.o: In function `ScPainter::drawVPath(_ArtVpath*, int, bool)':
scpainter.cpp:(.text+0x2235): undefined reference to `art_free(void*)'
scpainter.cpp:(.text+0x22bc): undefined reference to `art_free(void*)'
scpainter.cpp:(.text+0x261c): undefined reference to `art_free(void*)'
scpainter.o:scpainter.cpp:(.text+0x27f1): more undefined references to
`art_free(void*)' follow
collect2: ld returned 1 exit status
make[3]: *** [scribus] Fehler 1
make[3]: Leaving directory
`/Gentoo/Portage/build/portage/app-office/scribus-1.3.3.8/work/scribus-1.3.3.8/scribus'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
`/Gentoo/Portage/build/portage/app-office/scribus-1.3.3.8/work/scribus-1.3.3.8/scribus'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/Gentoo/Portage/build/portage/app-office/scribus-1.3.3.8/work/scribus-1.3.3.8'
make: *** [all] Fehler 2

!!! ERROR: app-office/scribus-1.3.3.8 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3230:   Called src_compile
  scribus-1.3.3.8.ebuild, line 29:   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
'/Gentoo/Portage/build/portage/app-office/scribus-1.3.3.8/temp/build.log'.

Because of the "undefined reference to `art_free(void*)'" messages, I first
thought, that this bug might be related to bug #168649. But the solution in bug
#168649 was to upgrade libart_lgpl to 2.3.19. I updated libart_lpgl from 2.3.18
to 2.3.19 and I still get this error.

------- Comment #1 From Alexander Skwar 2007-02-28 21:38:48 0000 -------
Created an attachment (id=111621) [details]
build.log

alexander@blatt ~ $ emerge --info
Portage 2.1.2-r12 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0,
2.6.19-suspend2-r2.045 i686)
=================================================================
System uname: 2.6.19-suspend2-r2.045 i686 Intel(R) Celeron(R) M processor      
  1.50GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Wed, 28 Feb 2007 17:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
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.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-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/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer
sandbox sfperms strict"
GENTOO_MIRRORS="        http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/   
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     
http://distro.ibiblio.org/pub/linux/distributions/gentoo/      
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo 
http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LINGUAS="de"
PKGDIR="/Gentoo/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
--filter=H_**/files/digest-* --prune-empty-dirs"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="alsa berkdb bitmap-fonts cli cracklib crypt dri esd fortran gdbm gnome
gstreamer hal iconv isdnlog kdeenablefinal kdehiddenvisibility libedit libg++
libnotify midi ncurses nls nptl nptlonly pcre perl ppds pppd python readline
reflection session spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg
zlib" ALSA_CARDS="loopback usb-audio via82xx" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de"
USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga via"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Alexander Skwar 2007-02-28 22:13:38 0000 -------
I downgraded libart_lgpl to version 2.3.17 and tried to emerge scribus 1.3.3.8
- compilation worked just fine. So I'd say, that scribus 1.3.3.8 is not
compatible with libart_lgpl > 2.3.17 (starting with 2.3.18 and including
2.3.19).

Adding gnome herd, as they are the maintainer of libart_lgpl.

------- Comment #3 From Daniel Gryniewicz 2007-02-28 22:19:22 0000 -------
Just to be clear:  You tested 2.3.19?  It's supposed to have fixed that problem
(although it might need a revdep-rebuild)

------- Comment #4 From Alexander Skwar 2007-03-01 08:04:53 0000 -------
(In reply to comment #3)
> Just to be clear:  You tested 2.3.19?

ACK that. As mentioned in bug #168649, I first thought that 2.3.19 is not in
tree, as it wasn't listed on packages.gentoo.org. So I went ahead and created a
2.3.19 ebuild in my local overlay and installed that 2.3.19. Compilation of
scribus fails. Then I synced the tree, and found that 2.3.19 indeed was in the
tree. So I removed my overlay, and installed the genuine Gentoo 2.3.19. Scribus
still cannot be compiled.

>  It's supposed to have fixed that problem
> (although it might need a revdep-rebuild)

Hm. I doubt that - as soon as I downgraded to 2.3.17, compilation works just
fine. When I install 2.3.18 or 2.3.19, compilation doesn't work anymore.
Isn't it, that messages like "undefined reference to `art_alloc(unsigned int)'"
mean, that such-and-such function (in this case: art_alloc()) isn't available
in some header file?

------- Comment #5 From Alexander Skwar 2007-03-01 08:06:51 0000 -------
(In reply to comment #3)
> Just to be clear:  You tested 2.3.19? It's supposed to have fixed that problem

BTW: Have a look at bug #168649 Comment #9 and bug #168649 Comment #11. There
are reports, that 2.3.19 doesn't work for other people when they try to install
kdelibs.

------- Comment #6 From Daniel Gryniewicz 2007-03-01 16:31:01 0000 -------
It probably requires a revdep-rebuild.  The problem is that things like
art_alloc() taht were macros are now functions.  Thus, things linked against
the old libs could fail.

------- Comment #7 From Daniel Gryniewicz 2007-03-01 16:43:27 0000 -------
Okay, after getting the real problem beaten into my head (thanks, flameeyes), I
have a real fix.

------- Comment #8 From Alexander Skwar 2007-03-01 20:16:46 0000 -------
(In reply to comment #7)
> Okay, after getting the real problem beaten into my head (thanks, flameeyes), I
> have a real fix.
> 

Please don't let us die dumb ;) What's the fix, please?

------- Comment #9 From Daniel Gryniewicz 2007-03-01 20:18:49 0000 -------
Well, it's in portage now, but some header declarations needed to be wrapped in
extern C.

------- Comment #10 From Alexander Skwar 2007-03-01 20:26:57 0000 -------
(In reply to comment #9)
> Well, it's in portage now, but some header declarations needed to be wrapped in
> extern C.
> 

And what needs to be done, to get the fix from the portage tree? Does the fix
require a revdep-rebuild?

------- Comment #11 From Daniel Gryniewicz 2007-03-01 20:37:59 0000 -------
No, just update to 2.3.19-r1.

------- Comment #12 From Alexander Skwar 2007-03-01 20:39:45 0000 -------
(In reply to comment #11)
> No, just update to 2.3.19-r1.
> 

Ah, thank you very much for the answer ;)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug