Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#47369 closed defect (fixed)

freecad @0.14.3702_1: Parse error at "BOOST_JOIN"

Reported by: dershow Owned by: mbrethen
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: macports@…, Schamschula (Marius Schamschula), EnekoGotzon, rubendibattista (Ruben Di Battista)
Port: freecad

Description

I just tried to upgrade freecad from 0.14.3702_0 to 0.14.3702_1 but the upgrade fails. The log ends with:

:info:build Linking CXX shared library ../../../../Mod/Part/Part.so
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/freecad-0.14.3702/src/Mod/Part/App && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/Part.dir/link.txt --verbose=ON
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -pipe -Os -arch x86_64 -stdlib=libc++  -Wno-deprecated -Wno-write-strings -D_OCC64 -DNDEBUG -arch x86_64 -mmacosx-version-min=10.10 -dynamiclib -Wl,-headerpad_max_install_names  -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4/../../.. -o ../../../../Mod/Part/Part.so -install_name /opt/local/libexec/freecad/lib/Part.so CMakeFiles/Part.dir/FeaturePartBoolean.cpp.o CMakeFiles/Part.dir/FeaturePartBox.cpp.o CMakeFiles/Part.dir/FeaturePartCircle.cpp.o CMakeFiles/Part.dir/FeaturePartCommon.cpp.o CMakeFiles/Part.dir/FeaturePartCurveNet.cpp.o CMakeFiles/Part.dir/FeaturePartCut.cpp.o CMakeFiles/Part.dir/FeaturePartFuse.cpp.o CMakeFiles/Part.dir/FeaturePartImportBrep.cpp.o CMakeFiles/Part.dir/FeaturePartImportIges.cpp.o CMakeFiles/Part.dir/FeaturePartImportStep.cpp.o CMakeFiles/Part.dir/FeaturePartPolygon.cpp.o CMakeFiles/Part.dir/FeaturePartSection.cpp.o CMakeFiles/Part.dir/FeaturePartSpline.cpp.o CMakeFiles/Part.dir/FeatureChamfer.cpp.o CMakeFiles/Part.dir/FeatureCompound.cpp.o CMakeFiles/Part.dir/FeatureExtrusion.cpp.o CMakeFiles/Part.dir/FeatureFillet.cpp.o CMakeFiles/Part.dir/FeatureMirroring.cpp.o CMakeFiles/Part.dir/FeatureRevolution.cpp.o CMakeFiles/Part.dir/PartFeatures.cpp.o CMakeFiles/Part.dir/PartFeature.cpp.o CMakeFiles/Part.dir/PartFeatureReference.cpp.o CMakeFiles/Part.dir/Part2DObject.cpp.o CMakeFiles/Part.dir/PrimitiveFeature.cpp.o CMakeFiles/Part.dir/FeatureGeometrySet.cpp.o CMakeFiles/Part.dir/CustomFeature.cpp.o CMakeFiles/Part.dir/PropertyTopoShape.cpp.o CMakeFiles/Part.dir/PropertyGeometryList.cpp.o CMakeFiles/Part.dir/ArcPyImp.cpp.o CMakeFiles/Part.dir/ArcOfCirclePyImp.cpp.o CMakeFiles/Part.dir/CirclePyImp.cpp.o CMakeFiles/Part.dir/EllipsePyImp.cpp.o CMakeFiles/Part.dir/HyperbolaPyImp.cpp.o CMakeFiles/Part.dir/ParabolaPyImp.cpp.o CMakeFiles/Part.dir/OffsetCurvePyImp.cpp.o CMakeFiles/Part.dir/GeometryPyImp.cpp.o CMakeFiles/Part.dir/GeometryCurvePyImp.cpp.o CMakeFiles/Part.dir/GeometrySurfacePyImp.cpp.o CMakeFiles/Part.dir/LinePyImp.cpp.o CMakeFiles/Part.dir/PointPyImp.cpp.o CMakeFiles/Part.dir/BezierCurvePyImp.cpp.o CMakeFiles/Part.dir/BSplineCurvePyImp.cpp.o CMakeFiles/Part.dir/PlanePyImp.cpp.o CMakeFiles/Part.dir/ConePyImp.cpp.o CMakeFiles/Part.dir/CylinderPyImp.cpp.o CMakeFiles/Part.dir/SpherePyImp.cpp.o CMakeFiles/Part.dir/ToroidPyImp.cpp.o CMakeFiles/Part.dir/BezierSurfacePyImp.cpp.o CMakeFiles/Part.dir/BSplineSurfacePyImp.cpp.o CMakeFiles/Part.dir/OffsetSurfacePyImp.cpp.o CMakeFiles/Part.dir/RectangularTrimmedSurfacePyImp.cpp.o CMakeFiles/Part.dir/SurfaceOfExtrusionPyImp.cpp.o CMakeFiles/Part.dir/SurfaceOfRevolutionPyImp.cpp.o CMakeFiles/Part.dir/PartFeaturePyImp.cpp.o CMakeFiles/Part.dir/Part2DObjectPyImp.cpp.o CMakeFiles/Part.dir/TopoShapePyImp.cpp.o CMakeFiles/Part.dir/TopoShapeCompSolidPyImp.cpp.o CMakeFiles/Part.dir/TopoShapeCompoundPyImp.cpp.o CMakeFiles/Part.dir/TopoShapeEdgePyImp.cpp.o CMakeFiles/Part.dir/TopoShapeFacePyImp.cpp.o CMakeFiles/Part.dir/TopoShapeShellPyImp.cpp.o CMakeFiles/Part.dir/TopoShapeSolidPyImp.cpp.o CMakeFiles/Part.dir/TopoShapeVertexPyImp.cpp.o CMakeFiles/Part.dir/TopoShapeWirePyImp.cpp.o CMakeFiles/Part.dir/BRepOffsetAPI_MakePipeShellPyImp.cpp.o CMakeFiles/Part.dir/AppPart.cpp.o CMakeFiles/Part.dir/AppPartPy.cpp.o CMakeFiles/Part.dir/CrossSection.cpp.o CMakeFiles/Part.dir/Geometry.cpp.o CMakeFiles/Part.dir/ImportIges.cpp.o CMakeFiles/Part.dir/ImportStep.cpp.o CMakeFiles/Part.dir/PreCompiled.cpp.o CMakeFiles/Part.dir/ProgressIndicator.cpp.o CMakeFiles/Part.dir/TopoShape.cpp.o CMakeFiles/Part.dir/edgecluster.cpp.o CMakeFiles/Part.dir/modelRefine.cpp.o CMakeFiles/Part.dir/FT2FC.cpp.o /opt/local/lib/libTKIGES.8.0.0.dylib /opt/local/lib/libTKSTL.8.0.0.dylib /opt/local/lib/libTKOffset.8.0.0.dylib /opt/local/lib/libTKSTEP.8.0.0.dylib /opt/local/lib/libTKSTEPAttr.8.0.0.dylib /opt/local/lib/libTKHLR.8.0.0.dylib /opt/local/lib/libTKFeat.8.0.0.dylib ../../../../lib/libFreeCADApp.so /opt/local/lib/libfreetype.dylib /opt/local/lib/libTKFillet.8.0.0.dylib /opt/local/lib/libTKMesh.8.0.0.dylib /opt/local/lib/libTKSTEP209.8.0.0.dylib /opt/local/lib/libTKSTEPBase.8.0.0.dylib /opt/local/lib/libTKXSBase.8.0.0.dylib /opt/local/lib/libTKBool.8.0.0.dylib /opt/local/lib/libTKShHealing.8.0.0.dylib /opt/local/lib/libTKBO.8.0.0.dylib /opt/local/lib/libTKPrim.8.0.0.dylib /opt/local/lib/libTKTopAlgo.8.0.0.dylib /opt/local/lib/libTKGeomAlgo.8.0.0.dylib /opt/local/lib/libTKBRep.8.0.0.dylib /opt/local/lib/libTKGeomBase.8.0.0.dylib /opt/local/lib/libTKG3d.8.0.0.dylib /opt/local/lib/libTKG2d.8.0.0.dylib /opt/local/lib/libTKMath.8.0.0.dylib /opt/local/lib/libTKernel.8.0.0.dylib -lm ../../../../lib/libFreeCADBase.so /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python /opt/local/lib/libxerces-c.dylib /opt/local/lib/libQtCore.dylib /opt/local/lib/libz.dylib -lutil -ldl /opt/local/lib/libboost_filesystem-mt.dylib /opt/local/lib/libboost_program_options-mt.dylib /opt/local/lib/libboost_regex-mt.dylib /opt/local/lib/libboost_signals-mt.dylib /opt/local/lib/libboost_system-mt.dylib /opt/local/lib/libboost_thread-mt.dylib -Wl,-rpath,/opt/local/libexec/freecad/lib 
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/freecad-0.14.3702'
:info:build /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/freecad-0.14.3702/CMakeFiles  60 61 62 63 64 65
:info:build [ 40%] Built target Part
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/freecad-0.14.3702'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/freecad-0.14.3702'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/freecad-0.14.3702" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build org.macports.build for port freecad returned: command execution failed
:debug:build Error code: CHILDSTATUS 25076 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for freecad: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port freecad for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/main.log

Attachments (1)

main.log (1.1 MB) - added by Schamschula (Marius Schamschula) 9 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Keywords: mark.brethen@gmail.com removed
Owner: changed from macports-tickets@… to mark.brethen@…

comment:2 Changed 9 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:3 Changed 9 years ago by Schamschula (Marius Schamschula)

Cc: mschamschula@… added

Cc Me!

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: main.log added

comment:4 Changed 9 years ago by Schamschula (Marius Schamschula)

Attached a full log. It seems to be an issue with boost @1.57.0. See http://debugjournal.tumblr.com/post/70395570484/boost-qt-parse-error-about-boost-join

comment:5 Changed 9 years ago by EnekoGotzon

Cc: enekogotzon@… added

Cc Me!

comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rubendibattista@… added
Summary: Freecad upgrade failsfreecad @0.14.3702_1: Parse error at "BOOST_JOIN"

Has duplicate #47434.

comment:7 Changed 9 years ago by mbrethen

Are you trying to update freecad locally?

comment:8 in reply to:  7 ; Changed 9 years ago by Schamschula (Marius Schamschula)

Replying to mark.brethen@…:

Are you trying to update freecad locally?

Nope. The most recent revision broke the freecad build. I had to uninstall freecad on several machines to run port upgrade outdated.

I did use a local version a while ago, see https://trac.macports.org/ticket/46157 to add a launch-able App icon.

comment:9 Changed 9 years ago by mbrethen

It looks like boost was updated recently, has anyone tried the fix mentioned in the link above?

Last edited 9 years ago by mbrethen (previous) (diff)

comment:10 Changed 9 years ago by Schamschula (Marius Schamschula)

Actually, the boost Portfile was last functionally changed six weeks ago to apply an upstream patch that fixes building hugin-app 2014.0.0. The last version update was four months ago.

comment:11 in reply to:  8 ; Changed 9 years ago by macports@…

Replying to mschamschula@…:

I had to uninstall freecad on several machines to run port upgrade outdated.

You know you could do

port upgrade outdated and not freecad

right? That would have kept the previous functioning version installed.

comment:12 in reply to:  11 Changed 9 years ago by EnekoGotzon

Replying to macports@…:

Replying to mschamschula@…:

I had to uninstall freecad on several machines to run port upgrade outdated.

You know you could do

port upgrade outdated and not freecad

right? That would have kept the previous functioning version installed.

Thank you!

comment:13 Changed 9 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Fixed in r141197.

comment:14 Changed 9 years ago by EnekoGotzon

Thank you!

Note: See TracTickets for help on using tickets.