Hello,
I added support for a new board to armv7l architecture. For that I added it to uboot: https://build.opensuse.org/package/show/home:frank_kunz:branches:Base:System...
and to JeOS: https://build.opensuse.org/package/show/home:frank_kunz:branches:openSUSE:Fa...
which depends on the uboot build. I can successfully build the uboot local, but it is not (yet) building in obs due to the heavy loaded armv7l build hosts. When I want to build the JeOS local it fails with:
... buildinfo is broken... it says: unresolvable: nothing provides u-boot-a20-olinuxino-lime2
which is, I guess, because the obs build is not yet done. Is there a possibility to run the JeOS build local with my local uboot build result?
I tried already to copy the uboot rpm to my packagecachedir, but it still fails.
Frank
Frank Kunz mailinglists@kunz-im-inter.net writes:
Is there a possibility to run the JeOS build local with my local uboot build result?
Use osc build --prefer-pkgs DIR, where DIR contains the uboot build result.
Andreas.
Am 03.12.2014 um 22:45 schrieb Andreas Schwab:
Is there a possibility to run the JeOS build local with my local uboot
build result?
Use osc build --prefer-pkgs DIR, where DIR contains the uboot build result.
Unfortunately it does not work. The osc command loads the build info from the server, and there it is marked with error. What can I do to overcome that error?
Frank
ls /mnt/obs/rpm-dir/ u-boot-a20-olinuxino-lime2-2015.01~rc1-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-doc-2015.01~rc1-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-2015.01~rc2-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-doc-2015.01~rc2-0.armv7hl.rpm
osc build images armv7l --prefer-pkg /mnt/obs/rpm-dir/
Building JeOS-olinuxinolime2.kiwi for images/armv7l Scanning the following dirs for local packages: /mnt/obs/rpm-dir/ Getting buildinfo from server and store to /mnt/obs/buildonly/home:frank_kunz:branches:openSUSE:Factory:ARM/JeOS-olinuxinolime2/.osc/_buildinfo-images-armv7l.xml Getting buildconfig from server and store to /mnt/obs/buildonly/home:frank_kunz:branches:openSUSE:Factory:ARM/JeOS-olinuxinolime2/.osc/_buildconfig-images-armv7l buildinfo is broken... it says: unresolvable: nothing provides u-boot-a20-olinuxino-lime2
osc buildinfo images armv7l <buildinfo project="home:frank_kunz:branches:openSUSE:Factory:ARM" repository="images" package="JeOS-olinuxinolime2" downloadurl="http://download.opensuse.org/repositories"> <arch>armv7l</arch> <error>unresolvable: nothing provides u-boot-a20-olinuxino-lime2</error> <debuginfo>1</debuginfo> <imagetype>oem</imagetype> <path project="home:frank_kunz:branches:openSUSE:Factory:ARM" repository="images" /> <path project="openSUSE:Factory:ARM" repository="images" /> <path project="openSUSE:Factory:ARM" repository="standard" /> <path project="openSUSE:Factory" repository="standard" /> <path project="home:frank_kunz:branches:Base:System" repository="openSUSE_Factory_ARM" /> <path project="openSUSE:Factory:ARM" repository="standard" /> </buildinfo>
On Thu, 2014-12-04 at 22:07 +0100, Frank Kunz wrote:
Am 03.12.2014 um 22:45 schrieb Andreas Schwab:
Is there a possibility to run the JeOS build local with my local uboot
build result?
Use osc build --prefer-pkgs DIR, where DIR contains the uboot build result.
Unfortunately it does not work. The osc command loads the build info from the server, and there it is marked with error. What can I do to overcome that error?
Frank
ls /mnt/obs/rpm-dir/ u-boot-a20-olinuxino-lime2-2015.01~rc1-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-doc-2015.01~rc1-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-2015.01~rc2-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-doc-2015.01~rc2-0.armv7hl.rpm
osc build images armv7l --prefer-pkg /mnt/obs/rpm-dir/
Building JeOS-olinuxinolime2.kiwi for images/armv7l Scanning the following dirs for local packages: /mnt/obs/rpm-dir/ Getting buildinfo from server and store to /mnt/obs/buildonly/home:frank_kunz:branches:openSUSE:Factory:ARM/JeOS-olinuxinolime2/.osc/_buildinfo-images-armv7l.xml Getting buildconfig from server and store to /mnt/obs/buildonly/home:frank_kunz:branches:openSUSE:Factory:ARM/JeOS-olinuxinolime2/.osc/_buildconfig-images-armv7l buildinfo is broken... it says: unresolvable: nothing provides u-boot-a20-olinuxino-lime2
Using the correct parameter will help you; osc build --help lists for your usecase:
-p DIR, --prefer-pkgs=DIR Prefer packages from this directory when installing the build-root
(there is a missing 's' in your command; or you can just use -p)
Hope that helps.
Dominiquee
On 2014-12-05 00:23:08 +0100, Dimstar / Dominique Leuenberger wrote:
On Thu, 2014-12-04 at 22:07 +0100, Frank Kunz wrote:
Am 03.12.2014 um 22:45 schrieb Andreas Schwab:
Is there a possibility to run the JeOS build local with my local uboot
build result?
Use osc build --prefer-pkgs DIR, where DIR contains the uboot build result.
Unfortunately it does not work. The osc command loads the build info from the server, and there it is marked with error. What can I do to overcome that error?
Frank
ls /mnt/obs/rpm-dir/ u-boot-a20-olinuxino-lime2-2015.01~rc1-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-doc-2015.01~rc1-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-2015.01~rc2-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-doc-2015.01~rc2-0.armv7hl.rpm
osc build images armv7l --prefer-pkg /mnt/obs/rpm-dir/
Building JeOS-olinuxinolime2.kiwi for images/armv7l Scanning the following dirs for local packages: /mnt/obs/rpm-dir/
The problem is that osc cannot relate the obs arch "armv7l" to the concrete "armv7hl" arch. Thus, we have to "hardcode" such a mapping in osc's packagequery module. What are the concrete RPM arches for obs' "armv7l" arch? armv7hl, armv7el...?
Getting buildinfo from server and store to /mnt/obs/buildonly/home:frank_kunz:branches:openSUSE:Factory:ARM/JeOS-olinuxinolime2/.osc/_buildinfo-images-armv7l.xml Getting buildconfig from server and store to /mnt/obs/buildonly/home:frank_kunz:branches:openSUSE:Factory:ARM/JeOS-olinuxinolime2/.osc/_buildconfig-images-armv7l buildinfo is broken... it says: unresolvable: nothing provides u-boot-a20-olinuxino-lime2
Using the correct parameter will help you; osc build --help lists for your usecase:
-p DIR, --prefer-pkgs=DIR Prefer packages from this directory when
installing the build-root
(there is a missing 's' in your command; or you can just use -p)
That's (surprisingly) ok - it's a feature of the optparse module: if you specify --foo and there is exactly one option that starts with the prefix "foo", this option is used. (So in this case even something like "--prefer /path/to/directory" works).
Marcus
Am 05.12.2014 um 02:54 schrieb Marcus Hüwe:
The problem is that osc cannot relate the obs arch "armv7l" to the concrete "armv7hl" arch. Thus, we have to "hardcode" such a mapping in osc's packagequery module. What are the concrete RPM arches for obs' "armv7l" arch? armv7hl, armv7el...?
That is a good question, the arm arch naming looks a bit scattered. On my arm target the first lines of rpm --showrc | grep arm give me:
build arch : armv7hl compatible build archs: armv7hl armv7l armv6l armv5tejl armv5tel armv4tl armv4l armv3l noarch install arch : armv7hl compatible archs : armv7hl armv7l armv6l armv5tejl armv5tel armv5l armv4tl armv4l armv3l noarch
The system is:
cat /etc/os-release NAME=openSUSE VERSION="13.2 (Harlequin)" VERSION_ID="13.2" PRETTY_NAME="openSUSE 13.2 (Harlequin) (armv7hl)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:13.2" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse"
So armv7l and armv7hl are good values. armv7el is not explicitly listed and what about thumb mode support, armv7thl?
Frank
buildservice@lists.opensuse.org