[opensuse-arm] [AArch64] Build failure of cross-aarch64-binutils
Hi, I'm newbie of obs. I want to build aarch64 toolchain from scratch. To build the gcc48, it needed a cross-aarch64-binutils package. I didn't find the package from snapshot directory. So, I tried to build the package using local build. osc co devel:ARM:AArch64:Factory binutils cd devel\:ARM\:AArch64\:Factory/binutils/ osc build -b standard x86_64 cross-aarch64-binutils.spec I found below error: Building cross-aarch64-binutils.spec for standard/x86_64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/binutils/.osc/_buildinfo-standard-x86_64. xml ERROR: Either wrong repo/arch as parameter or a parse error of .spec/.dsc/.kiwi file due to syntax error Please let me know what is the problem. Thanks. Best Regards, Chanho Park -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Donnerstag, 16. Januar 2014, 11:45:24 wrote Chanho Park:
Hi,
I'm newbie of obs. I want to build aarch64 toolchain from scratch. To build the gcc48, it needed a cross-aarch64-binutils package. I didn't find the package from snapshot directory. So, I tried to build the package using local build.
osc co devel:ARM:AArch64:Factory binutils cd devel\:ARM\:AArch64\:Factory/binutils/ osc build -b standard x86_64 cross-aarch64-binutils.spec
I found below error:
Building cross-aarch64-binutils.spec for standard/x86_64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/binutils/.osc/_buildinfo-standard-x86_64. xml ERROR: Either wrong repo/arch as parameter or a parse error of .spec/.dsc/.kiwi file due to syntax error
Please let me know what is the problem. Thanks.
There is no x86_64 architecture defined in that repository. It could be added, but you can also build this package source with another project configuration, if you use osc build --alternative-project openSUSE:13.1 standard x86_64 for example. However, are you aware that we do not build via cross tool chain, but "natively" using the qemu-linux-aarch64 emulator? welcome at openSUSE :) adrian -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Adrian,
-----Original Message----- From: Adrian Schröter [mailto:adrian@suse.de] Sent: Thursday, January 16, 2014 5:17 PM To: opensuse-arm@opensuse.org Cc: Chanho Park Subject: Re: [opensuse-arm] [AArch64] Build failure of cross-aarch64- binutils
On Donnerstag, 16. Januar 2014, 11:45:24 wrote Chanho Park:
Hi,
I'm newbie of obs. I want to build aarch64 toolchain from scratch. To build the gcc48, it needed a cross-aarch64-binutils package. I didn't find the package from snapshot directory. So, I tried to build the package using local build.
osc co devel:ARM:AArch64:Factory binutils cd devel\:ARM\:AArch64\:Factory/binutils/ osc build -b standard x86_64 cross-aarch64-binutils.spec
I found below error:
Building cross-aarch64-binutils.spec for standard/x86_64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/binutils/.osc/_buildinfo-standard- x86_64. xml ERROR: Either wrong repo/arch as parameter or a parse error of .spec/.dsc/.kiwi file due to syntax error
Please let me know what is the problem. Thanks.
There is no x86_64 architecture defined in that repository.
It could be added, but you can also build this package source with another project configuration, if you use
osc build --alternative-project openSUSE:13.1 standard x86_64
for example.
Thanks. It would really helpful for me.
However, are you aware that we do not build via cross tool chain, but "natively" using the qemu-linux-aarch64 emulator?
Yes. I already know the foundation model of ARM can be used the emulator.[1] [1] : https://en.opensuse.org/Portal:ARM/AArch64
welcome at openSUSE :)
Thanks :) Best Regards, Chanho Park -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi, Le 16/01/2014 09:52, Chanho Park a écrit :
Hi Adrian,
-----Original Message----- From: Adrian Schröter [mailto:adrian@suse.de] Sent: Thursday, January 16, 2014 5:17 PM To: opensuse-arm@opensuse.org Cc: Chanho Park Subject: Re: [opensuse-arm] [AArch64] Build failure of cross-aarch64- binutils
On Donnerstag, 16. Januar 2014, 11:45:24 wrote Chanho Park:
Hi,
I'm newbie of obs. I want to build aarch64 toolchain from scratch. To build the gcc48, it needed a cross-aarch64-binutils package. I didn't find the package from snapshot directory. So, I tried to build the package using local build.
osc co devel:ARM:AArch64:Factory binutils cd devel\:ARM\:AArch64\:Factory/binutils/ osc build -b standard x86_64 cross-aarch64-binutils.spec
I found below error:
Building cross-aarch64-binutils.spec for standard/x86_64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/binutils/.osc/_buildinfo-standard- x86_64. xml ERROR: Either wrong repo/arch as parameter or a parse error of .spec/.dsc/.kiwi file due to syntax error
Please let me know what is the problem. Thanks. There is no x86_64 architecture defined in that repository.
It could be added, but you can also build this package source with another project configuration, if you use
osc build --alternative-project openSUSE:13.1 standard x86_64
for example. Thanks. It would really helpful for me.
However, are you aware that we do not build via cross tool chain, but "natively" using the qemu-linux-aarch64 emulator? Yes. I already know the foundation model of ARM can be used the emulator.[1]
We should be able to use qemu instead of foundation model, now. Alex, am I right? Guillaume
welcome at openSUSE :) Thanks :)
Best Regards, Chanho Park
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Guillaume,
-----Original Message----- From: Guillaume Gardet [mailto:guillaume.gardet@free.fr] Sent: Thursday, January 16, 2014 5:55 PM To: Chanho Park; opensuse-arm@opensuse.org Cc: Alexander Graf Subject: Re: [opensuse-arm] [AArch64] Build failure of cross-aarch64- binutils
Hi,
Le 16/01/2014 09:52, Chanho Park a écrit :
Hi Adrian,
-----Original Message----- From: Adrian Schröter [mailto:adrian@suse.de] Sent: Thursday, January 16, 2014 5:17 PM To: opensuse-arm@opensuse.org Cc: Chanho Park Subject: Re: [opensuse-arm] [AArch64] Build failure of cross-aarch64- binutils
On Donnerstag, 16. Januar 2014, 11:45:24 wrote Chanho Park:
Hi,
I'm newbie of obs. I want to build aarch64 toolchain from scratch. To build the gcc48, it needed a cross-aarch64-binutils package. I didn't find the package from snapshot directory. So, I tried to build the package using local build.
osc co devel:ARM:AArch64:Factory binutils cd devel\:ARM\:AArch64\:Factory/binutils/ osc build -b standard x86_64 cross-aarch64-binutils.spec
I found below error:
Building cross-aarch64-binutils.spec for standard/x86_64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/binutils/.osc/_buildinfo- standard- x86_64. xml ERROR: Either wrong repo/arch as parameter or a parse error of .spec/.dsc/.kiwi file due to syntax error
Please let me know what is the problem. Thanks. There is no x86_64 architecture defined in that repository.
It could be added, but you can also build this package source with another project configuration, if you use
osc build --alternative-project openSUSE:13.1 standard x86_64
for example. Thanks. It would really helpful for me.
However, are you aware that we do not build via cross tool chain, but "natively" using the qemu-linux-aarch64 emulator? Yes. I already know the foundation model of ARM can be used the emulator.[1]
We should be able to use qemu instead of foundation model, now. Alex, am I right?
Oh, Really? It would be really good news. How can I use it? Any wiki pages? Thanks. Best Regards, Chanho Park -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Donnerstag, 16. Januar 2014, 17:52:02 wrote Chanho Park:
Hi Adrian,
-----Original Message----- From: Adrian Schröter [mailto:adrian@suse.de] Sent: Thursday, January 16, 2014 5:17 PM To: opensuse-arm@opensuse.org Cc: Chanho Park Subject: Re: [opensuse-arm] [AArch64] Build failure of cross-aarch64- binutils
On Donnerstag, 16. Januar 2014, 11:45:24 wrote Chanho Park:
Hi,
I'm newbie of obs. I want to build aarch64 toolchain from scratch. To build the gcc48, it needed a cross-aarch64-binutils package. I didn't find the package from snapshot directory. So, I tried to build the package using local build.
osc co devel:ARM:AArch64:Factory binutils cd devel\:ARM\:AArch64\:Factory/binutils/ osc build -b standard x86_64 cross-aarch64-binutils.spec
I found below error:
Building cross-aarch64-binutils.spec for standard/x86_64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/binutils/.osc/_buildinfo-standard- x86_64. xml ERROR: Either wrong repo/arch as parameter or a parse error of .spec/.dsc/.kiwi file due to syntax error
Please let me know what is the problem. Thanks.
There is no x86_64 architecture defined in that repository.
It could be added, but you can also build this package source with another project configuration, if you use
osc build --alternative-project openSUSE:13.1 standard x86_64
for example.
Thanks. It would really helpful for me.
However, are you aware that we do not build via cross tool chain, but "natively" using the qemu-linux-aarch64 emulator?
Yes. I already know the foundation model of ARM can be used the emulator.[1]
yes, we have used that one as well, but we do use qemu now, because it speeds up the build a lot. So, you can build for aarch64 on your x86_64 workstation by calling osc build standard aarch64 all what you need is a proper qemu package installed. The wiki page was a bit outdated, I added a section regarding the qemu approach now. Some feedback regarding that one would be great :) adrian -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Adrian,
-----Original Message----- From: Adrian Schröter [mailto:adrian@suse.de] Sent: Thursday, January 16, 2014 6:11 PM To: opensuse-arm@opensuse.org Cc: Chanho Park Subject: Re: [opensuse-arm] [AArch64] Build failure of cross-aarch64- binutils
On Donnerstag, 16. Januar 2014, 17:52:02 wrote Chanho Park:
Hi Adrian,
-----Original Message----- From: Adrian Schröter [mailto:adrian@suse.de] Sent: Thursday, January 16, 2014 5:17 PM To: opensuse-arm@opensuse.org Cc: Chanho Park Subject: Re: [opensuse-arm] [AArch64] Build failure of cross- aarch64- binutils
On Donnerstag, 16. Januar 2014, 11:45:24 wrote Chanho Park:
Hi,
I'm newbie of obs. I want to build aarch64 toolchain from scratch. To build the gcc48, it needed a cross-aarch64-binutils package. I didn't find the package from snapshot directory. So, I tried to build the package using local build.
osc co devel:ARM:AArch64:Factory binutils cd devel\:ARM\:AArch64\:Factory/binutils/ osc build -b standard x86_64 cross-aarch64-binutils.spec
I found below error:
Building cross-aarch64-binutils.spec for standard/x86_64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/binutils/.osc/_buildinfo- standard- x86_64. xml ERROR: Either wrong repo/arch as parameter or a parse error of .spec/.dsc/.kiwi file due to syntax error
Please let me know what is the problem. Thanks.
There is no x86_64 architecture defined in that repository.
It could be added, but you can also build this package source with another project configuration, if you use
osc build --alternative-project openSUSE:13.1 standard x86_64
for example.
Thanks. It would really helpful for me.
However, are you aware that we do not build via cross tool chain, but "natively" using the qemu-linux-aarch64 emulator?
Yes. I already know the foundation model of ARM can be used the emulator.[1]
yes, we have used that one as well, but we do use qemu now, because it speeds up the build a lot.
So, you can build for aarch64 on your x86_64 workstation by calling
osc build standard aarch64
all what you need is a proper qemu package installed.
The wiki page was a bit outdated, I added a section regarding the qemu approach now. Some feedback regarding that one would be great :)
That would be great!! I have a question from your page: Install qemu-linux-aarch64 from openSUSE:Tools project in case you want How can I install qemu-linux-aarch64? I'm using Ubuntu 13.10. Thanks. Best Regards, Chahno Park
adrian
--
Adrian Schroeter email: adrian@suse.de
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Donnerstag, 16. Januar 2014, 18:31:56 wrote Chanho Park:
Hi Adrian,
-----Original Message----- From: Adrian Schröter [mailto:adrian@suse.de] Sent: Thursday, January 16, 2014 6:11 PM To: opensuse-arm@opensuse.org Cc: Chanho Park Subject: Re: [opensuse-arm] [AArch64] Build failure of cross-aarch64- binutils
On Donnerstag, 16. Januar 2014, 17:52:02 wrote Chanho Park:
Hi Adrian,
-----Original Message----- From: Adrian Schröter [mailto:adrian@suse.de] Sent: Thursday, January 16, 2014 5:17 PM To: opensuse-arm@opensuse.org Cc: Chanho Park Subject: Re: [opensuse-arm] [AArch64] Build failure of cross- aarch64- binutils
On Donnerstag, 16. Januar 2014, 11:45:24 wrote Chanho Park:
Hi,
I'm newbie of obs. I want to build aarch64 toolchain from scratch. To build the gcc48, it needed a cross-aarch64-binutils package. I didn't find the package from snapshot directory. So, I tried to build the package using local build.
osc co devel:ARM:AArch64:Factory binutils cd devel\:ARM\:AArch64\:Factory/binutils/ osc build -b standard x86_64 cross-aarch64-binutils.spec
I found below error:
Building cross-aarch64-binutils.spec for standard/x86_64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/binutils/.osc/_buildinfo- standard- x86_64. xml ERROR: Either wrong repo/arch as parameter or a parse error of .spec/.dsc/.kiwi file due to syntax error
Please let me know what is the problem. Thanks.
There is no x86_64 architecture defined in that repository.
It could be added, but you can also build this package source with another project configuration, if you use
osc build --alternative-project openSUSE:13.1 standard x86_64
for example.
Thanks. It would really helpful for me.
However, are you aware that we do not build via cross tool chain, but "natively" using the qemu-linux-aarch64 emulator?
Yes. I already know the foundation model of ARM can be used the emulator.[1]
yes, we have used that one as well, but we do use qemu now, because it speeds up the build a lot.
So, you can build for aarch64 on your x86_64 workstation by calling
osc build standard aarch64
all what you need is a proper qemu package installed.
The wiki page was a bit outdated, I added a section regarding the qemu approach now. Some feedback regarding that one would be great :)
That would be great!! I have a question from your page: Install qemu-linux-aarch64 from openSUSE:Tools project in case you want
How can I install qemu-linux-aarch64? I'm using Ubuntu 13.10.
Sorry, we do not provide packages for that distro. You have to download the source and compile it your own for now. osc co openSUSE:Factory:ARM qemu-linux-aarch64 -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Adrian,
-----Original Message----- From: Adrian Schröter [mailto:adrian@suse.de] Sent: Thursday, January 16, 2014 7:57 PM To: Chanho Park Cc: opensuse-arm@opensuse.org Subject: Re: [opensuse-arm] [AArch64] Build failure of cross-aarch64- binutils
On Donnerstag, 16. Januar 2014, 18:31:56 wrote Chanho Park:
Hi Adrian,
-----Original Message----- From: Adrian Schröter [mailto:adrian@suse.de] Sent: Thursday, January 16, 2014 6:11 PM To: opensuse-arm@opensuse.org Cc: Chanho Park Subject: Re: [opensuse-arm] [AArch64] Build failure of cross- aarch64- binutils
On Donnerstag, 16. Januar 2014, 17:52:02 wrote Chanho Park:
Hi Adrian,
-----Original Message----- From: Adrian Schröter [mailto:adrian@suse.de] Sent: Thursday, January 16, 2014 5:17 PM To: opensuse-arm@opensuse.org Cc: Chanho Park Subject: Re: [opensuse-arm] [AArch64] Build failure of cross- aarch64- binutils
On Donnerstag, 16. Januar 2014, 11:45:24 wrote Chanho Park:
Hi,
I'm newbie of obs. I want to build aarch64 toolchain from scratch. To build the gcc48, it needed a cross-aarch64-binutils package. I didn't find the package from snapshot directory. So, I tried to build the package using local build.
osc co devel:ARM:AArch64:Factory binutils cd devel\:ARM\:AArch64\:Factory/binutils/ osc build -b standard x86_64 cross-aarch64-binutils.spec
I found below error:
Building cross-aarch64-binutils.spec for standard/x86_64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/binutils/.osc/_buildinfo- standard- x86_64. xml ERROR: Either wrong repo/arch as parameter or a parse error of .spec/.dsc/.kiwi file due to syntax error
Please let me know what is the problem. Thanks.
There is no x86_64 architecture defined in that repository.
It could be added, but you can also build this package source with another project configuration, if you use
osc build --alternative-project openSUSE:13.1 standard x86_64
for example.
Thanks. It would really helpful for me.
However, are you aware that we do not build via cross tool chain, but "natively" using the qemu-linux-aarch64 emulator?
Yes. I already know the foundation model of ARM can be used the emulator.[1]
yes, we have used that one as well, but we do use qemu now, because it speeds up the build a lot.
So, you can build for aarch64 on your x86_64 workstation by calling
osc build standard aarch64
all what you need is a proper qemu package installed.
The wiki page was a bit outdated, I added a section regarding the qemu approach now. Some feedback regarding that one would be great :)
That would be great!! I have a question from your page: Install qemu-linux-aarch64 from openSUSE:Tools project in case you want
How can I install qemu-linux-aarch64? I'm using Ubuntu 13.10.
Sorry, we do not provide packages for that distro. You have to download the source and compile it your own for now.
osc co openSUSE:Factory:ARM qemu-linux-aarch64
I've checkout it and build it using below command: osc build --alternative-project openSUSE:13.1 standard x86_64 I could find the rpm file from upper directory. I installed the package using alien command because the Ubuntu cannot Install the rpm package. After then, I built a package using below command. osc build --vm-type=kvm standard aarch64 Unfortunately, I've got below error: Building bzip2.spec for standard/aarch64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/bzip2/.osc/_buildinfo-standard-aarch64.xml Getting buildconfig from server and store to /opt/obs/devel:ARM:AArch64:Factory/bzip2/.osc/_buildconfig-standard-aarch64 Error: hostarch 'x86_64' cannot build 'aarch64'. IHMO, I should connect the installed qemu for osc build. Right? I think Most of the build configuration is stored in "/usr/lib/build" To change the 프-type to kvm and aarch64, which info should be modified? Thanks. Best Regards, Chanho Park -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Freitag, 17. Januar 2014, 12:53:44 wrote Chanho Park: ...
osc co openSUSE:Factory:ARM qemu-linux-aarch64
I've checkout it and build it using below command:
osc build --alternative-project openSUSE:13.1 standard x86_64
I could find the rpm file from upper directory. I installed the package using alien command because the Ubuntu cannot Install the rpm package. After then, I built a package using below command.
osc build --vm-type=kvm standard aarch64
Unfortunately, I've got below error:
Building bzip2.spec for standard/aarch64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/bzip2/.osc/_buildinfo-standard-aarch64.xml Getting buildconfig from server and store to /opt/obs/devel:ARM:AArch64:Factory/bzip2/.osc/_buildconfig-standard-aarch64 Error: hostarch 'x86_64' cannot build 'aarch64'.
Hm, that project seems to have a broken configuration. It does not define to use a x86_64 host. Will check back with my ARM friends. However, try to use openSUSE:Factory:ARM project instead. It has a proper configuration.
IHMO, I should connect the installed qemu for osc build. Right? I think Most of the build configuration is stored in "/usr/lib/build" To change the 프-type to kvm and aarch64, which info should be modified?
Thanks.
Best Regards, Chanho Park
-- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Adrian Schröter <adrian@suse.de> writes:
Building bzip2.spec for standard/aarch64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/bzip2/.osc/_buildinfo-standard-aarch64.xml Getting buildconfig from server and store to /opt/obs/devel:ARM:AArch64:Factory/bzip2/.osc/_buildconfig-standard-aarch64 Error: hostarch 'x86_64' cannot build 'aarch64'.
Hm, that project seems to have a broken configuration. It does not define to use a x86_64 host. Will check back with my ARM friends.
devel:ARM:AArch64:Factory is really obsolete. It should not be used for anything any more. 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-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (4)
-
Adrian Schröter
-
Andreas Schwab
-
Chanho Park
-
Guillaume Gardet