[MacPorts] #61720: gwyddion: Undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Tue Feb 9 06:04:58 UTC 2021


#61720: gwyddion: Undefined symbols for architecture x86_64
------------------------+----------------------
  Reporter:  btywoniuk  |      Owner:  rowue
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:             |   Keywords:  bigsur
      Port:  gwyddion   |
------------------------+----------------------

Comment (by nirjharize):

 Replying to [comment:4 rowue]:
 Okay. I did all the steps you mentioned. I'll list the commands below (I
 typed on the mac terminal) and it worked for me but now i get new errors
 on gwyddion installation.

 sudo port install git
 cd /opt/local/var/macports/sources
 sudo mkdir -p github.com/macports/macports-ports/
 sudo chown -R $USER:admin github.com
 git clone ​https://github.com/rowue/macports-ports.git github.com/macports
 /macports-ports/
 cd github.com/macports/macports-ports
 git checkout gwyddion-bigsur

 Then I open finder and look for file /opt/local/etc/macports/sources.conf
 (by pressing command + Shift + G and typing the address). The last line in
 that file reads:
 #rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default]

 Write in the next line after #rsync:
 file:///opt/local/var/macports/sources/github.com/macports/macports-ports/
 [default]

 Then type in mac terminal:
 sudo port -v sync

 Then tried installing gwyddion again by typing this:
 sudo port install gwyddion

 Got 1 error and 2 warnings. The main log repeated the fatal error string.h
 file not found and Error code CHILDSTATUS 28380 2. Attached the main log
 file and also listing the error that showed on mac terminal:

 Warning: More than one default port source is defined.
 Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not
 build correctly.
 Warning: You can install it as part of the Xcode Command Line Tools
 package by running `xcode-select --install'.
 --->  Computing dependencies for gwyddion
 --->  Fetching archive for gwyddion
 --->  Attempting to fetch gwyddion-2.55_0.darwin_20.arm64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/gwyddion
 --->  Attempting to fetch gwyddion-2.55_0.darwin_20.arm64.tbz2 from
 https://kmq.jp.packages.macports.org/gwyddion
 --->  Attempting to fetch gwyddion-2.55_0.darwin_20.arm64.tbz2 from
 https://mse.uk.packages.macports.org/gwyddion
 --->  Building gwyddion
 Error: Failed to build gwyddion: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gwyddion/gwyddion/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port gwyddion failed

-- 
Ticket URL: <https://trac.macports.org/ticket/61720#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list