From: James Le Cuirot <chewi@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] Master plan for fixing elibtoolize
Date: Fri, 17 Mar 2017 23:38:36 +0000 [thread overview]
Message-ID: <20170317233836.13b5de95@symphony.aura-online.co.uk> (raw)
In-Reply-To: <1489770852.1490.6.camel@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 1724 bytes --]
On Fri, 17 Mar 2017 18:14:12 +0100
Michał Górny <mgorny@gentoo.org> wrote:
> Hi, everyone.
>
> Since the bug about libtool.eclass [1] has not received any attention, I
> hereby declare maintainer timeout and start working on improving
> the eclass.
>
> The main goals are to:
>
> a. stop requiring every single autoconf ebuild to call elibtoolize
> manually (and effectively having half-'broken' repository),
Good! This will help immensely with cross-compiling.
> 1.1. split the function into new eclass (PATCH already sent),
The function itself is quite complex. Perhaps this should also go into
a separate package?
> 3. copy elibtoolize logic to Portage, and make it apply implicitly
> on econf [do we need to apply it elsewhere?]; disable explicit
> libtoolize when Portage supports that.
Related to the above point, if you make it part of econf then it needs
to be part of PMS and that's quite a complex beast to have in the spec.
It has been suggested twice on this list (once quite recently) that the
script itself should put into a separate package for this reason. Then
PMS just needs to say "install and use this script" without any further
detail.
Back in September, I tried turning the eclass into an external script
with very few changes to start with, just as a proof of concept. I
removed the few references to other eclass helpers but still retained a
little dependence on variables exported by Portage. I then stuck a call
to this to near the top of econf() and tried out some packages,
including those that had failed on me before. It worked very well
indeed. I don't recall encountering any issues.
--
James Le Cuirot (chewi)
Gentoo Linux Developer
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 981 bytes --]
next prev parent reply other threads:[~2017-03-17 23:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-17 17:14 [gentoo-dev] [RFC] Master plan for fixing elibtoolize Michał Górny
2017-03-17 17:17 ` Alexis Ballier
2017-03-17 23:38 ` James Le Cuirot [this message]
2017-03-18 6:53 ` Michał Górny
2017-03-18 10:18 ` Alexis Ballier
2017-03-18 10:21 ` Michał Górny
2017-03-18 10:31 ` Alexis Ballier
2017-03-18 19:29 ` Peter Stuge
2017-03-22 9:38 ` Alexis Ballier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170317233836.13b5de95@symphony.aura-online.co.uk \
--to=chewi@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox