Your message dated Tue, 30 Aug 2022 23:19:03 +0000 with message-id <[email protected]> and subject line Bug#1004218: fixed in mathgl 8.0.1-3 has caused the Debian Bug report #1004218, regarding /usr/lib/cmake/mathgl2/MathGLTargets.cmake: mgltask is missing when using cmake find_package(MathGL2) 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.) -- 1004218: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004218 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libmgl-dev Version: 8.0.1-1 Severity: normal File: /usr/lib/cmake/mathgl2/MathGLTargets.cmake Dear maintainer, I am trying to use libmgl-dev with the following CMakeLists.txt: cmake_minimum_required(VERSION 3.15) project(GLPlotting) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_EXTENSIONS OFF) find_package(MathGL2 REQUIRED) Then issue the following command: mkdir -p build && cmake -B build -S . It yields the following unexpected error message: -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") CMake Error at /usr/lib/cmake/mathgl2/MathGLTargets.cmake:214 (message): The imported target "mgltask" references the file "/usr/bin/mgltask" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/mathgl2/MathGLTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/cmake/mathgl2/MathGL2Config.cmake:30 (include) CMakeLists.txt:7 (find_package) -- Configuring incomplete, errors occurred! I found that /usr/bin/mgltask is provided by mathgl package, thus libmgl-dev should depend on it, or the cmake script needs to be ammended not to look for it (I am not sure if/why these binaries are needed). Also /usr/lib/cmake/mathgl2/MathGLTargets.cmake is looking for /usr/bin/udav, which is provided by udav, so libmgl-dev (or maybe libmgl-fltk8 or similar judging from the context) should have a dependency on udav package. Then the same cmake script is looking for /usr/lib/cgi-bin/mgl.cgi whereas /usr/bin/mgl.cgi is provided by mathgl, so the path is wrong (maybe a symbolic link is needed? or parhaps mgl.cgi got installed in the wrong location?). I am not planning on using CGI API, so ideally mgl.cgi should be optional (e.g. requested as an argument to find_package command). Best regards, Marius -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (900, 'testing'), (500, 'stable-updates'), (500, 'stable'), (50, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.15.0-3-amd64 (SMP w/32 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:da:lt Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libmgl-dev depends on: ii libgl-dev 1.4.0-1 ii libgsl-dev 2.7.1+dfsg-3 ii libmgl-fltk8 8.0.1-1 ii libmgl-glut8 8.0.1-1 ii libmgl-mpi8 8.0.1-1 ii libmgl-qt5-8 8.0.1-1 ii libmgl-wnd8 8.0.1-1 ii libmgl-wx8 8.0.1-1 ii libmgl8 8.0.1-1 ii libpng-dev 1.6.37-3 libmgl-dev recommends no packages. libmgl-dev suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: mathgl Source-Version: 8.0.1-3 Done: Rafael Laboissière <[email protected]> We believe that the bug you reported is fixed in the latest version of mathgl, 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. Rafael Laboissière <[email protected]> (supplier of updated mathgl 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: Tue, 30 Aug 2022 18:50:47 -0300 Source: mathgl Architecture: source Version: 8.0.1-3 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <[email protected]> Changed-By: Rafael Laboissière <[email protected]> Closes: 1004218 1004219 Changes: mathgl (8.0.1-3) unstable; urgency=medium . * Make CMake "find_package(MathGL2)" work + d/control: libmgl-dev depend on mathgl (for /usr/bin/mgltask) and udav (for /usr/bin/udav) + d/mathgl.install: Install mgl.cgi in /usr/lib/cgi-bin + d/mathgl.links: Symlink /usr/lib/cgi-bin/mgl.cgi in /usr/bin (avoid Lintian warning spare-manual-page) Thanks to Marius Mikucionis for the diagnosis (Closes: #1004218) * d/control: Make libmgl-dev depend on lib{gif,hdf4,hdf5,hpdf}-dev Thanks to Marius Mikucionis for the diagnosis (Closes: #1004219) * d/s/lintian-overrides: New file (override warnings source-is-missing) Checksums-Sha1: c93cd014b8ebff47b651e8ff1cad4e3e0d0e12f1 3277 mathgl_8.0.1-3.dsc e155eda6a0a3ce80b411a5b40c8134b6504b6832 13736 mathgl_8.0.1-3.debian.tar.xz Checksums-Sha256: 6c9a383d18ac339875ce400cb4db52ba4d5ee6e7338b6fc03c5da68a627e1ef1 3277 mathgl_8.0.1-3.dsc 10e33a6ad696537c3bd4fe11ffcd6919c605c31e7236c2bc86b5f132e935c707 13736 mathgl_8.0.1-3.debian.tar.xz Files: c3a2ca7f187c55e41cd29112e06c9d8b 3277 science optional mathgl_8.0.1-3.dsc d7e9731918dfe24760faf29eb76be18a 13736 science optional mathgl_8.0.1-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJGBAEBCAAwFiEEP0ZDkUmP6HS9tdmPISSqGYN4XJAFAmMOkjcSHHJhZmFlbEBk ZWJpYW4ub3JnAAoJECEkqhmDeFyQ/hkP/jozoWXMmuQGtr1QBRoBYrueHK8pvfK5 IvGC5kDmLmEEryrClAwI7oiXmp6J77yY530MoNSwAwGHAqs3KlFtDWVTLkOh7O45 Wb3quKXrU/7PsKeL/mL0bJWUynkcGwk0ma2LJ08A71okeN2dmVN7s4E3kpXpRENH yl5WmqPwLlQE6LBd856vyyFUAke562kNqRvcBQ1XKUhhliN1luEdBrKeWSlV6z9n LZ+L8sZxUBI3xCKc+wOIpTNCqjgeIrzrlpuY6HDMjhCCdKpVQcyjsJk6gOvEu+O/ SysausL0xRwZMLrXIv6qoKh5Oad3569yBAKqT+ec70b5xFecAd2d+ybyfxbB84lY B+v9CSkzgJ/PiL74sqY7PJQJkcbZHwkVL94uKTn0qqc5cijAXKapZK10e3l+tIyK C7acLS/ncAZx2WUdWsOTLIssJft7HhxFzB3a4roo2o5o+2SfpDu6y5GEKqqIN/Cx jqIREdDhGup9PcKqIUEzgUsrOjX+MgEtxkTz+h1GFrtJuMGv8dB385QuV0snCnpB KLcvVqPvV99UzLKRooL+Um9zLc/qrrndbbDIMn/jB8ROK1oLx6JbQ1FUmxMe1yGk CLf+DPe+uy/kVtiq6RxubMZ8PGe39intgi+/21x+0jqHykUiTaGvScJlI+4oANlZ Zix6QxEOTXVV =lQs9 -----END PGP SIGNATURE-----
--- End Message ---
-- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
