Opened 3 years ago

Closed 2 years ago

#65175 closed defect (fixed)

openal-soft @ 1.22.0_0+universal.darwin_15.i386-x86_64: inline declarations follow non-inline definitions

Reported by: thetrial (alabay) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: elcapitan legacy-os Cc:
Port: openal-soft

Description

I see …

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_openal-soft/openal-soft/work/openal-soft-1.22.0/alc/device.h:159:39: error: inline declaration of 'configValue<float>' follows non-inline definition

and …

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_openal-soft/openal-soft/work/openal-soft-1.22.0/alc/device.h:162:38: note: previous definition is here

I’ll attach the logfile.

Attachments (1)

main.log (106.7 KB) - added by thetrial (alabay) 3 years ago.

Download all attachments as: .zip

Change History (12)

Changed 3 years ago by thetrial (alabay)

Attachment: main.log added

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

Status: assignedaccepted

We see the same problem on the 10.11 buildbot build machine.

We've seen a similar problem before; see #61431.

I've reported it to the developer: https://github.com/kcat/openal-soft/issues/703

comment:2 Changed 3 years ago by thetrial (alabay)

Ha, opened by myself, I see :-) How time passes …

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

I suppose the developers are not testing on clang versions this old anymore so it's only natural that they would repeatedly reintroduce code that works fine on newer compilers but not older ones.

comment:4 Changed 3 years ago by thetrial (alabay)

Is there no fitting newer compiler that works on El Capitan?

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

Sure, using a newer compiler would undoubtedly work; it already does on Lion thru Yosemite. But if the developers are willing to fix the code to work with older compilers I would prefer that to requiring the installation of another compiler.

comment:6 Changed 3 years ago by thetrial (alabay)

Okay, let’s wait. I remember … there was a case where the compiler was manually set higher.

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

If you don't want to wait, you can use sudo port clean openal-soft && sudo port install install openal-soft configure.compiler=macports-clang-14 (or whatever clang port you have installed).

Version 0, edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (next)

comment:8 Changed 3 years ago by thetrial (alabay)

Versions 9 and 13, I took 13 … and it went through. But yes, a general solution would be better, I guess.

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

Resolution: fixed
Status: acceptedclosed

In 84e597111f210a1e40007b4c3116208ec319a0af/macports-ports (master):

openal-soft: Fix build with Apple Clang < 900

Closes: #65175

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

Resolution: fixed
Status: closedreopened

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

Resolution: fixed
Status: reopenedclosed

In 590bd62ab0e7fc144386a7c4cee58e3a02815aed/macports-ports (master):

openal-soft: Fix build with Apple Clang < 900

Closes: #65175

Note: See TracTickets for help on using tickets.