Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145749 - sys-libs/glibc - app-forensics/aide: collision: /usr/lib/locale
Summary: sys-libs/glibc - app-forensics/aide: collision: /usr/lib/locale
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-31 12:03 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2007-09-26 17:22 UTC (History)
2 users (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 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-08-31 12:03:20 UTC
* checking 2354 files for package collisions
1000 files checked ...
2000 files checked ...
existing file /usr/lib/locale is not owned by this package
* spent 2.00983119011 seconds checking for file collisions
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it
* as a bug for this package on http://bugs.gentoo.org

package sys-libs/glibc-2.4-r3 NOT merged

It's the second time I emerge it. First time I removed /usr/lib/locale directory and it happend aggain, so it doesn't look like a temporary problem.

$ ll -d /usr/lib/locale
drwxr-xr-x 6 root root 4.0K 2006-08-31 16:49 /usr/lib/locale

$ equery belongs /usr/lib/locale
[ Searching for file(s) /usr/lib/locale in *... ]
app-forensics/aide-0.10_p20040917 (/usr/lib/locale)

$ emerge --info
Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl http://src.gentoo.pl http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts browserplugin bzip2 cdparanoia cdr cli cracklib crypt cups curl dbus dlloader dri dvd dvdr emboss encode exif expat ffmpeg firefox foomaticdb force-cgi-redirect fortran ftp gdbm gif gimp gimpprint glut gmp gstreamer gtk gtk2 hal imlib ipv6 isdnlog java javascript jpeg kde lzw lzw-tiff mad mng mono mozilla mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam pcre pdf pdflib perl php png pppd python qt3 qt4 quicktime readline reflection samba scanner sdl session soap spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb utf8 vorbis xcomposite xml xorg xpm xv zip zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_pl userland_GNU video_cards_nvidia video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2006-08-31 12:09:28 UTC
i dont think this is a portage bug

aide should not be installing things into /usr/lib/locale
Comment 2 Zac Medico gentoo-dev 2006-08-31 14:34:06 UTC
Well, collision-protect supposed to ignore directories.  I don't see why /usr/lib/locale is triggering a collision here.  Is /var/tmp/portage/glibc-2.4-r3/image/usr/lib/locale a directory or not?
Comment 3 SpanKY gentoo-dev 2006-08-31 14:47:58 UTC
glibc installs symlinks in some libdirs

lrwxrwxrwx  1 root root   17 2006-06-17 18:21 /usr/lib32/locale -> /usr/lib64/locale
drwxr-xr-x 12 root root 4096 2006-08-19 12:22 /usr/lib64/locale
drwxr-xr-x 12 root root 4096 2006-08-19 12:22 /usr/lib/locale
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-09-01 05:19:59 UTC
(In reply to comment #2)
> Is
> /var/tmp/portage/glibc-2.4-r3/image/usr/lib/locale a directory or not?

drwxr-xr-x 6 root root 4.0K 2006-08-31 22:04 /var/tmp/portage/glibc-2.4-r3/image/usr/lib/locale/

It's a directory as you can see.
Comment 5 Daniel Herzog 2006-09-02 08:12:11 UTC
I got the same collision, but here this directory didnt belong to any package.
Comment 6 Zac Medico gentoo-dev 2006-09-02 16:23:54 UTC
What type of filesystem is $PORTAGE_TMPDIR/portage on?  I still don't know why this directory isn't being ignored. Only files for which stat.S_ISREG(os.lstat(myfile)) is True should be considered for collision protection.
Comment 7 Zac Medico gentoo-dev 2006-09-02 16:38:17 UTC
Well, symlinks are also checked, but comment #4 said it wasn't a symlink.
Comment 8 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-09-02 23:36:00 UTC
(In reply to comment #6)
> What type of filesystem is $PORTAGE_TMPDIR/portage on?

ext3:

/dev/hda8 on /var type ext3 (rw,nodev,noatime,data=journal) [var]
Comment 9 Chris Mayo 2006-09-03 13:11:47 UTC
I get the same on emerging glibc for the first time on a fresh 2006.1 amd64 stage 3.

If I do qfile /usr/lib/locale/:
sys-libs/glibc (/usr/lib64/locale)
Comment 10 Zac Medico gentoo-dev 2006-09-03 17:50:54 UTC
(In reply to comment #9)
> I get the same on emerging glibc for the first time on a fresh 2006.1 amd64
> stage 3.
> 
> If I do qfile /usr/lib/locale/:
> sys-libs/glibc (/usr/lib64/locale)

That seems to be an example of bug 80846.

Reassigning to forensics in case they want to do something about app-forensics/aide.
Comment 11 SpanKY gentoo-dev 2006-09-03 18:04:49 UTC
as i said, aide should not be installing into /usr/lib/locale/
Comment 12 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-09-18 08:55:41 UTC
Looks like with recent (amd64 stable) glibc, aide and portage there is no collision. But aide still installs into /usr/lib/locale, so I'm not sure whther this bug should be closed or another opened etc. How do we proceed?
Comment 13 MATSUU Takuto (RETIRED) gentoo-dev 2007-09-26 17:22:43 UTC
0.13.1 in cvs.