Gentoo Archives: gentoo-desktop

From: Igor Korot <ikorot01@×××××.com>
To: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] Re: Dependencies of KDE 3
Date: Tue, 27 Nov 2012 03:03:39
Message-Id: CA+FnnTy7Nxz8cof2086Q3qryTnwJMHB1mvghcrYn8wfhD+Noow@mail.gmail.com
In Reply to: [gentoo-desktop] Re: Dependencies of KDE 3 by Duncan <1i5t5.duncan@cox.net>
1 Hi, Duncan,
2
3 On Mon, Nov 26, 2012 at 2:14 PM, Duncan <1i5t5.duncan@×××.net> wrote:
4 > Igor Korot posted on Mon, 26 Nov 2012 12:50:34 -0800 as excerpted:
5 >
6 >> Hi, guys,
7 >> I got mDNSResponder and restarted emerge.
8 >> It went OK for some time and then stopped with following:
9 >>
10 >> * Messages for package kde-base/ksvg-3.5.10:
11 >>
12 >> * ERROR: kde-base/ksvg-3.5.10 failed (install phase):
13 >> * emake install failed.
14 >
15 > OK, you got thru the build phase, but kde3 used to (for me, it's used to,
16 > I've been on kde4 since before kde3 got "sunset") do an awful lot in the
17 > install phase as well, and that's what's screwing up. (Note that the
18 > "install phase" is still the "fake install", to the location under
19 > $PORTAGE_TMPDIR, the real install is called qmerge, and simply copies
20 > everything from the fake install under $PORTAGE_TMPDIR to the live
21 > system.)
22 >
23 > But....
24 >
25 >> * The specific snippet of code:
26 >> * emake DESTDIR="${D}" destdir="${D}" install || \
27 >> * die "emake install failed.";
28 >
29 >> * The complete build log is located at
30 >> '/var/tmp/portage/kde-base/ksvg-3.5.10/temp/build.log'.
31 >
32 > ... you included the portage error, but not the make install
33 > log with its error... and you didn't include an emerge --verbose
34 > --pretend or similar, to see the USE flags it used, either!
35
36 LearningRight samples # emerge --info
37 Portage 2.1.11.31 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3,
38 glibc-2.14.1-r3, 3.4.9-gentoo x86_64)
39 =================================================================
40 System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.1
41 Timestamp of tree: Fri, 16 Nov 2012 20:00:01 +0000
42 ld GNU ld (GNU Binutils) 2.21.1
43 app-shells/bash: 4.2_p20
44 dev-lang/python: 2.6.8, 2.7.3-r2, 3.2.3
45 dev-util/cmake: 2.8.8-r3
46 dev-util/pkgconfig: 0.27.1
47 sys-apps/baselayout: 2.1-r1
48 sys-apps/openrc: 0.9.8.4
49 sys-apps/sandbox: 2.5
50 sys-devel/autoconf: 2.13, 2.68
51 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6
52 sys-devel/binutils: 2.21.1-r1
53 sys-devel/gcc: 4.5.3-r2
54 sys-devel/gcc-config: 1.6
55 sys-devel/libtool: 2.4-r1
56 sys-devel/make: 3.82-r1
57 sys-kernel/linux-headers: 3.1 (virtual/os-headers)
58 sys-libs/glibc: 2.14.1-r3
59 Repositories: gentoo kde-sunset
60 ACCEPT_KEYWORDS="amd64"
61 ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3"
62 CBUILD="x86_64-pc-linux-gnu"
63 CFLAGS="-march=core2 -O2 -pipe"
64 CHOST="x86_64-pc-linux-gnu"
65 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
66 /usr/kde/3.5/shutdown /usr/share/config
67 /usr/share/gnupg/qualified.txt"
68 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
69 /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
70 /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/
71 /etc/php/cli-php5.4/ext-active/ /etc/sandbox.d /etc/terminfo"
72 CXXFLAGS="-march=core2 -O2 -pipe"
73 DISTDIR="/usr/portage/distfiles"
74 FCFLAGS="-O2 -pipe"
75 FEATURES="assume-digests binpkg-logs config-protect-if-modified
76 distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
77 protect-owned sandbox sfperms strict unknown-features-warn
78 unmerge-logs unmerge-orphans userfetch"
79 FFLAGS="-O2 -pipe"
80 GENTOO_MIRRORS="http://gentoo.osuosl.org/"
81 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
82 MAKEOPTS="-j3"
83 PKGDIR="/usr/portage/packages"
84 PORTAGE_CONFIGROOT="/"
85 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
86 --compress --force --whole-file --delete --stats --human-readable
87 --timeout=180 --exclude=/distfiles --exclude=/local
88 --exclude=/packages"
89 PORTAGE_TMPDIR="/var/tmp"
90 PORTDIR="/usr/portage"
91 PORTDIR_OVERLAY="/var/lib/layman/kde-sunset"
92 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
93 USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2
94 cairo cdda cdr cli colord consolekit cracklib crypt cxx dbus dri dts
95 dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif
96 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6
97 jpeg lcms ldap libnotify mad midi mmx mng modules mp3 mp4 mpeg mudflap
98 multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre
99 pdf png policykit ppds pppd pulseaudio qt3support qt4 readline sdl
100 session socialweb spell sse sse2 ssl startup-notification svg tcpd
101 tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb
102 xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
103 bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801
104 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
105 via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
106 dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
107 linear meter mmap_emul mulaw multi null plug rate route share shm
108 softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd
109 actions alias auth_basic authn_alias authn_anon authn_dbm
110 authn_default authn_file authz_dbm authz_default authz_groupfile
111 authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs
112 dav_lock deflate dir disk_cache env expires ext_filter file_cache
113 filter headers include info log_config logio mem_cache mime mime_magic
114 negotiation rewrite setenvif speling status unique_id userdir
115 usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets
116 stage tables krita karbon braindump" CAMERAS="ptp2"
117 COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
118 ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18
119 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
120 oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip
121 tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
122 LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
123 ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
124 presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7
125 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU"
126 VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2
127 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq
128 steal rawnat logmark ipmark dhcpmac delude chaos account"
129 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
130 LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
131 PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
132
133 LearningRight samples # emerge -pv ksvg
134
135 These are the packages that would be merged, in order:
136
137 Calculating dependencies... done!
138 [ebuild N ~] kde-base/ksvg-3.5.10-r1:3.5::kde-sunset USE="-debug" 0 kB
139
140 Total: 1 package (1 new), Size of downloads: 0 kB
141
142 >
143 > The easiest way to find the first error is often to either grep for or
144 > open the log file in your favorite editor and search for, "error". With
145 > a lot of packages the first few hits will be on errorlog or whatever
146 > modules, but then you'll start hitting the errors that triggered the
147 > die. You'll want to post at least the code surrounding the first one.
148 > (I usually backup from there until I find the "entering whatever-subdir"
149 > line before the error, and post from there thru the "leaving whatever
150 > subdir" line after the error, when I bug-file, then attach the whole
151 > build-log as well, just in case it's needed.)
152
153 And here is the error from the build.log:
154
155 /bin/sh ../../../../libtool --silent --tag=CC --mode=link
156 x86_64-pc-linux-gnu-gcc -std=iso9899:1990 -W -Wall -Wchar-subscripts
157 -Wshadow -Wpointer-arith -Wm$
158 make[4]: Entering directory
159 `/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/art_support'
160 make[4]: Nothing to be done for `install-exec-am'.
161 make[4]: Nothing to be done for `install-data-am'.
162 make[4]: Leaving directory
163 `/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/art_support'
164 make[3]: Leaving directory
165 `/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/art_support'
166 Making install in libtext2path
167 make[3]: Entering directory
168 `/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/libtext2path'
169 Making install in src
170 make[4]: Entering directory
171 `/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/libtext2path/src'
172 /bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
173 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
174 -I/usr/include/freetype2 $
175 /bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
176 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
177 -I/usr/include/freetype2 $
178 /bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
179 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
180 -I/usr/include/freetype2 $
181 /bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
182 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
183 -I/usr/include/freetype2 $
184 /bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
185 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
186 -I/usr/include/freetype2 $
187 /bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
188 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
189 -I/usr/include/freetype2 $
190 /bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
191 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
192 -I/usr/include/freetype2 $
193 In file included from /usr/include/fribidi/fribidi.h:35:0,
194 from Converter.cpp:25:
195 /usr/include/fribidi/fribidi-common.h:65:20: fatal error: glib.h: No
196 such file or directory
197 compilation terminated.
198 make[4]: *** [Converter.lo] Error 1
199 make[4]: Leaving directory
200 `/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/libtext2path/src'
201 make[3]: *** [install-recursive] Error 1
202 make[3]: Leaving directory
203 `/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/libtext2path'
204 make[2]: *** [install-recursive] Error 1
205 make[2]: Leaving directory
206 `/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs'
207 make[1]: *** [install-recursive] Error 1
208 make[1]: Leaving directory
209 `/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl'
210 make: *** [install-recursive] Error 1
211
212 It references "glib.h", but I don't understand this at all.
213 Does this mean that this package depends on the GTK+? Or "g" in the
214 "glib.h" means something else?
215
216 I am under GNOME2 stable with GTK+2, BTW...
217
218 >
219 >
220 >> * IMPORTANT: 3 news items need reading for repository 'gentoo'.
221 >> * Use eselect news to read news items.
222 >
223 > Unlikely to be apropos here, but you let news items build up without
224 > reading them? You /do/ realize that's a good way to get an unbootable
225 > system or the like, because you failed to follow the instructions in the
226 > news items and thus didn't do the necessary updates that they warned you
227 > about, right?
228 >
229 > Ideally, you read news items right away, before emerging anything (at
230 > least once eselect itself is merged), just as you always either to an
231 > emerge --pretend --verbose first or use emerge --ask, to see what it's
232 > going to do and check its sanity (plus look for any USE flag changes and/
233 > or what the flags are on new packages, making changes as necessary),
234 > before actually letting portage do it.
235 >
236 > Similarly, after you're done with your updates, it's always a good idea
237 > to run revdep-rebuild, etc-update (or the like), and emerge --depclean
238 > (don't forget the --ask/--pretend first!), to keep the cruft to a minimum.
239
240 Well, this is not an issue here, AFAICT. ;-)
241
242 Thank you.
243
244 >
245 > --
246 > Duncan - List replies preferred. No HTML msgs.
247 > "Every nonfree program has a lord, a master --
248 > and if you use the program, he is your master." Richard Stallman
249 >
250 >

Replies

Subject Author
[gentoo-desktop] Re: Dependencies of KDE 3 Duncan <1i5t5.duncan@×××.net>