Gentoo Archives: gentoo-user-es

From: Jose Gonzalez Gomez <jgonzalez@×××××××××××.com>
To: Lista gentoo <gentoo-user-es@l.g.o>
Subject: [gentoo-user-es] emerge is the same as ebuild merge? Getting different things...
Date: Wed, 06 Oct 2004 21:47:29
Message-Id: 416467E5.5050703@opentechnet.com
1 Ok, I'm going crazy with this, so I hope somebody can shed some light...
2
3 I had some errors related to missing libcom_err.so.1, so I reemerged
4 heimdal. To my surprise, heimdal wasn't generating the desired library,
5 so I tried running
6
7 ebuild /usr/portage/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild
8 install
9
10 just to see if there was some error while merging it, but it was
11 correctly generated, so I then run
12
13 ebuild /usr/portage/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild
14 qmerge
15 ebuild /usr/portage/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild
16 merge
17
18 and voila, all was working as expected. But then I was curious about
19 why that library wan't generated by emerge, so I run
20
21 emerge heimdal
22
23 just to find that libcom_err.so.1 had disappeared. So I then run the
24 following:
25
26 qpkg -l heimdal > heimdal-emerge
27 ebuild /usr/portage/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild
28 merge
29 qpkg -l heimdal > heimdal-ebuild
30
31 and a diff -u heimdal-emerge heimdal-ebuild shows, among other
32 things, the following:
33
34 @@ -784,7 +789,10 @@
35 /usr/include/heimdal/krb5-types.h
36 /usr/include/heimdal/base64.h
37 /usr/include/heimdal/parse_units.h
38 -/usr/include/krb5_err.h -> heimdal/krb5_err.h 1097090558
39 -/usr/include/heim_err.h -> heimdal/heim_err.h 1097090558
40 -/usr/include/krb5-types.h -> heimdal/krb5-types.h 1097090558
41 +/usr/include/heimdal/com_err.h
42 +/usr/include/krb5_err.h -> heimdal/krb5_err.h 1097094473
43 +/usr/include/heim_err.h -> heimdal/heim_err.h 1097094473
44 +/usr/include/krb5-types.h -> heimdal/krb5-types.h 1097094473
45 +/usr/lib/libcom_err.so -> libcom_err.so.1.1.1 1097094473
46 +/usr/lib/libcom_err.so.1 -> libcom_err.so.1.1.1 1097094473
47
48 So it seems that those libraries aren't generated using emerge. But
49 the story doesn't finish here... I have another machine with heimdal
50 installed, and there nor emerge neither ebuild generates the libcom_err
51 library, although I don't get link errors there.
52
53 In the first machine:
54
55 packet root # ldd /usr/kde/3.3/lib/kde3/kio_http.so | grep libcom
56 libcom_err.so.2 => /lib/libcom_err.so.2 (0x4137d000)
57 libcom_err.so.1 => /usr/lib/libcom_err.so.1 (0x41796000)
58
59 In the second machine:
60 ws00 root # ldd /usr/kde/3.3/lib/kde3/kio_http.so | grep libcom
61 libcom_err.so.2 => /lib/libcom_err.so.2 (0x4133e000)
62
63 Maybe different USE flags?
64
65 I have nothing heimdal related in /etc/portage/package.* or
66 /usr/local/portage/ (triple checked)... am I going crazy?
67
68 Useful information:
69 MACHINE 1:
70 Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4,
71 glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r14)
72 =================================================================
73 System uname: 2.6.7-gentoo-r14 i686 Mobile AMD Athlon(tm) XP 2400+
74 Gentoo Base System version 1.4.16
75 Autoconf: sys-devel/autoconf-2.59-r4
76 Automake: sys-devel/automake-1.8.5-r1
77 ACCEPT_KEYWORDS="x86"
78 AUTOCLEAN="yes"
79 CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
80 CHOST="i686-pc-linux-gnu"
81 COMPILER=""
82 CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
83 /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
84 /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config
85 /var/lib/jboss /var/qmail/control"
86 CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
87 CXXFLAGS="-O2 -mcpu=i686 -pipe"
88 DISTDIR="/usr/portage/distfiles"
89 FEATURES="autoaddcvs ccache sandbox"
90 GENTOO_MIRRORS="http://gentoo.osuosl.org
91 http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
92 MAKEOPTS="-j2"
93 PKGDIR="/usr/portage/packages"
94 PORTAGE_TMPDIR="/var/tmp"
95 PORTDIR="/usr/portage"
96 PORTDIR_OVERLAY="/usr/local/portage"
97 SYNC="rsync://commserver.openinput.com/gentoo-portage"
98 USE="3dnow X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cjk crypt
99 cups doc dvd encode esd foomaticdb gdbm gif gpm imlib java jikes jpeg
100 junit kde kerberos ldap libg++ libwww linguas_ca linguas_es mad mikmod
101 mmx mpeg mysql ncurses nls oggvorbis opengl oss pam pdapdflib perl png
102 postgres python qt quicktime readline samba sasl sdl slang spell ssl
103 svga tcltk tcpd truetype x86 xml2 xmms xprint xv zlib"
104
105
106 MACHINE 2:
107 Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4,
108 glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r11)
109 =================================================================
110 System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(TM) XP 2000+
111 Gentoo Base System version 1.4.16
112 Autoconf: sys-devel/autoconf-2.59-r4
113 Automake: sys-devel/automake-1.8.5-r1
114 ACCEPT_KEYWORDS="x86"
115 AUTOCLEAN="yes"
116 CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow"
117 CHOST="i686-pc-linux-gnu"
118 COMPILER=""
119 CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
120 /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
121 /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config
122 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
123 /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
124 /usr/share/texmf/xdvi/ /var/lib/jboss /var/qmail/control /var/spool/fax/etc"
125 CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
126 CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow"
127 DISTDIR="/usr/portage/distfiles"
128 FEATURES="autoaddcvs ccache sandbox"
129 GENTOO_MIRRORS="http://gentoo.osuosl.org
130 http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
131 MAKEOPTS="-j2"
132 PKGDIR="/usr/portage/packages"
133 PORTAGE_TMPDIR="/var/tmp"
134 PORTDIR="/usr/portage"
135 PORTDIR_OVERLAY="/usr/local/portage"
136 SYNC="rsync://commserver.openinput.com/gentoo-portage"
137 USE="3dnow X acpi alsa apm arts avi berkdb bitmap-fonts cdr cjk crypt
138 cups divx4linux doc dvd dvdr encode esd foomaticdb freetype gdbmgif
139 gphoto2 gpm gstreamer guile hbci imlib jabber java jikes jpeg junit kde
140 kerberos ldap libg++ libwww linguas_ca linguas_es mad maildir mikmod mmx
141 mng motif mozilla mpeg mysql ncurses nls nptl objc ofx oggvorbis openal
142 opengl pam pda pdflib perl png postgres python qt quicktime readline
143 samba sasl scanner sdl slang slp spell ssl svga tcltk tcpd tetex tiff
144 truetype unicode usb x86 xml2 xmms xprint xvzlib"
145
146
147 --
148 gentoo-user-es@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-es] emerge is the same as ebuild merge? Getting different things... Angel Cervera Claudio <angel@××××××××.com>