Summary: | media-libs/libtheora-1.1_beta3 fails to install with USE="examples" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Savchenko <bircoph> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arttuv69, asolokha, v_2e |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
environment |
Description
Andrew Savchenko
![]() Created attachment 204880 [details]
build.log
Created attachment 204881 [details]
environment
In my case the process stops at "checking for SDL - version >= 0.11.0..." point. Looks like it isn't going to continue. Doesn't matter with "examples" use flag turned on or off - both cases are the same. (In reply to comment #3) > In my case the process stops at "checking for SDL - version >= 0.11.0..." > point. Looks like it isn't going to continue. > > Doesn't matter with "examples" use flag turned on or off - both cases are the > same. One of you should probably attach a config.log where the sdl detection failure is visible. Currently only a build.log is attached. It shows that linking or compilation of the test program fails, but doesn't give many details about the reason. The following patch should fix this issue. --- libtheora-1.1_beta3.ebuild.jj +++ libtheora-1.1_beta3.ebuild @@ -37,7 +37,8 @@ use doc || export ac_cv_prog_HAVE_DOXYGEN="false" local myconf - use examples && myconf="--enable-encode" + myconf="--enable-encode" + use !encode && use !examples && myconf="--disable-encode" # --disable-spec because LaTeX documentation has been prebuilt econf \ checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 0.11.0... no *** Could not run SDL test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means SDL was incorrectly installed *** or that you have moved SDL since it was installed. In the latter case, you *** may want to edit the sdl-config script: /usr/bin/sdl-config configure: WARNING: *** Unable to find SDL -- Not compiling example players *** This is the reason for the failure. Please attach the config.log file. The reason of failure from original comment was that libtheora has been built without encode support when examples were enabled. Probably line > use examples && myconf="--enable-encode" didn't work for some reason. I cannot reproduce this failure anymore with fix from comment #5. SDL-related failure is apparently a different issue, and maybe separate bug should be filed for it? It looks like everything has been done here for a while as-is. However, as of today the build has REQUIRED_USE="examples? ( encode )" so this is finally closed for good. |