* e2fsprogs-libs is unbuildable for .dev
@ 2009-05-23 20:44 Ihar Hrachyshka
2009-05-24 20:48 ` Denys Dmytriyenko
0 siblings, 1 reply; 4+ messages in thread
From: Ihar Hrachyshka @ 2009-05-23 20:44 UTC (permalink / raw)
To: openembedded-devel, koen
For org.openembedded.dev branch I get the following error when trying
to compile console-image for BeagleBoard. The problem is reproducable
with fully cleaned tmp/
ERROR: Error in executing:
/home/booxter/projects/oe.devel//openembedded/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb
ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such
file or directory:
'/home/booxter/projects/oe.devel//tmp/work/armv7a-angstrom-linux-gnueabi/util-linux-ng-2.15-r2/install/e2fsprogs-libs-dbg'
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: e2fsprogs-libs is unbuildable for .dev
2009-05-23 20:44 e2fsprogs-libs is unbuildable for .dev Ihar Hrachyshka
@ 2009-05-24 20:48 ` Denys Dmytriyenko
2009-05-25 17:18 ` [PATCH] locality of python{} variables (was e2fsprogs-libs is unbuildable for .dev) Stanislav Brabec
0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2009-05-24 20:48 UTC (permalink / raw)
To: openembedded-devel
On Sat, May 23, 2009 at 11:44:47PM +0300, Ihar Hrachyshka wrote:
> For org.openembedded.dev branch I get the following error when trying
> to compile console-image for BeagleBoard. The problem is reproducable
> with fully cleaned tmp/
>
> ERROR: Error in executing:
> /home/booxter/projects/oe.devel//openembedded/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb
> ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such
> file or directory:
> '/home/booxter/projects/oe.devel//tmp/work/armv7a-angstrom-linux-gnueabi/util-linux-ng-2.15-r2/install/e2fsprogs-libs-dbg'
It is due to this:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/22376/focus=22561
And caused I believe by this:
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=61f0ac5601f6c03871d084f879ef618664d9b2c6
Looks like pkgdata/runtime handling needs fixing...
--
Denys
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] locality of python{} variables (was e2fsprogs-libs is unbuildable for .dev)
2009-05-24 20:48 ` Denys Dmytriyenko
@ 2009-05-25 17:18 ` Stanislav Brabec
2009-06-03 12:41 ` Ihar Hrachyshka
0 siblings, 1 reply; 4+ messages in thread
From: Stanislav Brabec @ 2009-05-25 17:18 UTC (permalink / raw)
To: openembedded-devel
Denys Dmytriyenko wrote:
> http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=61f0ac5601f6c03871d084f879ef618664d9b2c6
Blindly guessing that variables inside python statement may be global. I
see no other explanation, how variables can get a value defined in
another .bb file.
Here is a partial fix (just a variable rename) that allowed to continue
the build. If my guess is true, then possible problems of
do_split_packages() may be pretty widespread.
diff --git a/recipes/e2fsprogs-libs/e2fsprogs-libs.inc b/recipes/e2fsprogs-libs/e2fsprogs-libs.inc
index 8b214c1..5b82c11 100644
--- a/recipes/e2fsprogs-libs/e2fsprogs-libs.inc
+++ b/recipes/e2fsprogs-libs/e2fsprogs-libs.inc
@@ -15,12 +15,12 @@ FILES_e2fsprogs-libs-dev_append = " ${datadir}/et ${datadir}/ss"
FILES_${PN} = "${bindir}"
python populate_packages_prepend () {
- cv_libdir = bb.data.expand('${libdir}', d)
- cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
- do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev', allow_links=True)
- do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev')
- do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev')
- do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'e2fsprogs-libs %s library', extra_depends='', allow_links=True)
+ e2fs_libdir = bb.data.expand('${libdir}', d)
+ e2fs_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
+ do_split_packages(d, e2fs_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev', allow_links=True)
+ do_split_packages(d, e2fs_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev')
+ do_split_packages(d, e2fs_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev')
+ do_split_packages(d, e2fs_libdir, '^lib(.*)\.so\.*', 'lib%s', 'e2fsprogs-libs %s library', extra_depends='', allow_links=True)
}
do_stage () {
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index 45fd1a6..9c70b9e 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -123,12 +123,12 @@ do_install () {
}
python populate_packages_prepend () {
- cv_libdir = bb.data.expand('${libdir}', d)
- cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
- do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev', allow_links=True)
- do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev')
- do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev')
- do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'util-linux-ng %s library', extra_depends='', allow_links=True)
+ ulinxng_libdir = bb.data.expand('${libdir}', d)
+ ulinxng_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
+ do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev', allow_links=True)
+ do_split_packages(d, ulinxng_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev')
+ do_split_packages(d, ulinxng_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev')
+ do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so\.*', 'lib%s', 'util-linux-ng %s library', extra_depends='', allow_links=True)
}
--
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] locality of python{} variables (was e2fsprogs-libs is unbuildable for .dev)
2009-05-25 17:18 ` [PATCH] locality of python{} variables (was e2fsprogs-libs is unbuildable for .dev) Stanislav Brabec
@ 2009-06-03 12:41 ` Ihar Hrachyshka
0 siblings, 0 replies; 4+ messages in thread
From: Ihar Hrachyshka @ 2009-06-03 12:41 UTC (permalink / raw)
To: openembedded-devel
Problem is still there (built today from scratch).
On Mon, May 25, 2009 at 8:18 PM, Stanislav Brabec <utx@penguin.cz> wrote:
> Denys Dmytriyenko wrote:
>> http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=61f0ac5601f6c03871d084f879ef618664d9b2c6
>
> Blindly guessing that variables inside python statement may be global. I
> see no other explanation, how variables can get a value defined in
> another .bb file.
>
> Here is a partial fix (just a variable rename) that allowed to continue
> the build. If my guess is true, then possible problems of
> do_split_packages() may be pretty widespread.
>
> diff --git a/recipes/e2fsprogs-libs/e2fsprogs-libs.inc b/recipes/e2fsprogs-libs/e2fsprogs-libs.inc
> index 8b214c1..5b82c11 100644
> --- a/recipes/e2fsprogs-libs/e2fsprogs-libs.inc
> +++ b/recipes/e2fsprogs-libs/e2fsprogs-libs.inc
> @@ -15,12 +15,12 @@ FILES_e2fsprogs-libs-dev_append = " ${datadir}/et ${datadir}/ss"
> FILES_${PN} = "${bindir}"
>
> python populate_packages_prepend () {
> - cv_libdir = bb.data.expand('${libdir}', d)
> - cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
> - do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev', allow_links=True)
> - do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev')
> - do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev')
> - do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'e2fsprogs-libs %s library', extra_depends='', allow_links=True)
> + e2fs_libdir = bb.data.expand('${libdir}', d)
> + e2fs_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
> + do_split_packages(d, e2fs_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev', allow_links=True)
> + do_split_packages(d, e2fs_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev')
> + do_split_packages(d, e2fs_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev')
> + do_split_packages(d, e2fs_libdir, '^lib(.*)\.so\.*', 'lib%s', 'e2fsprogs-libs %s library', extra_depends='', allow_links=True)
> }
>
> do_stage () {
> diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
> index 45fd1a6..9c70b9e 100644
> --- a/recipes/util-linux-ng/util-linux-ng.inc
> +++ b/recipes/util-linux-ng/util-linux-ng.inc
> @@ -123,12 +123,12 @@ do_install () {
> }
>
> python populate_packages_prepend () {
> - cv_libdir = bb.data.expand('${libdir}', d)
> - cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
> - do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev', allow_links=True)
> - do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev')
> - do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev')
> - do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'util-linux-ng %s library', extra_depends='', allow_links=True)
> + ulinxng_libdir = bb.data.expand('${libdir}', d)
> + ulinxng_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
> + do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev', allow_links=True)
> + do_split_packages(d, ulinxng_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev')
> + do_split_packages(d, ulinxng_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev')
> + do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so\.*', 'lib%s', 'util-linux-ng %s library', extra_depends='', allow_links=True)
> }
>
>
>
> --
> Stanislav Brabec
> http://www.penguin.cz/~utx/zaurus
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-03 12:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-23 20:44 e2fsprogs-libs is unbuildable for .dev Ihar Hrachyshka
2009-05-24 20:48 ` Denys Dmytriyenko
2009-05-25 17:18 ` [PATCH] locality of python{} variables (was e2fsprogs-libs is unbuildable for .dev) Stanislav Brabec
2009-06-03 12:41 ` Ihar Hrachyshka
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.