Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650376 - =media-video/obs-studio-21.0.2 - .../work/obs-studio-21.0.2/deps/obs-scripting/obs-scripting-lua.c:97:2: error: implicit declaration of function ‘luaopen_ffi’; did you mean ‘luaopen_os’? [-Werror=implicit-function-declaration]
Summary: =media-video/obs-studio-21.0.2 - .../work/obs-studio-21.0.2/deps/obs-scriptin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chiitoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-13 10:59 UTC by Zsolt Tóth
Modified: 2018-03-20 07:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,375.76 KB, text/plain)
2018-03-13 10:59 UTC, Zsolt Tóth
Details
output of `emerge --info '=media-video/obs-studio-21.0.2::gentoo'` (build2.log,6.96 KB, text/plain)
2018-03-13 11:00 UTC, Zsolt Tóth
Details
output of `emerge -pqv '=media-video/obs-studio-21.0.2::gentoo'` (build3.log,317 bytes, text/plain)
2018-03-13 11:00 UTC, Zsolt Tóth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zsolt Tóth 2018-03-13 10:59:44 UTC
Created attachment 523712 [details]
build.log

Emerge fails at 72%. See the attached complete build log.
Comment 1 Zsolt Tóth 2018-03-13 11:00:21 UTC
Created attachment 523714 [details]
output of `emerge --info '=media-video/obs-studio-21.0.2::gentoo'`
Comment 2 Zsolt Tóth 2018-03-13 11:00:41 UTC
Created attachment 523716 [details]
output of `emerge -pqv '=media-video/obs-studio-21.0.2::gentoo'`
Comment 3 Chiitoo gentoo-dev 2018-03-17 16:13:14 UTC
Thanks for the report!

This is, in part, due to the automagic detection of SWIG and LuaJIT, and the ebuild not yet handling them.

That said, having installed SWIG and LuaJIT here, the build is a success, so I'm not sure at this time what is going wrong there (or rather why it's doing so).

What version(s) of SWIG and LuaJIT do you have installed?  I'm not too optimistic about that making a difference, and I already tried several combinations locally.

I see that you have 'ACCEPT_KEYWORDS="amd64"', but you also have a bunch of packages from '~amd64'.  Mixing 'stable' with 'unstable' is usually not a good idea.  :]

As a quick workaround, to get OBS Studio going, you could uninstall 'dev-lang/swig' for the duration of the configure/build.
Comment 4 Zsolt Tóth 2018-03-20 07:22:04 UTC
(In reply to Chiitoo from comment #3)
> Thanks for the report!
> 
> This is, in part, due to the automagic detection of SWIG and LuaJIT, and the
> ebuild not yet handling them.
> 
> That said, having installed SWIG and LuaJIT here, the build is a success, so
> I'm not sure at this time what is going wrong there (or rather why it's
> doing so).
> 
> What version(s) of SWIG and LuaJIT do you have installed?  I'm not too
> optimistic about that making a difference, and I already tried several
> combinations locally.
> 
> I see that you have 'ACCEPT_KEYWORDS="amd64"', but you also have a bunch of
> packages from '~amd64'.  Mixing 'stable' with 'unstable' is usually not a
> good idea.  :]
> 
> As a quick workaround, to get OBS Studio going, you could uninstall
> 'dev-lang/swig' for the duration of the configure/build.

Actually, updating LuaJIT to 2.0.5 and re-emerging SWIG solved the issue.