Opened 8 years ago

Last modified 2 years ago

#52143 new defect

freecad @0.16.0 fails building on 10.6.8

Reported by: udbraumann Owned by: mbrethen
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: Schamschula (Marius Schamschula)
Port: freecad

Description

While upgrading freecad @0.15.4671_1+gcc5 to 0.16_0 I run into this trouble:

...
:info:build cc1plus: error: unrecognized command line option "-Wno-unused-but-set-variable"
:info:build [  1%] Generating ../../../Mod/PartDesign/WizardShaft/WizardShaft.py
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cad_freecad/FreeCAD/work/FreeCAD-0.16/src/Mod/PartDesign && /opt/local/bin/cmake -E copy /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cad_freecad/FreeCAD/work/FreeCAD-0.16/src/Mod/PartDesign/WizardShaft/WizardShaft.py /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cad_freecad/FreeCAD/work/FreeCAD-0.16/Mod/PartDesign/WizardShaft/WizardShaft.py
...

There are more occurrences of this error later in the log. If intuitively have tested other compilers, like gcc5 and gcc6 as well as clang 3.7 (all from MacPorts), but these have failed with other weird errors, as far as I can remember.

Attachments (1)

main.log.gz (11.4 KB) - added by udbraumann 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by udbraumann

Attachment: main.log.gz added

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

Cc: mark.brethen@… removed
Owner: changed from macports-tickets@… to mark.brethen@…

comment:2 Changed 2 years ago by petrrr

The cited version of FreeCAD and the ticket are pretty old. FreeCAD now is at version 0.20.1, in Macports its at 0.18.5

Currently, I am not able to build it via Macports, but I wonder if this ticket is anyhow useful.

Note: See TracTickets for help on using tickets.