The following message is displayed and fails to compile. <snip> checking for C/C++ restrict keyword... __restrict checking for C99 variable-size arrays... yes checking for cos in -lm... yes /var/tmp/portage/media-libs/opus-1.1/work/opus-1.1/configure: ${inline_optimization:0...}: Bad substitution !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-libs/opus-1.1/work/opus-1.1-amd64_fbsd/config.log This issue has been fixed in the upstream. (please see URL) Please add the patch.
Created attachment 386206 [details] opus-1.1.ebuild
Created attachment 386208 [details, diff] files/1.1-fix-configure.ac-shell-bug.patch
Can you please test this ebuild on your amd64_fbsd system and confirm it fixes the problem. You did not specify what non-bash shell you were using so I could not reproduce this bug and test on my system.
Created attachment 387130 [details, diff] patch for opus-1.1.ebuild (In reply to unlord from comment #3) > Can you please test this ebuild on your amd64_fbsd system and confirm it > fixes the problem. You did not specify what non-bash shell you were using > so I could not reproduce this bug and test on my system. Thank you for your comment. I tested your patch (Attachment 386208 [details, diff]). I've confirmed that it works correctly. eautoreconf required in the ebuild. I will attach the patch.
Bump. Can someone take a look on that? Patches are supplied and were tested, so maybe that's time to stabilize opus-1.1?
Same problem with other non-bash shells like dash. Please make this bug block the tracker bug 526268
Patch applied in opus-1.1.ebuild. No revbump since this fixes a build time failure.