| Summary: | sci-physics/lightspeed-1.2a-r1 fails to emerge "Failed Running autoconf" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Kashif <kashifb+bugzilla> |
| Component: | Current packages | Assignee: | Gentoo Science Physics related packages <sci-physics> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | albel727, link |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Ebuild environment file as mentioned in the build log
autoconf.out fixed lightspeed-1.2a-r1.ebuild lightspeed-1.2a-r1.patch to use with the fixed ebuild |
||
|
Description
Kashif
2011-02-05 23:32:56 UTC
And the file, this log mentions ? Created attachment 261636 [details]
Ebuild environment file as mentioned in the build log
Not quite, I was talking about /var/tmp/portage/sci-physics/lightspeed-1.2a-r1/temp/autoconf.out. Created attachment 261657 [details]
autoconf.out
Created attachment 268161 [details]
fixed lightspeed-1.2a-r1.ebuild
The problem was due to implicit dependency on gtk+-1.2 lib. More specifically, on "/usr/share/aclocal/gtk.m4" aclocal package, that comes with it and defines AM_PATH_GTK macro.
There are two ways to solve the problem.
a) add build-time dependency on "x11-libs/gtk+:1" to ebuild.
b) remove offending code branch from "configure.in", which refers to AM_PATH_GTK macro, using a patch.
I have chosen the patch way, because, despite the app supporting both gtk-1.2 and gtk-2.0, the current ebuild explicitly forces it to build using gtk-2.0.
Created attachment 268163 [details, diff]
lightspeed-1.2a-r1.patch to use with the fixed ebuild
fixed. thanks Alex! Great job! It works perfect. |