Opened 12 months ago

Last modified 3 months ago

#68654 new defect

gstreamer1-gst-plugins-bad @1.16.2_11+x11: Undefined symbols: "half::_toFloat"

Reported by: leonpano2006 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: gstreamer1-gst-plugins-bad

Description

it failed to install (even i remove all ports to reinstall everything still failed)

Fetching archive for gstreamer1-gst-plugins-bad
--->  Attempting to fetch gstreamer1-gst-plugins-bad-1.16.2_11+x11.darwin_22.x86_64.tbz2 from https://packages.macports.org/gstreamer1-gst-plugins-bad
--->  Attempting to fetch gstreamer1-gst-plugins-bad-1.16.2_11+x11.darwin_22.x86_64.tbz2 from https://fra.de.packages.macports.org/gstreamer1-gst-plugins-bad
--->  Attempting to fetch gstreamer1-gst-plugins-bad-1.16.2_11+x11.darwin_22.x86_64.tbz2 from https://nue.de.packages.macports.org/gstreamer1-gst-plugins-bad
--->  Building gstreamer1-gst-plugins-bad
Error: Failed to build gstreamer1-gst-plugins-bad: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gstreamer1-gst-plugins-bad/gstreamer1-gst-plugins-bad/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port file-roller failed

Attachments (1)

main.log (7.5 MB) - added by leonpano2006 12 months ago.

Change History (6)

Changed 12 months ago by leonpano2006

Attachment: main.log added

comment:1 Changed 12 months ago by leonpano2006

log is attached

check attachment first before ask me to upload something

Last edited 12 months ago by leonpano2006 (previous) (diff)

comment:2 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Priority: HighNormal
Summary: Error: Failed to build gstreamer1-gst-plugins-bad: command execution failedgstreamer1-gst-plugins-bad @1.16.2_11+x11: Undefined symbols: "half::_toFloat"

The log contains 21 attempts to install this port. The first dozen or so attempts failed because:

:info:build Undefined symbols for architecture x86_64:
:info:build   "half::_toFloat", referenced from:
:info:build       gst_openexr_dec_handle_frame(_GstVideoDecoder*, _GstVideoCodecFrame*) in libgstopenexr_la-gstopenexrdec.o
:info:build ld: symbol(s) not found for architecture x86_64

The remaining attempts failed because you originally had gsed installed but then uninstalled it, leading to:

:info:build ../../libtool: line 1323: /opt/local/bin/gsed: No such file or directory

I think half::_toFloat is, or used to be, part of one of gstreamer1-gst-plugins-bad's dependencies, openexr. Maybe openexr was updated to a new version that no longer exports that symbol and this old version of gstreamer1-gst-plugins-bad is not compatible with it. Maybe updating gstreamer1-gst-plugins-bad, and the rest of the gstreamer1 ports, to the latest version would fix the problem. The ports do not currently have a maintainer and are several major versions out of date. Perhaps someone can volunteer to figure out what is necessary to do the update.

comment:3 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

On the other hand, we did have a successful build of gstreamer1-gst-plugins-bad on the macOS Sonoma x86_64 buildbot worker in October and openexr was last updated in August. The buildbot build log has already expired but I just tried a build on my Monterey x86_64 system and it succeeded. I will see if I can find any relevant differences between your log and mine.

comment:4 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Unfortunately I don't see an explanation when I compare our logs.

Maybe there have been other changes in MacPorts that caused a momentary problem back in September when you first tried which have been resolved since then. Could you try sudo port clean gstreamer1-gst-plugins-bad and sudo port sync and then try building it again? Let's see if the same error about half::_toFloat occurs then.

comment:5 Changed 3 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.