Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118598 - libtool should depend on perl without the minimal flag set
Summary: libtool should depend on perl without the minimal flag set
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 17:14 UTC by Stefan de Konink
Modified: 2008-02-22 23:53 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 Stefan de Konink 2006-01-10 17:14:49 UTC
Summary says all, if it is set it will never get to the compile stage.
Comment 1 SpanKY gentoo-dev 2006-01-10 20:42:45 UTC
perl should be installed on all Gentoo systems
Comment 2 Stefan de Konink 2006-01-11 04:11:20 UTC
Sometimes I wonder on here if people deliberately ignore problems. SpanKY, if perl *is* installed with minimal, libtool won't compile.
Comment 3 SpanKY gentoo-dev 2006-01-11 05:19:55 UTC
whats your point ?  the perl ebuild already warned you that the resulting perl would be quite, ahem, minimal

more than just libtool will fail to build, tracking all of these is a waste of time
Comment 4 Stefan de Konink 2006-01-11 05:39:08 UTC
(In reply to comment #3)
> more than just libtool will fail to build, tracking all of these is a waste of
> time

I thought the point of dependencies was to track down the required elements of a package to compile and to run it, if you ignore useflags, pkgconfig and all other sorts of required elements, why bother to call them dependencies if you assume the rest of the 'dependencies' is already installed.

When people spend time making ebuilds, why would do half a job in dep tracking? I really don't see the point why anyone would leave out deps when they are pointed at them. Especially when it is so easy to reproduce (or should I say: make the error?).
Comment 5 SpanKY gentoo-dev 2006-01-11 06:59:26 UTC
in the case of the 'minimal' USE flag, it's meant for very specific use (aka embedded), not for anything else

so tracking the fact that 90% of ebuilds fail due to this is a waste of time
Comment 6 Stefan de Konink 2006-01-11 07:14:52 UTC
I can live with the situation. Point made :)
Comment 7 Thomas Capricelli 2008-02-21 19:10:25 UTC
Comment  #1 From SpanKY : "perl should be installed on all Gentoo systems"

ermm.. despite the fact that this makes quite a huge dependancy (there's already python), i have the following question : if that's so, why isn't perl included in the "system" list ?
Comment 8 SpanKY gentoo-dev 2008-02-22 03:06:17 UTC
the status of perl wrt system is irrelevant when talking about libtool

libtool does not execute perl
Comment 9 Thomas Capricelli 2008-02-22 16:28:13 UTC
# emerge libtool
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sys-devel/libtool-1.5.26 to /
 * libtool-1.5.26.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                     [ ok ]
 * checking libtool-1.5.26.tar.gz ;-) ...                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking libtool-1.5.26.tar.gz to /var/tmp/portage/sys-devel/libtool-1.5.26/work
 * Applying libtool-1.5.20-use-linux-version-in-fbsd.patch ...                                             [ ok ]
 * Applying libtool-1.5.10-locking.patch ...                                                               [ ok ]
 * Applying libtool-1.5.20-version-checking.patch ...                                                      [ ok ]
 * Applying libtool-1.5-filter-host-tags.patch ...                                                         [ ok ]
 * Applying libtool-1.5.20-override-LD_LIBRARY_PATH.patch ...                                              [ ok ]
 * Generating ltmain.sh ...                                                                                [ ok ]
 * Running autotools in '.' ...
 * QA Notice: 'aclocal' called by src_unpack: sys-devel/libtool-1.5.26
 * Use autotools.eclass instead of calling 'aclocal' directly.
/usr/bin/aclocal: /usr/bin/aclocal-1.10: /usr/bin/perl: bad interpreter: No such file or directory
/usr/bin/aclocal: line 156: /usr/bin/aclocal-1.10: Success
 *
 * ERROR: sys-devel/libtool-1.5.26 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2097:  Called die
 * The specific snippet of code:
 *               ${p} || die "${p}";
 *  The die message:
 *   aclocal
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/libtool-1.5.26/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/libtool-1.5.26/temp/environment'.
 *

Comment 10 Doug Goldstein (RETIRED) gentoo-dev 2008-02-22 16:40:36 UTC
aclocal calls perl, not libtool. However, aclocal comes from automake. libtool has automake in RDEPEND and DEPEND (this is proper). automake depends on perl. So, perl does get properly pulled in. I'm willing to guess that you decided to unmerge a bunch of packages and are now trying to emerge a few.

post the output of:
emerge -puDNv world 
Comment 11 Thomas Capricelli 2008-02-22 17:26:28 UTC
I have no problem on my computer. As said in previous post, i just wonder, why isn't perl included in the "system" list ?

I had removed perl because  it's bloating my hard disk. It is in the top #5 for disk space usage, using the oh-so-useful script 
equery size |awk '{ print $4 " " $1}' | sed -e 's/^size(\(.*\))/\1/' | sort -n

Although it seems gentoo is not usable without perl. So I just wonder.. why not perl in system ?
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2008-02-22 17:33:04 UTC
Because perl is properly depended on in all the packages. The "system" set is for low level packages that can not properly depend because of inter-depends that low.
Comment 13 SpanKY gentoo-dev 2008-02-22 21:49:11 UTC
Thomas: if you removed perl, then you should have removed everything that RDEPENDs on it as well.  if you didnt, then you broke your system, and there is nothing wrong with the ebuilds in the tree or the package manager you're using.

as Doug points out, the autotool ebuilds all have proper RDEPEND/DEPEND values wrt to perl and other autotool packages

Gentoo is perfectly usable in a binary situation w/out perl
Comment 14 Thomas Capricelli 2008-02-22 23:53:51 UTC
"Gentoo is perfectly usable in a binary situation w/out perl"

-> yes, that was my conclusion too. Although you will need it as soon as you need to compile/install anything. Too bad, but i know it's not gentoo's fault.

Thanks for the explanations.
regards,
Thomas