All of lore.kernel.org
 help / color / mirror / Atom feed
* Build problems with fsl-image-gui/packagegroup-core-x11-base
@ 2013-04-28 19:50 Oliver Haag
  2013-04-28 21:19 ` Otavio Salvador
  0 siblings, 1 reply; 10+ messages in thread
From: Oliver Haag @ 2013-04-28 19:50 UTC (permalink / raw)
  To: meta-freescale

Hi,

I'm currently trying to build the fsl-image-gui package using those 
instructions: https://community.freescale.com/docs/DOC-93844

I've tried danny and master, for both I get the same error regarding package 
dependencies:
| Some packages could not be installed. This may mean that you have
| requested an impossible situation or if you are using the unstable
| distribution that some required packages have not yet been created
| or been moved out of Incoming.
| The following information may help to resolve the situation:
| 
| The following packages have unmet dependencies:
|  packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but it is 
not going to be installed
| E: Unable to correct problems, you have held broken packages.
| ERROR: Function failed: do_rootfs (see 
/home/oliver/Entwicklung/SabreLite/yoctoproject/fsl-community-bsp-platform-
master/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui/1.0-
r0/temp/log.do_rootfs.5506 for further information)

Building fsl-image-test worked without problems and is running fine, so I guess 
the build environment is working properly.

Is this problem known? How can it be resolved?

If you need any additional information let me know :)


Greetings,

Oliver Haag


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Build problems with fsl-image-gui/packagegroup-core-x11-base
  2013-04-28 19:50 Oliver Haag
@ 2013-04-28 21:19 ` Otavio Salvador
  2013-04-29 22:34   ` Oliver Haag
  0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2013-04-28 21:19 UTC (permalink / raw)
  To: Oliver Haag; +Cc: meta-freescale@yoctoproject.org

On Sun, Apr 28, 2013 at 4:50 PM, Oliver Haag <oliver.haag@gmail.com> wrote:
> I've tried danny and master, for both I get the same error regarding package
> dependencies:
> | Some packages could not be installed. This may mean that you have
> | requested an impossible situation or if you are using the unstable
> | distribution that some required packages have not yet been created
> | or been moved out of Incoming.
> | The following information may help to resolve the situation:
> |
> | The following packages have unmet dependencies:
> |  packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but it is
> not going to be installed
> | E: Unable to correct problems, you have held broken packages.
> | ERROR: Function failed: do_rootfs (see

Did you check which dependency fails? check the .log file it says.

As a try, try to remove your 'tmp' dir and do a build. It might help.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Build problems with fsl-image-gui/packagegroup-core-x11-base
  2013-04-28 21:19 ` Otavio Salvador
@ 2013-04-29 22:34   ` Oliver Haag
  2013-04-30  1:00     ` Otavio Salvador
  2013-05-19  8:49     ` Tele
  0 siblings, 2 replies; 10+ messages in thread
From: Oliver Haag @ 2013-04-29 22:34 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

Hi,

as the quoted log said, the packagegroup-core-x11-base package requires 
packagegroup-core-x11-utils which doesn't exist. Do you need additional 
information?

I tried deleting the tmp-directory, also tried to follow the guide from the 
start again. This didn't resolve the problem though...

Here's to local.conf, maybe that will help (Removed all comments):
BB_NUMBER_THREADS = "4"
PARALLEL_MAKE = "-j 4"
MACHINE ?= 'imx6qsabrelite'
MACHINE ??= "qemux86"
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_deb"
EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
CONF_VERSION = "1"
ACCEPT_FSL_EULA = ""

Greetings,

Oliver


Am Sonntag 28 April 2013, 18:19:01 schrieb Otavio Salvador:
> On Sun, Apr 28, 2013 at 4:50 PM, Oliver Haag <oliver.haag@gmail.com> wrote:
> > I've tried danny and master, for both I get the same error regarding
> > package> 
> > dependencies:
> > | Some packages could not be installed. This may mean that you have
> > | requested an impossible situation or if you are using the unstable
> > | distribution that some required packages have not yet been created
> > | or been moved out of Incoming.
> > | The following information may help to resolve the situation:
> > | 
> > | The following packages have unmet dependencies:
> > |  packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but
> > |  it is
> > 
> > not going to be installed
> > 
> > | E: Unable to correct problems, you have held broken packages.
> > | ERROR: Function failed: do_rootfs (see
> 
> Did you check which dependency fails? check the .log file it says.
> 
> As a try, try to remove your 'tmp' dir and do a build. It might help.
> 
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Build problems with fsl-image-gui/packagegroup-core-x11-base
  2013-04-29 22:34   ` Oliver Haag
@ 2013-04-30  1:00     ` Otavio Salvador
  2013-05-19  8:49     ` Tele
  1 sibling, 0 replies; 10+ messages in thread
From: Otavio Salvador @ 2013-04-30  1:00 UTC (permalink / raw)
  To: Oliver Haag; +Cc: meta-freescale@yoctoproject.org

On Mon, Apr 29, 2013 at 7:34 PM, Oliver Haag <oliver.haag@gmail.com> wrote:
> Hi,
>
> as the quoted log said, the packagegroup-core-x11-base package requires
> packagegroup-core-x11-utils which doesn't exist. Do you need additional
> information?

I built *all* machines without failures. So I am curious to understand
how you got on this error.

Please provide the following information:

 * Branch you are using (danny or dylan)?
 * The hashes of the repositories inside of sources/*
 * Please do a 'repo sync' and give it a go. You may be in an old version?

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Build problems with fsl-image-gui/packagegroup-core-x11-base
  2013-04-29 22:34   ` Oliver Haag
  2013-04-30  1:00     ` Otavio Salvador
@ 2013-05-19  8:49     ` Tele
  1 sibling, 0 replies; 10+ messages in thread
From: Tele @ 2013-05-19  8:49 UTC (permalink / raw)
  To: meta-freescale



If you change from
PACKAGE_CLASSES ?= "package_deb"
to
PACKAGE_CLASSES ?= "package_rpm"

in the config file, it will work. I think its bugged.

Tele




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Build problems with fsl-image-gui/packagegroup-core-x11-base
@ 2013-08-25  4:59 Ahmed Ammar
  2013-08-25 17:20 ` Otavio Salvador
  0 siblings, 1 reply; 10+ messages in thread
From: Ahmed Ammar @ 2013-08-25  4:59 UTC (permalink / raw)
  To: meta-freescale; +Cc: oliver.haag, otavio

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

I have just started testing yocto and hit this same bug with package_deb. I tried both dylan and master and the problem persists. master has even more problems due to: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/package_deb.bbclass?id=dc5f6c3898555b59f16bf809ae4c5418656e6ac9

The solution I found to the problem is attached in the patch. Is this the right way to do it? Or should I be setting VIRTUAL-RUNTIME_xserver_common = xserver-common somewhere?

Ahmed.






[-- Attachment #2: packagegroup-core-x11.patch --]
[-- Type: application/octet-stream, Size: 609 bytes --]

diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb
index e89df3a..991d54a 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb
@@ -10,7 +10,7 @@ inherit packagegroup
 PACKAGES = "${PN} ${PN}-utils"
 
 # xserver-common, x11-common
-VIRTUAL-RUNTIME_xserver_common ?= "x11-common"
+VIRTUAL-RUNTIME_xserver_common ?= "xserver-common"
 
 # elsa, xserver-nodm-init
 VIRTUAL-RUNTIME_graphical_init_manager ?= "xserver-nodm-init"

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: Build problems with fsl-image-gui/packagegroup-core-x11-base
  2013-08-25  4:59 Ahmed Ammar
@ 2013-08-25 17:20 ` Otavio Salvador
  2013-08-25 22:11   ` Ahmed Ammar
  0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2013-08-25 17:20 UTC (permalink / raw)
  To: Ahmed Ammar; +Cc: meta-freescale@yoctoproject.org, Oliver Haag

On Sun, Aug 25, 2013 at 1:59 AM, Ahmed Ammar <aammar@genesi-usa.com> wrote:
> I have just started testing yocto and hit this same bug with package_deb. I tried both dylan and master and the problem persists. master has even more problems due to: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/package_deb.bbclass?id=dc5f6c3898555b59f16bf809ae4c5418656e6ac9
>
> The solution I found to the problem is attached in the patch. Is this the right way to do it? Or should I be setting VIRTUAL-RUNTIME_xserver_common = xserver-common somewhere?

This is more a OE-Core issue. I didn't get what the problem is? Can
you describe the problem you are fixing?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Build problems with fsl-image-gui/packagegroup-core-x11-base
  2013-08-25 17:20 ` Otavio Salvador
@ 2013-08-25 22:11   ` Ahmed Ammar
  2013-08-29 19:59     ` Otavio Salvador
  0 siblings, 1 reply; 10+ messages in thread
From: Ahmed Ammar @ 2013-08-25 22:11 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org, Oliver Haag

There's a thread about this problem already, in April.

package_deb fails without 'VIRTUAL-RUNTIME_xserver_common = xserver-common' being set somewhere.

I am just providing the solution to the problem.

On Aug 25, 2013, at 12:20 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:

> On Sun, Aug 25, 2013 at 1:59 AM, Ahmed Ammar <aammar@genesi-usa.com> wrote:
>> I have just started testing yocto and hit this same bug with package_deb. I tried both dylan and master and the problem persists. master has even more problems due to: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/package_deb.bbclass?id=dc5f6c3898555b59f16bf809ae4c5418656e6ac9
>> 
>> The solution I found to the problem is attached in the patch. Is this the right way to do it? Or should I be setting VIRTUAL-RUNTIME_xserver_common = xserver-common somewhere?
> 
> This is more a OE-Core issue. I didn't get what the problem is? Can
> you describe the problem you are fixing?
> 
> -- 
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Build problems with fsl-image-gui/packagegroup-core-x11-base
  2013-08-25 22:11   ` Ahmed Ammar
@ 2013-08-29 19:59     ` Otavio Salvador
  0 siblings, 0 replies; 10+ messages in thread
From: Otavio Salvador @ 2013-08-29 19:59 UTC (permalink / raw)
  To: Ahmed Ammar; +Cc: meta-freescale@yoctoproject.org, Oliver Haag

On Sun, Aug 25, 2013 at 7:11 PM, Ahmed Ammar <aammar@genesi-usa.com> wrote:
> There's a thread about this problem already, in April.
>
> package_deb fails without 'VIRTUAL-RUNTIME_xserver_common = xserver-common' being set somewhere.
>
> I am just providing the solution to the problem.

Did you try to find out the root cause of this different behaviour?
It'd be good to send this issue, well detailed, to openembedded-core
mailing list as it is a general issue.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Build problems with fsl-image-gui/packagegroup-core-x11-base
@ 2014-02-27 16:31 stephane Cerveau
  0 siblings, 0 replies; 10+ messages in thread
From: stephane Cerveau @ 2014-02-27 16:31 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org, Otavio Salvador

Dear Otavio,

I saw this discussion about package_deb and x11.

https://www.mail-archive.com/meta-freescale@yoctoproject.org/msg04297.html

I'm facing the same issue and i would like to know if this has been 
patched in poky or anywhere else.

I tried the solution provided by ahmed and it seems to work fine

I'm using dora branch and i would like to use deb packages instead of rpm.

Please advise because i saw that the people advise to use only rpm.
Best regards.

Stéphane


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-02-27 16:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27 16:31 Build problems with fsl-image-gui/packagegroup-core-x11-base stephane Cerveau
  -- strict thread matches above, loose matches on Subject: below --
2013-08-25  4:59 Ahmed Ammar
2013-08-25 17:20 ` Otavio Salvador
2013-08-25 22:11   ` Ahmed Ammar
2013-08-29 19:59     ` Otavio Salvador
2013-04-28 19:50 Oliver Haag
2013-04-28 21:19 ` Otavio Salvador
2013-04-29 22:34   ` Oliver Haag
2013-04-30  1:00     ` Otavio Salvador
2013-05-19  8:49     ` Tele

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.