• Need some help understanding compiler-flags-hidden lintian warning

    From Aaron Boxer@21:1/5 to All on Mon Sep 19 02:40:01 2022
    https://qa.debian.org/bls/packages/l/libgrokj2k.html

    From the build logs, I am unable to find which compiler flags are hidden. What's the best way of getting more information about the warning ?

    Thanks!

    <div dir="ltr"><a href="https://qa.debian.org/bls/packages/l/libgrokj2k.html">https://qa.debian.org/bls/packages/l/libgrokj2k.html</a><br><div><br></div><div>From the build logs, I am unable to find which compiler flags are hidden.</div><div>What&#39;s
    the best way of getting more information about the warning ?</div><div><br></div><div>Thanks!</div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeremy Sowden@21:1/5 to Aaron Boxer on Mon Sep 19 21:40:01 2022
    On 2022-09-18, at 20:35:37 -0400, Aaron Boxer wrote:
    https://qa.debian.org/bls/packages/l/libgrokj2k.html

    From the build logs, I am unable to find which compiler flags are hidden. What's the best way of getting more information about the warning ?

    Running blhc on a couple of the build-logs yields this warning:

    LDFLAGS missing (-Wl,-z,now): /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -shared -Wl,-soname,libgrokj2k_
    plugin.so.1 -o ../../../bin/libgrokj2k_plugin.so.10.0.2 CMakeFiles/grokj2k_plugin.dir/Plugin.cpp.o

    J.

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

    iQIzBAABCgAdFiEEbB20U2PvQDe9VtUXKYasCr3xBA0FAmMovqYACgkQKYasCr3x BA3Tew//aFpxW9q+28zOknz2mZnjNHNoC0G4QdJstPJkEhvN/H5t/gC9/+0SnnA8 hwn3PjWGASXwvOr9+QO3yMIeZFaWq11lcy77uc2K2DFSkcho1hzTdT9OaVwFifAo CRSetNClhWfmDxN9P2DasFMZ6C9au9rM3qpqXeNIcx2AvVdwZS0hMbSyOH9cfVBf blxghHwLhw0yVX6dFIcLjvzeoVHRsl4luBuxb1Ys0s58SfV3dCQR998QKCdnf5lc blF5/MsDw5D8mpa6P3SuovIDtkZ8FWt89oLeDtS1J56MRh5DgZ0rCq5WwhpuUXh+ DQhJfPRRCEJ2pXHrCKS3G5m2qRiQy9UYCWxfspANFTX6qpNkgmknpNXi+sw9Pp+/ ldbZzYU1zI9VG9n6Xzj8QbhBsTNaSJlD6UyAHngsN5Edl3vQLTrDPXqGKbO5tj60 cXW18vnWaV2fYzfVNsX+mYIKclBe6LFXa2EqGLGg5wzZGX5ZFrlFy2wAOxEm2+D1 RptBH4lvrSVIUjvw3xmpkweSE/mAYSR2e/3i3DQTCpl70xRfI/1PXbQE5+srG3ov Mth5fv/GL7DV0aVQ4i4PcAMhycS4TDNVwlbf57cUN+5J2bzqxFP7yADz0RVE+TJk T6xIapIgNbvnGkR7naqZPTJIvl5ptcWx+STiU/W+stUw5XX33+o=
    =Ah0a
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aaron Boxer@21:1/5 to jeremy@azazel.net on Mon Sep 19 23:10:01 2022
    On Mon, Sep 19, 2022 at 3:10 PM Jeremy Sowden <jeremy@azazel.net> wrote:

    On 2022-09-18, at 20:35:37 -0400, Aaron Boxer wrote:
    https://qa.debian.org/bls/packages/l/libgrokj2k.html

    From the build logs, I am unable to find which compiler flags are
    hidden.
    What's the best way of getting more information about the warning ?

    Running blhc on a couple of the build-logs yields this warning:

    LDFLAGS missing (-Wl,-z,now): /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -shared -Wl,-soname,libgrokj2k_plugin.so.1 -o ../../../bin/libgrokj2k_plugin.so.10.0.2 CMakeFiles/grokj2k_plugin.dir/Plugin.cpp.o

    J.


    Thanks, Jeremy. That was indeed one of the warnings. The others I fixed by configuring cmake for verbose builds.

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 19, 2022 at 3:10 PM Jeremy Sowden &lt;<a href="mailto:jeremy@azazel.net">jeremy@azazel.net</a>&gt; wrote:<br></div><blockquote class="gmail_
    quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2022-09-18, at 20:35:37 -0400, Aaron Boxer wrote:<br>
    &gt; <a href="https://qa.debian.org/bls/packages/l/libgrokj2k.html" rel="noreferrer" target="_blank">https://qa.debian.org/bls/packages/l/libgrokj2k.html</a><br>
    &gt; <br>
    &gt; &gt;From the build logs, I am unable to find which compiler flags are hidden.<br>
    &gt; What&#39;s the best way of getting more information about the warning ?<br>

    Running blhc on a couple of the build-logs yields this warning:<br>

      LDFLAGS missing (-Wl,-z,now): /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -shared -Wl,-soname,
    libgrokj2k_plugin.so.1 -o ../../../bin/libgrokj2k_plugin.so.10.0.2 CMakeFiles/grokj2k_plugin.dir/Plugin.cpp.o<br>

    J.<br></blockquote><div><br></div><div>Thanks, Jeremy. That was indeed one of the warnings. The others I fixed by configuring cmake for verbose builds.</div><div> </div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aaron Boxer@21:1/5 to boxerab@gmail.com on Mon Sep 19 23:20:01 2022
    On Mon, Sep 19, 2022 at 5:07 PM Aaron Boxer <boxerab@gmail.com> wrote:



    On Mon, Sep 19, 2022 at 3:10 PM Jeremy Sowden <jeremy@azazel.net> wrote:

    On 2022-09-18, at 20:35:37 -0400, Aaron Boxer wrote:
    https://qa.debian.org/bls/packages/l/libgrokj2k.html

    From the build logs, I am unable to find which compiler flags are
    hidden.
    What's the best way of getting more information about the warning ?

    Running blhc on a couple of the build-logs yields this warning:

    LDFLAGS missing (-Wl,-z,now): /usr/bin/c++ -fPIC -g -O2
    -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
    -Werror=format-security -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 >> -Wl,-z,relro -shared -Wl,-soname,libgrokj2k_plugin.so.1 -o
    ../../../bin/libgrokj2k_plugin.so.10.0.2
    CMakeFiles/grokj2k_plugin.dir/Plugin.cpp.o

    J.


    Thanks, Jeremy. That was indeed one of the warnings. The others I fixed by configuring cmake for verbose builds.


    Now that I have fixed these warnings, (and the package should be lintian clean), I have uploaded another version to mentors;
    would greatly appreciate help uploading it to unstable.
    Thanks,
    Aaron

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 19, 2022 at 5:07 PM Aaron Boxer &lt;<a href="mailto:boxerab@gmail.com">boxerab@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_
    quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 19, 2022 at 3:10 PM Jeremy Sowden &lt;<a
    href="mailto:jeremy@azazel.net" target="_blank">jeremy@azazel.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2022-09-18, at 20:35:37 -0400, Aaron
    Boxer wrote:<br>
    &gt; <a href="https://qa.debian.org/bls/packages/l/libgrokj2k.html" rel="noreferrer" target="_blank">https://qa.debian.org/bls/packages/l/libgrokj2k.html</a><br>
    &gt; <br>
    &gt; &gt;From the build logs, I am unable to find which compiler flags are hidden.<br>
    &gt; What&#39;s the best way of getting more information about the warning ?<br>

    Running blhc on a couple of the build-logs yields this warning:<br>

      LDFLAGS missing (-Wl,-z,now): /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -shared -Wl,-soname,
    libgrokj2k_plugin.so.1 -o ../../../bin/libgrokj2k_plugin.so.10.0.2 CMakeFiles/grokj2k_plugin.dir/Plugin.cpp.o<br>

    J.<br></blockquote><div><br></div><div>Thanks, Jeremy. That was indeed one of the warnings. The others I fixed by configuring cmake for verbose builds.</div></div></div></blockquote><div><br></div><div>Now that I have fixed these warnings, (and the
    package should be lintian clean), I have uploaded another version to mentors;</div><div>would greatly appreciate help uploading it to unstable.</div><div>Thanks,</div><div>Aaron</div><div> </div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)