Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147963 - dev-util/w32api-3.7: Invalid configuration
Summary: dev-util/w32api-3.7: Invalid configuration
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-17 10:37 UTC by David Watzke
Modified: 2007-01-04 01:26 UTC (History)
2 users (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 David Watzke 2006-09-17 10:37:08 UTC
# emerge w32api
Calculating dependencies... done!

>>> Emerging (1 of 1) dev-util/w32api-3.7 to /
 * w32api-3.7-src.tar.gz MD5 ;-) ...      [ ok ]
 * w32api-3.7-src.tar.gz RMD160 ;-) ...   [ ok ]
 * w32api-3.7-src.tar.gz SHA1 ;-) ...     [ ok ]
 * w32api-3.7-src.tar.gz SHA256 ;-) ...   [ ok ]
 * w32api-3.7-src.tar.gz size ;-) ...     [ ok ]
 * checking ebuild checksums ;-) ...      [ ok ]
 * checking auxfile checksums ;-) ...     [ ok ]
 * checking miscfile checksums ;-) ...    [ ok ]
 * checking w32api-3.7-src.tar.gz ;-) ... [ ok ]

!!! ERROR: dev-util/w32api-3.7 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  w32api-3.7.ebuild, line 32:   Called die

!!! Invalid configuration
!!! If you need support, post the topmost build error, and the call stack if relevant.

On ~amd64 and ~x86 boxes...

Portage 2.1.2_pre1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r7! x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7! x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Sun, 17 Sep 2006 17:00:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.3-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.20_alpha2
sys-devel/autoconf:  2.13, 2.60
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.17.50.0.3
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe"
DISTDIR="/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.sk/pub http://distfiles.gentoo.org/"
LANG="cs_CZ.utf8"
LC_ALL="cs_CZ.utf8"
LINGUAS="cs"
MAKEOPTS="-j3"
PKGDIR="/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/20GB/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acl acpi alsa apache2 asf avi bitmap-fonts bzip2 cairo cdparanoia cdr cli css cups curl curlwrappers custom-cflags cvs dbus dga dts dvd dvdr dvdread elibc_glibc emboss enca encode fbcon ffmpeg firefox flash ftp fuse gcc64 gd gdbm gif gpm hal iconv id3 id3v2 imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog jabber javascript jingle jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux lame lcms libg++ linguas_cs mad matroska mime mp3 mpeg mplayer mpm-event ncurses nls nowebdav nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl pdflib pic png posix ppds pppd print python qt qt3 qt4 quicktime readline reflection sdl session sockets spl ssl subversion svg symlink theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_nvidia vorbis wma xcomposite xine xml xml2 xorg xpm xrandr xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS


Portage 2.1.2_pre1 (default-linux/x86/2006.1/desktop, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Sempron(tm) 2600+
Gentoo Base System version 1.12.5
Last Sync: Sun, 17 Sep 2006 15:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://mirror.gentoo.sk/pub http://distfiles.gentoo.org"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs en"
MAKEOPTS="-j3"
PKGDIR="/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="/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/overlay/dave /overlay/xgl-coffee"
SYNC="rsync://213.239.215.148/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac alsa apache2 arts asf bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli css cups custom-cflags dbus dga dlloader dri dts dvd dvdr dvdread elibc_glibc emboss enca encode fbcon ffmpeg firefox flac fortran ftp gd gdbm gif gimp gphoto2 gpm hal iconv input_devices_keyboard input_devices_mouse isdnlog jabber jingle jpeg kde kdeenablefinal kernel_linux lame libg++ linguas_cs linguas_en mad matroska mikmod mmx mmxext mp3 mpeg mplayer musepack mysql ncurses nls nptl nptlonly nvidia ogg oggvorbis openal opengl pam pcre perl pic png ppds pppd python qt qt3 qt4 readline reflection samba sane sdl session spl sse ssl svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 video_cards_nvidia vorbis win32codecs xine xml xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Watzke 2006-09-17 10:44:10 UTC
And when I removed this function from the ebuild:

pkg_setup() {
        if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
                die "Invalid configuration"
        fi
}

then:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/ddk/Makefile
config.status: creating lib/directx/Makefile
make AS="x86_64-pc-linux-gnu-as" CC="x86_64-pc-linux-gnu-gcc" CPPFLAGS="" CFLAGS="-O2 -g" CXXFLAGS="" AR="x86_64-pc-linux-gnu-ar" RANLIB="x86_64-pc-linux-gnu-ranlib" LD="x86_64-pc-linux-gnu-ld" DLLTOOL="dlltool" TAR="tar" TARFLAGS="z" TARFILEEXT=".tar.gz" WINDRES="windres" -C lib
make[1]: Entering directory `/20GB/var/tmp/portage/w32api-3.7-r1/work/w32api-3.7/lib'
dlltool --as=x86_64-pc-linux-gnu-as -k --output-lib libaclui.a --def aclui.def
make[1]: dlltool: Command not found


Missing dependency?
Comment 2 David Watzke 2006-09-17 11:02:57 UTC
Compilation of dev-util/xmingw-w32api-3.2 is funny too...

dlltool --as=i386-mingw32msvc-as -k --output-lib libksproxy.a --def ksproxy.def
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
...
>>> Source compiled.
>>> Test phase [not enabled]: dev-util/xmingw-w32api-3.2

>>> Install xmingw-w32api-3.2 into /20GB/var/tmp/portage/xmingw-w32api-3.2/image/ category dev-util
for i in lib; do \
                (cd $i; make install); \
        done
make[1]: Entering directory `/20GB/var/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 `/20GB/var/tmp/portage/xmingw-w32api-3.2/work/w32api-3.2/lib'
make: *** [install] Error 2

It uses dlltool which (a bit later) does not exists? Sounds like a problem...
Comment 3 SpanKY gentoo-dev 2007-01-04 01:26:36 UTC
you arent supposed to emerge w32api yourself