Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92729 - sys-libs/glibc ebuild replaces /etc/locales.build
Summary: sys-libs/glibc ebuild replaces /etc/locales.build
Status: RESOLVED DUPLICATE of bug 72596
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-15 12:11 UTC by Alon Bar-Lev (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
emerge --info glibc (glibc.info,2.00 KB, text/plain)
2005-05-15 23:54 UTC, Alon Bar-Lev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2005-05-15 12:11:18 UTC
When glibc is built, it inputs /etc/locales.build and compile.
The problem is that when it finishes it always replaces /etc/locales.build with a file exists in the files folder of the ebuild.
So emerging glibc twice generate different outputs.

I know that one should be careful and not replace /etc files automatically... But in this case there is no reason to replace the file since it was used as input for the compilation.

Reproducible: Always
Steps to Reproduce:
1. Modify /etc/locales.build
2. Emerge glibc
3. Notice that /etc/locales.build reverted to its defaults.

Actual Results:  
/etc/locales.build always reseted to defaults.

Expected Results:  
If /etc/locales.build existed before ebuild and the userlocales USE was
specified, please leave the etc/locales.build file as is (Don't replace with
default).
I think that if the file was missing it should not be created, so emerging twice
will emerge all locales again.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-05-15 22:40:06 UTC
You failed to include the output of emerge --info
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2005-05-15 23:54:29 UTC
Created attachment 58984 [details]
emerge --info glibc

Sorry, attached emerge --info glibc.
But I've look at all the ebuilds, and they are all the same - Overwrite the
locales.build with the one located in files.
Comment 3 SpanKY gentoo-dev 2005-05-16 15:18:56 UTC

*** This bug has been marked as a duplicate of 72596 ***