Your message dated Fri, 14 Feb 2025 06:51:04 +0000
with message-id <e1tipxu-00091h...@fasolo.debian.org>
and subject line Bug#1093845: fixed in glslang 15.1.0-2
has caused the Debian Bug report #1093845,
regarding glslang-dev: autopkgtest regression in unstable: libraries from 
spirv.pc no longer sufficient to link a test program
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 ow...@bugs.debian.org
immediately.)


-- 
1093845: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093845
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: glslang-dev
Version: 15.0.0-1
Severity: serious
Justification: https://release.debian.org/testing/rc_policy.txt ยง6a
X-Debbugs-Cc: spirv-to...@packages.debian.org
Control: found -1 15.1.0-1
Control: block 1088554 by -1

It looks as though new versions of glslang and/or spirv-tools have caused
linking using spirv.pc to regress, similar to #951988. The test I
contributed in #951988 was previously successful, but is now failing.

Linking a simple test program to libglslang with glslang.pc is still
successful:

 64s + pkg-config --cflags --libs glslang
 64s + g++ -std=c++17 -o trivial trivial.cpp -lglslang -lMachineIndependent 
-lGenericCodeGen -lOSDependent -lSPVRemapper -lpthread
 65s + test -x trivial

but linking a slightly less simple test program with spirv.pc is not:

 65s + g++ -std=c++17 -o spirv spirv.cpp -lSPIRV -lSPIRV-Tools-opt 
-lSPIRV-Tools -lSPIRV-Tools-link -lglslang -lMachineIndependent 
-lGenericCodeGen -lOSDependent -lSPVRemapper -lpthread
 65s /usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglslang.a(SpvTools.cpp.o):
 in function `glslang::SpirvToolsDisassemble(std::ostream&, 
std::vector<unsigned int, std::allocator<unsigned int> > const&, 
spv_target_env)':
 65s (.text+0x423): undefined reference to `spvContextCreate'
 65s /usr/bin/ld: (.text+0x455): undefined reference to `spvBinaryToText'
 65s /usr/bin/ld: (.text+0x464): undefined reference to `spvDiagnosticPrint'
 (etc.)

The .pc files are a Debian-specific addition, so presumably the patches
that add them need updating to reflect how upstream would link programs
to these libraries?

Has libglslang.a perhaps grown a dependency on SPIRV-Tools, which is not
detected by the glslang.pc test-case because it's too simple? If that's the
case then it might need "Requires: SPIRV-Tools", like spirv.pc already has.

(I don't know much about the internal structure of these libraries, so I
don't know how their upstream developer intends them to fit together.)

Resolving this will be a prerequisite for src:glslang migrating to testing
(#1088554).

    smcv

--- End Message ---
--- Begin Message ---
Source: glslang
Source-Version: 15.1.0-2
Done: Timo Aaltonen <tjaal...@debian.org>

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

Debian distribution maintenance software
pp.
Timo Aaltonen <tjaal...@debian.org> (supplier of updated glslang 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Fri, 14 Feb 2025 08:29:18 +0200
Source: glslang
Built-For-Profiles: noudeb
Architecture: source
Version: 15.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaal...@debian.org>
Closes: 1093845
Changes:
 glslang (15.1.0-2) unstable; urgency=medium
 .
   * patches: Update pkgconf compatibility patch, refresh others.
   * patches: Fix linking in spirv.pc. Thanks, Philippe Swartvagher!
     (Closes: #1093845)
Checksums-Sha1:
 8321d807fb7cc47cfd123439ebc14eb59fd47b3c 2131 glslang_15.1.0-2.dsc
 1dda79bbfcf70f2208c4ddf1043eba0a374c130f 14724 glslang_15.1.0-2.debian.tar.xz
 0dd1dfa27ac9a9880d690c7771c58c167cb2720a 8501 glslang_15.1.0-2_source.buildinfo
Checksums-Sha256:
 7aadd59355bc064f1e0000e3c04f2971c6e2750729227f98bddd137875b6fc8f 2131 
glslang_15.1.0-2.dsc
 67aaa1d6883711b5f145091caf860d61b64adb8d1bf0163df64870c370c2a700 14724 
glslang_15.1.0-2.debian.tar.xz
 f05698b75002424987258bd4030d40295978233a427f350ee957316674a3fe1e 8501 
glslang_15.1.0-2_source.buildinfo
Files:
 bb2b4cfaa8b754111c257244ddb4538f 2131 libdevel optional glslang_15.1.0-2.dsc
 acce2ab460b3e4fde0b8c979fdf75e22 14724 libdevel optional 
glslang_15.1.0-2.debian.tar.xz
 889cb060d9efba99c82f5451133caf73 8501 libdevel optional 
glslang_15.1.0-2_source.buildinfo

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

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAmeu4swACgkQy3AxZaiJ
hNxnNg/+JFOFPP4Z3X3kMW26BpUMSTLL0VbuCyhBdGJKM9intPq9tFd4DaNyKxqK
sxWqjhQiVnH2ZcpACaj7i5CLoCYClsUnFpsLKTarqX4N6a8FFCwN+vuI1LcMMNN8
NwgUjVbzUvEkNdnvWrxg5+peip1puSteYXE2lpQ75HfX7KS/AYohRxJLvSDp9vrw
R8NaT/qcoy9Z4wMLKLDeunXOO16uGpRXDJJM8WH3ZBI62osJHZqyQ5ChtGj17KpQ
pfT7byeandKY01+VNfPsxByoUH6DwwLsnw2QRWi6ul7knF9bjm/Mf7H/+++apHWn
XP3Enpnnwa3waGu6dvYlnbcjN2yojRyRt39zL5aKBIytCvQwlyg8cKQ1QdWB5wXW
rRnVA4PTLFAJ4Z9Xtml33jp6z6HwiQkjam3Q+30LUSx/upCS11Cujygp9WOTP7rW
jhQncZkvxT+9VGXDPcXX5FAnS93iDZE9Re1YVFjUA54WWZl52uke5Q1iooi4qMSU
qnOnHQn5EF8/07bswlMRKm+t9P58rCfezjS2XIgb4e51nvPHC3fApKGSNhG5dJ4X
//FCbsEedg1u18VE3bzF7i2DCRT1YmF8m7OBbCA5nJLzPyTa9V+3kPVRpOAYxZ56
vDOgkTp5aXo/oUAIRzcQXzRr6QTeacKd02FntrxuOiY06cHFbOE=
=NTXY
-----END PGP SIGNATURE-----

Attachment: pgpJFMH5GqWOm.pgp
Description: PGP signature


--- End Message ---

Reply via email to