[opensuse-buildservice] multibuild: no binaries
Hi, I have some multibuild packages that properly create rpm files, but OBS tells me "no binaries" if I want to see what it created. If I go to the download repository the files are there. Is this normal in OBS 2.9? I saw that the build.opensuse.org instance shows the binaries. Also: could this be the problem for the following issue I have? I have a multibuild postgresql package that creates a basically identical package for Postgres 9.5 and 9.4. Both packages really exist and they each provide "postgresql-noarch" for their version (checked with rpm -qp --provides). But one package in the same project does not find the 9.5 version: "nothing provides postgresql-noarch >= 9.5 needed by postgresql95-devel". How can I fix this visibility issue? Regards, Mark -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Dienstag, 11. Juni 2019, 17:42:27 CEST Morschhäuser, Mark wrote:
Hi,
I have some multibuild packages that properly create rpm files, but OBS tells me "no binaries" if I want to see what it created. If I go to the download repository the files are there. Is this normal in OBS 2.9? I saw that the build.opensuse.org instance shows the binaries.
where does it tell you "no binaries" ? My guess is that you look in the wrong build package ?
Also: could this be the problem for the following issue I have? I have a multibuild postgresql package that creates a basically identical package for Postgres 9.5 and 9.4. Both packages really exist and they each provide "postgresql-noarch" for their version (checked with rpm -qp --provides). But one package in the same project does not find the 9.5 version: "nothing provides postgresql-noarch >= 9.5 needed by postgresql95-devel". How can I fix this visibility issue?
This is not solvable in the same repository. You can only build against a package of one version by a given name. => create another repo to build the other version. (Please note that is independent of the publishing. You can have multiple versions published) -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi,
where does it tell you "no binaries" ? My guess is that you look in the wrong build package ?
the no binaries message appears on the "State of Repository" page. So a page like this https://build.opensuse.org/package/binaries/server:database:postgresql/postg... would contain the message instead iff the package is a multibuild package: --- State of Repository SLE_15 for home:mark:branches:server:database:postgresql / postgresql Go to download repository Repository has been published Architecture: x86_64 No built binaries Trigger rebuild Job history list Build Reason ---
This is not solvable in the same repository. You can only build against a package of one version by a given name.
hm ok but why? I made the spec like this: [...] Name: postgresql Summary: Basic Clients and Utilities for PostgreSQL License: PostgreSQL Group: Productivity/Databases/Tools %if "@BUILD_FLAVOR@" == "94" Version: 9.4.20 %endif %if "@BUILD_FLAVOR@" == "95" Version: 9.5.17 %endif Release: 0 [...] and a_multibuild file like this: <multibuild> <flavor>94</flavor> <flavor>95</flavor> </multibuild> It actually builds both packages successfully in the same repository. If another package in that repo BuildRequires: postgresql >= 9.5 it could/should be found because it is there. I know that it is a bit hackish though to create a package with two versions at once but it could work. Regards, Mark -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Jun 12 2019, "Morschhäuser, Mark"
Hi,
where does it tell you "no binaries" ? My guess is that you look in the wrong build package ?
the no binaries message appears on the "State of Repository" page. So a page like this https://build.opensuse.org/package/binaries/server:database:postgresql/postg... would contain the message instead iff the package is a multibuild package:
You need to look up the binaries for the respective multibuild flavour. The overview page has links for each of them.
This is not solvable in the same repository. You can only build against a package of one version by a given name.
hm ok but why?
A repository can only contain a single package with a given name. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 12. Juni 2019, 12:37:28 CEST Morschhäuser, Mark wrote:
Hi,
where does it tell you "no binaries" ? My guess is that you look in the wrong build package ? the no binaries message appears on the "State of Repository" page. So a page like this https://build.opensuse.org/package/binaries/server:database:postgresql/postg resql/SLE_12_SP4 would contain the message instead iff the package is a multibuild package: --- State of Repository SLE_15 for home:mark:branches:server:database:postgresql / postgresql
hm, seems to be removed already? ..
This is not solvable in the same repository. You can only build against a package of one version by a given name. hm ok but why?
because you would have random build results when something else depends on. Even when the newer version is used by default, but the release numbers get increased and build deps would switch over. It is just no deterministic result anymore, so you have to choose one. -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi,
hm, seems to be removed already?
This package is hosted in a private OBS 2.9 instance; I probably forgot to mention that. I conclude the no binaries message is not normal then?
It is just no deterministic result anymore, so you have to choose one.
ok, I isolate the package then. Regards, Mark -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 12. Juni 2019, 14:03:35 CEST Morschhäuser, Mark wrote:
Hi,
hm, seems to be removed already?
This package is hosted in a private OBS 2.9 instance; I probably forgot to mention that. I conclude the no binaries message is not normal then?
well, hard to say without seeing your source. But it might, if all builds only happen with some flavor. They are only in postgresql:$flavor build containers then Just go to the source package in webui, it should show all built flavors like here: https://build.opensuse.org/package/show/openSUSE:Factory/000product -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Andreas Schwab
-
Morschhäuser, Mark