Re: [MoM] PythonQt
Fernando Hueso González <[email protected]>
| Newsgroups | gmane.linux.debian.devel.medical |
|---|---|
| Message-ID | <[email protected]> |
Thanks a lot Andreas for the revamp and guidance. I also checked the copyright file, and it seems fully up-to-date. I just updated the changelog using the gbp dch command you suggested earlier. Question about your recent commits: https://salsa.debian.org/python-team/packages/pythonqt/-/commit/c2253faca8310c9ede060b46eb61e0ecfb7ff7ac Why is the syntax sometimes "-- Name " and sometimes "[Name]" ? https://salsa.debian.org/python-team/packages/pythonqt/-/commit/e715afffd5a9a18be607a7fa69bb32a2cb09865d Why is the repository pointing to sourceforge rather than GitHub ? (first and last lines), inbetween is ok > Please inspect the patches in debian/patches. I deactivated these all > by renaming series to _series. Please inspect every single one whether > it can be removed or should be adapted. I did not looked at these files > at all! I just checked, and none of these are need anymore! They were either merged to upstream or are no longer needed with Qt6 and Python3. > The package now needs adaption from Qt5 to Qt6 (does not build as is). I did the proper changes: the CI now builds the package correctly with CMake and Qt6. However, it fails at the install step, saying it cannot find libPythonQt.so. In a local build on Ubuntu 26, the install step via make install spits out the following: Install the project... -- Install configuration: "Release" -- Installing: /usr/local/lib/libPythonQt.so -- Installing: /usr/local/include/PythonQt/PythonQtBoolResult.h -- Installing: /usr/local/include/PythonQt/PythonQtClassInfo.h -- Installing: /usr/local/include/PythonQt/PythonQtClassWrapper.h -- Installing: /usr/local/include/PythonQt/PythonQtConversion.h -- Installing: /usr/local/include/PythonQt/PythonQtCppWrapperFactory.h -- Installing: /usr/local/include/PythonQt/PythonQtDoc.h -- Installing: /usr/local/include/PythonQt/PythonQt.h -- Installing: /usr/local/include/PythonQt/PythonQtImporter.h -- Installing: /usr/local/include/PythonQt/PythonQtImportFileInterface.h -- Installing: /usr/local/include/PythonQt/PythonQtInstanceWrapper.h -- Installing: /usr/local/include/PythonQt/PythonQtMethodInfo.h -- Installing: /usr/local/include/PythonQt/PythonQtMisc.h -- Installing: /usr/local/include/PythonQt/PythonQtObjectPtr.h -- Installing: /usr/local/include/PythonQt/PythonQtProperty.h -- Installing: /usr/local/include/PythonQt/PythonQtQFileImporter.h -- Installing: /usr/local/include/PythonQt/PythonQtSignalReceiver.h -- Installing: /usr/local/include/PythonQt/PythonQtSlot.h -- Installing: /usr/local/include/PythonQt/PythonQtSlotDecorator.h -- Installing: /usr/local/include/PythonQt/PythonQtSignal.h -- Installing: /usr/local/include/PythonQt/PythonQtStdDecorators.h -- Installing: /usr/local/include/PythonQt/PythonQtStdIn.h -- Installing: /usr/local/include/PythonQt/PythonQtStdOut.h -- Installing: /usr/local/include/PythonQt/PythonQtSystem.h -- Installing: /usr/local/include/PythonQt/PythonQtThreadSupport.h -- Installing: /usr/local/include/PythonQt/PythonQtUtils.h -- Installing: /usr/local/include/PythonQt/PythonQtVariants.h -- Installing: /usr/local/include/PythonQt/PythonQtPythonInclude.h -- Installing: /usr/local/include/PythonQt/PythonQtConfigure.h -- Installing: /usr/local/lib/libPythonQt_QtAll.so -- Set non-toolchain portion of runtime path of "/usr/local/lib/libPythonQt_QtAll.so" to "" -- Installing: /usr/local/include/PythonQt/PythonQt_QtAll.h In the repo, the libpythonqt-dev contains: lib/libPythonQt*.so usr/lib/ Do you think that the problem is that the default install path is /usr/local rather than lib? Or maybe the CI is not calling "make install" correctly since I don't see it in the build logs of the pipeline? Looking at CTK, I see though a different structure in debian/rules, that has a custom: # Runtime Package dh_install -p$(pkg_run) usr/lib/*.so.* # Development Package dh_install -p$(pkg_dev) usr/include dh_install -p$(pkg_dev) usr/lib/lib*.so that is not present in PythonQt, but I am not sure if this was something specific to CTK because of the libctk0.1 suffixes. Another question, when running lintian, I got: /Cannot find a changes file for pythonqt/4.1.0-1. It would be named like: pythonqt_4.1.0-1_amd64.changes pythonqt_4.1.0-1_multi.changes pythonqt_4.1.0-1_all.changes pythonqt_4.1.0-1_source.changes/ Here, I do not understand if any action is required. Side note: I cannot seem to run lintian-brush or routine-update on my Ubuntu26, couldn't figure out what package does that. Best regards, Fernando.