Opened 2 years ago

Closed 2 years ago

#64268 closed defect (fixed)

rubberband: Undefined symbols for architecture x86_64: "___sincos_stret"

Reported by: mrkapqa Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: lion Cc:
Port: rubberband

Description

--->  Building rubberband                                
Error: Failed to build rubberband: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_rubberband/rubberband/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port mpv failed
--->  Some of the ports you installed have notes:
  py39-docutils has the following notes:
    To make the Python 3.9 version of docutils the one that is run when you
    execute the commands without a version suffix, e.g. 'rst2man', run:
    
    port select --set docutils py39-docutils

Attachments (1)

mpv.log (31.3 KB) - added by mrkapqa 2 years ago.

Download all attachments as: .zip

Change History (8)

Changed 2 years ago by mrkapqa

Attachment: mpv.log added

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mpv rubberband removed
Owner: set to ryandesign
Port: rubberband added; mpv removed
Status: newassigned
Summary: (mpv,lion) failed to configure rubberbandrubberband: Undefined symbols for architecture x86_64: "___sincos_stret"

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

Status: assignedaccepted

What I've learned is:

  • ___sincos_stret is emitted by the compiler when a program wants both sin(x) and cos(x) since it is faster to compute both at once and that's what ___sincos_stret does
  • ___sincos_stret was added in OS X 10.9 so since you are on 10.7 it shouldn't be getting used
  • the build is using -mmacosx-version-min=10.13 to indicate that 10.13 is the minimum OS version it wants to be supported, which explains why ___sincos_stret is being used, but probably also means the port doesn't actually work on OS versions earlier than 10.13 at the moment.

I probably just need to find wherever this 10.13 minimum is being set and remove it. However it's possible there is a good reason why the developers set it.

comment:3 Changed 2 years ago by mrkapqa

Thanks,

not so long ago (maybe 3-4 months probably) was able to install a working version of mpv via macports comfortably on a computer running mountain lion. is it possible to press a "button" to install this "version" instead of the latest and newest that doesnt seem to build on older iterations of mac os x any longer§? sorry for my request, but i have grown fond of installing software by simply typing a few words into a terminal window.

comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

The problem with rubberband will be solved, I think, once I push a commit which is part of a batch of other work that I'm not done with yet.

To install an older port, see wiki:howto/InstallingOlderPort.

comment:5 Changed 2 years ago by mrkapqa

Thank you very much for your help ryandesign; attempted to use the guide to install older version, but don§t know if by design or not, it still seems try to use "rubberband-2.0.0_0.darwin_12.x86_64.tbz" which is the same as newer version of mpv tries to build? therefore it fails also for older mpv? would i have to include also manually an older version of rubberband in the equation?

comment:6 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

So far we haven't seen any evidence of any problem with the current version of mpv. The only problem you've reported here is a problem with rubberband. But just give me a couple hours and hopefully by then I'll finish the rest of the bits and have the fix pushed.

comment:7 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 7132745bc362fe40057a5edc8bbd341ffb41b363/macports-ports (master):

rubberband: Use the right deployment target

Set -mmacosx-version-min to prevent the build system from setting its
own value.

Closes: #64268

Patch the build system so it doesn't request C++14 for no reason.

Patch the build system so it doesn't add -arch flags that might be
different from the ones MacPorts wants to use.

Note: See TracTickets for help on using tickets.