Opened 5 years ago

Closed 5 years ago

#60375 closed defect (fixed)

freecad-0.18.4 build fails

Reported by: xhale (Alex Heyes) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: mbrethen
Port: freecad

Description (last modified by xhale (Alex Heyes))

stdout:

sudo port install freecad
--->  Computing dependencies for freecad
--->  Fetching archive for freecad
--->  Attempting to fetch freecad-0.18.4_0+gcc9.darwin_19.x86_64.tbz2 from https://packages.macports.org/freecad
--->  Attempting to fetch freecad-0.18.4_0+gcc9.darwin_19.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/freecad
--->  Attempting to fetch freecad-0.18.4_0+gcc9.darwin_19.x86_64.tbz2 from http://lil.fr.packages.macports.org/freecad
--->  Fetching distfiles for freecad
--->  Verifying checksums for freecad
--->  Extracting freecad
--->  Applying patches to freecad
--->  Configuring freecad
--->  Building freecad
Error: Failed to build freecad: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cad_freecad/freecad/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port freecad failed

main.log (snipped)

version:1
:debug:sysinfo macOS 10.15 (darwin/19.4.0) arch i386
:debug:sysinfo MacPorts 2.6.2
:debug:sysinfo Xcode 11.4.1
:debug:sysinfo SDK 10.15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.15
:debug:main epoch: in tree: 0 installed: 0
:debug:main cmake 3.17.1_0 exists in the ports tree
:debug:main cmake 3.17.1_0  is the latest installed
:debug:main cmake 3.17.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/cmake
:debug:main OS darwin/19.4.0 (macOS 10.15) arch i386
...
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cad_freecad/freecad/work/build'
:info:build [ 59%] Built target FreeCADGui
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cad_freecad/freecad/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cad_freecad/freecad/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cad_freecad/freecad/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build freecad: command execution failed
:debug:build Error code: CHILDSTATUS 28225 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cad_freecad/freecad/main.log for details.

Attachments (1)

main.log (5.5 MB) - added by xhale (Alex Heyes) 5 years ago.

Change History (9)

comment:1 Changed 5 years ago by xhale (Alex Heyes)

Description: modified (diff)

comment:2 Changed 5 years ago by kencu (Ken)

we'll need the whole main.log-- the error is not in the part you posted, I'm afraid.

comment:3 Changed 5 years ago by kencu (Ken)

Port: freecad added; freecad-0.18.4_0+gcc9.darwin_19.x86_64 removed

Changed 5 years ago by xhale (Alex Heyes)

Attachment: main.log added

comment:4 Changed 5 years ago by kencu (Ken)

thanks. fyi, you can usually find the error by searching for "error 1" in the log. It's usually just a bit before that message.

comment:5 Changed 5 years ago by jmroot (Joshua Root)

Cc: mbrethen added
Owner: set to Schamschula
Status: newassigned

comment:6 Changed 5 years ago by Schamschula (Marius Schamschula)

I haven't personally built freecad under Catalina

I do see a solution for this compile issue, but until I build it locally, I won't know what else is broken.

Last edited 5 years ago by Schamschula (Marius Schamschula) (previous) (diff)

comment:7 Changed 5 years ago by Schamschula (Marius Schamschula)

A quick update. The above issue is only the tip of the iceberg!

I'm currently trying to find an error that doesn't show up in the log file (i.e. isn't a compiler error).

comment:8 Changed 5 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In 6b202f1d9a6d7e7cd51826be93e1ba9ab5c70d3e/macports-ports (master):

freecad: fix Catalina build failure

Closes: #60375
add graphviz build dependency with revision bump

Note: See TracTickets for help on using tickets.