emerging tkabber failed on building tkXwin-1.0 Reproducible: Always Steps to Reproduce: 1.emerge tkabber 2. 3. Actual Results: make[2]: *** [install-exec-hook] Ошибка 1 make[2]: Leaving directory `/var/tmp/portage/dev-tcltk/tkXwin-1.0/work/tkXwin-1.0' make[1]: *** [install-exec-am] Ошибка 2 make[1]: Leaving directory `/var/tmp/portage/dev-tcltk/tkXwin-1.0/work/tkXwin-1.0' make: *** [install-am] Ошибка 2 * * ERROR: dev-tcltk/tkXwin-1.0 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2048: Called die * The specific snippet of code: * make DESTDIR=${D} install || die; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-tcltk/tkXwin-1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/tkXwin-1.0/temp/environment'. * * Messages for package dev-tcltk/tkXwin-1.0: * * ERROR: dev-tcltk/tkXwin-1.0 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2048: Called die * The specific snippet of code: * make DESTDIR=${D} install || die; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-tcltk/tkXwin-1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/tkXwin-1.0/temp/environment'. * toch toch # emerge --info Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686) ================================================================= System uname: 2.6.25-gentoo-r7 i686 AMD Turion(tm) 64 X2 Mobile Technology TL-56 Timestamp of tree: Thu, 21 Aug 2008 17:35:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aac acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gif gnome gpm gstreamer gtk hal iconv isdnlog jpeg kerberos libnotify mad midi mikmod mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl php png ppds pppd python qt3support quicktime readline reflection sdl session spl sqlite3 ssl startup-notification svg sysfs tiff truetype unicode usb vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
1. change description to something meaningful 2. post a few lines more from the build log, cause 'the topmost build error' is still missing
toch toch # emerge tkXwin Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) dev-tcltk/tkXwin-1.0 to / * tkXwin-1.0.tgz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking tkXwin-1.0.tgz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking tkXwin-1.0.tgz to /var/tmp/portage/dev-tcltk/tkXwin-1.0/work * Applying 1.0-Makefile.in.diff ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-tcltk/tkXwin-1.0/work/tkXwin-1.0 ... * econf: updating tkXwin-1.0/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tkXwin-1.0/config/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-tcl=/usr/lib --with-tk=/usr/lib --build=i686-pc-linux-gnu creating cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=k8 -pipe -Wl,-O1) works... yes checking whether the C compiler (gcc -O2 -march=k8 -pipe -Wl,-O1) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking for ranlib... ranlib checking for strip... strip updating cache ./config.cache loading cache ./config.cache within ltconfig checking whether -lc should be explicitly linked in... yes checking for objdir... .libs checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes finding the maximum length of command line arguments... 49153 checking if gcc supports -c -o file.o... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking command to parse /usr/bin/nm -B output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool updating cache ./config.cache loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc -O2 -march=k8 -pipe -Wl,-O1) works... yes checking whether the C compiler (gcc -O2 -march=k8 -pipe -Wl,-O1) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... yes checking for ranlib... (cached) ranlib checking for Cygwin environment... (cached) no checking for object suffix... (cached) o checking for executable suffix... (cached) no checking for Tcl configuration... found /usr/lib/tclConfig.sh checking for existence of /usr/lib/tclConfig.sh... loading checking for Tk configuration... found /usr/lib/tkConfig.sh checking for existence of /usr/lib/tkConfig.sh... loading checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for X11 header files... checking for Tcl public headers... /usr/include checking for Tk public headers... /usr/include checking for building with threads... no (default) checking how to build libraries... shared checking for build with symbols... no checking for tclsh... /usr/bin/tclsh8.4 updating cache ./config.cache creating ./config.status creating Makefile /bin/sh ./libtool --mode=compile gcc -DVERSION=\"1.0\" -DUSE_TCL_STUBS=1 -I. -I. -I"/usr/include" -O2 -fPIC -c tkXwin.c mkdir .libs gcc -DVERSION=\"1.0\" -DUSE_TCL_STUBS=1 -I. -I. -I/usr/include -O2 -fPIC -c tkXwin.c -fPIC -DPIC -o .libs/tkXwin.o tkXwin.c: In function 'tkXwin_changeprop': tkXwin.c:246: warning: passing argument 3 of 'tclStubsPtr->tcl_GetIndexFromObj' from incompatible pointer type /bin/sh ./libtool --mode=link gcc -O2 -fPIC -Wl,-O1 -o libtkXwin.la -rpath /usr/lib -version-info 1:0:0 tkXwin.lo -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4 -lX11 -lXext gcc -shared .libs/tkXwin.o -L/usr/lib -ltk8.4 -ltcl8.4 /usr/lib/libX11.so /usr/lib/libXext.so -lc -Wl,-O1 -Wl,-soname -Wl,libtkXwin.so.1 -o .libs/libtkXwin.so.1.0 (cd .libs && rm -f libtkXwin.so.1 && ln -s libtkXwin.so.1.0 libtkXwin.so.1) (cd .libs && rm -f libtkXwin.so && ln -s libtkXwin.so.1.0 libtkXwin.so) creating libtkXwin.la (cd .libs && rm -f libtkXwin.la && ln -s ../libtkXwin.la libtkXwin.la) >>> Source compiled. >>> Test phase [not enabled]: dev-tcltk/tkXwin-1.0 >>> Install tkXwin-1.0 into /var/tmp/portage/dev-tcltk/tkXwin-1.0/image/ category dev-tcltk make[1]: Entering directory `/var/tmp/portage/dev-tcltk/tkXwin-1.0/work/tkXwin-1.0' /bin/sh ./config/mkinstalldirs /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib mkdir /var/tmp/portage/dev-tcltk/tkXwin-1.0/image/usr mkdir /var/tmp/portage/dev-tcltk/tkXwin-1.0/image/usr/lib /bin/sh ./libtool --mode=install /usr/bin/install -c libtkXwin.la /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib/libtkXwin.la /usr/bin/install -c .libs/libtkXwin.so.1.0 /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib/libtkXwin.so.1.0 (cd /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib && rm -f libtkXwin.so.1 && ln -s libtkXwin.so.1.0 libtkXwin.so.1) (cd /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib && rm -f libtkXwin.so && ln -s libtkXwin.so.1.0 libtkXwin.so) /usr/bin/install -c .libs/libtkXwin.lai /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib/libtkXwin.la libtool: install: warning: remember to run `libtool --finish /usr/lib' make install-exec-hook make[2]: Entering directory `/var/tmp/portage/dev-tcltk/tkXwin-1.0/work/tkXwin-1.0' /bin/sh ./config/mkinstalldirs /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib /tkXwin echo "package ifneeded tkXwin" \ `echo 1.0 | awk -F. '{ printf "%s.%s", $1, $2 }'` \ "[list load /usr/lib/libtkXwin.so]" \ > /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib /tkXwin/pkgIndex.tcl /bin/sh: /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib: Is a directory make[2]: *** [install-exec-hook] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-tcltk/tkXwin-1.0/work/tkXwin-1.0' make[1]: *** [install-exec-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-tcltk/tkXwin-1.0/work/tkXwin-1.0' make: *** [install-am] Error 2 * * ERROR: dev-tcltk/tkXwin-1.0 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2048: Called die * The specific snippet of code: * make DESTDIR=${D} install || die; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-tcltk/tkXwin-1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/tkXwin-1.0/temp/environment'. * * Messages for package dev-tcltk/tkXwin-1.0: * * ERROR: dev-tcltk/tkXwin-1.0 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2048: Called die * The specific snippet of code: * make DESTDIR=${D} install || die; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-tcltk/tkXwin-1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/tkXwin-1.0/temp/environment'. *
That's strange, I think I know what the problem is, but I wonder what's got changed, making this an error. It looks like the change in 1.0-Makefile.in.diff: $(DESTDIR)@PKG_TCL@ gets now resolved to: /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib /tkXwin instead of: /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib/tkXwin
(In reply to comment #3) > That's strange, I think I know what the problem is, > but I wonder what's got changed, making this an error. > > It looks like the change in 1.0-Makefile.in.diff: > $(DESTDIR)@PKG_TCL@ > gets now resolved to: > /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib /tkXwin > instead of: > /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib/tkXwin > Failed to emerge dev-tcltk/tkXwin-1.0 error was: ... make[2]: Entering directory `/var/tmp/portage/dev-tcltk/tkXwin-1.0/work/tkXwin-1.0' /bin/sh ./config/mkinstalldirs /var/tmp/portage/dev-tcltk/tkXwin-1.0/image//usr/lib /tkXwin mkdir /tkXwin ACCESS DENIED mkdir: /tkXwin mkdir: cannot create directory `/tkXwin': Permission denied make[2]: *** [install-exec-hook] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-tcltk/tkXwin-1.0/work/tkXwin-1.0' make[1]: *** [install-exec-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-tcltk/tkXwin-1.0/work/tkXwin-1.0' make: *** [install-am] Error 2 * * ERROR: dev-tcltk/tkXwin-1.0 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2099: Called die * The specific snippet of code: * make DESTDIR=${D} install || die; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-tcltk/tkXwin-1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/tkXwin-1.0/temp/environment'.
I think tkXwin is missing some dependencies in the ebuild. I had a similar problem when building a new system (tkXwin failed to emerge), but later on, having emerged a number of other packages it emerged just fine. I can dig into my emerge logs to see what's been emerged in the meantime if anyone's interested.
For the record, here are the packages I merged in the meantime (after which tkXwin emerged correctly): app-admin/eselect-boost-0.3 app-arch/unrar-3.9.7 app-dicts/ispell-pl-20021127 app-emulation/emul-linux-x86-medialibs-20100611 app-emulation/emul-linux-x86-soundlibs-20100611 app-i18n/enca-1.13 app-misc/detox-1.2.0 app-misc/mc-4.7.0.3 app-misc/muttprint-0.72d-r1 app-portage/portpeek-2.0.1 app-text/acroread-9.3.3 app-text/aiksaurus-1.2.1 app-text/catdoc-0.94.2 app-text/dvipng-1.13 app-text/gv-3.7.1 app-text/iso-codes-3.10 app-text/ispell-3.3.02-r1 app-text/texlive-2009 app-text/wgetpaste-2.17 app-text/wklej-0.1.7 app-text/xdvik-22.84.16 dev-cpp/clucene-0.9.21b dev-lang/icon-9.4.3-r5 dev-lang/yasm-1.0.1 dev-libs/libcdio-0.80 dev-libs/libmix-2.05 dev-libs/libusb-1.0.8 dev-tcltk/tdom-0.8.2 dev-tex/chktex-1.6.4 dev-tex/cjk-latex-4.8.2 dev-tex/currvita-0.9i-r1 dev-tex/envlab-1.2-r1 dev-tex/europecv-20060424-r1 dev-tex/feynmf-1.08-r3 dev-tex/g-brief-4.0.2 dev-tex/glossaries-1.16 dev-tex/latex-beamer-3.07 dev-tex/leaflet-20041222 dev-texlive/texlive-bibtexextra-2009 dev-texlive/texlive-fontsextra-2009 dev-texlive/texlive-formatsextra-2009 dev-texlive/texlive-genericextra-2009 dev-texlive/texlive-humanities-2009 dev-texlive/texlive-langcjk-2009 dev-texlive/texlive-langcyrillic-2009 dev-texlive/texlive-langpolish-2009 dev-texlive/texlive-langukenglish-2009 dev-texlive/texlive-latex3-2009 dev-texlive/texlive-latexextra-2009 dev-texlive/texlive-mathextra-2009 dev-texlive/texlive-omega-2009 dev-texlive/texlive-pictures-2009 dev-texlive/texlive-plainextra-2009 dev-texlive/texlive-publishers-2009 dev-texlive/texlive-science-2009 dev-texlive/texlive-xetex-2009 dev-tex/mh-20080903 dev-tex/pgf-2.00 dev-tex/svninfo-0.7.3-r1 dev-tex/translator-1.00 dev-tex/xcolor-2.11 dev-util/boost-build-1.41.0 kde-base/kde-env-4.4.5 media-gfx/exiv2-0.19 media-libs/a52dec-0.7.4-r6 media-libs/aalib-1.4_rc5 media-libs/faac-1.28-r1 media-libs/faad2-2.7 media-libs/gst-plugins-base-0.10.29 media-libs/gst-plugins-good-0.10.22 media-libs/gstreamer-0.10.29 media-libs/ladspa-sdk-1.13-r1 media-libs/libao-1.0.0 media-libs/libcuefile-444 media-libs/libdca-0.0.5-r2 media-libs/libdv-1.0.0-r2 media-libs/libdvdcss-1.2.10 media-libs/libdvdread-4.1.3_p1168 media-libs/libmad-0.15.1b-r2 media-libs/libmng-1.0.10 media-libs/libmodplug-0.8.7 media-libs/libmp4v2-1.9.1 media-libs/libreplaygain-444 media-libs/libsdl-1.2.13-r1 media-libs/libtheora-1.1.1 media-libs/libv4l-0.6.1 media-libs/libvpx-0.9.0_p20100612 media-libs/libwmf-0.2.8.4-r3 media-libs/musicbrainz-2.1.5 media-libs/opencore-amr-0.1.2 media-libs/schroedinger-1.0.8 media-libs/x264-0.0.20100605 media-libs/xvid-1.2.2-r2 media-plugins/gst-plugins-flac-0.10.22 media-plugins/gst-plugins-meta-0.10-r4 media-plugins/gst-plugins-ogg-0.10.29 media-plugins/gst-plugins-pulse-0.10.22 media-plugins/gst-plugins-v4l-0.10.29 media-plugins/gst-plugins-v4l2-0.10.22 media-plugins/gst-plugins-vorbis-0.10.29 media-plugins/live-2009.06.02 media-sound/cdparanoia-3.10.2-r3 media-sound/lame-3.98.2-r1 media-sound/musepack-tools-444-r1 media-sound/twolame-0.3.12 media-video/dirac-1.0.2 media-video/vcdimager-0.7.23 net-analyzer/netcat-110-r8 net-dns/bind-tools-9.4.3_p5 net-dns/idnkit-1.0-r1 net-im/tkabber-svn-0 net-irc/irssi-0.8.15 net-libs/libnet-1.1.4-r1 net-libs/libpcap-1.1.1 net-misc/telnet-bsd-1.2-r1 net-print/cups-1.4.4 sys-devel/automake-1.10.3 sys-devel/automake-1.9.6-r3 sys-fs/fuse-2.8.1 sys-fs/ntfs3g-2010.3.6 sys-libs/libutempter-1.1.5 virtual/glu-7.0 virtual/texi2dvi-0 virtual/ttf-fonts-1 www-client/opera-10.61_pre6415 x11-apps/xclock-1.0.4 x11-apps/xmessage-1.0.3 x11-libs/libXScrnSaver-1.2.0 x11-terms/rxvt-unicode-9.07-r1 x11-terms/xterm-250 x11-themes/gtk-chtheme-0.3.1-r1 x11-themes/gtk-engines-2.18.5 Sorry for not filtering out the obviously uninteresting ones – I put them all in for the sake of completness.
Please test, should be fixed now. +*tkXwin-1.0-r2 (07 Dec 2010) + + 07 Dec 2010; Justin Lecher <jlec@gentoo.org> +files/1.0-configure.patch, + tkXwin-1.0-r1.ebuild, +tkXwin-1.0-r2.ebuild: + Fix for installation Problem, #235388 +