Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303447 - cross-i686-pc-mingw32/w32api (aka dev-util/mingw-runtime) fails to compile
Summary: cross-i686-pc-mingw32/w32api (aka dev-util/mingw-runtime) fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 13:07 UTC by Maciej Piechotka
Modified: 2010-02-04 16:41 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 Maciej Piechotka 2010-02-04 13:07:52 UTC
make[1]: Entering directory `/var/tmp/paludis/cross-i686-pc-mingw32-w32api-3.13/work/w32api-3.13-mingw32/lib'
gcc -c -O2 -pipe -ggdb -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block -I./../include  -o shell32.o shell32.c
gcc -c -O2 -pipe -ggdb -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block -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: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
./../include/winnt.h:2390: error: expected specifier-qualifier-list before 'PCONTEXT'
In file included from ./../include/windows.h:50,
                 from scrnsave.c:10:
./../include/winbase.h:1587: error: expected declaration specifiers or '...' before 'LPCONTEXT'
./../include/winbase.h:1963: error: 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: error: redefinition of '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: error: conflicting types for 'fd_set'
./../include/winsock2.h:64: note: previous declaration of 'fd_set' was here
/usr/include/sys/select.h:109: error: conflicting types for 'select'
./../include/winsock2.h:632: note: previous declaration of 'select' was here
scrnsave.c:36: warning: 'stdcall' attribute ignored
scrnsave.c:37: warning: 'stdcall' attribute ignored
scrnsave.c:51: warning: 'stdcall' attribute ignored
scrnsave.c:79: warning: 'stdcall' attribute ignored
scrnsave.c:245: warning: 'stdcall' attribute ignored
scrnsave.c:294: warning: 'stdcall' attribute ignored
scrnsave.c:394: warning: 'stdcall' attribute ignored
make[1]: Leaving directory `/var/tmp/paludis/cross-i686-pc-mingw32-w32api-3.13/work/w32api-3.13-mingw32/lib'
make[1]: *** [scrnsave.o] Error 1
make: *** [lib] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in cross-i686-pc-mingw32/w32api-3.13::crossdev:
!!! In src_compile at line 4026
!!! (no message provided)

!!! Call stack:
!!!    * src_compile (/var/tmp/paludis/cross-i686-pc-mingw32-w32api-3.13/temp/loadsaveenv:4026)
!!!    * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:51)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:616)
!!!    * main (/usr/libexec/paludis/ebuild.bash:644)

diefunc: making ebuild PID 9365 exit with error
die trap: exiting with error.


Reproducible: Always

Steps to Reproduce:




Package cross-i686-pc-mingw32/w32api-3.13:0::crossdev:

        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-O2 -pipe -ggdb -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT= 
        CONFIG_PROTECT_MASK= 
        CPPFLAGS=
        CTARGET=i686-pc-mingw32
        CXXFLAGS=-O2 -pipe -ggdb -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block
        DISTDIR=/var/tmp/distfiles
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common
        LINGUAS=en en_GB pl
        MAKEOPTS=-j3
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
        USE=amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_en linguas_en_GB linguas_pl ruby_targets_ruby18 userland_GNU video_cards_intel amd64 
        >>> Done builtin_infovars
        >>> Completed ebuild phases initmisc infovars
        >>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
        >>> Starting builtin_tidyup
        rm -fr /var/tmp/paludis/cross-i686-pc-mingw32-w32api-3.13-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup
Comment 1 Maciej Piechotka 2010-02-04 13:20:28 UTC
it seems that with x86_64-pc-mingw32 it is not present. Probably bug in crossdev as it should not create  i686-pc-mingw32 on amd64.