Opened 13 years ago

Closed 12 years ago

Last modified 11 years ago

#30835 closed defect (fixed)

Scribus 1.4.0rc3 builds forever

Reported by: Greisby (Greisberger Christophe) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.99
Keywords: Cc: g5pw (Aljaž Srebrnič), ryandesign (Ryan Carsten Schmidt), fleason (Fred Leason), cooljeanius (Eric Gallager)
Port: scribus

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm trying to install scribus and it's stalled in the build phase. It's still compiling the same file since yesterday:

$ ps auwx | grep cc1
macports 98903  97,4  2,7  2618160 171044 s002  R+    6:37pm 611:55.18 /Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/cc1plus -quiet -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.0.rc3/scribus -F/opt/local/lib -I/opt/local/lib/QtGui.framework/Headers -I/opt/local/lib/QtXml.framework/Headers -I/opt/local/lib/QtSql.framework/Headers -I/opt/local/lib/QtNetwork.framework/Headers -I/opt/local/lib/QtCore.framework/Headers -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.0.rc3 -I/opt/local/lib/QtDesigner.framework/Headers -I/opt/local/lib/QtDeclarative.framework/Headers -I/opt/local/lib/QtScriptTools.framework/Headers -I/opt/local/lib/QtDBus.framework/Headers -I/opt/local/lib/QtOpenGL.framework/Headers -I/opt/local/lib/QtMultimedia.framework/Headers -I/opt/local/lib/QtXmlPatterns.framework/Headers -I/opt/local/lib/QtWebKit.framework/Headers -I/opt/local/lib/QtHelp.framework/Headers -I/opt/local/lib/QtTest.framework/Headers -I/opt/local/lib/QtScript.framework/Headers -I/opt/local/lib/QtSvg.framework/Headers -I/opt/local/lib/Qt3Support.framework/Headers -I/opt/local/share/qt4/mkspecs/default -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/opt/local/include/freetype2 -I/opt/local/include/cairo -imultilib x86_64 -D__DYNAMIC__ -DNDEBUG -DHAVE_CARBON=1 -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_LIB -DQT_XML_LIB -DHAVE_DLFCN_H -DHAVE_UNISTD_H -DHAVE_CONFIG_H -DQT_NO_DEBUG -DSHAREDIR="/Applications/MacPorts/Scribus1.4.0.rc3.app/Contents/share/scribus/" -DDOCDIR="/Applications/MacPorts/Scribus1.4.0.rc3.app/Contents/share/doc/scribus/" -DICONDIR="/Applications/MacPorts/Scribus1.4.0.rc3.app/Contents/share/scribus/icons/" -DSAMPLESDIR="/Applications/MacPorts/Scribus1.4.0.rc3.app/Contents/share/scribus/samples/" -DSCRIPTSDIR="/Applications/MacPorts/Scribus1.4.0.rc3.app/Contents/share/scribus/scripts/" -DTEMPLATEDIR="/Applications/MacPorts/Scribus1.4.0.rc3.app/Contents/share/scribus/templates/" -DDESKTOPDIR="/Applications/MacPorts/Scribus1.4.0.rc3.app/Contents/share/applications/" -DLIBDIR="/Applications/MacPorts/Scribus1.4.0.rc3.app/Contents/lib/scribus/" -DPLUGINDIR="/Applications/MacPorts/Scribus1.4.0.rc3.app/Contents/lib/scribus/plugins/" -isysroot / /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.0.rc3/scribus/util.cpp -fPIC -quiet -dumpbase util.cpp -mmacosx-version-min=10.6 -m64 -mtune=core2 -auxbase-strip CMakeFiles/Scribus.dir/util.cpp.o -O2 -O2 -Wall -fPIC -D__private_extern__=extern -o -

cc1plus uses 97% CPU but that's all. I only noticed that the output of cc1plus is - not an object file, that's all. I really have no idea what happens.

  • OS: Snow Leopard x86_64
  • XCode: 4.0.2
  • FS: case sensitive

Change History (14)

comment:1 Changed 13 years ago by Greisby (Greisberger Christophe)

Variant: +python27 +podofo -universal

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Please remember to use WikiFormatting and to preview before submitting,

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

"Since yesterday" sounds like a long time. I just updated scribus to 1.4.0.rc5 in r82655; it built universal in 48 minutes on my 2.2 GHz Core 2 Duo MacBook Pro. Please see if that version works for you. I did not try the python or podofo variants; if you still see the same problem, try without those variants and let us know.

comment:4 Changed 13 years ago by Greisby (Greisberger Christophe)

After 2 days, still no progress... Well, I tried the rc5 with no variants, it also compiles forever. I did a port install -v and it stops in main.cpp

[ 90%] Building CXX object scribus/CMakeFiles/Scribus.dir/main.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.0.rc5/scribus && /Developer/usr/bin/llvm-g++-4.2   -DNDEBUG -DHAVE_CARBON=1 -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_LIB -DQT_XML_LIB -DHAVE_DLFCN_H -DHAVE_UNISTD_H -DHAVE_CONFIG_H -DQT_NO_DEBUG -pipe -O2 -arch x86_64  -O2 -Wall -fPIC -arch x86_64 -isysroot / -mmacosx-version-min=10.6 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.0.rc5/scribus -F/opt/local/lib -I/opt/local/lib/QtGui.framework/Headers -I/opt/local/lib/QtXml.framework/Headers -I/opt/local/lib/QtSql.framework/Headers -I/opt/local/lib/QtNetwork.framework/Headers -I/opt/local/lib/QtCore.framework/Headers -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.0.rc5 -I/opt/local/lib/QtDesigner.framework/Headers -I/opt/local/lib/QtDeclarative.framework/Headers -I/opt/local/lib/QtScriptTools.framework/Headers -I/opt/local/lib/QtDBus.framework/Headers -I/opt/local/lib/QtOpenGL.framework/Headers -I/opt/local/lib/QtMultimedia.framework/Headers -I/opt/local/lib/QtXmlPatterns.framework/Headers -I/opt/local/lib/QtWebKit.framework/Headers -I/opt/local/lib/QtHelp.framework/Headers -I/opt/local/lib/QtTest.framework/Headers -I/opt/local/lib/QtScript.framework/Headers -I/opt/local/lib/QtSvg.framework/Headers -I/opt/local/lib/Qt3Support.framework/Headers -I/opt/local/share/qt4/mkspecs/default -I/opt/local/include -I/opt/local/include/libxml2 -I/System/Library/Frameworks/Python.framework/Headers -I/opt/local/include/freetype2 -I/opt/local/include/cairo    -DSHAREDIR=\"/Applications/MacPorts/Scribus1.4.0.rc5.app/Contents/share/scribus/\" -DDOCDIR=\"/Applications/MacPorts/Scribus1.4.0.rc5.app/Contents/share/doc/scribus/\" -DICONDIR=\"/Applications/MacPorts/Scribus1.4.0.rc5.app/Contents/share/scribus/icons/\" -DSAMPLESDIR=\"/Applications/MacPorts/Scribus1.4.0.rc5.app/Contents/share/scribus/samples/\" -DSCRIPTSDIR=\"/Applications/MacPorts/Scribus1.4.0.rc5.app/Contents/share/scribus/scripts/\" -DTEMPLATEDIR=\"/Applications/MacPorts/Scribus1.4.0.rc5.app/Contents/share/scribus/templates/\" -DDESKTOPDIR=\"/Applications/MacPorts/Scribus1.4.0.rc5.app/Contents/share/applications/\" -DLIBDIR=\"/Applications/MacPorts/Scribus1.4.0.rc5.app/Contents/lib/scribus/\" -DPLUGINDIR=\"/Applications/MacPorts/Scribus1.4.0.rc5.app/Contents/lib/scribus/plugins/\" -o CMakeFiles/Scribus.dir/main.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.0.rc5/scribus/main.cpp

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Perhaps scribus does not like llvm-gcc. (I'm on Xcode 3 so I'm using gcc-4.2.) Try using clang.

sudo port clean scribus
sudo port install scribus configure.compiler=clang

If that doesn't work, try gcc-4.2.

sudo port clean scribus
sudo port install scribus configure.compiler=gcc-4.2

comment:6 Changed 13 years ago by Greisby (Greisberger Christophe)

I dod not try clang, but gcc-4.2 works! Cool, thanks :)

comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Can you please try clang? If it works, we want to make the port use that. If not, we will settle for gcc-4.2.

comment:8 Changed 13 years ago by Greisby (Greisberger Christophe)

It does not work with clang.
The compilation fails, complaining about accessing a private member...

comment:9 Changed 13 years ago by fleason (Fred Leason)

Cc: fleason@… added

Cc Me!

comment:10 Changed 13 years ago by fleason (Fred Leason)

Updated to Xcode 4.2. Same problem.

comment:11 Changed 13 years ago by fleason (Fred Leason)

gcc42 does not build for Lion. No viable workaround.
configure.compiler options do not build for gcc43, gcc44, gcc45, clang
gcc46 errors building for Lion

  Model Name:	iMac
  Model Identifier:	iMac11,1
  Processor Name:	Intel Core i7
  Processor Speed:	2.8 GHz
  Number of Processors:	1
  Total Number of Cores:	4
  L2 Cache (per Core):	256 KB
  L3 Cache:	8 MB
  Memory:	16 GB
  Processor Interconnect Speed:	4.8 GT/s
  Boot ROM Version:	IM111.0034.B02
  SMC Version (system):	1.54f36
  System Version:	Mac OS X 10.7.2 (11C74)
  Kernel Version:	Darwin 11.2.0
  Boot Volume:	Macintosh HD
  Boot Mode:	Normal
  Secure Virtual Memory:	Not Enabled
  64-bit Kernel and Extensions:	Yes

and Xcode 4.2

comment:12 Changed 12 years ago by jmroot (Joshua Root)

Cc: g5pw@… added
Resolution: fixed
Status: newclosed

Seems OK as of 1.4.1.

comment:13 Changed 12 years ago by eborisch (Eric A. Borisch)

This is back with 1.4.2; blacklisting llvm-gcc-4.2.

comment:14 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.