Le Thu, Jan 30, 2025 at 11:15:13PM +0100, Leopold Palomo-Avellaneda a écrit : > Hi, > > I would like to ask some help with one package: soqt. It is in salsa and > it builds without any problem. I have pushed a new version from > upstream. This new version can be built against Qt5 and Qt6. I have > prepared a package with two builds that split all the files. > > However, I have no success with the control file. The target is: > * Upgrade from stable smoothly. > * To have two versions: One built with Qt5 and another with Qt6. > * To have _only_ one development version installable: or libsoqt520-dev > or libsoqt620-dev. > * Both development files share the same common package libsoqt-common-dev. > * libsoqt520-dev has libsoqt-common-dev as a dependency. > * libsoqt620-dev has libsoqt-common-dev as a dependency. > > In the archive there is _only_ one libsoqt520-dev. > > autopkgtest and piuparts don't like my proposals and after several tries > I give up and ask for help. > > My control file is here: > > https://salsa.debian.org/science-team/soqt/-/raw/master/debian/control?ref_type=heads
You should tell us what autopkgtest and piuparts are complaining about. However: why are you using Conflicts/Replaces libsoqt620-dev which does not exist in stable ? This is in contradiction with having a package libsoqt-common-dev. Do libsoqt520-dev and libsoqt620-dev have identical filename with different content ? In that case I would suggest you setup an alternative (update-alternative) instead of a Conflicts. Cheers, Bill