Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315765 - dev-lang/swig-1.3.40-r1 fails due to running autogen in empty environment
Summary: dev-lang/swig-1.3.40-r1 fails due to running autogen in empty environment
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-17 16:57 UTC by Marc Hulsman
Modified: 2010-04-22 18:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Hulsman 2010-04-17 16:57:22 UTC
The line:
env - ./autogen.sh || die "Autogen script failed"
in swig-1.3.40-r1.ebuild gives an error, as aclocal cannot be found in the prefix. 
Changing it to:
./autogen.sh || die "Autogen script failed"
fixes the problem, however I am not sure what the original reason was to run autogen in an empty environment.


Reproducible: Always
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-04-21 07:54:20 UTC
Ok, I'll fix it. I was doing some tests and forgot to remove "env -".
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-04-21 08:05:35 UTC
--- ChangeLog	2010-04-16 10:28:28.000000000 +0300
+++ ChangeLog.new	2010-04-21 10:58:19.000000000 +0300
@@ -2,6 +2,10 @@
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.131 2010/04/16 07:28:28 pchrist Exp $
 
+  21 Apr 2010; Panagiotis Christopoulos <pchrist@gentoo.org>
+  swig-1.3.40-r1.ebuild:
+  minor change, fixes bug 315765
+

RESOLVED FIXED. Marc, resync in some hours and give it a try. If it fails again reopen the bug. Thank you for your report.
Comment 3 Fabian Groffen gentoo-dev 2010-04-21 09:04:44 UTC
thanks pchrist!

temp reopening until one of us has the opportunity to merge the fix into the Prefix overlay.
Comment 4 Fabian Groffen gentoo-dev 2010-04-22 18:50:54 UTC
swig appears to be whitelisted, so the thing is synced already