#1015596 python-cmarkgfm: ftbfs with LTO (link time optimization) enabled

#1015596#5
Date:
2022-07-19 16:58:36 UTC
From:
To:
This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/python-cmarkgfm_0.8.0-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
copying src/cmarkgfm/cmark.py -> build/lib.linux-x86_64-3.10/cmarkgfm
running egg_info
writing src/cmarkgfm.egg-info/PKG-INFO
writing dependency_links to src/cmarkgfm.egg-info/dependency_links.txt
writing requirements to src/cmarkgfm.egg-info/requires.txt
writing top-level names to src/cmarkgfm.egg-info/top_level.txt
reading manifest file 'src/cmarkgfm.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.inc' under directory 'third_party/cmark/extensions'
adding license file 'LICENSE.txt'
writing manifest file 'src/cmarkgfm.egg-info/SOURCES.txt'
copying src/cmarkgfm/cmark.cffi.h -> build/lib.linux-x86_64-3.10/cmarkgfm
copying src/cmarkgfm/cmark_module.h -> build/lib.linux-x86_64-3.10/cmarkgfm
running build_ext
generating cffi module 'build/temp.linux-x86_64-3.10/cmarkgfm._cmark.c'
creating build/temp.linux-x86_64-3.10
building 'cmarkgfm._cmark' extension
creating build/temp.linux-x86_64-3.10/build
creating build/temp.linux-x86_64-3.10/build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/third_party
creating build/temp.linux-x86_64-3.10/third_party/cmark
creating build/temp.linux-x86_64-3.10/third_party/cmark/extensions
creating build/temp.linux-x86_64-3.10/third_party/cmark/src
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c build/temp.linux-x86_64-3.10/cmarkgfm._cmark.c -o build/temp.linux-x86_64-3.10/build/temp.linux-x86_64-3.10/cmarkgfm._cmark.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/extensions/autolink.c -o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/autolink.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/extensions/core-extensions.c -o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/core-extensions.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/extensions/ext_scanners.c -o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/ext_scanners.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/extensions/strikethrough.c -o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/strikethrough.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/extensions/table.c -o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/table.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/extensions/tagfilter.c -o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/tagfilter.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/extensions/tasklist.c -o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/tasklist.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/arena.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/arena.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/blocks.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/blocks.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/buffer.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/buffer.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/cmark.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/cmark.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/cmark_ctype.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/cmark_ctype.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/commonmark.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/commonmark.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/footnotes.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/footnotes.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/houdini_href_e.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/houdini_href_e.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/houdini_html_e.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/houdini_html_e.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/houdini_html_u.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/houdini_html_u.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/html.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/html.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/inlines.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/inlines.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/iterator.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/iterator.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/latex.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/latex.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/linked_list.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/linked_list.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/man.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/man.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/map.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/map.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/node.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/node.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/plaintext.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/plaintext.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/plugin.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/plugin.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/references.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/references.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/registry.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/registry.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/render.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/render.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/scanners.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/scanners.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/syntax_extension.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/syntax_extension.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/utf8.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/utf8.o -std=c99
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/third_party/cmark/src -I/<<PKGBUILDDIR>>/third_party/cmark/extensions -I/<<PKGBUILDDIR>>/generated/unix -I/usr/include/python3.10 -c third_party/cmark/src/xml.c -o build/temp.linux-x86_64-3.10/third_party/cmark/src/xml.o -std=c99
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.10/build/temp.linux-x86_64-3.10/cmarkgfm._cmark.o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/autolink.o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/core-extensions.o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/ext_scanners.o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/strikethrough.o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/table.o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/tagfilter.o build/temp.linux-x86_64-3.10/third_party/cmark/extensions/tasklist.o build/temp.linux-x86_64-3.10/third_party/cmark/src/arena.o build/temp.linux-x86_64-3.10/third_party/cmark/src/blocks.o build/temp.linux-x86_64-3.10/third_party/cmark/src/buffer.o build/temp.linux-x86_64-3.10/third_party/cmark/src/cmark.o build/temp.linux-x86_64-3.10/third_party/cmark/src/cmark_ctype.o build/temp.linux-x86_64-3.10/third_party/cmark/src/commonmark.o build/temp.linux-x86_64-3.10/third_party/cmark/src/footnotes.o build/temp.linux-x86_64-3.10/third_party/cmark/src/houdini_href_e.o build/temp.linux-x86_64-3.10/third_party/cmark/src/houdini_html_e.o build/temp.linux-x86_64-3.10/third_party/cmark/src/houdini_html_u.o build/temp.linux-x86_64-3.10/third_party/cmark/src/html.o build/temp.linux-x86_64-3.10/third_party/cmark/src/inlines.o build/temp.linux-x86_64-3.10/third_party/cmark/src/iterator.o build/temp.linux-x86_64-3.10/third_party/cmark/src/latex.o build/temp.linux-x86_64-3.10/third_party/cmark/src/linked_list.o build/temp.linux-x86_64-3.10/third_party/cmark/src/man.o build/temp.linux-x86_64-3.10/third_party/cmark/src/map.o build/temp.linux-x86_64-3.10/third_party/cmark/src/node.o build/temp.linux-x86_64-3.10/third_party/cmark/src/plaintext.o build/temp.linux-x86_64-3.10/third_party/cmark/src/plugin.o build/temp.linux-x86_64-3.10/third_party/cmark/src/references.o build/temp.linux-x86_64-3.10/third_party/cmark/src/registry.o build/temp.linux-x86_64-3.10/third_party/cmark/src/render.o build/temp.linux-x86_64-3.10/third_party/cmark/src/scanners.o build/temp.linux-x86_64-3.10/third_party/cmark/src/syntax_extension.o build/temp.linux-x86_64-3.10/third_party/cmark/src/utf8.o build/temp.linux-x86_64-3.10/third_party/cmark/src/xml.o -o build/lib.linux-x86_64-3.10/cmarkgfm/_cmark.abi3.so
/usr/bin/ld: /tmp/ccypegj7.ltrans0.ltrans.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
* Building wheel...

ERROR Backend subproccess exited when trying to invoke build_wheel
E: pybuild pybuild:369: build: plugin pyproject failed with: exit code=1: python3.10 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10
dh_auto_build: error: pybuild --build -i python{version} -p "3.9 3.10" returned exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1015596#16
Date:
2026-01-29 03:04:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-cmarkgfm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1015596@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated python-cmarkgfm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 28 Jan 2026 21:38:11 -0500
Source: python-cmarkgfm
Architecture: source
Version: 2025.10.22-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 1015596
Changes:
 python-cmarkgfm (2025.10.22-2) unstable; urgency=medium
 .
   * Team upload.
   * debian/rules: Explicitly enable full hardening and lto. (Closes: #1015596)
   * debian/watch: Update to version 5 using Pypi template.
Checksums-Sha1:
 44a37d123ee0ab083d6a02db2451b6520ac50ab2 2251 python-cmarkgfm_2025.10.22-2.dsc
 16e2e6bc44e3589601d6beaed2d17ef30b6c48e3 146727 python-cmarkgfm_2025.10.22.orig.tar.gz
 d5465849fe89defe34cb1252471073287f1d976c 5392 python-cmarkgfm_2025.10.22-2.debian.tar.xz
 cea2b6e252c9e598eebd45aaddadfdd86564fa89 8059 python-cmarkgfm_2025.10.22-2_amd64.buildinfo
Checksums-Sha256:
 a1b0327fc46a1b795ff2b88d73e53377b3cdd3b45a63fc68e0d27355853dc43c 2251 python-cmarkgfm_2025.10.22-2.dsc
 5bec61007b65b919488442c838c58a6c8bf4741f5103c593b2ef180d39818eda 146727 python-cmarkgfm_2025.10.22.orig.tar.gz
 89a15ee4f6c58975bfc60538a1792dd4974c8d6fd4c9a9a4e459021fa5364d30 5392 python-cmarkgfm_2025.10.22-2.debian.tar.xz
 8c1aad3acd1cec9036129eb5cab58a092d7967e65d864a7dd106a9f514321ad3 8059 python-cmarkgfm_2025.10.22-2_amd64.buildinfo
Files:
 5a92d11d47b4fbf43c3de07d4f6ac1c1 2251 python optional python-cmarkgfm_2025.10.22-2.dsc
 a5c5b84d922be8389820c2a34313f905 146727 python optional python-cmarkgfm_2025.10.22.orig.tar.gz
 2a53d260768eeafe76ff3879a78a3945 5392 python optional python-cmarkgfm_2025.10.22-2.debian.tar.xz
 f7a5c9eeea8dcf894ed827bdd7abf9c9 8059 python optional python-cmarkgfm_2025.10.22-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAml6yIQACgkQwpPntGGC
Ws7/5A/9HGw7aTG35r9uv4VMvX4OQnpJTSzRGLLfHdjHvgIOWu3WBQD/umHOu2vf
Vy+K34ZD+DuubSRZ72nijo3Jdg1lSrL/6PfuKyKxQs94QLIHYZToOxY26Z5Lw+YH
+jrTvfcaazkHTgZ6C+Vw94ioXWdqJG6CaNx/8EhS7D0qqxJ3nNXEAbiqYrinwBtR
bYG0ELSZMHiytI1tj3MbmgY2AQi7MH9BHSjVlC/+lp6MJSQJNrB2ZqBOYrl/Hitw
i8wz76t3Pq7RjmaMqAD1TAPAghgcYatFqe3oPU2HyfBfv9C4r36pzZnapdHb32MI
HoEBPdnzx8I5k57fgaVPuxORv7p8WX5hTNhqWbR3WZ9XZAHPVWIm/4BV0T5xdXNT
vu+NuwMOKAKdP63lTp7irycB+U+a68zwnzo6MJS7EENkYYXwadOZXCdBTkk+krRH
QqGFKoa7Mqk78xR8kozx9YjMRo2LJ/H+VeFsNhgE4LMk6ihujgl3z5CV7JTj1kh0
GKiwycKtkOVFFlocLBUNqLsOlGsk03GcWDU1H1HVnAaCEfP/0ZSoWaUNlC7anmm8
yp4t5VBn9nJSikbsfDqUfwxf+eifZQjxVUJPeZNyWYi/mjProO13Kv4qBGs+IEuH
gs5pw0X78lwJg9zvc462oSFtrs7sAKAOA6yZebu8424vd+fqQls=
=yc3i
-----END PGP SIGNATURE-----