Opened 15 years ago

Closed 14 years ago

#21012 closed defect (invalid)

Scribus compilation failed

Reported by: domsou@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: nerdling (Jeremy Lavergne)
Port: scribus

Description (last modified by nerdling (Jeremy Lavergne))

$ sudo port install scribus
--->  Fetching scribus
--->  Verifying checksum(s) for scribus
--->  Extracting scribus
--->  Configuring scribus
--->  Building scribus
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_scribus/work/scribus-1.3.3.11" && make all " returned error 2
Command output: rm -f pageitemattributesbase.cpp
/opt/local/lib/qt3/bin/uic -L  -nounload -i pageitemattributesbase.h ./pageitemattributesbase.ui > pageitemattributesbase.cpp; ret=$?; \
        if test "$ret" = 0; then echo '#include "pageitemattributesbase.moc"' >> pageitemattributesbase.cpp; else rm -f pageitemattributesbase.cpp ; exit $ret ; fi
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12    -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include   -I/opt/local/lib/qt3/include -I/usr/X11/include -DDOCDIR=\"/opt/local/share/doc/scribus-1.3.3.11/\" -DICONDIR=\"/opt/local/share/scribus/icons/\" -DSAMPLESDIR=\"/opt/local/share/scribus/samples/\" -DSCRIPTSDIR=\"/opt/local/share/scribus/scripts/\" -DTEMPLATEDIR=\"/opt/local/share/scribus/templates/\" -DLIBDIR=\"/opt/local/lib/scribus/\" -DPLUGINDIR=\"/opt/local/lib/scribus/plugins/\" -DSHAREDIR=\"/opt/local/share/scribus/\" -DQT_THREAD_SUPPORT -I/opt/local/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -c -o pageitemattributesbase.o pageitemattributesbase.cpp
/opt/local/lib/qt3/bin/moc smlinestylewbase.h -o smlinestylewbase.moc
rm -f smlinestylewbase.cpp
/opt/local/lib/qt3/bin/uic -L  -nounload -i smlinestylewbase.h ./smlinestylewbase.ui > smlinestylewbase.cpp; ret=$?; \
        if test "$ret" = 0; then echo '#include "smlinestylewbase.moc"' >> smlinestylewbase.cpp; else rm -f smlinestylewbase.cpp ; exit $ret ; fi
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12    -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include   -I/opt/local/lib/qt3/include -I/usr/X11/include -DDOCDIR=\"/opt/local/share/doc/scribus-1.3.3.11/\" -DICONDIR=\"/opt/local/share/scribus/icons/\" -DSAMPLESDIR=\"/opt/local/share/scribus/samples/\" -DSCRIPTSDIR=\"/opt/local/share/scribus/scripts/\" -DTEMPLATEDIR=\"/opt/local/share/scribus/templates/\" -DLIBDIR=\"/opt/local/lib/scribus/\" -DPLUGINDIR=\"/opt/local/lib/scribus/plugins/\" -DSHAREDIR=\"/opt/local/share/scribus/\" -DQT_THREAD_SUPPORT -I/opt/local/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -c -o smlinestylewbase.o smlinestylewbase.cpp
/opt/local/lib/qt3/bin/moc stylemanagerbase.h -o stylemanagerbase.moc
rm -f stylemanagerbase.cpp
/opt/local/lib/qt3/bin/uic -L  -nounload -i stylemanagerbase.h ./stylemanagerbase.ui > stylemanagerbase.cpp; ret=$?; \
        if test "$ret" = 0; then echo '#include "stylemanagerbase.moc"' >> stylemanagerbase.cpp; else rm -f stylemanagerbase.cpp ; exit $ret ; fi
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12    -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include   -I/opt/local/lib/qt3/include -I/usr/X11/include -DDOCDIR=\"/opt/local/share/doc/scribus-1.3.3.11/\" -DICONDIR=\"/opt/local/share/scribus/icons/\" -DSAMPLESDIR=\"/opt/local/share/scribus/samples/\" -DSCRIPTSDIR=\"/opt/local/share/scribus/scripts/\" -DTEMPLATEDIR=\"/opt/local/share/scribus/templates/\" -DLIBDIR=\"/opt/local/lib/scribus/\" -DPLUGINDIR=\"/opt/local/lib/scribus/plugins/\" -DSHAREDIR=\"/opt/local/share/scribus/\" -DQT_THREAD_SUPPORT -I/opt/local/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -c -o stylemanagerbase.o stylemanagerbase.cpp
/opt/local/lib/qt3/bin/moc tocindexprefsbase.h -o tocindexprefsbase.moc
rm -f tocindexprefsbase.cpp
/opt/local/lib/qt3/bin/uic -L  -nounload -i tocindexprefsbase.h ./tocindexprefsbase.ui > tocindexprefsbase.cpp; ret=$?; \
        if test "$ret" = 0; then echo '#include "tocindexprefsbase.moc"' >> tocindexprefsbase.cpp; else rm -f tocindexprefsbase.cpp ; exit $ret ; fi
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12    -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include   -I/opt/local/lib/qt3/include -I/usr/X11/include -DDOCDIR=\"/opt/local/share/doc/scribus-1.3.3.11/\" -DICONDIR=\"/opt/local/share/scribus/icons/\" -DSAMPLESDIR=\"/opt/local/share/scribus/samples/\" -DSCRIPTSDIR=\"/opt/local/share/scribus/scripts/\" -DTEMPLATEDIR=\"/opt/local/share/scribus/templates/\" -DLIBDIR=\"/opt/local/lib/scribus/\" -DPLUGINDIR=\"/opt/local/lib/scribus/plugins/\" -DSHAREDIR=\"/opt/local/share/scribus/\" -DQT_THREAD_SUPPORT -I/opt/local/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -c -o tocindexprefsbase.o tocindexprefsbase.cpp
/opt/local/lib/qt3/bin/moc useprintermarginsdialogbase.h -o useprintermarginsdialogbase.moc
rm -f useprintermarginsdialogbase.cpp
/opt/local/lib/qt3/bin/uic -L  -nounload -i useprintermarginsdialogbase.h ./useprintermarginsdialogbase.ui > useprintermarginsdialogbase.cpp; ret=$?; \
        if test "$ret" = 0; then echo '#include "useprintermarginsdialogbase.moc"' >> useprintermarginsdialogbase.cpp; else rm -f useprintermarginsdialogbase.cpp ; exit $ret ; fi
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12    -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include   -I/opt/local/lib/qt3/include -I/usr/X11/include -DDOCDIR=\"/opt/local/share/doc/scribus-1.3.3.11/\" -DICONDIR=\"/opt/local/share/scribus/icons/\" -DSAMPLESDIR=\"/opt/local/share/scribus/samples/\" -DSCRIPTSDIR=\"/opt/local/share/scribus/scripts/\" -DTEMPLATEDIR=\"/opt/local/share/scribus/templates/\" -DLIBDIR=\"/opt/local/lib/scribus/\" -DPLUGINDIR=\"/opt/local/lib/scribus/plugins/\" -DSHAREDIR=\"/opt/local/share/scribus/\" -DQT_THREAD_SUPPORT -I/opt/local/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -c -o useprintermarginsdialogbase.o useprintermarginsdialogbase.cpp
/bin/sh ../libtool --silent --tag=CXX --mode=link /usr/bin/g++-4.0  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -export-dynamic -L/opt/local/lib -lfreetype -lz -L/opt/local/lib -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -o scribus -L/usr/X11/lib -L/opt/local/lib/qt3/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 -L/opt/local/lib -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -liconv -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp   -ljpeg  -L/opt/local/lib -lfreetype -lz -L/opt/local/lib -lfontconfig -lexpat -lfreetype -lz -liconv   -lcups -weak_framework Kerberos -framework CoreFoundation -framework Security -lz -lpthread -lresolv -framework CoreFoundation -llcms -ldl -lc -ltiff -lm -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lX11    text/libtext.la  
i686-apple-darwin9-g++-4.0.1: /usr/local/lib/libfreetype.dylib: No such file or directory
make[3]: *** [scribus] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Mac OS 10.5.8 (Intel)

MacPorts 1.710

X11 2.4.0

Change History (5)

comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added
Description: modified (diff)
Port: scribus added

Looks like a missing dependency on freetype. Do you have freetype installed?

comment:2 Changed 15 years ago by domsou@…

Yes !

I've already test this option !

$ port installed | grep freetype
  freetype @2.3.9_0+macosx (active)

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

I wonder why it's trying to find it in /usr/local — that's not right.

comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)

The paths are already set with --use-extra… so it ought to be picking up the correct ones. This one's beyond me :-)

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

Having headers and/or libraries in /usr/local when building ports is unsupported due to gcc having no way to exclude them from its search paths.

Note: See TracTickets for help on using tickets.