[MacPorts] #68313: vorbis-tools @1.4.2 - Unable to upgrade +universal variant - Undefined symbols for architecture i386

MacPorts noreply at macports.org
Sun Oct 1 14:00:38 UTC 2023


#68313: vorbis-tools @1.4.2 - Unable to upgrade +universal variant - Undefined
symbols for architecture i386
---------------------------+--------------------
  Reporter:  RobK88        |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  vorbis-tools  |
---------------------------+--------------------
Description changed by RobK88:

Old description:

> I am unable to upgrade the `+universal` variant of `vorbis-tools` to
> version 1.4.2 on High Sierra -- `Undefined symbols for architecture
> i386`.
>
> P.S.  I am able to build the non-universal x86_64 version of `vorbis-
> tools`.
>
> See the attached `main.log` or below for the errors:
>

> {{{
> bash-3.2$ port installed vorbis-tools
> The following ports are currently installed:
>   vorbis-tools @1.4.0_2+universal
> bash-3.2$
> bash-3.2$ sudo port clean vorbis-tools
> --->  Cleaning vorbis-tools
> bash-3.2$
> bash-3.2$ sudo port -v upgrade vorbis-tools
> --->  Computing dependencies for vorbis-tools.
> --->  Fetching archive for vorbis-tools
>
> etc..
> etc..
>
> 4 warnings generated.
>   CC       vorbis_comments.o
>   CC       opus_format.o
>   CC       vgfilter.o
>   CCLD     ogg123
> ld: warning: text-based stub file
> /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd
> and library file
> /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are
> out of sync. Falling back to library file for linking.
> ld: warning: text-based stub file
> /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd
> and library file
> /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are
> out of sync. Falling back to library file for linking.
> ld: warning: The i386 architecture is deprecated for macOS (remove from
> the Xcode build setting: ARCHS)
> ld: warning: ignoring file /opt/local/lib/libopusfile.dylib, file was
> built for x86_64 which is not the architecture being linked (i386):
> /opt/local/lib/libopusfile.dylib
> Undefined symbols for architecture i386:
>   "_op_bitrate", referenced from:
>       _opf_statistics in opus_format.o
>   "_op_bitrate_instant", referenced from:
>       _opf_statistics in opus_format.o
>   "_op_free", referenced from:
>       _opf_cleanup in opus_format.o
>   "_op_head", referenced from:
>       _opf_read in opus_format.o
>   "_op_open_callbacks", referenced from:
>       _opf_init in opus_format.o
>   "_op_pcm_seek", referenced from:
>       _opf_seek in opus_format.o
>   "_op_pcm_tell", referenced from:
>       _opf_seek in opus_format.o
>       _opf_statistics in opus_format.o
>   "_op_pcm_total", referenced from:
>       _opf_statistics in opus_format.o
>   "_op_read", referenced from:
>       _opf_read in opus_format.o
>   "_op_tags", referenced from:
>       _opf_read in opus_format.o
> ld: symbol(s) not found for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: *** [ogg123] Error 1
> make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_audio_vorbis-tools/vorbis-tools/work
> /vorbis-tools-1.4.2/ogg123'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_audio_vorbis-tools/vorbis-tools/work
> /vorbis-tools-1.4.2'
> make: *** [all] Error 2
> make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_audio_vorbis-tools/vorbis-tools/work
> /vorbis-tools-1.4.2'
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_audio_vorbis-tools/vorbis-tools/work
> /vorbis-tools-1.4.2" && /usr/bin/make -j2 -w all
> Exit code: 2
> Error: Failed to build vorbis-tools: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_audio_vorbis-tools/vorbis-
> tools/main.log for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> bash-3.2$
> }}}

New description:

 I am unable to upgrade the `+universal` variant of `vorbis-tools` to
 version 1.4.2 on High Sierra -- `Undefined symbols for architecture i386`.

 P.S.  I am able to build the non-universal x86_64 version of `vorbis-
 tools`.

 It looks like `vorbis-tools` no longer supports the i386 architecture.

 See the attached `main.log` or below for the errors:


 {{{
 bash-3.2$ port installed vorbis-tools
 The following ports are currently installed:
   vorbis-tools @1.4.0_2+universal
 bash-3.2$
 bash-3.2$ sudo port clean vorbis-tools
 --->  Cleaning vorbis-tools
 bash-3.2$
 bash-3.2$ sudo port -v upgrade vorbis-tools
 --->  Computing dependencies for vorbis-tools.
 --->  Fetching archive for vorbis-tools

 etc..
 etc..

 4 warnings generated.
   CC       vorbis_comments.o
   CC       opus_format.o
   CC       vgfilter.o
   CCLD     ogg123
 ld: warning: text-based stub file
 /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd
 and library file
 /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are
 out of sync. Falling back to library file for linking.
 ld: warning: text-based stub file
 /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd
 and library file
 /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are
 out of sync. Falling back to library file for linking.
 ld: warning: The i386 architecture is deprecated for macOS (remove from
 the Xcode build setting: ARCHS)
 ld: warning: ignoring file /opt/local/lib/libopusfile.dylib, file was
 built for x86_64 which is not the architecture being linked (i386):
 /opt/local/lib/libopusfile.dylib
 Undefined symbols for architecture i386:
   "_op_bitrate", referenced from:
       _opf_statistics in opus_format.o
   "_op_bitrate_instant", referenced from:
       _opf_statistics in opus_format.o
   "_op_free", referenced from:
       _opf_cleanup in opus_format.o
   "_op_head", referenced from:
       _opf_read in opus_format.o
   "_op_open_callbacks", referenced from:
       _opf_init in opus_format.o
   "_op_pcm_seek", referenced from:
       _opf_seek in opus_format.o
   "_op_pcm_tell", referenced from:
       _opf_seek in opus_format.o
       _opf_statistics in opus_format.o
   "_op_pcm_total", referenced from:
       _opf_statistics in opus_format.o
   "_op_read", referenced from:
       _opf_read in opus_format.o
   "_op_tags", referenced from:
       _opf_read in opus_format.o
 ld: symbol(s) not found for architecture i386
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make[2]: *** [ogg123] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_audio_vorbis-tools/vorbis-tools/work
 /vorbis-tools-1.4.2/ogg123'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_audio_vorbis-tools/vorbis-tools/work
 /vorbis-tools-1.4.2'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_audio_vorbis-tools/vorbis-tools/work
 /vorbis-tools-1.4.2'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_audio_vorbis-tools/vorbis-tools/work
 /vorbis-tools-1.4.2" && /usr/bin/make -j2 -w all
 Exit code: 2
 Error: Failed to build vorbis-tools: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_audio_vorbis-tools/vorbis-
 tools/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 bash-3.2$
 }}}

--

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


More information about the macports-tickets mailing list