[MacPorts] #41359: libQGViewer build fails with XCode 5.0.1 (was: libQGLViewer build fails with XCode 5.0.1)

MacPorts noreply at macports.org
Wed Nov 13 14:46:10 PST 2013


#41359: libQGViewer build fails with XCode 5.0.1
-------------------------------+-----------------------
  Reporter:  dv30fps-macosx@…  |      Owner:  raphael@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.1
Resolution:                    |   Keywords:
      Port:  libQGLViewer      |
-------------------------------+-----------------------
Changes (by ciserlohn@…):

 * owner:  macports-tickets@… => raphael@…


Old description:

> 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

New description:

 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
 }}}

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/41359#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list