[Dev] Dependency on qemu package for arm build

Dong, Junfeng junfeng.dong at intel.com
Mon Oct 28 06:21:27 GMT 2013


That is the problem. you need a 64 bit machine. 
I tried the latest repository you mentioned and found no problems with "gbs build -A armv7l"
Junfeng

-----Original Message-----
From: ANUJ MISHRA [mailto:mishra.anuj at samsung.com] 
Sent: Monday, October 28, 2013 2:17 PM
To: Dong, Junfeng; dev at lists.tizen.org; Zhang, Qiang Z
Cc: Liu, Bing Wei
Subject: Re: RE: Re: [Dev] Dependency on qemu package for arm build

Hi Junfeng, 

No, it is 32 bit machine. 
Distro: Ubuntu 12.04 LTS 32 bit
Kernel: 3.5.0-42-generic
GBS: 0.18.1
vm.mmap_min_addr = 65536

Snaphot: http://download.tizen.org/snapshots/tizen/rd-pq/latest/
(At present nothing is compiling in OBS so this snapshot is stable and there is no issue now in resolving build dependency). 

and compiling for armv7l architecture. It is reproducible in all machine and I checked with 2 - 3 engineers. I would suggest you try to compile at your side. 
Even, I tried with removing GBS with dependency & re-installed it but qemu error is same. 

BR,
Anuj 

------- Original Message -------
Sender : Dong, Junfeng<junfeng.dong at intel.com> Date : Oct 28, 2013 14:55 (GMT+09:00) Title : RE: Re: [Dev] Dependency on qemu package for arm build

Hi Anuj,
Are you using a 64 bit machine?
Qiang, have you ever seen this kind of error.
Junfeng

-----Original Message-----
From: ANUJ MISHRA [mailto:mishra.anuj at samsung.com]
Sent: Sunday, October 27, 2013 1:33 PM
To: dev at lists.tizen.org
Cc: Liu, Bing Wei; Dong, Junfeng
Subject: Re: Re: [Dev] Dependency on qemu package for arm build

I checked the building of successful as well as failed packages locally. The problem that I reported before is gone but there is another crash I got and it is also related to qemu. I have checked extensively and tried to perform all possible options. It seems there is still issue with qemu, that needs to be resolved for local build. 

Here is the log:

[   36s] running qemu-accel-armv7l-cross-arm postinstall script
[   36s] qemu: Unsupported syscall: 202
[   36s] Unable to reserve 0xf7000000 bytes of virtual address space for use as guest address space (check your virtual memory ulimit setting or reserve less using -R option)
[   36s] running setup postinstall script
[   36s] qemu: Unsupported syscall: 202
[   36s] Unable to reserve 0xf7000000 bytes of virtual address space for use as guest address space (check your virtual memory ulimit setting or reserve less using -R option)
[   36s] initializing rpm db...
[   36s] qemu: Unsupported syscall: 202
[   36s] qemu: Unsupported syscall: 202
[   36s] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[   36s] /usr/lib/build/init_buildsystem: line 278:   903 Segmentation fault      (core dumped) chroot $BUILD_ROOT /usr/bin/rpmdb --initdb

One we receive this Segmentation fault build stopped with
error: *** Error Summary ***
=== the following packages failed to build due to rpmbuild issue (1) ===
cert-svc-tizen.public-armv7l: /home/anujmishra/GBS-ROOT/local/repos/tizen.public/armv7l/logs/fail/cert-svc-1.0.1-31/log

error: rpmbuild fails




------- Original Message -------
Sender : ANUJ MISHRA S5/Senior Engineer/Service Platform Group/Samsung Electronics Date : Oct 26, 2013 19:25 (GMT+09:00) Title : Re: [Dev] Dependency on qemu package for arm build

Thans for update BingWei.
I will test local build and update you.


Anuj


---Original Message---
Sender : Liu, Bing Wei/bing.wei.liu at intel.com Date : 2013/10/26 10:40 (GMT+09:00) Subject : RE: [Dev] Dependency on qemu package for arm build

Praj has deployed the qemu fix. Please give a try. 
- Bingwei

From: dev-bounces at lists.tizen.org [mailto:dev-bounces at lists.tizen.org] On Behalf Of Dong, Junfeng
Sent: Friday, October 25, 2013 10:46 AM
To: mishra.anuj at samsung.com; dev at lists.tizen.org
Subject: Re: [Dev] Dependency on qemu package for arm build

I filed https://bugs.tizen.org/jira/browse/TINF-317 to track the issue. Free feel to give comments there.
Thanks
Junfeng

From: dev-bounces at lists.tizen.org [mailto:dev-bounces at lists.tizen.org] On Behalf Of ANUJ MISHRA
Sent: Friday, October 25, 2013 10:39 AM
To: dev at lists.tizen.org
Subject: Re: [Dev] Dependency on qemu package for arm build

Is that qemu issue resolved? I just checked building osp-web/net-config and still the local build gets stopped due to missing qemu package in server
----------------------------------------------------------------------------------------------------------------------
info: package dependency resolving ...
error: *** Error Summary ***
=== the following packages failed to build due to missing build dependencies (1) ===
osp-web:
  nothing provides qemu-linux-user
  nothing provides qemu-accel-armv7l

error: rpmbuild fails
----------------------------------------------------------------------------------------------------------------------
This is my snapshot url: http://download.tizen.org/snapshots/tizen/rd-pq/latest/

Meanwhile I observed some log message from failed packages(osp-web) regarding qemu in OBS. Not sure whether this is is error or not 

[  234s] removing nis flags from //etc/nsswitch.conf...
[  234s] now finalizing build dir...
[  234s] qemu: Unsupported syscall: 311


Thanks

------- Original Message -------
Sender : Kanevskiy, Alexander
Date : Oct 24, 2013 23:46 (GMT+09:00)
Title : Re: [Dev] Dependency on qemu package for arm build

On 10/24/13 17:37 , "ANUJ MISHRA" > wrote:

I checked with 3~4 packages in local build and it stopped while resolving dependency through server for qemu. I am using RD-PQ snapshot. Even other Samsung engineers asking about this build dependency as they are solving build issue.

This we did not observe in OBS.

ah. ok. I had a fear that it also seen somewhere in OBS side.

well, this supposed to be resolved tonight then Praj will propogate changes from devel:bootstrap to Tizen:Mobile.



Anuj




---Original Message---
Sender : Kanevskiy, Alexander/alexander.kanevskiy at intel.com
Date : 2013/10/24 20:48 (GMT+09:00)
Subject : Re: [Dev] Dependency on qemu package for arm build Anuj, is it only for local build ?

br, Alexander (mobile)

> On 24 Oct 2013, at 13:28, "ANUJ MISHRA" > wrote:
>
> For arm build almost all packages inheriting qemu dependency and it stop to build when it does not find these two qemu packages.
> nothing provides qemu-linux-user
> nothing provides qemu-accel-armv7l
>
> To overcome this Jerry enabled the qemu but it is unresolvable due to 
> SDL package missing. We verified that for RSA arm build qemu package is integral part of it. So, disabling the qemu from build is not solution but we have to resolve this package.
> No developer able to use RD-PQ latest or near latest snapshots for 
> their local build verification. This is blocking issue to solve remaining build issue in Tizen 3.0.
>
> There is no meaning to use another snapshots for checking local build. 
> I request qemu maintainers to resolve this package and examine its dependency on SDL package quickly. Without this progress would be very difficult.
>
> -- Anuj
> _______________________________________________
> Dev mailing list
> Dev at lists.tizen.org
> https://lists.tizen.org/listinfo/dev
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.




--
Best regards, Alexander Kanevskiy.
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.


More information about the Dev mailing list