[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#921904: win-iconv: FTBFS (wine: chdir to /tmp/wine-I6miLw/server-29-3583b06 : No such file or directory)



Control: tags 921904 + help

On Sat 2019-02-09 23:50:03 +0000, Santiago Vila wrote:
> Package: src:win-iconv
> Version: 0.0.8-2
> Severity: serious
> Tags: ftbfs
>
> Dear maintainer:
>
> I tried to build this package in buster but it failed:
>
> --------------------------------------------------------------------------------
> [...]
>  debian/rules build-indep
> dh build-indep
>    dh_update_autotools_config -i
>    dh_auto_configure -i
>    debian/rules override_dh_auto_build-indep
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> for arch in x86_64-w64-mingw32 i686-w64-mingw32; do \
>  mkdir -p build-$arch && \
>  cd build-$arch && \
>   ln -s ../*.h ../*.c ../*.def ../Makefile ./ && \
>   /usr/bin/make CC=$arch-gcc AR=$arch-ar RANLIB=$arch-ranlib DLLTOOL=$arch-dlltool prefix=/usr/$arch \
>   || exit 1 ; \
>   cd .. ; \
> done
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build-x86_64-w64-mingw32'
> x86_64-w64-mingw32-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -pedantic -Wall -DUSE_LIBICONV_DLL -DDEFAULT_LIBICONV_DLL=\"\" -c win_iconv.c -DMAKE_DLL
> x86_64-w64-mingw32-gcc -shared -o iconv.dll -Wl,-s -Wl,--out-implib=libiconv.dll.a -Wl,--export-all-symbols win_iconv.o 
> x86_64-w64-mingw32-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -pedantic -Wall -DUSE_LIBICONV_DLL -DDEFAULT_LIBICONV_DLL=\"\" -c win_iconv.c
> x86_64-w64-mingw32-ar rcs libiconv.a win_iconv.o
> x86_64-w64-mingw32-ranlib libiconv.a
> x86_64-w64-mingw32-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -pedantic -Wall -DUSE_LIBICONV_DLL -DDEFAULT_LIBICONV_DLL=\"\" -s -o win_iconv.exe win_iconv.c -DMAKE_EXE
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-x86_64-w64-mingw32'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build-i686-w64-mingw32'
> i686-w64-mingw32-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -pedantic -Wall -DUSE_LIBICONV_DLL -DDEFAULT_LIBICONV_DLL=\"\" -c win_iconv.c -DMAKE_DLL
> i686-w64-mingw32-gcc -shared -o iconv.dll -Wl,-s -Wl,--out-implib=libiconv.dll.a -Wl,--export-all-symbols win_iconv.o 
> i686-w64-mingw32-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -pedantic -Wall -DUSE_LIBICONV_DLL -DDEFAULT_LIBICONV_DLL=\"\" -c win_iconv.c
> i686-w64-mingw32-ar rcs libiconv.a win_iconv.o
> i686-w64-mingw32-ranlib libiconv.a
> i686-w64-mingw32-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -pedantic -Wall -DUSE_LIBICONV_DLL -DDEFAULT_LIBICONV_DLL=\"\" -s -o win_iconv.exe win_iconv.c -DMAKE_EXE
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-i686-w64-mingw32'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cd build-x86_64-w64-mingw32 && WINEPREFIX=/<<PKGBUILDDIR>>/build-x86_64-w64-mingw32/.wine /usr/bin/make CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar RANLIB=x86_64-w64-mingw32-ranlib DLLTOOL=x86_64-w64-mingw32-dlltool test
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build-x86_64-w64-mingw32'
> x86_64-w64-mingw32-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -pedantic -Wall -DUSE_LIBICONV_DLL -DDEFAULT_LIBICONV_DLL=\"\" -s -o win_iconv_test.exe win_iconv_test.c
> wine ./win_iconv_test.exe
> it looks like wine32 is missing, you should install it.
> multiarch needs to be enabled first.  as root, please
> execute "dpkg --add-architecture i386 && apt-get update &&
> apt-get install wine32"
> wine: created the configuration directory '/<<PKGBUILDDIR>>/build-x86_64-w64-mingw32/.wine'
> wine: chdir to /tmp/wine-I6miLw/server-29-3583b06 : No such file or directory
> make[2]: *** [Makefile:51: test] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-x86_64-w64-mingw32'
> make[1]: *** [debian/rules:40: override_dh_auto_test] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:19: build-indep] Error 2
> dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
> E: Build killed with signal TERM after 60 minutes of inactivity
> --------------------------------------------------------------------------------
>
> (Additionally, the autobuilder hangs and sbuild has to kill remaining processes)
>
> The build was made in my autobuilder with "dpkg-buildpackage -A"
> and it also fails here:
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/win-iconv.html
>
> where you can get a full build log if you need it.
>
> If this is really a bug in one of the build-depends, please use reassign and affects,
> so that this is still visible in the BTS web page for this package.
>
> Thanks.



Interesting. I can see the same behavior above (without the hanging) on
my own cowbuilder instance.

But building it directly on a dedicated amd64 VM, i see a completed run,
(output at the end).

I don't think the problem is "missing" wine32, because my run succeeds
despite not having wine32 installed.  I'm cc'ing the debian-wine mailing
list in hopes that they can point to what's happening here.

I've uploaded 0.0.8-3, cleaning up the packaging and moving it to salsa,
so that it's easier for other people to contribute fixes.

I no longer need wine-iconv in debian myself (GnuPG apparently imported
part of it directly), so if no one understands the situation well enough
to fix the build-time tests, i might go ahead and ask for its removal.

But i'd love to better understand what's going wrong here too.

   --dkg


make[1]: Entering directory '/home/dkg/src/win-iconv/win-iconv'
cd build-x86_64-w64-mingw32 && WINEPREFIX=/home/dkg/src/win-iconv/win-iconv/build-x86_64-w64-mingw32/.wine /usr/bin/make CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar RANLIB=x86_64-w64-mingw32-ranlib DLLTOOL=x86_64-w64-mingw32-dlltool test
make[2]: Entering directory '/home/dkg/src/win-iconv/win-iconv/build-x86_64-w64-mingw32'
x86_64-w64-mingw32-gcc -g -O2 -fdebug-prefix-map=/home/dkg/src/win-iconv/win-iconv=. -Wformat -Werror=format-security -pedantic -Wall -DUSE_LIBICONV_DLL -DDEFAULT_LIBICONV_DLL=\"\" -s -o win_iconv_test.exe win_iconv_test.c
wine ./win_iconv_test.exe
it looks like wine32 is missing, you should install it.
multiarch needs to be enabled first.  as root, please
execute "dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32"
wine: created the configuration directory '/home/dkg/src/win-iconv/win-iconv/build-x86_64-w64-mingw32/.wine'
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
0012:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0012:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0012:err:ole:apartment_createwindowifneeded CreateWindow failed with error 183
000b:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
000b:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0012:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x800736b7
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 800736b7
0012:err:ole:get_local_server_stream Failed: 800736b7
0010:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0010:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Could not load wine-gecko. HTML rendering will be disabled.
it looks like wine32 is missing, you should install it.
multiarch needs to be enabled first.  as root, please
execute "dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32"
0025:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0025:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/dkg/src/win-iconv/win-iconv/build-x86_64-w64-mingw32/.wine' has been updated.

DLL TEST IS SKIPPED

ascii(414243) -> ascii(414243): OK
ascii(80) -> ascii(:EILSEQ): OK
ascii(FF) -> ascii(:EILSEQ): OK
utf-16(FEFF0102) -> utf-16be(0102): OK
utf-16(FFFE0201) -> utf-16be(0102): OK
utf-32(0000FEFF00000102) -> utf-32be(00000102): OK
utf-32(FFFE000002010000) -> utf-32be(00000102): OK
utf-16(FEFF0001) -> utf-8(01): OK
utf-8(01) -> utf-16(FEFF0001): OK
utf-8(01) -> utf-32(0000FEFF00000001): OK
utf-16be(FEFF0102) -> utf-16be(FEFF0102): OK
utf-16le(FFFE0201) -> utf-16be(FEFF0102): OK
utf-32be(0000FEFF00000102) -> utf-32be(0000FEFF00000102): OK
utf-32le(FFFE000002010000) -> utf-32be(0000FEFF00000102): OK
utf-16be(FEFF0001) -> utf-8(EFBBBF01): OK
utf-8(EFBBBF01) -> utf-8(EFBBBF01): OK
utf-16be(0102) -> utf-16le(0201): OK
utf-16le(0201) -> utf-16be(0102): OK
utf-16be(FEFF) -> utf-16le(FFFE): OK
utf-16le(FFFE) -> utf-16be(FEFF): OK
utf-32be(00000304) -> utf-32le(04030000): OK
utf-32le(04030000) -> utf-32be(00000304): OK
utf-32be(0000FFFF) -> utf-16be(FFFF): OK
utf-16be(FFFF) -> utf-32be(0000FFFF): OK
utf-32be(00010000) -> utf-16be(D800DC00): OK
utf-16be(D800DC00) -> utf-32be(00010000): OK
utf-32be(0010FFFF) -> utf-16be(DBFFDFFF): OK
utf-16be(DBFFDFFF) -> utf-32be(0010FFFF): OK
utf-32be(00110000) -> utf-16be(:EILSEQ): OK
utf-16be(DBFFE000) -> utf-32be(:EILSEQ): OK
utf-8(E38182) -> utf-16be(3042): OK
utf-8(E3) -> utf-16be(:EINVAL): OK
utf-16be(FF5E) -> cp932(8160): OK
utf-16be(301C) -> cp932(8160): OK
utf-16be(FF5E) -> cp932//nocompat(8160): OK
utf-16be(301C) -> cp932//nocompat(:EILSEQ): OK
euc-jp(A4A2) -> utf-16be(3042): OK
euc-jp(A4A2A4) -> utf-16be(3042:EINVAL): OK
euc-jp(A4A2FFFF) -> utf-16be(3042:EILSEQ): OK
cp932(8160) -> iso-2022-jp(1B244221411B2842): OK
UTF-16BE(FF5E) -> iso-2022-jp(1B244221411B2842): OK
UTF-16BE(301C) -> iso-2022-jp//nocompat(:EILSEQ): OK
UTF-16BE(30423044) -> iso-2022-jp(1B2442242224241B2842): OK
iso-2022-jp(1B244221411B2842) -> UTF-16BE(FF5E): OK
UTF-16BE(FF41) -> iso-8859-1(:EILSEQ): OK
UTF-16BE(FF41) -> iso-8859-1//translit(61): OK
UTF-16BE(3042) -> ascii(:EILSEQ): OK
UTF-16BE(3042) -> ascii//translit(3F): OK
UTF-8(FF204120FF2042) -> ascii//ignore(2041202042:EILSEQ): OK
UTF-8(EFBCA1204120EFBCA22042) -> ascii//ignore(2041202042:EILSEQ): OK
UTF-8(EF01204120EF022042) -> ascii//ignore(01204120022042:EILSEQ): OK
make[2]: Leaving directory '/home/dkg/src/win-iconv/win-iconv/build-x86_64-w64-mingw32'
make[1]: Leaving directory '/home/dkg/src/win-iconv/win-iconv'
   create-stamp debian/debhelper-build-stamp
   dh_testroot
   dh_prep
   debian/rules override_dh_auto_install-indep
make[1]: Entering directory '/home/dkg/src/win-iconv/win-iconv'
for arch in x86_64-w64-mingw32 i686-w64-mingw32; do \
  cd build-$arch && \
  /usr/bin/make CC=$arch-gcc AR=$arch-ar RANLIB=$arch-ranlib DLLTOOL=$arch-dlltool prefix=/usr/$arch install DESTDIR=/home/dkg/src/win-iconv/win-iconv/debian/tmp \
  || exit 1 ; \
  cd .. ; \
done
make[2]: Entering directory '/home/dkg/src/win-iconv/win-iconv/build-x86_64-w64-mingw32'
install -c iconv.dll '/home/dkg/src/win-iconv/win-iconv/debian/tmp/usr/x86_64-w64-mingw32/bin'
install -c win_iconv.exe '/home/dkg/src/win-iconv/win-iconv/debian/tmp/usr/x86_64-w64-mingw32/bin'

Attachment: signature.asc
Description: PGP signature


Reply to: