Comment 4 for bug 2009967

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Yeah, that step breaks these builds:
build-shdebug
build-debug

$ cat > testfile
CFLAGS=$(echo "-g -Og -ffile-prefix-map=/home/ubuntu/git/packages/python3.11/python3.11=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector -Wformat -Werror=format-security -fdebug-prefix-map=/home/ubuntu/git/packages/python3.11/python3.11=/usr/src/python3.11-3.11.2-5" | sed "s#$prefix#$prefix_real#")

$ cat testfile | sed -e '/^OPT/s,-O3,-O2,' \
    -e 's/-O3/-O2/g' \
    -e 's/-fprofile-use *-fprofile-correction//g' \
    -e 's/-fstack-protector /-fstack-protector-strong /g' \
    -e "s/-specs=[^ ']*//g" \
    -e "s/-fdebug-prefix-map=[^ ']*//g" \
    -e "s/-ffile-prefix-map=[^ ']*//g" \
    -e 's/-Wl,-z,relro//g' \
    -e 's,^RUNSHARED *=.*,RUNSHARED=,' \
    -e '/BLDLIBRARY/s/-L\. //'
CFLAGS=$(echo "-g -Og -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security | sed "s#$prefix#$prefix_real#")

broken^