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

Bug#860695: win32-loader: FTBFS on i386: segmentation fault



On 2017-04-19 13:32 +0200, Didier 'OdyX' Raboud wrote:

> Control: tags -1 +moreinfo +help
>
> Le mercredi, 19 avril 2017, 09.28:30 h CEST Lucas Nussbaum a écrit :
>> During a rebuild of all packages in stretch (in a stretch chroot, not a
>> sid chroot), your package failed to build on i386.
>
> win32-loader is a arch:all package, and is "usually" built on amd64 buildds, 
> on which it builds fine. This i386-specific FTBFS has been visible through the 
> reproducible builds infrastructure for a while:
>
> 	https://tests.reproducible-builds.org/debian/rb-pkg/testing/i386/win32-loader.html
>
>> Relevant part (hopefully):
>
> Actually:
>
>> > # Prepare the README file
>> > awk
>> > '{sub(/@PACKAGES_LIST@/,"grub2                     2.02~beta3-5          
>> >     http://ftp.debian.org/debian/pool/main/g/grub2\ncpio                  
>> >     2.11+dfsg-6               http://ftp.debian.org/debian/pool/main/c/cpi
>> > o\ngzip                      1.6-5                     http://ftp.debian.o
>> > rg/debian/pool/main/g/gzip\ngnupg2                    2.1.18-6            
>> >       http://ftp.debian.org/debian/pool/main/g/gnupg2\ndebian-archive-keyr
>> > ing    2014.3                    http://ftp.debian.org/debian/pool/main/d/
>> > debian-archive-keyring\nloadlin                   1.6f-5                  
>> >   http://ftp.debian.org/debian/pool/main/l/loadlin\nipxe                  
>> >     1.0.0+git-20161027.b991c6
>> > http://ftp.debian.org/debian/pool/main/i/ipxe\nnsis                      
>> > 2.51-1                    http://ftp.debian.org/debian/pool/main/n/nsis\nl
>> > ibgcrypt20               1.7.6-1                   http://ftp.debian.org/d
>> > ebian/pool/main/l/libgcrypt20\nlibgpg-error              1.26-2           
>> >          http://ftp.debian.org/debian/pool/main/l/libgpg-error\n";)}1 \
>> > {sub(/@NSIS_VERSION@/,"2.51-1+b1")}1 \
>> > {sub(/@W32_VERSION@/,"0.8.2")}1' \
>> > debian/win32-loader_doc.txt > win32-loader_0.8.2_all.txt
>> > Segmentation fault
>
> `awk` segfaults here. This seems to be an awk bug, or problem. Is the command-
> line for it too long, or is it something else?

Possibly it's the same problem as #158481.  A workaround is to use
original-awk or gawk instead of awk (and build-depend on it, of course).

I don't feel like debugging this issue, since mawk in Debian is
unmaintained. :-(

Cheers,
       Sven


Reply to: