Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159989 - dev-cpp/gtkglextmm : broken autotools handling (cleanup ebuilds please)
Summary: dev-cpp/gtkglextmm : broken autotools handling (cleanup ebuilds please)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 112721 (view as bug list)
Depends on:
Blocks: autotools-deps
  Show dependency tree
 
Reported: 2007-01-04 09:25 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2007-10-05 07:42 UTC (History)
2 users (show)

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


Attachments
tail from dev-cpp/gtkglextmm-1.2.0 build.log (tail_from_gtkglextmm-1.2.0_build.log,1.10 KB, text/plain)
2007-07-09 14:16 UTC, Jean-Marc Hengen
Details
patch for dev-cpp/gtkglextmm-1.2.0.ebuild (gtkglextmm-1.2.0.patch,934 bytes, patch)
2007-07-09 14:35 UTC, Jean-Marc Hengen
Details | Diff
patch for a m4-macro, removing reason for a warning from aclocal (gtkglextmm-1.2.0-aclocal.patch,482 bytes, patch)
2007-07-09 17:40 UTC, Jean-Marc Hengen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-04 09:25:47 UTC
The following ebuilds are found to have broken autotools handling, as they run libtoolize directly (they never should, instead they should call eautoreconf in autotools.eclass, read http://www.gentoo.org/proj/en/qa/autofailure.xml for more information):

./dev-cpp/gtkglextmm/gtkglextmm-1.1.0.ebuild:           libtoolize --force

Please cleanup the ebuilds by asking for stable marking, removing obsolete ebuilds with no relevant keywords, or porting the fixes in newer versions (if presents) to properly handle autotools.

Thanks,
Diego
Comment 1 Jean-Marc Hengen 2007-07-09 14:16:40 UTC
Created attachment 124331 [details]
tail from dev-cpp/gtkglextmm-1.2.0 build.log

After updating some of the {gtk,gnome,...}mm-packages, I needed to recompile gtkglextmm, which failed. I think the reason is the autotools handling. Attached is the log file and I will post a patch for the ebuild, which uses the autotools eclass. The ebuild with applied patch works at least for me. (Only amd64 will get this failure, because the package gets only autoreconfigured for amd64! Seems it is the resolution of Bug 50541)
Comment 2 Jean-Marc Hengen 2007-07-09 14:35:15 UTC
Created attachment 124332 [details, diff]
patch for dev-cpp/gtkglextmm-1.2.0.ebuild

As mentioned, a patch for the gtkglextmm ebuild, which uses autotools eclass. I don't know, whether the eclass also calls automake with --force-missing, if this is important and could be done by giving the eclass some additional arguments (There is a comment about "--force-missing seems not to be recognized by some flavours of automake" in the eclass). I just wanna mention it for completeness, as the patch works for me (on amd64 naturally).

I also patch the sources with the patch from Bug 145608. In order that my patch works, this patch has to be added to the files directory!
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2007-07-09 17:08:08 UTC
+	epatch "${FILESDIR}"/"${P}"-aclocal.patch

Could you provide this patch? Thanks

On a side note, have you tried removing the eautoreconf altogether to see if it works on your system?
Comment 4 Jean-Marc Hengen 2007-07-09 17:40:39 UTC
Created attachment 124341 [details, diff]
patch for a m4-macro, removing reason for a warning from aclocal

As mentioned in bug 145608, the patch is already applied in upstream, but only in cvs. Last release was 27th February 2006 and I saw no sign, that there will be a new release in the next time. The patch only quotes a variable and aclocal won't complain anymore, everytime it is called. So I think, it is cool to have this applied too.

As for leaving out autoreconfigure, I will test it and report the results back.
Comment 5 Jean-Marc Hengen 2007-07-09 17:57:20 UTC
(In reply to comment #3)

> On a side note, have you tried removing the eautoreconf altogether to see if it
> works on your system?

I did remove it and so far no problem with it. It did compile and at runtime it seems also OK, but I did only one runtime test with a small demo for an assignment at university. If further tests or patch for ebuild are wisched, I could provide them. Just say what you need.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-07-12 15:46:45 UTC
*** Bug 112721 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-10-04 21:13:35 UTC
Offending version gone.
Comment 8 Jean-Marc Hengen 2007-10-05 07:42:10 UTC
(In reply to comment #7)
> Offending version gone.

Bug also in version 1.0.1 and 1.2.0. Offending lines in both ebuilds:
if [ "${ARCH}" = "amd64" ]; then
    aclocal -I m4macros
    automake -c -f
    autoconf
fi
Those lines were introduced by Bug 50541. It could be be, that those lines aren't needed anymore in 1.2.0 - see comment #3 and comment #5.

I strongly suggest to also apply the patch attached to this bug in version 1.2.0, see comment #4. In addition to the comment, let me mention, that GtkGLExt is currently unmaintained. There are discussion about including opengl support in gtk (see http://bugzilla.gnome.org/show_bug.cgi?id=119189).

So could someone reopen this bug?