Opened 15 years ago

Closed 15 years ago

#20520 closed defect (fixed)

qwt52 parallel build failure

Reported by: mf2k (Frank Schima) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: qwt52

Description

Mac OS X 10.5.7. Xcode 3.1.3. Macports from trunk.

$ sudo port install qwt52
--->  Computing dependencies for qwt52
--->  Fetching qwt52
--->  Attempting to fetch qwt-5.2.0.tar.bz2 from http://voxel.dl.sourceforge.net/qwt
--->  Verifying checksum(s) for qwt52
--->  Extracting qwt52
--->  Applying patches to qwt52
--->  Configuring qwt52
--->  Building qwt52
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_graphics_qwt52/work/qwt-5.2.0" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_picker.o moc/moc_qwt_picker.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_text_label.o moc/moc_qwt_text_label.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_legend.o moc/moc_qwt_legend.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_legend_item.o moc/moc_qwt_legend_item.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_plot.o moc/moc_qwt_plot.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_plot_canvas.o moc/moc_qwt_plot_canvas.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_plot_panner.o moc/moc_qwt_plot_panner.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_plot_picker.o moc/moc_qwt_plot_picker.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_plot_zoomer.o moc/moc_qwt_plot_zoomer.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_plot_magnifier.o moc/moc_qwt_plot_magnifier.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_scale_widget.o moc/moc_qwt_scale_widget.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_abstract_slider.o moc/moc_qwt_abstract_slider.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_analog_clock.o moc/moc_qwt_analog_clock.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_compass.o moc/moc_qwt_compass.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_counter.o moc/moc_qwt_counter.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_dial.o moc/moc_qwt_dial.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_knob.o moc/moc_qwt_knob.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_slider.o moc/moc_qwt_slider.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_thermo.o moc/moc_qwt_thermo.cpp
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/moc_qwt_wheel.o moc/moc_qwt_wheel.cpp
rm -f libqwt.5.2.0.dylib libqwt.dylib libqwt.5.dylib libqwt.5.2.dylib
/usr/bin/g++-4.0 -headerpad_max_install_names -arch i386 -single_module -dynamiclib -compatibility_version	5.2 -current_version	5.2.0 -install_name	libqwt.5.dylib -o libqwt.5.2.0.dylib obj/qwt_abstract_scale_draw.o obj/qwt_color_map.o obj/qwt_clipper.o obj/qwt_double_interval.o obj/qwt_double_rect.o obj/qwt_dyngrid_layout.o obj/qwt_layout_metrics.o obj/qwt_math.o obj/qwt_magnifier.o obj/qwt_paint_buffer.o obj/qwt_panner.o obj/qwt_painter.o obj/qwt_picker.o obj/qwt_round_scale_draw.o obj/qwt_scale_div.o obj/qwt_scale_draw.o obj/qwt_scale_map.o obj/qwt_spline.o obj/qwt_text_engine.o obj/qwt_text_label.o obj/qwt_text.o obj/qwt_event_pattern.o obj/qwt_picker_machine.o obj/qwt_scale_engine.o obj/qwt_symbol.o obj/qwt_curve_fitter.o obj/qwt_data.o obj/qwt_interval_data.o obj/qwt_legend.o obj/qwt_legend_item.o obj/qwt_plot.o obj/qwt_plot_print.o obj/qwt_plot_xml.o obj/qwt_plot_axis.o obj/qwt_plot_curve.o obj/qwt_plot_dict.o obj/qwt_plot_grid.o obj/qwt_plot_item.o obj/qwt_plot_spectrogram.o obj/qwt_plot_scaleitem.o obj/qwt_plot_marker.o obj/qwt_plot_layout.o obj/qwt_plot_printfilter.o obj/qwt_plot_rasteritem.o obj/qwt_plot_canvas.o obj/qwt_plot_rescaler.o obj/qwt_plot_panner.o obj/qwt_plot_picker.o obj/qwt_plot_zoomer.o obj/qwt_plot_magnifier.o obj/qwt_raster_data.o obj/qwt_scale_widget.o obj/qwt_abstract_slider.o obj/qwt_abstract_scale.o obj/qwt_arrow_button.o obj/qwt_analog_clock.o obj/qwt_compass.o obj/qwt_compass_rose.o obj/qwt_counter.o obj/qwt_dial.o obj/qwt_dial_needle.o obj/qwt_double_range.o obj/qwt_knob.o obj/qwt_slider.o obj/qwt_thermo.o obj/qwt_wheel.o obj/moc_qwt_dyngrid_layout.o obj/moc_qwt_magnifier.o obj/moc_qwt_panner.o obj/moc_qwt_picker.o obj/moc_qwt_text_label.o obj/moc_qwt_legend.o obj/moc_qwt_legend_item.o obj/moc_qwt_plot.o obj/moc_qwt_plot_canvas.o obj/moc_qwt_plot_panner.o obj/moc_qwt_plot_picker.o obj/moc_qwt_plot_zoomer.o obj/moc_qwt_plot_magnifier.o obj/moc_qwt_scale_widget.o obj/moc_qwt_abstract_slider.o obj/moc_qwt_analog_clock.o obj/moc_qwt_compass.o obj/moc_qwt_counter.o obj/moc_qwt_dial.o obj/moc_qwt_knob.o obj/moc_qwt_slider.o obj/moc_qwt_thermo.o obj/moc_qwt_wheel.o  -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -framework QtGui -L/opt/local/lib -L/opt/local/libexec/qt4-mac/lib -F/opt/local/libexec/qt4-mac/lib -framework Carbon -framework AppKit -lpng -framework QtCore -lz -lm -framework ApplicationServices 
ln -s libqwt.5.2.0.dylib libqwt.dylib
ln -s libqwt.5.2.0.dylib libqwt.5.dylib
ln -s libqwt.5.2.0.dylib libqwt.5.2.dylib
rm -f ../lib/libqwt.5.2.0.dylib
rm -f ../lib/libqwt.dylib
rm -f ../lib/libqwt.5.dylib
rm -f ../lib/libqwt.5.2.dylib
mv -f libqwt.5.2.0.dylib libqwt.dylib libqwt.5.dylib libqwt.5.2.dylib ../lib/

Error: Status 1 encountered during processing.

Attachments (1)

qwt52-debug-output.txt (95.6 KB) - added by mf2k (Frank Schima) 15 years ago.
Sorry, here is the debug output.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by tobypeterson

Come on, you should know better. Debug output...

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

I don't see any error in the output above. Maybe debug output will show one. qwt52 installs fine for me on Tiger and Leopard, both on Intel with MacPorts 1.7.1.

Changed 15 years ago by mf2k (Frank Schima)

Attachment: qwt52-debug-output.txt added

Sorry, here is the debug output.

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

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Summary: qwt52 build failureqwt52 parallel build failure

Ok, so it says

/usr/bin/g++-4.0 -headerpad_max_install_names -arch i386 -bundle -o libqwt_designer_plugin.bundle obj/qwt_designer_plugin.o obj/qwt_designer_plotdialog.o obj/moc_qwt_designer_plugin.o obj/moc_qwt_designer_plotdialog.o obj/qrc_qwt_designer_plugin.o  -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -L../lib -lqwt -L/opt/local/lib -L/opt/local/libexec/qt4-mac/lib -F/opt/local/libexec/qt4-mac/lib -framework QtDesigner -framework QtScript -framework QtXml -framework QtGui -framework Carbon -framework AppKit -lpng -framework QtCore -lz -lm -framework ApplicationServices
ld: library not found for -lqwt

I then realized this was a parallel build issue. MacPorts trunk now builds in parallel by default, whereas MacPorts 1.7.1 did not. By adding "use_parallel_build yes" to the portfile I was able to reproduce the problem on 1.7.1. So I added "use_parallel_build no" to the portfile in r55886 and filed a bug with the developers.

Note: See TracTickets for help on using tickets.