Opened 11 years ago

Closed 11 years ago

#41359 closed defect (fixed)

libQGViewer build fails with XCode 5.0.1

Reported by: dv30fps-macosx@… Owned by: raphael-st (Raphael Straub)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: libQGLViewer

Description (last modified by ci42)

The build of libQGLViewer fails when buiding with the XCode 5.0.1 tools. I am seeing the following errors in the log file:

:info:build /usr/bin/clang++ -headerpad_max_install_names -arch x86_64 -arch i386 -arch -arch -single_module -dynamiclib -compatibility_version	2.4 -current_version	2.4.0 -install_name	/opt/local/lib/libQGLViewer.2.dylib -Xarch_x86_64 -mmacosx-version-min=10.8 -o libQGLViewer.2.4.0.dylib .obj/qglviewer.o .obj/camera.o .obj/manipulatedFrame.o .obj/manipulatedCameraFrame.o .obj/frame.o .obj/saveSnapshot.o .obj/constraint.o .obj/keyFrameInterpolator.o .obj/mouseGrabber.o .obj/quaternion.o .obj/vec.o .obj/BackFaceCullingOptimizer.o .obj/BSPSortMethod.o .obj/EPSExporter.o .obj/Exporter.o .obj/FIGExporter.o .obj/gpc.o .obj/ParserGL.o .obj/Primitive.o .obj/PrimitivePositioning.o .obj/TopologicalSortMethod.o .obj/VisibilityOptimizer.o .obj/Vector2.o .obj/Vector3.o .obj/NVector3.o .obj/VRender.o .obj/moc_qglviewer.o .obj/moc_camera.o .obj/moc_manipulatedFrame.o .obj/moc_manipulatedCameraFrame.o .obj/moc_frame.o .obj/moc_keyFrameInterpolator.o  -F/opt/local/Library/Frameworks -F/opt/local/lib  -framework OpenGL -framework AGL -F/opt/local/Library/Frameworks -F/opt/local/lib -L/opt/local/lib -framework QtXml -framework QtCore -framework QtOpenGL -framework QtGui  
:info:build clang: error: invalid arch name '-arch -arch'
:info:build make[1]: *** [libQGLViewer.2.4.0.dylib] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libQGLViewer/libQGLViewer/work/libQGLViewer-2.4.0/QGLViewer'
:info:build make: *** [sub-QGLViewer-all-ordered] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libQGLViewer/libQGLViewer/work/libQGLViewer-2.4.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libQGLViewer/libQGLViewer/work/libQGLViewer-2.4.0" && /usr/bin/make -w all 
:info:build Exit code: 2
:error:build org.macports.build for port libQGLViewer returned: command execution failed
:debug:build Error code: CHILDSTATUS 40565 2

Attachments (1)

main.log (57.8 KB) - added by dv30fps-macosx@… 11 years ago.
Log file of libQGLViewer after clean and upgrade build.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by ci42

Description: modified (diff)
Owner: changed from macports-tickets@… to raphael@…
Summary: libQGLViewer build fails with XCode 5.0.1libQGViewer build fails with XCode 5.0.1

Please try a clean attempt and attach the log file if it fails.

In the future please remember to use WikiFormatting and don't forget to Cc the maintainer.

Changed 11 years ago by dv30fps-macosx@…

Attachment: main.log added

Log file of libQGLViewer after clean and upgrade build.

comment:2 Changed 11 years ago by dv30fps-macosx@…

The log file of building libQGLViewer after cleaning the port is attached. OS X version is 10.8.5.

comment:3 in reply to:  description Changed 11 years ago by raphael-st (Raphael Straub)

Status: newassigned

Replying to dv30fps-macosx@…:

:info:build /usr/bin/clang++ -headerpad_max_install_names -arch x86_64 -arch i386 -arch -arch -single_module -dynamiclib -compatibility_version	2.4 -current_version	2.4.0 -install_name	/opt/local/lib/libQGLViewer.2.dylib -Xarch_x86_64 -mmacosx-version-min=10.8 -o libQGLViewer.2.4.0.dylib .obj/qglviewer.o .obj/camera.o .obj/manipulatedFrame.o .obj/manipulatedCameraFrame.o .obj/frame.o .obj/saveSnapshot.o .obj/constraint.o .obj/keyFrameInterpolator.o .obj/mouseGrabber.o .obj/quaternion.o .obj/vec.o .obj/BackFaceCullingOptimizer.o .obj/BSPSortMethod.o .obj/EPSExporter.o .obj/Exporter.o .obj/FIGExporter.o .obj/gpc.o .obj/ParserGL.o .obj/Primitive.o .obj/PrimitivePositioning.o .obj/TopologicalSortMethod.o .obj/VisibilityOptimizer.o .obj/Vector2.o .obj/Vector3.o .obj/NVector3.o .obj/VRender.o .obj/moc_qglviewer.o .obj/moc_camera.o .obj/moc_manipulatedFrame.o .obj/moc_manipulatedCameraFrame.o .obj/moc_frame.o .obj/moc_keyFrameInterpolator.o  -F/opt/local/Library/Frameworks -F/opt/local/lib  -framework OpenGL -framework AGL -F/opt/local/Library/Frameworks -F/opt/local/lib -L/opt/local/lib -framework QtXml -framework QtCore -framework QtOpenGL -framework QtGui  
:info:build clang: error: invalid arch name '-arch -arch'

This is a probably a problem with QMake, see #41358.

comment:4 Changed 11 years ago by raphael-st (Raphael Straub)

Resolution: fixed
Status: assignedclosed

Fixed in r113398.

Note: See TracTickets for help on using tickets.