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

Bug#1015713: marked as done (zam-plugins: ftbfs with LTO (link time optimization) enabled)



Your message dated Mon, 26 Dec 2022 20:40:45 +0000
with message-id <E1p9uH7-0073Hr-Fb@fasolo.debian.org>
and subject line Bug#1015713: fixed in zam-plugins 4.1+ds-1
has caused the Debian Bug report #1015713,
regarding zam-plugins: ftbfs with LTO (link time optimization) enabled
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1015713: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015713
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:zam-plugins
Version: 3.14~repack3-1
Severity: minor
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-lto

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/zam-plugins_3.14~repack3-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make \
	PREFIX=/usr \
	NOOPT=false
make[2]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C dpf/dgl
make[3]: Entering directory '/<<PKGBUILDDIR>>/dpf/dgl'
Compiling src/Application.cpp
Compiling src/Color.cpp
Compiling src/Geometry.cpp
Compiling src/ImageBase.cpp
Compiling src/Resources.cpp
Compiling src/Widget.cpp
Compiling src/OpenGL.cpp (OpenGL variant)
Compiling src/Image.cpp (OpenGL variant)
Compiling src/ImageWidgets.cpp (OpenGL variant)
Compiling src/NanoVG.cpp (OpenGL variant)
Compiling src/WidgetPrivateData.cpp (OpenGL variant)
Compiling src/Window.cpp (OpenGL variant)
Creating libdgl-opengl.a
Symlinking libdgl.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/dpf/dgl'
/usr/bin/make -C plugins/ZamComp
make[3]: Entering directory '/<<PKGBUILDDIR>>/plugins/ZamComp'
Compiling ZamCompPlugin.cpp
Compiling ZamCompArtwork.cpp
Compiling ZamCompUI.cpp
ZamCompUI.cpp: In member function ‘virtual void DISTRHO::ZamCompUI::onDisplay()’:
ZamCompUI.cpp:278:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  278 |     for (int i=numRedLeds; i>0; --i)
      |     ^~~
ZamCompUI.cpp:281:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  281 |         if (fLedYellowValue >= 20.f)
      |         ^~
Compiling DistrhoPluginMain.cpp (JACK)
Compiling DistrhoUIMain.cpp (JACK)
Creating JACK standalone for ZamComp
In function ‘fons__freeFont’,
    inlined from ‘fonsAddFontMem’ at ../../dpf/dgl/src/nanovg/fontstash.h:919:16,
    inlined from ‘nvgCreateFontMem’ at ../../dpf/dgl/src/nanovg/nanovg.c:2164:23,
    inlined from ‘loadSharedResources’ at ../../dpf/dgl/src/NanoVG.cpp:925:21:
../../dpf/dgl/src/nanovg/fontstash.h:821:47: warning: ‘free’ called on unallocated object ‘temp1’ [-Wfree-nonheap-object]
  821 |         if (font->freeData && font->data) free((void*)font->data);
      |                                               ^
../../dpf/dgl/src/nanovg/fontstash.h: In member function ‘loadSharedResources’:
../../dpf/dgl/src/Resources.cpp:5:28: note: declared here
    5 | static const unsigned char temp1[] = {0,1,0,0,0,19,1,0,0,4,0,48,70,70,84,77,102,9,29,176,0,0,1,60,0,0,0,28,71,68,69,70,144,48,138,184,0,0,1,88,
      |                            ^
/usr/bin/ld: /tmp/cc99AiZl.ltrans0.ltrans.o: in function `DGL::ZamKnob::onDisplay()':
./plugins/ZamComp/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
/usr/bin/ld: ./plugins/ZamComp/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
/usr/bin/ld: /tmp/cc99AiZl.ltrans1.ltrans.o: in function `DGL::Image::_drawAt(DGL::Point<int> const&)':
./plugins/ZamComp/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
collect2: error: ld returned 1 exit status
make[3]: *** [../../dpf/Makefile.plugins.mk:174: ../../bin/ZamComp] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/plugins/ZamComp'
make[2]: *** [Makefile:32: ZamComp] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: zam-plugins
Source-Version: 4.1+ds-1
Done: Dennis Braun <snd@debian.org>

We believe that the bug you reported is fixed in the latest version of
zam-plugins, 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 1015713@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dennis Braun <snd@debian.org> (supplier of updated zam-plugins 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 26 Dec 2022 21:01:07 +0100
Source: zam-plugins
Architecture: source
Version: 4.1+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Dennis Braun <snd@debian.org>
Closes: 982964 1015713
Changes:
 zam-plugins (4.1+ds-1) unstable; urgency=medium
 .
   * New upstream version 4.1+ds
     + Repack with Files-Excluded
   * Build with dpf-source
   * d/rules: Enable LTO (Closes: #1015713)
   * Build verbose (Closes: #982964)
   * Pass CPPFLAGS via CFLAGS/CXXFLAGS
   * Make blhc ignore lines starting with "Compiling ..."
   * Allow cross compiling
     + Do not hardcode pkg-config
   * Apply wrap-and-sort -ast
   * Change my email address
   * Prefer libjack-dev over libjack-jackd2-dev
   * Bump Standards-Version to 4.6.2
   * d/copyright: Bump copyright year, add files licensed as CC-BY
   * d/gbp.conf: Remove wrong compression
   * Refresh lintian-overrides
   * Add salsa ci config
Checksums-Sha1:
 f9fd61aaef0aac736e40ef523ba31d2ea9c92e8a 2244 zam-plugins_4.1+ds-1.dsc
 3e158bdf2e4d3f51dfab93d20bbc0a129f8da753 12713056 zam-plugins_4.1+ds.orig.tar.xz
 5be52ea78a802e99bb309a9688453a9f1ab38c89 10404 zam-plugins_4.1+ds-1.debian.tar.xz
 607571d75b49bf69734033aee20ed04858cfda90 7261 zam-plugins_4.1+ds-1_source.buildinfo
Checksums-Sha256:
 c1c974024cd9266f5f34d920c5b316452cd09b062eff166f652231b1a13353aa 2244 zam-plugins_4.1+ds-1.dsc
 6e5b492a518986b2eeb9f6ca3c984ac1022de369e295884877ff041d02e1ebcf 12713056 zam-plugins_4.1+ds.orig.tar.xz
 9751ef07c48f0b960f1359b76760ac7a4554b753084cde0255d4b6b225c4c280 10404 zam-plugins_4.1+ds-1.debian.tar.xz
 4364578878a41545502c4b8c41ef8c5527be8219bb9a027ec203cb13c4e4423d 7261 zam-plugins_4.1+ds-1_source.buildinfo
Files:
 8cf737d74f2e994be479982a4cf3bf56 2244 sound optional zam-plugins_4.1+ds-1.dsc
 ac6aeddfcf0b4f7b5c3f88150fefcd85 12713056 sound optional zam-plugins_4.1+ds.orig.tar.xz
 c12cf9edda7740060a6f2d67856ead2a 10404 sound optional zam-plugins_4.1+ds-1.debian.tar.xz
 7845e41b5d76544e1a420fcd636fbc54 7261 sound optional zam-plugins_4.1+ds-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEPLfDAq+1fmGoxhfdY06lXZArmDYFAmOp/sQPHHNuZEBkZWJp
YW4ub3JnAAoJEGNOpV2QK5g26sQP+wft3jpep2oeNdSB+hlPSBNvxJFSBgpcaUxF
wcvjNVI/EbRSKqpdoUlYs5Koc9i81JM2Z9QJh6qr7c/5udV9Ai4vW0rAkPa6Of9r
6IsyvrAVZ1wLH4AKdRrEiLPbx3XkDNfI22w3qD8mKLwsV5kqnGNwYPuuJ3Aq2tkq
ySOiYLXmocKywRbJRdiWIvhl9CuD2FlseRQlzc4v3nRiz998Kj90ej8otylm5+8J
a7SEl1/pt81KOQBPNvsYSrTf54J/iosmBH9VZWqlwVG0NqzgX+mNmTCAJE0i1pBr
a+VyPc7e2quDDbfd9JrymNnt2RCYtoSzVdI9CKKeqbIMfPD/gJQfUQMhSij7Nukn
DVTxy7tFQU5Rn8qO2okfbG3NvVU9uRbTE7VI8RPZKEKQ0f3TgNSjAf3QpdV1/H/I
8PY8i8hhJIeQ+ugPN+A4SUDrvYLw3+T/jtx3H2AnLYHh2oXX26PsDGLVfTbsadHv
wleq7qiy8pxefeOb0DHD5PlFIbFxhnrAAKsQvHsYWGr9gRvdsLoTQq+Mis2qjShY
CA4R0j9/T7UIOLBHXseLMK2vAO2qAur74nr40zSaRZn0ZGeVx2Xu7KhKkRkSCK0g
RVNm0C+dbow7Ckznz9IgXDsiW4KPFdws9GbqpOvaD2qIzSN9fP5CmAokaE3RQzvH
GNp3eH4C
=4oM+
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: