[MacPorts] #61945: fldigi port fails to rebuild

MacPorts noreply at macports.org
Thu Dec 31 19:17:09 UTC 2020


#61945: fldigi port fails to rebuild
-------------------------+----------------------
  Reporter:  mouse07410  |      Owner:  ra1nb0w
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  fldigi      |
-------------------------+----------------------

Comment (by mouse07410):

 I tried installing {{{fldigi}}} on a new machine - and got the same error.
 The problem only occurs when there's a **local** rebuild:
 {{{
 --->  Attempting to fetch
 fldigi-4.1.17_0+bundle.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/fldigi
 --->  Installing fldigi @4.1.17_0+bundle
 --->  Activating fldigi @4.1.17_0+bundle
 --->  Cleaning fldigi
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  Found 2 broken files, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt: fldigi @4.1.17+bundle
 Continue? [Y/n]: y
 --->  Computing dependencies for fldigi
 --->  Cleaning fldigi
 --->  Scanning binaries for linking errors
 --->  Found 2 broken files, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 --->  Rebuilding in order
      fldigi @4.1.17 +bundle
 --->  Computing dependencies for fldigi
 --->  Fetching distfiles for fldigi
 --->  Attempting to fetch fldigi-4.1.17.tar.gz from
 http://www.w1hkj.com/files/fldigi/
 --->  Verifying checksums for fldigi
 --->  Extracting fldigi
 --->  Applying patches to fldigi
 --->  Configuring fldigi
 --->  Building fldigi
 Error: Failed to build fldigi: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_fldigi/fldigi/main.log
 for details.
 Error: rev-upgrade failed: Error rebuilding fldigi
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

 Nonetheless, the above leaves an apparently-usable {{{fldigi}}} binary,
 with one problem (different version of {{{hamlib}}}):
 {{{
 $ port installed fldigi
 The following ports are currently installed:
   fldigi @4.1.17_0+bundle (active)
 $ type fldigi
 fldigi is /opt/local/bin/fldigi
 $ fldigi
 dyld: Library not loaded: /opt/local/lib/libhamlib.2.dylib
   Referenced from: /opt/local/bin/fldigi
   Reason: image not found
 zsh: abort      fldigi
 $ port installed hamlib
 The following ports are currently installed:
   hamlib @4.0_0 (active)
 $ ll /opt/local/lib/libhamlib*
 -rwxr-xr-x  1 root  admin  8181420 Dec 30 05:33
 /opt/local/lib/libhamlib.4.dylib*
 -rw-r--r--  1 root  admin  9417104 Dec 30 05:33 /opt/local/lib/libhamlib.a
 lrwxr-xr-x  1 root  admin       17 Dec 30 05:33
 /opt/local/lib/libhamlib.dylib@ -> libhamlib.4.dylib
 $
 $ sudo install_name_tool -change /opt/local/lib/libhamlib.2.dylib
 /opt/local/lib/libhamlib.dylib /opt/local/bin/fldigi
 Enter PIN for '<myself>':
 $ fldigi
 E: [14:13:10] soundcard/sound.cxx : 1812 : init_stream
     Could not find device "", using default device
 I: [14:13:10] soundcard/sound.cxx : 1925 : start_stream

 open pa stream for read:
   samplerate    : 48000
   device number : 0
   # channels    : 1
   latency       : 0.043854
   sample Format : paFloat32
 I: [14:13:10] soundcard/sound.cxx : 1388 : Open
     Port Audio open mode = Read
 device type = paInDevelopment
 .  .  .  .  .
 }}}

 Changing "\n" to "\\n" did not lead to success - same silly compile error.
 Will try commenting out the text altogether, and splitting+concatenating
 next.

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


More information about the macports-tickets mailing list