Hi, Duncan,

On Mon, Nov 26, 2012 at 2:14 PM, Duncan <[email protected]> wrote:
> Igor Korot posted on Mon, 26 Nov 2012 12:50:34 -0800 as excerpted:
>
>> Hi, guys,
>> I got mDNSResponder and restarted emerge.
>> It went OK for some time and then stopped with following:
>>
>>  * Messages for package kde-base/ksvg-3.5.10:
>>
>>  * ERROR: kde-base/ksvg-3.5.10 failed (install phase):
>>  *   emake install failed.
>
> OK, you got thru the build phase, but kde3 used to (for me, it's used to,
> I've been on kde4 since before kde3 got "sunset") do an awful lot in the
> install phase as well, and that's what's screwing up.  (Note that the
> "install phase" is still the "fake install", to the location under
> $PORTAGE_TMPDIR, the real install is called qmerge, and simply copies
> everything from the fake install under $PORTAGE_TMPDIR to the live
> system.)
>
> But....
>
>>  * The specific snippet of code:
>>  *   emake DESTDIR="${D}" destdir="${D}" install || \
>>  *   die "emake install failed.";
>
>>  * The complete build log is located at
>> '/var/tmp/portage/kde-base/ksvg-3.5.10/temp/build.log'.
>
> ... you included the portage error, but not the make install
> log with its error... and you didn't include an emerge --verbose
> --pretend or similar, to see the USE flags it used, either!

LearningRight samples # emerge --info
Portage 2.1.11.31 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3,
glibc-2.14.1-r3, 3.4.9-gentoo x86_64)
=================================================================
System uname: 
Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.1
Timestamp of tree: Fri, 16 Nov 2012 20:00:01 +0000
ld GNU ld (GNU Binutils) 2.21.1
app-shells/bash:          4.2_p20
dev-lang/python:          2.6.8, 2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo kde-sunset
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config
/usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/
/etc/php/cli-php5.4/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified
distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
protect-owned sandbox sfperms strict unknown-features-warn
unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/";
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --human-readable
--timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2
cairo cdda cdr cli colord consolekit cracklib crypt cxx dbus dri dts
dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif
gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6
jpeg lcms ldap libnotify mad midi mmx mng modules mp3 mp4 mpeg mudflap
multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre
pdf png policykit ppds pppd pulseaudio qt3support qt4 readline sdl
session socialweb spell sse sse2 ssl startup-notification svg tcpd
tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb
xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
linear meter mmap_emul mulaw multi null plug rate route share shm
softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd
actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile
authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs
dav_lock deflate dir disk_cache env expires ext_filter file_cache
filter headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir
usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets
stage tables krita karbon braindump" CAMERAS="ptp2"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18
garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip
tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7
python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU"
VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2
ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq
steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

LearningRight samples # emerge -pv ksvg

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] kde-base/ksvg-3.5.10-r1:3.5::kde-sunset  USE="-debug" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

>
> The easiest way to find the first error is often to either grep for or
> open the log file in your favorite editor and search for, "error".  With
> a lot of packages the first few hits will be on errorlog or whatever
> modules, but then you'll start hitting the errors that triggered the
> die.  You'll want to post at least the code surrounding the first one.
> (I usually backup from there until I find the "entering whatever-subdir"
> line before the error, and post from there thru the "leaving whatever
> subdir" line after the error, when I bug-file, then attach the whole
> build-log as well, just in case it's needed.)

And here is the error from the build.log:

/bin/sh ../../../../libtool --silent --tag=CC --mode=link
x86_64-pc-linux-gnu-gcc  -std=iso9899:1990 -W -Wall -Wchar-subscripts
-Wshadow -Wpointer-arith -Wm$
make[4]: Entering directory
`/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/art_support'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory
`/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/art_support'
make[3]: Leaving directory
`/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/art_support'
Making install in libtext2path
make[3]: Entering directory
`/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/libtext2path'
Making install in src
make[4]: Entering directory
`/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/libtext2path/src'
/bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
-I/usr/include/freetype2 $
/bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
-I/usr/include/freetype2 $
/bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
-I/usr/include/freetype2 $
/bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
-I/usr/include/freetype2 $
/bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
-I/usr/include/freetype2 $
/bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
-I/usr/include/freetype2 $
/bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
-I/usr/include/freetype2 $
In file included from /usr/include/fribidi/fribidi.h:35:0,
                 from Converter.cpp:25:
/usr/include/fribidi/fribidi-common.h:65:20: fatal error: glib.h: No
such file or directory
compilation terminated.
make[4]: *** [Converter.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/libtext2path/src'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs/libtext2path'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl/libs'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kde-base/ksvg-3.5.10-r1/work/ksvg-3.5.10/ksvg/impl'
make: *** [install-recursive] Error 1

It references "glib.h", but I don't understand this at all.
Does this mean that this package depends on the GTK+? Or "g" in the
"glib.h" means something else?

I am under GNOME2 stable with GTK+2, BTW...

>
>
>>  * IMPORTANT: 3 news items need reading for repository 'gentoo'.
>>  * Use eselect news to read news items.
>
> Unlikely to be apropos here, but you let news items build up without
> reading them?  You /do/ realize that's a good way to get an unbootable
> system or the like, because you failed to follow the instructions in the
> news items and thus didn't do the necessary updates that they warned you
> about, right?
>
> Ideally, you read news items right away, before emerging anything (at
> least once eselect itself is merged), just as you always either to an
> emerge --pretend --verbose first or use emerge --ask, to see what it's
> going to do and check its sanity (plus look for any USE flag changes and/
> or what the flags are on new packages, making changes as necessary),
> before actually letting portage do it.
>
> Similarly, after you're done with your updates, it's always a good idea
> to run revdep-rebuild, etc-update (or the like), and emerge --depclean
> (don't forget the --ask/--pretend first!), to keep the cruft to a minimum.

Well, this is not an issue here, AFAICT. ;-)

Thank you.

>
> --
> Duncan - List replies preferred.   No HTML msgs.
> "Every nonfree program has a lord, a master --
> and if you use the program, he is your master."  Richard Stallman
>
>

Reply via email to