|Summary:||sci-mathematics/maxima: automake called by maintainer-mode|
|Product:||Gentoo Linux||Reporter:||Diego Elio Pettenò (RETIRED) <flameeyes>|
|Component:||New packages||Assignee:||Gentoo Science Mathematics related packages <sci-mathematics>|
|Severity:||QA||CC:||frp.bissey, grozin, n-roeser|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
Description Diego Elio Pettenò (RETIRED) 2009-01-20 18:18:51 UTC
Hello, You're receiving this canned (template-based) bug report because I found a problem with a package during my tinderbox run. The package in question is running automake (and most likely other autotools) during compile phase by maintainer-mode. You can see in my blog post in the URL field why that's a problem, and how to address the issue, but in general, you don't want maintainer-mode rebuild during compile phase, especially since it can cause multiple run of econf. The causes of maintainer-mode rebuild are various, but most likely it's because of a patch that changes Makefile.am or configure.ac/in and don't rebuild autotools properly. The way to fix this is almost always to inherit autotools eclass and run eautomake/eautoreconf (as needed; eautoconf should only be used when automake is not involved, which is not the case here) during src_unpack phase. Thanks, Diego
Comment 1 Diego Elio Pettenò (RETIRED) 2009-01-20 18:19:17 UTC
Created attachment 179106 [details] Build log
Comment 2 Sébastien Fabbro (RETIRED) 2010-01-13 17:31:38 UTC
Is this resolved in recent versions of maxima?
Comment 3 François Bissey 2010-01-31 21:35:37 UTC
(In reply to comment #2) > > Is this resolved in recent versions of maxima? > I don't see any call to maintainer mode in my build logs of maxima. I just had a look at the ebuild and makefile.in files are touched without ever calling eautoreconf (I'll have to have a look at the source to see the corresponding .am files). Worse a makefile is touched during src_configure while there is also src_prepare. I think we don't see a second run of configure because maintainer mode has been switched off upstream rather than by us doing the right thing in the ebuild.
Comment 4 Justin Lecher (RETIRED) 2010-06-24 12:08:11 UTC
I assume this to be fixed.
Comment 5 Justin Lecher (RETIRED) 2010-06-27 12:35:54 UTC
Seems not to be fixed.
Comment 6 François Bissey 2010-06-29 10:03:24 UTC
OK I put an ebuild for maxima-5.20.1 in the overlay that has a solution for this problem. I uploaded this version because that was the latest when I started to work on this problem and we need this version in sage. I will port the fix to 5.18 (stable) and 5.21 (latest) later. But I wanted to put something in the overlay that show how it works. I had some trouble finishing maxima-wish.patch - stupid syntax problem with ac_arg_with I can't believe it took me almost 5 months to get around it. I had a simpler version of that patch but I decided to go with something that would work with use_with.
Comment 7 Andrey Grozin 2010-09-17 11:33:26 UTC
Fixed in maxima-5.22.1.ebuild by importing Francois' improvements from the science overlay.