First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 45682
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Kerberos Maintainers <kerberos@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrea Cerrito <is@gentestrana.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 45682 depends on: Show dependency tree
Bug 45682 blocks: 74963
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-25 00:13 0000
Heimdal 0.6 overwrite files installed by other packages.
Because heimdal 0.6 breaks evolution compile, I've done some tests. Evolution fails about libcom_err.a

Knoppix distfiles # qpkg -f /usr/lib/libcom_err.a
app-crypt/heimdal *
sys-fs/e2fsprogs *

So I tested e2fsprogs.
Knoppix distfiles # qpkg -c -v e2fsprogs
sys-fs/e2fsprogs-1.34 *
/usr/share/man/man1/compile_et.1.gz !md5! !mtime!
/usr/share/et/et_c.awk !md5! !mtime!
/usr/share/et/et_h.awk !md5! !mtime!
/usr/bin/compile_et !md5! !mtime!
/usr/bin/mk_cmds !md5! !mtime!
/usr/lib/libcom_err.a !md5! !mtime!
/usr/lib/libss.a !md5! !mtime!
/usr/lib/libcom_err.so !md5! !mtime!
8/159

So, searching db about these files:

Knoppix distfiles # qpkg -f /usr/share/man/man1/compile_et.1.gz
app-crypt/mit-krb5 *
sys-fs/e2fsprogs *
Knoppix distfiles # qpkg -f /usr/share/et/et_c.awk
app-crypt/mit-krb5 *
sys-fs/e2fsprogs *
Knoppix distfiles # qpkg -f /usr/share/et/et_h.awk
app-crypt/mit-krb5 *
sys-fs/e2fsprogs *
Knoppix distfiles # qpkg -f /usr/bin/compile_et
app-crypt/heimdal *
app-crypt/mit-krb5 *
sys-fs/e2fsprogs *
Knoppix distfiles # qpkg -f /usr/bin/mk_cmds
app-crypt/heimdal *
sys-fs/e2fsprogs *
Knoppix distfiles # qpkg -f /usr/lib/libcom_err.a
app-crypt/heimdal *
sys-fs/e2fsprogs *
Knoppix distfiles # qpkg -f /usr/lib/libcom_err.so
app-crypt/mit-krb5 *
sys-fs/e2fsprogs *
Knoppix distfiles # qpkg -f /usr/lib/libss.a
app-crypt/heimdal *
sys-fs/e2fsprogs *
Knoppix distfiles #

I've had to unmerge heimdal and re-emerge e2fsprogs to solve evolution compile problems.

Reproducible: Always
Steps to Reproduce:
1. emerge heimdal
2. emerge evolution
3.

Actual Results:  
gcc -shared  broken-date-parser.lo camel-address.lo camel-arg.lo camel-block-
file.lo camel-certdb.lo camel-charset-map.lo camel-cipher-context.lo camel-cms-
context.lo camel-data-cache.lo camel-data-wrapper.lo camel-digest-folder.lo 
camel-digest-store.lo camel-digest-summary.lo camel-disco-diary.lo camel-disco-
older.lo camel-disco-store.lo camel-exception.lo camel-file-utils.lo camel-
filter-driver.lo camel-filter-search.lo camel-folder-search.lo camel-folder-
summary.lo camel-folder-thread.lo camel-folder.lo camel-gpg-context.lo camel-
html-parser.lo camel-http-stream.lo camel-index.lo camel-internet-address.lo 
camel-io.lo camel-lock.lo camel-lock-client.lo camel-medium.lo camel-mime-
filter-bestenc.lo camel-mime-filter-basic.lo camel-mime-filter-charset.lo 
camel-mime-filter-canon.lo camel-mime-filter-crlf.lo camel-mime-filter-
enriched.lo camel-mime-filter-from.lo camel-mime-filter-html.lo camel-mime-
filter-tohtml.lo camel-mime-filter-index.lo camel-mime-filter-linewrap.lo 
camel-mime-filter-save.lo camel-mime-filter.lo camel-mime-message.lo camel-
mime-parser.lo camel-mime-part-utils.lo camel-mime-part.lo camel-mime-utils.lo 
camel-movemail.lo camel-multipart.lo camel-multipart-encrypted.lo camel-
multipart-signed.lo camel-object.lo camel-operation.lo camel-partition-
table.lo camel-pgp-mime.lo camel-smime-context.lo camel-smime-utils.lo camel-
provider.lo camel-sasl.lo camel-sasl-anonymous.lo camel-sasl-cram-md5.lo camel-
sasl-digest-md5.lo camel-sasl-gssapi.lo camel-sasl-kerberos4.lo camel-sasl-
login.lo camel-sasl-ntlm.lo camel-sasl-plain.lo camel-sasl-popb4smtp.lo camel-
search-private.lo camel-seekable-stream.lo camel-seekable-substream.lo camel-
service.lo camel-session.lo camel-store.lo camel-store-summary.lo camel-stream-
buffer.lo camel-stream-filter.lo camel-stream-fs.lo camel-stream-mem.lo camel-
stream-null.locamel-stream.lo camel-text-index.lo camel-tcp-stream-raw.lo 
camel-tcp-stream-ssl.lo camel-tcp-stream-openssl.lo camel-tcp-stream.lo camel-
transport.lo camel-uid-cache.lo camel-url.lo camel-url-scanner.lo camel-
utf8.lo camel-vee-folder.lo camel-vee-store.lo camel-vtrash-folder.lo camel.lo 
string-utils.lo -Wl,--whole-archive /usr/lib/libkrb5.a /usr/lib/libcom_err.a -
Wl,--no-whole-archive  -Wl,--rpath -Wl,/var/tmp/portage/evolution-
1.4.5/work/evolution-1.4.5/e-util/.libs -Wl,--rpath -
Wl,/usr/lib/evolution/1.4 -L/usr/lib -L/usr/X11R6/lib ../e-
util/.libs/libeutil.so /usr/lib/libgthread-2.0.so /usr/lib/libgal-
2.0.so /usr/lib/libgal-a11y-2.0.so /usr/lib/libglade-
2.0.so /usr/lib/libgnomeprint-2-2.so /usr/lib/libgtk-x11-
2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-
1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-
1.0.so /usr/lib/libpangox-
1.0.so /usr/lib/libart_lgpl_2.so /usr/lib/libxml2.so -lz -lm /usr/lib/libpango-
1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-
2.0.so -lk5crypto -lgssapi_krb5 -ldl -lplc4 -lplds4 -lnspr4 -lpthread -lssl3 -
lsmime3 -lnss3 -lsoftokn3  -Wl,--export-dynamic -Wl,-soname -Wl,libcamel.so.0 -
o .libs/libcamel.so.0.0.0/usr/lib/libcom_err.a(error.o)(.text+0x0): In 
function `com_right'
: multiple definition of `com_right'
/usr/lib/libkrb5.a(error.o)(.text+0x0): first defined here
/usr/lib/libcom_err.a(error.o)(.text+0x40): In function 
`initialize_error_table_r':
: multiple definition of `initialize_error_table_r'
/usr/lib/libkrb5.a(error.o)(.text+0x40): first defined here
/usr/lib/libcom_err.a(error.o)(.text+0xa0): In function `free_error_table':
: multiple definition of `free_error_table'
/usr/lib/libkrb5.a(error.o)(.text+0xa0): first defined here
/usr/lib/libcom_err.a(com_err.o)(.bss+0x0): multiple definition of `_et_list'
/usr/lib/libkrb5.a(com_err.o)(.bss+0x0): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x0): In function `com_err':
: multiple definition of `com_err'
/usr/lib/libkrb5.a(com_err.o)(.text+0x0): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x30): In function `error_message':
: multiple definition of `error_message'
/usr/lib/libkrb5.a(com_err.o)(.text+0x30): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0xe0): In function `init_error_table':
: multiple definition of `init_error_table'
/usr/lib/libkrb5.a(com_err.o)(.text+0xe0): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x110): In function `com_err_va':
: multiple definition of `com_err_va'
/usr/lib/libkrb5.a(com_err.o)(.text+0x110): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x140): In function `set_com_err_hook':
: multiple definition of `set_com_err_hook'
/usr/lib/libkrb5.a(com_err.o)(.text+0x140): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x160): In function 
`reset_com_err_hook':
: multiple definition of `reset_com_err_hook'
/usr/lib/libkrb5.a(com_err.o)(.text+0x160): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x170): In function `error_table_name':
: multiple definition of `error_table_name'
/usr/lib/libkrb5.a(com_err.o)(.text+0x170): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x1b0): In function 
`add_to_error_table':
: multiple definition of `add_to_error_table'
/usr/lib/libkrb5.a(com_err.o)(.text+0x1b0): first defined here
collect2: ld returned 1 exit status
make[3]: *** [libcamel.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/evolution-1.4.5/work/evolution-
1.4.
5/camel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/evolution-1.4.5/work/evolution-
1.4.
5/camel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/evolution-1.4.5/work/evolution-
1.4.
5'
make: *** [all] Error 2

!!! ERROR: net-mail/evolution-1.4.5 failed.
!!! Function src_compile, Line 177, Exitcode 2
!!! make failed


Expected Results:  
Compile fine.

cerri@gsm cerri $ emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipd
fm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl acpi acpi4linux activefilter alsa apm arts 
artswrappersuid audiofile avi berkdb bonobo caps cddb cdr chroot clamav crypt 
cups dga directfb dvd dvdr encode fbcon foomaticdb gdbm gif gpm gtk gtk2 
gtkhtml guile imagemagick imlib irda java jpeg kde kerberos krb4 ldap libg++ 
libwww linguas_it mad mikmod miknod mmx mng motif mozilla mpeg nas ncurses nls 
oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt quicktime radeon 
readline ruby samba scanner sdl slang socks5 spell sse ssl svga tcltk tcpd 
tetex truetype usb video_cards_nvidia x86 xml2 xosd xv zlib"

------- Comment #1 From Aron Griffis (RETIRED) 2004-05-07 18:46:00 0000 -------
what a mess

------- Comment #2 From Aron Griffis (RETIRED) 2004-05-07 20:10:47 0000 -------
It looks like the problem isn't as bad with heimdal-0.6.1 and e2fsprogs-1.35. 
The only two common files are:

$ epm -ql e2fsprogs heimdal | sort | uniq -d
/usr/bin/mk_cmds
/usr/lib/libss.a

The situation with mit-krb5 is not as nice:

$ epm -ql e2fsprogs mit-krb5 | sort | uniq -d
/usr/bin/compile_et
/usr/lib/libcom_err.so
/usr/share/et/et_c.awk
/usr/share/et/et_h.awk
/usr/share/man/man1/compile_et.1.gz

And the situation between heimdal and mit-krb5 suggests that the packages
should just block each other completely...?

$ epm -ql mit-krb5 heimdal | sort | uniq -d
/usr/bin/kdestroy
/usr/bin/kftp
/usr/bin/kinit
/usr/bin/klist
/usr/bin/kpasswd
/usr/bin/krb5-config
/usr/bin/krcp
/usr/bin/krsh
/usr/bin/ktelnet
/usr/sbin/kadmin
/usr/sbin/ktutil
/usr/share/man/man1/kdestroy.1.gz
/usr/share/man/man1/kinit.1.gz
/usr/share/man/man1/klist.1.gz
/usr/share/man/man1/kpasswd.1.gz
/usr/share/man/man5/krb5.conf.5.gz
/usr/share/man/man8/kadmin.8.gz
/usr/share/man/man8/kadmind.8.gz
/usr/share/man/man8/ktutil.8.gz

Guess I'll keep looking at this soon...

------- Comment #3 From Aron Griffis (RETIRED) 2004-10-07 14:03:38 0000 -------
> $ epm -ql e2fsprogs heimdal | sort | uniq -d
> /usr/bin/mk_cmds
> /usr/lib/libss.a

Debian packages both of these separately from e2fsprogs in
libdevel/ss-dev, which conflicts with net/kerberos4kth-dev

> $ epm -ql e2fsprogs mit-krb5 | sort | uniq -d
> /usr/bin/compile_et
> /usr/lib/libcom_err.so
> /usr/share/et/et_c.awk
> /usr/share/et/et_h.awk
> /usr/share/man/man1/compile_et.1.gz

These are also packaged separately from e2fsprogs in Debian.  They're
in libdevel/comerr-dev (including the .so)

------- Comment #4 From Marcus D. Hanwell 2005-01-18 07:23:07 0000 -------
This issue has also been confirmed by seemant, he asked me to add you both to
the CC list of this bug. I have confirmed the collision of the files listed in
comment 3, apart from /usr/lib/libcom_err.so which was not listed in the
collision error for me or seemant.

------- Comment #5 From Ryan Phillips (RETIRED) 2005-02-06 19:06:43 0000 -------
Would it be a solution to install heimdal and mit-krb5 binaries into /opt?

------- Comment #6 From Aron Griffis (RETIRED) 2005-02-09 07:42:31 0000 -------
Ryan, the best approach would be to split out the packages as done by Debian

------- Comment #7 From Sascha Silbe 2005-04-01 07:48:15 0000 -------
I've hit this bug with FEATURES=collision-protect:

>>> Completed installing mit-krb5-1.3.6-r1 into /var/tmp/portage/portage/mit-krb5-1.3.6-r1/image/

* checking 110 files for package collisions
existing file /usr/bin/compile_et is not owned by this package
existing file /usr/share/et/et_c.awk is not owned by this package
existing file /usr/share/et/et_h.awk is not owned by this package
existing file /usr/share/man/man8/kpropd.8.gz is not owned by this package
existing file /usr/share/man/man8/kprop.8.gz is not owned by this package
existing file /usr/share/man/man1/kinit.1.gz is not owned by this package
existing file /usr/share/man/man1/kdestroy.1.gz is not owned by this package
existing file /usr/share/man/man1/klist.1.gz is not owned by this package
existing file /usr/share/man/man1/compile_et.1.gz is not owned by this package
existing file /usr/share/man/man1/kerberos.1.gz is not owned by this package
* spent 0.275255918503 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 app-crypt/mit-krb5-1.3.6-r1 NOT merged

No package files given... Grabbing a set.
root@cube:~# equery belongs /usr/bin/compile_et
[ Searching for file(s) /usr/bin/compile_et in *... ]
sys-fs/e2fsprogs-1.35-r1 (/usr/bin/compile_et)
root@cube:~# 

------- Comment #8 From Seemant Kulleen (RETIRED) 2005-06-06 08:58:03 0000 -------
*** Bug 68607 has been marked as a duplicate of this bug. ***

------- Comment #9 From Seemant Kulleen (RETIRED) 2005-06-06 12:48:49 0000 -------
heimdal-0.6.4-r1 going into portage shortly fixes this.

------- Comment #10 From Seemant Kulleen (RETIRED) 2005-06-06 13:56:40 0000 -------
*** Bug 64694 has been marked as a duplicate of this bug. ***

------- Comment #11 From Chris Rebert 2005-06-06 22:37:50 0000 -------
Now that bug 64694 has been resolved, is this one fixed as well?

First Last Prev Next    No search results available      Search page      Enter new bug