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
Gesendet: Dienstag, 07. Januar 2020 um 20:36 Uhr Von: "Axel Braun"
An: opensuse-support@opensuse.org Betreff: Re: [opensuse-support] Request: android-tools Package for openSUSE Leap 15.1 ff Hello Michael
Am Dienstag, 7. Januar 2020, 19:27:29 CET schrieb michael.kasimir@gmx.de:
within this e-mail I would like to inquire, if the following package for openSUSE Leap 15.1 ff can be made available:
Best is to ask the maintainers of the packages directly
1) android-tools https://software.opensuse.org/download.html?project=hardware&package=android -tools
Unfortunately the offered packages are only available for openSUSE Tumbleweed.
On the other hand, the second necessary package:
2) android-udev-rules https://software.opensuse.org/download.html?project=hardware&package=android -udev-rules
is available in different versions as *.src.rpm source package for openSUSE Leap 15.1 ff.
In general that should not be a big deal. I have branched them and added boringssl - all packages have build fine:
https://build.opensuse.org/project/show/home:DocB:branches:hardware
HTH Axel
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Hello Michael, Am Dienstag, 7. Januar 2020, 21:27:52 CET schrieb Michael Kasimir:
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
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
https://download.opensuse.org/repositories/home:/DocB:/branches:/hardware/op enSUSE_Leap_15.1/src/android-udev-rules-20191103-lp151.4.1.src.rpm
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...
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
Gesendet: Mittwoch, 08. Januar 2020 um 16:12 Uhr Von: "Axel Braun"
An: opensuse-support@opensuse.org Betreff: Re: Aw: Re: [opensuse-support] Request: android-tools Package for openSUSE Leap 15.1 ff Hello Michael,
Am Dienstag, 7. Januar 2020, 21:27:52 CET schrieb Michael Kasimir:
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
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
https://download.opensuse.org/repositories/home:/DocB:/branches:/hardware/op enSUSE_Leap_15.1/src/android-udev-rules-20191103-lp151.4.1.src.rpm
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...
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
-- 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:
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:#
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:
Hi
On 1/8/20 6:57 AM, Michael Kasimir wrote:
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:#
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.
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