Your message dated Fri, 24 May 2024 22:21:06 +0000
with message-id <[email protected]>
and subject line Bug#1071451: fixed in gmsh 4.12.2+ds1-2
has caused the Debian Bug report #1071451,
regarding src:gmsh: FTBFS with new opencascade 7.8.1
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 [email protected]
immediately.)


-- 
1071451: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071451
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gmsh
Severity: important
Tags: patch ftbfs

Dear maintainer,

gmsh FTBFS with the new opencascade 7.8.1 as the CMakeLists.txt missed to list 
one library,
and therefore many symbols are not resolved at build time:

Excerpt of build log:

/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`STEPCAFControl_Reader::STEPCAFControl_Reader()'
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`STEPCAFControl_Reader::ChangeReader()'
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`HeaderSection_FileDescription::SetImplementationLevel(opencascade::handle<TCollection_HAsciiString>
 const&)'
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`APIHeaderSection_MakeHeader::FdValue() const'
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`HeaderSection_FileName::SetTimeStamp(opencascade::handle<TCollection_HAsciiString>
 const&)'
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`APIHeaderSection_MakeHeader::APIHeaderSection_MakeHeader(int)'
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`HeaderSection_FileName::SetOriginatingSystem(opencascade::handle<TCollection_HAsciiString>
 const&)'
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`StepData_StepModel::AddHeaderEntity(opencascade::handle<Standard_Transient> 
const&)'
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`HeaderSection_FileName::SetPreprocessorVersion(opencascade::handle<TCollection_HAsciiString>
 const&)'
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`StepData_StepModel::Header() const'
collect2: error: ld returned 1 exit status
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`STEPCAFControl_Reader::Transfer(opencascade::handle<TDocStd_Document> const&, 
Message_ProgressRange const&)'
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`HeaderSection_FileName::SetName(opencascade::handle<TCollection_HAsciiString> 
const&)'
collect2: error: ld returned 1 exit status
/usr/bin/ld: libgmsh.so.4.12.2: undefined reference to 
`STEPControl_Writer::Write(char const*)'
make[4]: *** [CMakeFiles/t13_cpp.dir/build.make:190: t13_cpp] Error 1
make[4]: Leaving directory '/build/gmsh-4.12.2+ds1/debian/build'
make[3]: *** [CMakeFiles/Makefile2:1759: CMakeFiles/t13_cpp.dir/all] Error 2
make[4]: *** [CMakeFiles/t14_cpp.dir/build.make:190: t14_cpp] Error 1
make[4]: Leaving directory '/build/gmsh-4.12.2+ds1/debian/build'


The attached patch makes the packages compile here locally - the patch *should*
be backward compatible with the older opencascade currently in sid.

-- 
tobi

-- System Information:
Debian Release: trixie/sid
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1331,7 +1331,7 @@
     if(FREETYPE_FOUND)
       if(OCC_VERSION AND OCC_VERSION VERSION_GREATER_EQUAL "7.8.0")
         set(OCC_CAF_LIBS_REQUIRED
-            TKXCAF TKLCAF TKVCAF TKCAF TKV3d TKService TKCDF)
+            TKXCAF TKLCAF TKVCAF TKCAF TKV3d TKService TKCDF TKDESTEP )
       else()
         set(OCC_CAF_LIBS_REQUIRED
             TKXDESTEP TKXDEIGES TKXCAF TKLCAF TKVCAF TKCAF TKV3d TKService 
TKCDF)

--- End Message ---
--- Begin Message ---
Source: gmsh
Source-Version: 4.12.2+ds1-2
Done: Tobias Frost <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gmsh, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tobias Frost <[email protected]> (supplier of updated gmsh 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 24 May 2024 23:43:14 +0200
Source: gmsh
Architecture: source
Version: 4.12.2+ds1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Tobias Frost <[email protected]>
Closes: 1071451
Changes:
 gmsh (4.12.2+ds1-2) unstable; urgency=medium
 .
   * Team upload.
   * Fix FTBFS with opencascade 7.8.1 (Closes: #1071451) and to ensure
     that the rebuilt netgen is used, add a version to the B-D on libnglib-dev.
Checksums-Sha1:
 bec39400ad7d5380c76b3bba2e3739653743bf1c 2922 gmsh_4.12.2+ds1-2.dsc
 38e21d2d7c0b53ed653af545a7d1b4130d0ca418 26052 gmsh_4.12.2+ds1-2.debian.tar.xz
 85bd22ee23d8bbcae74c32e2e2b3d2d9f3aea650 17638 
gmsh_4.12.2+ds1-2_amd64.buildinfo
Checksums-Sha256:
 fa6450fe20ff8feb0483bcf979042caac0420ce60a3d03ebfd363f5611c8f41e 2922 
gmsh_4.12.2+ds1-2.dsc
 30e251b891b2b4d36c0a9016bd1abae3434c87879b5a20712ad7a8364574052e 26052 
gmsh_4.12.2+ds1-2.debian.tar.xz
 d8a384d00f83ece266842631644ac4d0b1548ba90b3a0466feb583c73be8c562 17638 
gmsh_4.12.2+ds1-2_amd64.buildinfo
Files:
 0aee12dcc75504c4ea4a1632e715e4e5 2922 math optional gmsh_4.12.2+ds1-2.dsc
 ea779ec33dce1c6387e4ee9603ccecaa 26052 math optional 
gmsh_4.12.2+ds1-2.debian.tar.xz
 140ffd07fb001e6ce905c915f9aa9747 17638 math optional 
gmsh_4.12.2+ds1-2_amd64.buildinfo

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

iQIzBAEBCAAdFiEE/d0M/zhkJ3YwohhskWT6HRe9XTYFAmZRDMAACgkQkWT6HRe9
XTb9fBAArlfkOCorMFN9XWQkkIXIpWHZlcgV67O0Iswrs5snA9L1HAooddBFfdcP
Nf3cor9sOHeWCdfKZYIa/eYXgxEQ2FY1By5zcEUTS8dkjSWWSZ4TC1X0ZL3OCT3+
C5IVzhNCo+6MjIN7HQRaY7nPTX5QUxVqAclIzk+/TJS8ciLUFvDUV+SHYInqqnH0
hI5YewSqcf3Rh8ngAOnul0haxLzIfbPi0sFX4qa4gr9qH+1p6DO/q/WyQSpri3gf
I2ZfexHWLIwivWvKnED8+gLw+xp111Ok0yU5WlnO7iixYHvVAUUDlAEwe9gV0Xd5
8hnI4k8/5SJMQIo8IWlqV2P2BtAM4DrtJM8lg7FtUQrx2RCZHiKt5Guu3ldJbJF7
RMQqUX3bWzlQqN+3TT2irbPgg8sUEwBkrKk2zBfdrruF7HEupy873OezOsDTyrbe
v7NF9ErPuVUKFuQvHgqUdZbO6z71WKPDOaDkyvj/DODuHWeXB0F14UCpR1zyPGoK
tVTcbk/z9bfDkPEl0weISUGNAThh7IPQ3NIPl6Vuky+8MsWXbLepuv9wyHw6fBqb
sEMCny3JlXsnf9WET/oTN3npwAtZkkXcixnGs7ZqKmCmlkbIFohZinoOg88a4Oc+
jgu11O7Y+OPnILcF7WjQ5wd6BAgzFX/kPpf+8VYkTgLjyBPDbXI=
=G4W5
-----END PGP SIGNATURE-----

Attachment: pgpUImBiBPU7m.pgp
Description: PGP signature


--- End Message ---

Reply via email to