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^
Yeah, that step breaks these builds:
build-shdebug
build-debug
$ cat > testfile 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#")
CFLAGS=$(echo "-g -Og -ffile-
$ cat testfile | sed -e '/^OPT/s,-O3,-O2,' \ correction/ /g' \ protector /-fstack- protector- strong /g' \ prefix- map=[^ ']*//g" \ prefix- map=[^ ']*//g" \ protector- strong -Wformat -Werror= format- security | sed "s#$prefix# $prefix_ real#")
-e 's/-O3/-O2/g' \
-e 's/-fprofile-use *-fprofile-
-e 's/-fstack-
-e "s/-specs=[^ ']*//g" \
-e "s/-fdebug-
-e "s/-ffile-
-e 's/-Wl,-z,relro//g' \
-e 's,^RUNSHARED *=.*,RUNSHARED=,' \
-e '/BLDLIBRARY/s/-L\. //'
CFLAGS=$(echo "-g -Og -flto=auto -ffat-lto-objects -fstack-
broken^