Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84266 - openmotif-2.2.3-r3 ebuild fails w/collision-protect
Summary: openmotif-2.2.3-r3 ebuild fails w/collision-protect
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 22:48 UTC by gentoo
Modified: 2005-03-06 10:18 UTC (History)
0 users

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 gentoo 2005-03-05 22:48:53 UTC
builds fine, but collision-protect is triggered.
'qpkg -f' on these files does not come up with an owner for them -- presumably they are from the earlier 2.1.30-r5 install of openmotif.


>>> Completed installing openmotif-2.2.3-r3 into /var/tmp/portage/openmotif-2.2.3-r3/image/

* checking 836 files for package collisions
existing file /usr/lib/libXm.a is not owned by this package
existing file /usr/lib/libMrm.a is not owned by this package
existing file /usr/lib/libUil.a is not owned by this package
* spent 1.28462290764 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 x11-libs/openmotif-2.2.3-r3 NOT merged

No package files given... Grabbing a set.


Reproducible: Always
Steps to Reproduce:
1. emerge openmotif-2.2.3-r3 with FEATURES="collision-protect"



Portage 2.0.51.19 (default-linux/sparc/sparc64/2004.3, gcc-3.3.5, glibc-2.3.3.20040420-r2, 2.4.29-
sparc sparc64)
===============================================================
==
System uname: 2.4.29-sparc sparc64 sun4u
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  5 2005, 18:43:47)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.23
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=ultrasparc"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/
share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks fixpackages sandbox test userpriv 
usersandbox"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ ftp://sunsite.ualberta.ca/pub/unix/Linux/
gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X arts berkdb bitmap-fonts crypt cups dlloader encode esd f77 fbcon font-server 
foomaticdb fortran gcc64 gdbm gif gpm gtk gtk2 imap imlib jpeg kde libwww mad mikmod motif mpeg 
ncurses nls oggvorbis opengl oss pam pdflib perl png python qt readline sdl slang spell ssl tcpd tiff 
truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-06 03:52:11 UTC
try to remove all lesstif/openmotif versions and reinstall openmotif-2.2.3-r3
Comment 2 gentoo 2005-03-06 10:15:27 UTC
removing openmotif 2.1.30-r5 left the three problem files, which makes sense as qpkg didn't know who they belonged to.

emerging openmotif-2.2.3-r3 with those files in place fails because of collison-protect, of course.

do you suspect that the three problem files are from lesstif or some older openmotif?  I don't recall offhand if I've ever had lesstif installed (it's certainly not installed now).

$ ls -al /usr/lib/lib{Xm,Mrm,Uil}.a
-rw-r--r--  1 root root  181908 Oct 13 00:30 /usr/lib/libMrm.a
-rw-r--r--  1 root root  503698 Oct 13 00:30 /usr/lib/libUil.a
-rw-r--r--  1 root root 2714670 Oct 13 00:30 /usr/lib/libXm.a

moving them out of the way, openmotif emerges without a problem.

I suspect that they are from openmotif 2.1.30-r5, which I guess means the bug was there:
# strings libXm.a | grep -i version
@(#)Motif Version 2.1.30

Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-06 10:18:45 UTC
Yes, seems to. As long as there are no other people who experience this problem, and openmotif-2.1.30 is deprecated as (openmotif-2.2.3-r4 and motif-config will fix this as well), I'll mark this one as closed