Quantcast

Wine crosstest build fails with "unexpected version string length 68 != 32 + 8"

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Wine crosstest build fails with "unexpected version string length 68 != 32 + 8"

Andrew Eikum
(I see another user reported this a few hours ago, but I cannot for
the life of me find a Message-Id through Google, so I'm starting a new
thread with more information.)

Arch Linux recently upgraded mingw32-binutils from 2.22 to 2.23.1.
This introduced a build failure in Wine's crosstest suite in
<dlls/oleaut32/tests>:

i486-mingw32-windres: unexpected version string length 68 != 32 + 8

Relevant(?) package versions:

gcc-multilib 4.7.2-2:
$(gcc -v): gcc version 4.7.2 (GCC)

binutils-multilib 2.23.1-1:
$(ld -v): GNU ld (GNU Binutils) 2.23.1

To reproduce:

Check out Wine:
$ git clone git://source.winehq.org/git/wine.git

Configure & build:
$ ./configure && make

Make crosstest:
$ make crosstest

Eventually <dlls/oleaut32/tests> will fail with the above message.
I've attached a file containing the relevant output on my system.

Please let me know if I can provide more information or test out
patches.

Thanks,
Andrew Eikum

[aeikum@aeikum tests]$ make clean
rm -f *.o *.a *.so *.mo *.ln *.res *.fake *.so \#*\# *~ *% .\#* *.bak *.orig *.rej *.flc core  test_reg_i.c tmarshal_i.c     test_reg.h tmarshal.h   test_reg.tlb test_tlb.tlb tmarshal.tlb          
rm -f testlist.c oleaut32_test.exe dispatch.ok olefont.ok olepicture.ok safearray.ok tmarshal.ok typelib.ok usrmarshal.ok varformat.ok vartest.ok vartype.ok oleaut32_crosstest.exe
[aeikum@aeikum tests]$ make -j1 crosstest
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o dispatch.cross.o dispatch.c
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o olefont.cross.o olefont.c
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o olepicture.cross.o olepicture.c
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o safearray.cross.o safearray.c
../../../tools/widl/widl -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS   -h -o tmarshal.h tmarshal.idl
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o tmarshal.cross.o tmarshal.c
../../../tools/widl/widl -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS   -h -o test_reg.h test_reg.idl
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o typelib.cross.o typelib.c
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o usrmarshal.cross.o usrmarshal.c
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o varformat.cross.o varformat.c
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o vartest.cross.o vartest.c
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o vartype.cross.o vartype.c
../../../tools/widl/widl -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS   -u -o test_reg_i.c test_reg.idl
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o test_reg_i.cross.o test_reg_i.c
../../../tools/widl/widl -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS   -u -o tmarshal_i.c tmarshal.idl
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o tmarshal_i.cross.o tmarshal_i.c
../../../tools/widl/widl -m32 -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS   -t -o tmarshal.tlb tmarshal.idl
../../../tools/widl/widl -m32 -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS   -t -o test_tlb.tlb test_tlb.idl
../../../tools/widl/widl -m32 -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS   -t -o test_reg.tlb test_reg.idl
LD_LIBRARY_PATH="../../../libs/wine:$LD_LIBRARY_PATH" ../../../tools/wrc/wrc --nostdinc --po-dir=../../../po -m32 -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS   -o tmarshal.res tmarshal.rc
../../../tools/make_ctests -o testlist.c dispatch.c olefont.c olepicture.c safearray.c tmarshal.c typelib.c usrmarshal.c varformat.c vartest.c vartype.c
ccache i486-mingw32-gcc -c -I. -I. -I../../../include -I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS  -DWINE_CROSSTEST -I/usr/include/freetype2    -g -O2 -o testlist.cross.o testlist.c
../../../tools/winegcc/winegcc -b i486-mingw32 -B../../../tools/winebuild --sysroot=../../.. --lib-suffix=.cross.a dispatch.cross.o olefont.cross.o olepicture.cross.o safearray.cross.o tmarshal.cross.o typelib.cross.o usrmarshal.cross.o varformat.cross.o vartest.cross.o vartype.cross.o test_reg_i.cross.o tmarshal_i.cross.o tmarshal.res testlist.cross.o -o oleaut32_crosstest.exe -loleaut32 -lole32 -lrpcrt4 -luser32 -lgdi32 -ladvapi32  
i486-mingw32-windres: unexpected version string length 68 != 32 + 8
winebuild: i486-mingw32-windres failed with status 1
winegcc: ../../../tools/winebuild/winebuild failed
make: *** [oleaut32_crosstest.exe] Error 2
[aeikum@aeikum tests]$

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
MinGW-users mailing list
[hidden email]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:[hidden email]?subject=unsubscribe
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wine crosstest build fails with "unexpected version string length 68 != 32 + 8"

Andrew Eikum
On Mon, Nov 26, 2012 at 10:29:05AM -0600, Andrew Eikum wrote:
> ccache i486-mingw32-gcc -c -I. -I. ...

I realised after I sent this mail that I had ccache enabled. I
re-built without ccache and had the same problem, so that's not the
culprit.

Andrew

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
MinGW-users mailing list
[hidden email]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:[hidden email]?subject=unsubscribe
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wine crosstest build fails with "unexpected version string length 68 != 32 + 8"

Earnie Boyd
On Mon, Nov 26, 2012 at 11:45 AM, Andrew Eikum wrote:
> On Mon, Nov 26, 2012 at 10:29:05AM -0600, Andrew Eikum wrote:
>> ccache i486-mingw32-gcc -c -I. -I. ...
>
> I realised after I sent this mail that I had ccache enabled. I
> re-built without ccache and had the same problem, so that's not the
> culprit.
>

As Kai mentioned in the other thread you alluded to the bug is in
binutils and a patch has already been submitted to the binutils bug
list.

--
Earnie
-- https://sites.google.com/site/earnieboyd

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
MinGW-users mailing list
[hidden email]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:[hidden email]?subject=unsubscribe
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wine crosstest build fails with "unexpected version string length 68 != 32 + 8"

Earnie Boyd
On Tue, Nov 27, 2012 at 9:11 AM, Earnie Boyd wrote:

> On Mon, Nov 26, 2012 at 11:45 AM, Andrew Eikum wrote:
>> On Mon, Nov 26, 2012 at 10:29:05AM -0600, Andrew Eikum wrote:
>>> ccache i486-mingw32-gcc -c -I. -I. ...
>>
>> I realised after I sent this mail that I had ccache enabled. I
>> re-built without ccache and had the same problem, so that's not the
>> culprit.
>>
>
> As Kai mentioned in the other thread you alluded to the bug is in
> binutils and a patch has already been submitted to the binutils bug
> list.

Chris, can you find the patch and apply it locally to the 2.23.1
version so we don't keep getting bit?

--
Earnie
-- https://sites.google.com/site/earnieboyd

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
MinGW-users mailing list
[hidden email]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:[hidden email]?subject=unsubscribe
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wine crosstest build fails with "unexpected version string length 68 != 32 + 8"

Andrew Eikum
In reply to this post by Earnie Boyd
On Tue, Nov 27, 2012 at 09:11:22AM -0500, Earnie Boyd wrote:

> On Mon, Nov 26, 2012 at 11:45 AM, Andrew Eikum wrote:
> > On Mon, Nov 26, 2012 at 10:29:05AM -0600, Andrew Eikum wrote:
> >> ccache i486-mingw32-gcc -c -I. -I. ...
> >
> > I realised after I sent this mail that I had ccache enabled. I
> > re-built without ccache and had the same problem, so that's not the
> > culprit.
> >
>
> As Kai mentioned in the other thread you alluded to the bug is in
> binutils and a patch has already been submitted to the binutils bug
> list.
>

Yep, I see his mail. Thanks for pointing it out :)

Have a good one,
Andrew

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
MinGW-users mailing list
[hidden email]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:[hidden email]?subject=unsubscribe
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wine crosstest build fails with "unexpected version string length 68 != 32 + 8"

Siegfried-H
This post has NOT been accepted by the mailing list yet.
Sorry to bother you all. But I'm hitting this issue :

windres: unexpected version string length 68 != 32 + 8

while installation of the PAR::PACKER module.

Can someone please point me to the patch do with the issue ?

regards
Siegfried

Windows XP 32 bit SP3, strawberry perl 5.16.2.1 (fresh installation)

Below the installation logs :

Installing C:\strawberry\perl\site\lib\Module\ScanDeps.pm
Installing C:\strawberry\perl\site\lib\Module\ScanDeps\Cache.pm
Installing C:\strawberry\perl\site\lib\Module\ScanDeps\DataFeed.pm
Installing C:\strawberry\perl\site\bin\scandeps.bat
Installing C:\strawberry\perl\site\bin\scandeps.pl
Appending installation info to C:\strawberry\perl\lib/perllocal.pod
  RSCHUPP/Module-ScanDeps-1.10.tar.gz
  C:\strawberry\c\bin\dmake.exe install UNINST=1 -- OK
Running make for R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz
  Has already been unwrapped into directory C:\strawberry\cpan\build\PAR-Packer-
1.013-ugWvu_

  CPAN.pm: Building R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz

cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm
cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm
cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm
cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm
cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm
cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm
cp lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm
cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm
cp lib/pp.pm blib\lib\pp.pm
cp lib/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm
C:\strawberry\perl\bin\perl.exe file2c.pl -s ..\script\par.pl my_par_pl.c load_m
y_par_pl
C:\strawberry\perl\bin\perl.exe sha1.c.PL
gcc -c -s -O2 -DWIN32  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IM
PLICIT_SYS -fno-strict-aliasing -mms-bitfields  -I"C:\strawberry\perl\lib\CORE"
 -DLOAD_MY_LIBGCC -DPARL_EXE=\"parl.exe\" -s -O2 main.c
windres -F pei-i386 -i winres\pp.rc -o winres\pp.res
windres -o ppresource.coff winres\pp.res
windres: unexpected version string length 68 != 32 + 8
dmake:  Error code 129, while making 'ppresource.coff'
dmake.exe:  Error code 255, while making 'subdirs'
  RSCHUPP/PAR-Packer-1.013.tar.gz
  C:\strawberry\c\bin\dmake.exe -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Stopping: 'install' failed for 'R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz'.
Loading...