Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59283 - Porting: glib - charset.alias
Summary: Porting: glib - charset.alias
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: PPC Linux
: High minor (vote)
Assignee: osx porters
: 62416 (view as bug list)
Depends on:
Reported: 2004-08-03 09:12 UTC by Robin Munn
Modified: 2005-02-06 13:33 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Robin Munn 2004-08-03 09:12:14 UTC
With the new gentoo-macos-20040726 installation script (which includes collision detection), glib refuses to install, with the error message "existing file /usr/lib/charset.alias is not owned by this package". Since /usr/lib/charset.alias is the only file in conflict (at least on my machine), it's safe to work around this by temporarily turning off collision detection, but that's not a viable long-term solution.

File contents before glib installation, and what glib would modify:

localhost:~ rmunn$ cat /usr/lib/charset.alias 
# This file contains a table of character encoding aliases,
# suitable for operating system 'darwin7.0'.
# It was automatically generated from config.charset.
# Packages using this file:  
localhost:~ rmunn$ cat /var/tmp/portage/glib-2.4.4/image/usr/lib/charset.alias 
# This file contains a table of character encoding aliases,
# suitable for operating system 'darwin'.
# It was automatically generated from config.charset.
# Packages using this file: glib 
localhost:~ rmunn$ 

Note that only comments have changed.

Reproducible: Always
Steps to Reproduce:
1. emerge -av glib

Actual Results:  
Compilation succeeds, but installation fails.

Expected Results:  
Perhaps the /usr/lib/charset.alias should be handled with CONFIG_PROTECT the way
the /etc directory is protected? I don't know what packages want to modify this
file, so I don't know if that would be a workable solution. But the
collision-detection feature needs to handle this file better somehow.

localhost:~ rmunn$ emerge info
!!! Using `which gcc` to gcc locate version, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.4.0 Power
Macintosh powerpc)
System uname: 7.4.0 Power Macintosh powerpc
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
CFLAGS="-O2 -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
FEATURES="collision-protect cvs keepwork"
Comment 1 Robin Munn 2004-08-03 12:40:12 UTC
Oops, left hardware platform set to "All" by mistake. Changing it to "PPC", since there isn't a "macos" choice in the dropdown. (I think we should distinguish ppc from macos in the hardware dropdown, since we distinguish them in the ebuild keywords).
Comment 2 Hasan Khalil (RETIRED) gentoo-dev 2004-08-06 21:09:15 UTC
This should work just fine if you do an emerge sync and then try again. Later installers will either (a) include a more updated portage snapshot, or (b) not carry a portage snapshot at all, and download it on the fly.

Please confirm that the problem is resolved, and close the bug.
Comment 3 Erik Swanson (RETIRED) gentoo-dev 2004-08-06 21:16:23 UTC
I personally vote for not including a snapshot at all, primarily due to's inefficient handling of large numbers of files.
Comment 4 Robin Munn 2004-08-16 13:17:35 UTC
Yes, the most recent ebuilds resolve this bug.
Comment 5 Robin Munn 2004-09-04 18:42:39 UTC
Reopening this bug, because now it's failing again. I don't know what changed in the glib-2.4.4 ebuild since last month, but something clearly did.

See also bug 62416: the same problem seems to exist in glib-2.4.6.
Comment 6 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-24 19:22:57 UTC
*** Bug 62416 has been marked as a duplicate of this bug. ***
Comment 7 Hasan Khalil (RETIRED) gentoo-dev 2004-09-30 13:20:37 UTC
j4rg0n and i took care of this a few days ago.
Comment 8 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:29 UTC
Closing out bugs that've been resolved for a while now...