Summary: | media-libs/gmyth: fails with forced --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | GStreamer package maintainers <gstreamer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chewi, esigra, gentoo-bugs, mythtv+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/proj/en/qa/asneeded.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: |
Build log
gmyth-as-needed.patch gmyth-as-needed-0.7.1.patch adding patch to ebuild and running autotools fixing as-needed issues (an aclocal) |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 172507 [details]
Build log
Created attachment 202434 [details, diff]
gmyth-as-needed.patch
Patch to fix this. Only Makefile.in needs patching but I also included Makefile.am for completeness.
Created attachment 202436 [details, diff]
gmyth-as-needed-0.7.1.patch
Here's a patch for 0.7.1, which isn't in Portage yet.
*** Bug 234801 has been marked as a duplicate of this bug. *** Well, the patch should only be for Makefile.am and the ebuild needs autotools.eclass and AT_M4DIR="m4" eautoreconf, but **** aclocal ***** ***** PWD: /var/tmp/portage/media-libs/gmyth-0.7/work/gmyth ***** aclocal -I m4 configure.ac:38: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name m4/ac_doxygen.m4:77: DX_REQUIRE_PROG is expanded from... m4/ac_doxygen.m4:117: DX_ARG_ABLE is expanded from... m4/ac_doxygen.m4:178: DX_INIT_DOXYGEN is expanded from... configure.ac:38: the top level autom4te-2.65: /usr/bin/m4 failed with exit status: 1 aclocal-1.10: autom4te failed with exit status: 1 it fails drasticly here, so not applying at this time Created attachment 215827 [details, diff]
adding patch to ebuild and running autotools
Created attachment 215830 [details, diff]
fixing as-needed issues (an aclocal)
Autotools have to be called due to infinite mktemp check.
Package now compiles, however tests fail for me:
1. they fail to compile due to wrong includes <gmyth/*> It can be worked around by cd "${S}"; ln -s src gmyth; make check
2. after successful compilation they run and hang indefinitely
This bug is only related to --as-needed issue Bug 315565 is for the broken test suite Patch applied and now it compiles fine with --as-needed Thanks Kacper |