Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133141 - xmingw-win32api fails in test phase (dlltool: command not found)
Summary: xmingw-win32api fails in test phase (dlltool: command not found)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-12 11:48 UTC by Heiko Gerstung
Modified: 2006-09-23 08:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Gerstung 2006-05-12 11:48:04 UTC
I tried to install wx-xmingw, which requires (among others) xmingw-win32api. It seems that it builds fine and stops in test phase with the error message "dlltool: command not found", but dlltool has been used in the build phase already. 

WORKAROUND:
When I create a symlink from /opt/xmingw/bin/i386-mingw32msvc-dlltool to /usr/bin/dlltool, everything works fine. 

ERROR LOG:
Here are the last words from emerge xmingw-win32api:
...
dlltool --as=i386-mingw32msvc-as -k --output-lib libksuser.a --def ksuser.def
dlltool --as=i386-mingw32msvc-as -k --output-lib libmsdmo.a --def msdmo.def
dlltool --as=i386-mingw32msvc-as -k --output-lib libquartz.a --def quartz.def
i386-mingw32msvc-gcc -c -O2 -g -I./../../include -I./../../include/directx -I./../../../mingw/include -o strmiids.o strmiids.c
i386-mingw32msvc-ar rc libstrmiids.a strmiids.o
i386-mingw32msvc-ranlib libstrmiids.a
rm dmoguids.o dxguid.o strmiids.o
make[2]: Leaving directory `/tmp/portage/xmingw-w32api-3.2/work/w32api-3.2/lib/directx'
make[1]: Leaving directory `/tmp/portage/xmingw-w32api-3.2/work/w32api-3.2/lib'
>>> Source compiled.
>>> Test phase [not enabled]: dev-util/xmingw-w32api-3.2

>>> Install xmingw-w32api-3.2 into /tmp/portage/xmingw-w32api-3.2/image/ category dev-util
for i in lib; do \
                (cd $i; make install); \
        done
make[1]: Entering directory `/tmp/portage/xmingw-w32api-3.2/work/w32api-3.2/lib'
dlltool --as=i386-mingw32msvc-as -k --output-lib libkernel32.a --def ./kernel32.def
make[1]: dlltool: Command not found
make[1]: *** [libkernel32.a] Error 127
make[1]: Leaving directory `/tmp/portage/xmingw-w32api-3.2/work/w32api-3.2/lib'
make: *** [install] Error 2

!!! ERROR: dev-util/xmingw-w32api-3.2 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_install
  ebuild.sh, line 1002:   Called src_install
  xmingw-w32api-3.2.ebuild, line 49:   Called die

!!! make install failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

>>

EMERGE --INFO:

Portage 2.1_pre9-r5 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r2, 2.6.16-gentoo-r4 i686)
=================================================================
System uname: 2.6.16-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre18
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe"
DISTDIR="/data/install/gentoo/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sfperms"
GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local /usr/local/overlays/gentoo-de /usr/local/overlays/xgl-coffee"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 alsa apache2 apm avi berkdb bitmap-fonts cairo cli crypt cups divx4linux dri dv dvd dvdr dvdread eds emboss encode fame foomaticdb fortran gdbm gif glitz gnome gphoto2 gpm gstreamer gtk gtk2 howl httpd imap imlib ipv6 isdnlog java jpeg kde libg++ libwww mad mikmod mmx mono motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam parse-clocks pcre pda pdflib perl php png pppd python qt quicktime readline reflection scanner sdl session spell spl sse ssl subtitles svg tcpd tiff truetype truetype-fonts type1-fonts udev visualization vorbis xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_vga video_cards_nvidia video_cards_nv video_cards_fbdev video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tommy Li 2006-06-25 13:43:38 UTC
Same problem here.
Comment 2 Tommy Li 2006-06-25 13:50:00 UTC
Dupe of http://bugs.gentoo.org/show_bug.cgi?id=130722. Solution in other bug. I don't know how to mark.
Comment 3 SpanKY gentoo-dev 2006-09-23 08:05:41 UTC
xming has been integrated into toolchain and the xmingw packages are being killed

`emerge crossdev && crossdev mingw32`