Mailing List Archive

emerge is the same as ebuild merge? Getting different things...
Ok, I'm going crazy with this, so I hope somebody can shed some light...

I had some errors related to missing libcom_err.so.1, so I reemerged
heimdal. To my surprise, heimdal wasn't generating the desired library,
so I tried running

ebuild /usr/portage/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild
install

just to see if there was some error while merging it, but it was
correctly generated, so I then run

ebuild /usr/portage/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild
qmerge
ebuild /usr/portage/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild
merge

and voila, all was working as expected. But then I was curious about
why that library wan't generated by emerge, so I run

emerge heimdal

just to find that libcom_err.so.1 had disappeared. So I then run the
following:

qpkg -l heimdal > heimdal-emerge
ebuild /usr/portage/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild
merge
qpkg -l heimdal > heimdal-ebuild

and a diff -u heimdal-emerge heimdal-ebuild shows, among other
things, the following:

@@ -784,7 +789,10 @@
/usr/include/heimdal/krb5-types.h
/usr/include/heimdal/base64.h
/usr/include/heimdal/parse_units.h
-/usr/include/krb5_err.h -> heimdal/krb5_err.h 1097090558
-/usr/include/heim_err.h -> heimdal/heim_err.h 1097090558
-/usr/include/krb5-types.h -> heimdal/krb5-types.h 1097090558
+/usr/include/heimdal/com_err.h
+/usr/include/krb5_err.h -> heimdal/krb5_err.h 1097094473
+/usr/include/heim_err.h -> heimdal/heim_err.h 1097094473
+/usr/include/krb5-types.h -> heimdal/krb5-types.h 1097094473
+/usr/lib/libcom_err.so -> libcom_err.so.1.1.1 1097094473
+/usr/lib/libcom_err.so.1 -> libcom_err.so.1.1.1 1097094473

So it seems that those libraries aren't generated using emerge. But
the story doesn't finish here... I have another machine with heimdal
installed, and there nor emerge neither ebuild generates the libcom_err
library, although I don't get link errors there.

In the first machine:

packet root # ldd /usr/kde/3.3/lib/kde3/kio_http.so | grep libcom
libcom_err.so.2 => /lib/libcom_err.so.2 (0x4137d000)
libcom_err.so.1 => /usr/lib/libcom_err.so.1 (0x41796000)

In the second machine:
ws00 root # ldd /usr/kde/3.3/lib/kde3/kio_http.so | grep libcom
libcom_err.so.2 => /lib/libcom_err.so.2 (0x4133e000)

Maybe different USE flags?

I have nothing heimdal related in /etc/portage/package.* or
/usr/local/portage/ (triple checked)... am I going crazy?

Useful information:
MACHINE 1:
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4,
glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r14)
=================================================================
System uname: 2.6.7-gentoo-r14 i686 Mobile AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config
/var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://commserver.openinput.com/gentoo-portage"
USE="3dnow X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cjk crypt
cups doc dvd encode esd foomaticdb gdbm gif gpm imlib java jikes jpeg
junit kde kerberos ldap libg++ libwww linguas_ca linguas_es mad mikmod
mmx mpeg mysql ncurses nls oggvorbis opengl oss pam pdapdflib perl png
postgres python qt quicktime readline samba sasl sdl slang spell ssl
svga tcltk tcpd truetype x86 xml2 xmms xprint xv zlib"


MACHINE 2:
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4,
glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/lib/jboss /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://commserver.openinput.com/gentoo-portage"
USE="3dnow X acpi alsa apm arts avi berkdb bitmap-fonts cdr cjk crypt
cups divx4linux doc dvd dvdr encode esd foomaticdb freetype gdbmgif
gphoto2 gpm gstreamer guile hbci imlib jabber java jikes jpeg junit kde
kerberos ldap libg++ libwww linguas_ca linguas_es mad maildir mikmod mmx
mng motif mozilla mpeg mysql ncurses nls nptl objc ofx oggvorbis openal
opengl pam pda pdflib perl png postgres python qt quicktime readline
samba sasl scanner sdl slang slp spell ssl svga tcltk tcpd tetex tiff
truetype unicode usb x86 xml2 xmms xprint xvzlib"



--
gentoo-user@gentoo.org mailing list