* [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
@ 2005-07-16 0:33 Diego 'Flameeyes' Pettenò
2005-07-16 0:45 ` Mike Frysinger
0 siblings, 1 reply; 14+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-07-16 0:33 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]
Hi,
Just another issue that it's easily handled anyway.
On Gentoo/FreeBSD and probably every other system using dev-util/libiconv
instead of the glibc-provided one creates the /usr/lib/charset.alias file.
Unfortunately this gets conflict over different packages.
The good way to handle this is just remove it out of the packages, as libiconv
takes care of it. So if nobody disagrees, I'm going to add an rm -f
${D}/usr/$(get_libdir)/charset.alias to the ebuilds which installs that file
on g/fbsd.
Thanks again,
--
Diego "Flameeyes" Pettenò
Gentoo Developer - http://dev.gentoo.org/~flameeyes/
(Gentoo/FreeBSD, Video, Gentoo/AMD64, Sound, PAM)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-16 0:33 [gentoo-dev] [G/FBSD] /usr/lib/charset.alias Diego 'Flameeyes' Pettenò
@ 2005-07-16 0:45 ` Mike Frysinger
2005-07-16 1:15 ` Kito
2005-07-16 9:05 ` Diego 'Flameeyes' Pettenò
0 siblings, 2 replies; 14+ messages in thread
From: Mike Frysinger @ 2005-07-16 0:45 UTC (permalink / raw
To: gentoo-dev
On Friday 15 July 2005 08:33 pm, Diego 'Flameeyes' Pettenò wrote:
> On Gentoo/FreeBSD and probably every other system using dev-util/libiconv
> instead of the glibc-provided one creates the /usr/lib/charset.alias file.
> Unfortunately this gets conflict over different packages.
i thought the packages that create that file do so because they were utilizing
some bundled crap ...
regardless, i think this should be done on a global scale rather than
per-package ... why not add some bashrc-foo to your profile ?
can i get access to a fbsd box so i can test some of this crap ? i'd like to
investigate sed/e2fsprogs and why it installs those files ...
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-16 0:45 ` Mike Frysinger
@ 2005-07-16 1:15 ` Kito
2005-07-16 1:20 ` Mike Frysinger
2005-07-16 9:05 ` Diego 'Flameeyes' Pettenò
1 sibling, 1 reply; 14+ messages in thread
From: Kito @ 2005-07-16 1:15 UTC (permalink / raw
To: gentoo-dev
On Jul 15, 2005, at 7:45 PM, Mike Frysinger wrote:
> On Friday 15 July 2005 08:33 pm, Diego 'Flameeyes' Pettenò wrote:
>
>> On Gentoo/FreeBSD and probably every other system using dev-util/
>> libiconv
>> instead of the glibc-provided one creates the /usr/lib/
>> charset.alias file.
>> Unfortunately this gets conflict over different packages.
Exact same situation with Darwin/OS X...
>>
>
> i thought the packages that create that file do so because they
> were utilizing
> some bundled crap ...
>
> regardless, i think this should be done on a global scale rather than
> per-package ... why not add some bashrc-foo to your profile ?
Globally would definitely be better IMO. But how would bash-fu in a
profile prevent a collision during a merge?
>
> can i get access to a fbsd box so i can test some of this crap ?
> i'd like to
> investigate sed/e2fsprogs and why it installs those files ...
> -mike
>
> --
> gentoo-dev@gentoo.org mailing list
>
>
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-16 1:15 ` Kito
@ 2005-07-16 1:20 ` Mike Frysinger
0 siblings, 0 replies; 14+ messages in thread
From: Mike Frysinger @ 2005-07-16 1:20 UTC (permalink / raw
To: gentoo-dev
On Friday 15 July 2005 09:15 pm, Kito wrote:
> On Jul 15, 2005, at 7:45 PM, Mike Frysinger wrote:
> > regardless, i think this should be done on a global scale rather than
> > per-package ... why not add some bashrc-foo to your profile ?
>
> Globally would definitely be better IMO. But how would bash-fu in a
> profile prevent a collision during a merge?
if your bash fu is good enough, you'd delete the file in $D before it ever hit
$ROOT
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-16 0:45 ` Mike Frysinger
2005-07-16 1:15 ` Kito
@ 2005-07-16 9:05 ` Diego 'Flameeyes' Pettenò
2005-07-16 17:07 ` Marius Mauch
1 sibling, 1 reply; 14+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-07-16 9:05 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]
On Saturday 16 July 2005 02:45, Mike Frysinger wrote:
> i thought the packages that create that file do so because they were
> utilizing some bundled crap ...
No, they create that when the uses internal libiconv/gettxt on GLIBC systems
and when using external libiconv in non-GLIBC sysems. That's because the
locales in GLIBC are the same as handled by libiconv but it's not true with
FBSD's libc.
> regardless, i think this should be done on a global scale rather than
> per-package ... why not add some bashrc-foo to your profile ?
Don't think like this is a task for the profile, but maybe we can do something
with FEATURES inside of portage.
> can i get access to a fbsd box so i can test some of this crap ? i'd like
> to investigate sed/e2fsprogs and why it installs those files ...
My box right now has a bit of trouble, mainly for temperature. spb maybe has
one.
--
Diego "Flameeyes" Pettenò
Gentoo Developer - http://dev.gentoo.org/~flameeyes/
(Gentoo/FreeBSD, Video, Gentoo/AMD64, Sound, PAM)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-16 9:05 ` Diego 'Flameeyes' Pettenò
@ 2005-07-16 17:07 ` Marius Mauch
2005-07-16 17:23 ` Diego 'Flameeyes' Pettenò
2005-07-17 0:26 ` Mike Frysinger
0 siblings, 2 replies; 14+ messages in thread
From: Marius Mauch @ 2005-07-16 17:07 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 706 bytes --]
On Sat, 16 Jul 2005 11:05:09 +0200
"Diego 'Flameeyes' Pettenò" <flameeyes@gentoo.org> wrote:
> On Saturday 16 July 2005 02:45, Mike Frysinger wrote:
> > regardless, i think this should be done on a global scale rather
> > than per-package ... why not add some bashrc-foo to your profile ?
> Don't think like this is a task for the profile, but maybe we can do
> something with FEATURES inside of portage.
No new FEATURES for trivial stuff like this, but what about using
INSTALL_MASK?
Marius
--
Public Key at http://www.genone.de/info/gpg-key.pub
In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-16 17:07 ` Marius Mauch
@ 2005-07-16 17:23 ` Diego 'Flameeyes' Pettenò
2005-07-17 0:26 ` Mike Frysinger
1 sibling, 0 replies; 14+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-07-16 17:23 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
On Saturday 16 July 2005 19:07, Marius Mauch wrote:
> No new FEATURES for trivial stuff like this, but what about using
> INSTALL_MASK?
A mask for things that doesn't get installed? Yeah that could work, too.
--
Diego "Flameeyes" Pettenò
Gentoo Developer - http://dev.gentoo.org/~flameeyes/
(Gentoo/FreeBSD, Video, Gentoo/AMD64, Sound, PAM)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-16 17:07 ` Marius Mauch
2005-07-16 17:23 ` Diego 'Flameeyes' Pettenò
@ 2005-07-17 0:26 ` Mike Frysinger
2005-07-17 13:34 ` Diego 'Flameeyes' Pettenò
1 sibling, 1 reply; 14+ messages in thread
From: Mike Frysinger @ 2005-07-17 0:26 UTC (permalink / raw
To: gentoo-dev
On Saturday 16 July 2005 01:07 pm, Marius Mauch wrote:
> On Sat, 16 Jul 2005 11:05:09 +0200
>
> "Diego 'Flameeyes' Pettenò" <flameeyes@gentoo.org> wrote:
> > On Saturday 16 July 2005 02:45, Mike Frysinger wrote:
> > > regardless, i think this should be done on a global scale rather
> > > than per-package ... why not add some bashrc-foo to your profile ?
> >
> > Don't think like this is a task for the profile, but maybe we can do
> > something with FEATURES inside of portage.
>
> No new FEATURES for trivial stuff like this, but what about using
> INSTALL_MASK?
ah, i'd forgotten about that sweet feature from iggy
is INSTALL_MASK cumulative ? if it is, then bsd/darwin wh0res can simply add
that to their base profile:
INSTALL_MASK="/usr/lib/charset.alias"
this of course assumes that *no package* should ever install that file,
including your bsd libc ...
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-17 0:26 ` Mike Frysinger
@ 2005-07-17 13:34 ` Diego 'Flameeyes' Pettenò
2005-07-17 14:17 ` Mike Frysinger
0 siblings, 1 reply; 14+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-07-17 13:34 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 394 bytes --]
On Sunday 17 July 2005 02:26, Mike Frysinger wrote:
> this of course assumes that *no package* should ever install that file,
> including your bsd libc ...
Actually, libiconv should install that file, at least.
We can RESTRICT it for just a package?
--
Diego "Flameeyes" Pettenò
Gentoo Developer - http://dev.gentoo.org/~flameeyes/
(Gentoo/FreeBSD, Video, Gentoo/AMD64, Sound, PAM)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-17 13:34 ` Diego 'Flameeyes' Pettenò
@ 2005-07-17 14:17 ` Mike Frysinger
2005-07-17 16:03 ` Ned Ludd
0 siblings, 1 reply; 14+ messages in thread
From: Mike Frysinger @ 2005-07-17 14:17 UTC (permalink / raw
To: gentoo-dev
On Sunday 17 July 2005 09:34 am, Diego 'Flameeyes' Pettenò wrote:
> On Sunday 17 July 2005 02:26, Mike Frysinger wrote:
> > this of course assumes that *no package* should ever install that file,
> > including your bsd libc ...
>
> Actually, libiconv should install that file, at least.
> We can RESTRICT it for just a package?
i dont think so
you could see if doing something like `export INSTALL_MASK=""` in src_unpack()
helps ... if it doesnt, i think the only other option would be to add
something like this to profile bashrc:
if [ "${CATEGORY}/${PN}" != "sys-libs/libiconv" ] ; then
export INSTALL_MASK="/usr/lib/charset.alias"
fi
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-17 14:17 ` Mike Frysinger
@ 2005-07-17 16:03 ` Ned Ludd
2005-07-18 4:47 ` Mike Frysinger
0 siblings, 1 reply; 14+ messages in thread
From: Ned Ludd @ 2005-07-17 16:03 UTC (permalink / raw
To: gentoo-dev
On Sun, 2005-07-17 at 10:17 -0400, Mike Frysinger wrote:
> On Sunday 17 July 2005 09:34 am, Diego 'Flameeyes' Pettenò wrote:
> > On Sunday 17 July 2005 02:26, Mike Frysinger wrote:
> > > this of course assumes that *no package* should ever install that file,
> > > including your bsd libc ...
> >
> > Actually, libiconv should install that file, at least.
> > We can RESTRICT it for just a package?
>
> i dont think so
>
> you could see if doing something like `export INSTALL_MASK=""` in src_unpack()
> helps ... if it doesnt, i think the only other option would be to add
> something like this to profile bashrc:
> if [ "${CATEGORY}/${PN}" != "sys-libs/libiconv" ] ; then
> export INSTALL_MASK="/usr/lib/charset.alias"
> fi
INSTALL_MASK is non cumulative.
Please use INSTALL_MASK="${INSTALL_MASK} /usr/lib/charset.alias" as to not override the user in anyway.
--
Ned Ludd <solar@gentoo.org>
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-17 16:03 ` Ned Ludd
@ 2005-07-18 4:47 ` Mike Frysinger
2005-07-19 11:39 ` Ned Ludd
0 siblings, 1 reply; 14+ messages in thread
From: Mike Frysinger @ 2005-07-18 4:47 UTC (permalink / raw
To: gentoo-dev
On Sunday 17 July 2005 12:03 pm, Ned Ludd wrote:
> INSTALL_MASK is non cumulative.
> Please use INSTALL_MASK="${INSTALL_MASK} /usr/lib/charset.alias" as to not
> override the user in anyway.
any harm with making it cumulative ? iirc, it takes just a few minor tweaks
to portage to declare it as such
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-18 4:47 ` Mike Frysinger
@ 2005-07-19 11:39 ` Ned Ludd
2005-07-19 12:53 ` Mike Frysinger
0 siblings, 1 reply; 14+ messages in thread
From: Ned Ludd @ 2005-07-19 11:39 UTC (permalink / raw
To: gentoo-dev
On Mon, 2005-07-18 at 00:47 -0400, Mike Frysinger wrote:
> On Sunday 17 July 2005 12:03 pm, Ned Ludd wrote:
> > INSTALL_MASK is non cumulative.
> > Please use INSTALL_MASK="${INSTALL_MASK} /usr/lib/charset.alias" as to not
> > override the user in anyway.
> any harm with making it cumulative ?
> iirc, it takes just a few minor tweaks
> to portage to declare it as such
None that I can think of. other than it not working that way now and if
we start assuming it does too soon in the next XYZ version and the user
is still on ABC they will end up with a non up masked files. Not that it
should be to much of a real problem as imasking remains one of portages
better kept secrets and not that many people are using them outside of
embedded.
--
Ned Ludd <solar@gentoo.org>
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] [G/FBSD] /usr/lib/charset.alias
2005-07-19 11:39 ` Ned Ludd
@ 2005-07-19 12:53 ` Mike Frysinger
0 siblings, 0 replies; 14+ messages in thread
From: Mike Frysinger @ 2005-07-19 12:53 UTC (permalink / raw
To: gentoo-dev
On Tuesday 19 July 2005 07:39 am, Ned Ludd wrote:
> On Mon, 2005-07-18 at 00:47 -0400, Mike Frysinger wrote:
> > On Sunday 17 July 2005 12:03 pm, Ned Ludd wrote:
> > > INSTALL_MASK is non cumulative.
> > > Please use INSTALL_MASK="${INSTALL_MASK} /usr/lib/charset.alias" as to
> > > not override the user in anyway.
> >
> > any harm with making it cumulative ?
> > iirc, it takes just a few minor tweaks
> > to portage to declare it as such
>
> None that I can think of. other than it not working that way now and if
> we start assuming it does too soon in the next XYZ version and the user
> is still on ABC they will end up with a non up masked files. Not that it
> should be to much of a real problem as imasking remains one of portages
> better kept secrets and not that many people are using them outside of
> embedded.
right, most people arent using it right now so i dont see much harm in
changing (improving!) behavior
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2005-07-19 12:55 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-16 0:33 [gentoo-dev] [G/FBSD] /usr/lib/charset.alias Diego 'Flameeyes' Pettenò
2005-07-16 0:45 ` Mike Frysinger
2005-07-16 1:15 ` Kito
2005-07-16 1:20 ` Mike Frysinger
2005-07-16 9:05 ` Diego 'Flameeyes' Pettenò
2005-07-16 17:07 ` Marius Mauch
2005-07-16 17:23 ` Diego 'Flameeyes' Pettenò
2005-07-17 0:26 ` Mike Frysinger
2005-07-17 13:34 ` Diego 'Flameeyes' Pettenò
2005-07-17 14:17 ` Mike Frysinger
2005-07-17 16:03 ` Ned Ludd
2005-07-18 4:47 ` Mike Frysinger
2005-07-19 11:39 ` Ned Ludd
2005-07-19 12:53 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox