Aw: Re: [opensuse-support] Request: android-tools Package for openSUSE Leap 15.1 ff

Hello Axel, Thank you very much for the making the packages available. I've tried to build the needed .rpm package from the provided .src.rpm source package https://download.opensuse.org/repositories/home:/DocB:/branches:/hardware/op... unfortunately one error occured during the process: linux-4t6d:# rpmbuild -ba --noclean android-udev-rules.spec error: line 31: Unknown tag: %{sysusers_requires} linux-4t6d:# I've no idea what this means... Kind regards Michael

Hello Michael, Am Dienstag, 7. Januar 2020, 21:27:52 CET schrieb Michael Kasimir:
as already stated in private mail, there is no need to build the packages offline, as OBS did that already. To install compiled packages: zypper ar -f -p 90 https://download.opensuse.org/repositories/home:/DocB:/ branches:/hardware/openSUSE_Leap_15.1/ DocB zypper in android-tools
Most likely there is someting missing in your build environment, see https://en.opensuse.org/openSUSE:Packaging_guidelines Cheers Axel -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

Hello Axel, Thank you very much for your kind support. Now the installation of the package has worked perfectly. Kind regards Michael
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

Hello Michael, Am Mittwoch, 8. Januar 2020, 22:45:33 CET schrieb Michael Kasimir:
Thank you very much for your kind support. Now the installation of the package has worked perfectly.
Good to hear! Let me know if you need that branch in home:DocB:branches:hardware any longer. Otherwise I will remove it again Cheers Axel -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

Hi On 1/8/20 6:57 AM, Michael Kasimir wrote:
As a more general note, in most cases it is not possible to build openSUSE packages using rpmbuild, this is because they often use macro's and variables that are defined as part of the project configs. Because of this all packages need to be built with open build service (build.opensuse.org) however you can use the osc command to do local builds. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

On Thu, 2020-01-09 at 18:00 +1030, Simon Lees wrote:
I don't like objecting to you, but this is only partially true. There are very few macros set in the prjconf - most of the macros people keep on refering to are coming from rpm packages that install relevant macro files into the buildroot. %{sysusers_requires} for example is made available by the sysuser-tools package (the spec file in question would most likely have a BuildRequires on it - so that this package comes into the buildroot being setup by obs and osc build; when using rpmbuild, you would need to have it installed on your own mchine. Cheers, Dominique

Hello Michael, Am Dienstag, 7. Januar 2020, 21:27:52 CET schrieb Michael Kasimir:
as already stated in private mail, there is no need to build the packages offline, as OBS did that already. To install compiled packages: zypper ar -f -p 90 https://download.opensuse.org/repositories/home:/DocB:/ branches:/hardware/openSUSE_Leap_15.1/ DocB zypper in android-tools
Most likely there is someting missing in your build environment, see https://en.opensuse.org/openSUSE:Packaging_guidelines Cheers Axel -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

Hello Axel, Thank you very much for your kind support. Now the installation of the package has worked perfectly. Kind regards Michael
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

Hello Michael, Am Mittwoch, 8. Januar 2020, 22:45:33 CET schrieb Michael Kasimir:
Thank you very much for your kind support. Now the installation of the package has worked perfectly.
Good to hear! Let me know if you need that branch in home:DocB:branches:hardware any longer. Otherwise I will remove it again Cheers Axel -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

Hi On 1/8/20 6:57 AM, Michael Kasimir wrote:
As a more general note, in most cases it is not possible to build openSUSE packages using rpmbuild, this is because they often use macro's and variables that are defined as part of the project configs. Because of this all packages need to be built with open build service (build.opensuse.org) however you can use the osc command to do local builds. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

On Thu, 2020-01-09 at 18:00 +1030, Simon Lees wrote:
I don't like objecting to you, but this is only partially true. There are very few macros set in the prjconf - most of the macros people keep on refering to are coming from rpm packages that install relevant macro files into the buildroot. %{sysusers_requires} for example is made available by the sysuser-tools package (the spec file in question would most likely have a BuildRequires on it - so that this package comes into the buildroot being setup by obs and osc build; when using rpmbuild, you would need to have it installed on your own mchine. Cheers, Dominique
participants (4)
-
Axel Braun
-
Dominique Leuenberger / DimStar
-
Michael Kasimir
-
Simon Lees