Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310247 - sys-devel/crossdev-20100108 Emerging cross-w32api ... w32api failed
Summary: sys-devel/crossdev-20100108 Emerging cross-w32api ... w32api failed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 15:47 UTC by Paramonov Valeriy
Modified: 2010-04-11 20:32 UTC (History)
0 users

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 Paramonov Valeriy 2010-03-19 15:47:53 UTC
Hi. I think that is platform throuble. I have core2duo and -march=nocona flag. distcc and ccache is turned off.

# cat cross-i686-mingw32-w32api.log
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) cross-i686-mingw32/w32api-3.13 from unknown repo
 * w32api-3.13-mingw32-src.tar.gz RMD160 SHA1 SHA256 size ;-) ...        [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  cross-i686-mingw32/w32api-3.13
 * REPO: 
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
>>> Unpacking w32api-3.13-mingw32-src.tar.gz to /var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/work
 * Applying w32api-3.7-DESTDIR.patch ...
  [ ok ]
>>> Source unpacked in /var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/work
>>> Compiling source in /var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/work/w32api-3.13-mingw32 ...
 * econf: updating w32api-3.13-mingw32/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating w32api-3.13-mingw32/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=i686-mingw32 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/i686-mingw32/usr/lib --host=i686-mingw32 --prefix=/usr/i686-mingw32/usr
checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking for i686-mingw32-gcc... gcc
checking for i686-mingw32-ar... i686-mingw32-ar
checking for i686-mingw32-as... i686-mingw32-as
checking for i686-mingw32-ranlib... i686-mingw32-ranlib
checking for i686-mingw32-ld... i686-mingw32-ld
checking for i686-mingw32-dlltool... i686-mingw32-dlltool
checking for i686-mingw32-windres... i686-mingw32-windres
checking for build environment... standard
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 -j7 
make AS="i686-mingw32-as" CC="gcc" CPPFLAGS="" CFLAGS="-mtune=nocona -march=nocona -O2 -pipe" CXXFLAGS="-mtune=nocona -march=nocona -O2 -pipe" AR="i686-mingw32-ar" RANLIB="i686-mingw32-ranlib" LD="i686-mingw32-ld" DLLTOOL="i686-mingw32-dlltool" TAR="tar" TARFLAGS="z" TARFILEEXT=".tar.gz" WINDRES="i686-mingw32-windres" -C lib
make[1]: Entering directory `/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/work/w32api-3.13-mingw32/lib'
gcc -c -mtune=nocona -march=nocona -O2 -pipe -I./../include  -o shell32.o shell32.c
gcc -c -mtune=nocona -march=nocona -O2 -pipe -I./../include  -o scrnsave.o scrnsave.c
In file included from ./../include/windef.h:253,
                 from ./../include/windows.h:48,
                 from scrnsave.c:10:
./../include/winnt.h:2377:2: error: #error "undefined processor type"
In file included from ./../include/windef.h:253,
                 from ./../include/windows.h:48,
                 from scrnsave.c:10:
./../include/winnt.h:2379: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
./../include/winnt.h:2390: ошибка: expected specifier-qualifier-list before ‘PCONTEXT’
In file included from ./../include/windows.h:50,
                 from scrnsave.c:10:
./../include/winbase.h:1587: ошибка: expected declaration specifiers or ‘...’ before ‘LPCONTEXT’
./../include/winbase.h:1963: ошибка: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
In file included from /usr/include/sys/select.h:46,
                 from /usr/include/sys/types.h:220,
                 from /usr/include/stdlib.h:320,
                 from ./../include/objbase.h:12,
                 from ./../include/ole2.h:9,
                 from ./../include/windows.h:114,
                 from scrnsave.c:10:
/usr/include/bits/time.h:70: ошибка: повторное определение ‘struct timeval’
In file included from /usr/include/sys/types.h:220,
                 from /usr/include/stdlib.h:320,
                 from ./../include/objbase.h:12,
                 from ./../include/ole2.h:9,
                 from ./../include/windows.h:114,
                 from scrnsave.c:10:
/usr/include/sys/select.h:78: ошибка: несовместимые типы для ‘fd_set’
./../include/winsock2.h:64: замечание: здесь была предыдущая декларация ‘fd_set’
/usr/include/sys/select.h:109: ошибка: несовместимые типы для ‘select’
./../include/winsock2.h:632: замечание: здесь была предыдущая декларация ‘select’
scrnsave.c:36: предупреждение: атрибут ‘stdcall’ проигнорирован
scrnsave.c:37: предупреждение: атрибут ‘stdcall’ проигнорирован
scrnsave.c:51: предупреждение: атрибут ‘stdcall’ проигнорирован
scrnsave.c:79: предупреждение: атрибут ‘stdcall’ проигнорирован
scrnsave.c:245: предупреждение: атрибут ‘stdcall’ проигнорирован
scrnsave.c:294: предупреждение: атрибут ‘stdcall’ проигнорирован
scrnsave.c:394: предупреждение: атрибут ‘stdcall’ проигнорирован
make[1]: *** [scrnsave.o] Ошибка 1
make[1]: Leaving directory `/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/work/w32api-3.13-mingw32/lib'
make: *** [lib] Ошибка 2
 * ERROR: cross-i686-mingw32/w32api-3.13 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2691:  Called die
 * The specific snippet of code:
 *       emake || die
 * 
 * If you need support, post the output of 'emerge --info =cross-i686-mingw32/w32api-3.13',
 * the complete build log and the output of 'emerge -pqv =cross-i686-mingw32/w32api-3.13'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/temp/environment'.
 * S: '/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/work/w32api-3.13-mingw32'

>>> Failed to emerge cross-i686-mingw32/w32api-3.13, Log file:

>>>  '/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/temp/build.log'

 * Messages for package cross-i686-mingw32/w32api-3.13:
 * ERROR: cross-i686-mingw32/w32api-3.13 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2691:  Called die
 * The specific snippet of code:
 *       emake || die
 * 
 * If you need support, post the output of 'emerge --info =cross-i686-mingw32/w32api-3.13',
 * the complete build log and the output of 'emerge -pqv =cross-i686-mingw32/w32api-3.13'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/temp/environment'.
 * S: '/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/w32api-3.13/work/w32api-3.13-mingw32'


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2010-04-11 20:32:57 UTC
you need to post `emerge --info` when filing bug reports like the documentation says to.  crossdev itself told you to post multiple files as attachments.

try using `LC_ALL=C crossdev ...`