Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473708 - cross-i686-mingw32/mingw-runtime-3.20.2 - src_compile(): crt1.c:48:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
Summary: cross-i686-mingw32/mingw-runtime-3.20.2 - src_compile(): crt1.c:48:16: error:...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Crossdev team
URL:
Whiteboard:
Keywords:
Depends on: 584858
Blocks: crossdev-bugs
  Show dependency tree
 
Reported: 2013-06-18 14:33 UTC by John Manko
Modified: 2018-04-07 12:39 UTC (History)
0 users

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


Attachments
build.log (mingw-runtime-3.20.2-build-log.txt,4.76 KB, text/plain)
2013-06-18 14:33 UTC, John Manko
Details
environment (mingw-runtime-3.20.2-environment.txt,121.65 KB, text/plain)
2013-06-18 14:33 UTC, John Manko
Details
build info (mingw-runtime-3.20.2-info.txt,5.11 KB, text/plain)
2013-06-18 14:34 UTC, John Manko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Manko 2013-06-18 14:33:05 UTC
Emerging cross-i686-mingw32/mingw-runtime-3.20.2 from godin errors:

>>> Compiling source in /var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32 ...
make -j2 
gcc -c -D__CRTDLL__ -U__MSVCRT__ -O2 -march=corei7-avx -pipe -I ./include -I ./../include -nostdinc -iwithprefixbefore include -I /usr/i686-mingw32/usr/include crt1.c -o crt1.o
gcc -c -D__CRTDLL__ -U__MSVCRT__ -O2 -march=corei7-avx -pipe -I ./include -I ./../include -nostdinc -iwithprefixbefore include -I /usr/i686-mingw32/usr/include dllcrt1.c -o dllcrt1.o
gcc -c -D__MSVCRT__ -U__CRTDLL__ -O2 -march=corei7-avx -pipe -I ./include -I ./../include -nostdinc -iwithprefixbefore include -I /usr/i686-mingw32/usr/include crt1.c -o crt2.o
gcc -c -D__MSVCRT__ -U__CRTDLL__ -O2 -march=corei7-avx -pipe -I ./include -I ./../include -nostdinc -iwithprefixbefore include -I /usr/i686-mingw32/usr/include dllcrt1.c -o dllcrt2.o
crt1.c:48:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
make: *** [crt2.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: cross-i686-mingw32/mingw-runtime-3.20.2 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=cross-i686-mingw32/mingw-runtime-3.20.2'`,
 * the complete build log and the output of `emerge -pqv '=cross-i686-mingw32/mingw-runtime-3.20.2'`.
 * This ebuild is from an overlay named 'godin': '/var/lib/layman/godin/'
 * The complete build log is located at '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/temp/environment'.
 * Working directory: '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32'
 * S: '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32'

>>> Failed to emerge cross-i686-mingw32/mingw-runtime-3.20.2, Log file:

>>>  '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/temp/build.log'

 * Messages for package cross-i686-mingw32/mingw-runtime-3.20.2:

 * ERROR: cross-i686-mingw32/mingw-runtime-3.20.2 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=cross-i686-mingw32/mingw-runtime-3.20.2'`,
 * the complete build log and the output of `emerge -pqv '=cross-i686-mingw32/mingw-runtime-3.20.2'`.
 * This ebuild is from an overlay named 'godin': '/var/lib/layman/godin/'
 * The complete build log is located at '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/temp/environment'.
 * Working directory: '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32'
 * S: '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32'


Reproducible: Always

Steps to Reproduce:
1. emerge -uDvp cross-i686-pc-mingw32/gcc
Actual Results:  
>>> Emerging (1 of 52) cross-i686-mingw32/mingw-runtime-3.20.2 from godin
 * mingwrt-3.20-2-mingw32-src.tar.lzma SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking mingwrt-3.20-2-mingw32-src.tar.lzma to /var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work
>>> Source unpacked in /var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work
>>> Preparing source in /var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32 ...
 * Applying mingw-runtime-3.20-LDBL_MIN_EXP.patch ...                                                                                                                       [ ok ]
 * Running autoconf ...                                                                                                                                                     [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32 ...
 * econf: updating mingwrt-3.20-2-mingw32/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating mingwrt-3.20-2-mingw32/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-mingw32 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --host=i686-mingw32 --with-w32api-srcdir=/usr/i686-mingw32/usr
configure: loading site script /usr/share/config.site
checking package version... 3.20
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for i686-mingw32-gcc... no
checking for gcc... gcc
configure: WARNING: using cross tools not prefixed with host triplet
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
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-nm... i686-mingw32-nm
checking for i686-mingw32-objcopy... i686-mingw32-objcopy
checking for i686-mingw32-dlltool... i686-mingw32-dlltool
checking for i686-mingw32-dlltool... i686-mingw32-dlltool
checking for i686-mingw32-windres... i686-mingw32-windres
checking for windows.h in /usr/i686-mingw32/usr/include... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mingwex/Makefile
config.status: creating profile/Makefile
>>> Source configured.
>>> Compiling source in /var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32 ...
make -j2 
gcc -c -D__CRTDLL__ -U__MSVCRT__ -O2 -march=corei7-avx -pipe -I ./include -I ./../include -nostdinc -iwithprefixbefore include -I /usr/i686-mingw32/usr/include crt1.c -o crt1.o
gcc -c -D__CRTDLL__ -U__MSVCRT__ -O2 -march=corei7-avx -pipe -I ./include -I ./../include -nostdinc -iwithprefixbefore include -I /usr/i686-mingw32/usr/include dllcrt1.c -o dllcrt1.o
gcc -c -D__MSVCRT__ -U__CRTDLL__ -O2 -march=corei7-avx -pipe -I ./include -I ./../include -nostdinc -iwithprefixbefore include -I /usr/i686-mingw32/usr/include crt1.c -o crt2.o
gcc -c -D__MSVCRT__ -U__CRTDLL__ -O2 -march=corei7-avx -pipe -I ./include -I ./../include -nostdinc -iwithprefixbefore include -I /usr/i686-mingw32/usr/include dllcrt1.c -o dllcrt2.o
crt1.c:48:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
make: *** [crt2.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: cross-i686-mingw32/mingw-runtime-3.20.2 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=cross-i686-mingw32/mingw-runtime-3.20.2'`,
 * the complete build log and the output of `emerge -pqv '=cross-i686-mingw32/mingw-runtime-3.20.2'`.
 * This ebuild is from an overlay named 'godin': '/var/lib/layman/godin/'
 * The complete build log is located at '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/temp/environment'.
 * Working directory: '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32'
 * S: '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32'

>>> Failed to emerge cross-i686-mingw32/mingw-runtime-3.20.2, Log file:

>>>  '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/temp/build.log'

 * Messages for package cross-i686-mingw32/mingw-runtime-3.20.2:

 * ERROR: cross-i686-mingw32/mingw-runtime-3.20.2 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=cross-i686-mingw32/mingw-runtime-3.20.2'`,
 * the complete build log and the output of `emerge -pqv '=cross-i686-mingw32/mingw-runtime-3.20.2'`.
 * This ebuild is from an overlay named 'godin': '/var/lib/layman/godin/'
 * The complete build log is located at '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/temp/environment'.
 * Working directory: '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32'
 * S: '/var/tmp/portage/cross-i686-mingw32/mingw-runtime-3.20.2/work/mingwrt-3.20-2-mingw32'


Expected Results:  
emerged package
Comment 1 John Manko 2013-06-18 14:33:28 UTC
Created attachment 351308 [details]
build.log
Comment 2 John Manko 2013-06-18 14:33:47 UTC
Created attachment 351310 [details]
environment
Comment 3 John Manko 2013-06-18 14:34:06 UTC
Created attachment 351312 [details]
build info
Comment 4 SpanKY gentoo-dev 2013-06-18 17:50:18 UTC
(In reply to John Manko from comment #0)

what does "from godin" mean ?

you could try:
 crossdev -C i686-mingw32
 crossdev i686-mingw32
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2018-04-07 12:39:25 UTC
Please reopen if it's still an issue.