Skip to contentSkip to conversation

gvfs-gdu-volume-monitor: avoid double packaging gvfs locale

meta-gnome Andreas Müller 2 participants 7 messages Dec 12, 2012 – Dec 20, 2012

lore
Share & tools
lore
#0 lore raw

Fix error for do_rootfs:

| Collected errors:
|  * check_data_file_clashes: Package gvfs-gdu-volume-monitor-locale-fr wants to install file /home/Superandy/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/xfce4-full-image/1.0-r0/rootfs/usr/share/locale/fr/LC_MESSAGES/gvfs.mo
| 	But that file is already provided by package  * gvfs-locale-fr
|  * opkg_install_cmd: Cannot install package gvfs-gdu-volume-monitor-locale-fr.
|  * check_data_file_clashes: Package gvfs-locale-en-gb wants to install file /home/Superandy/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/xfce4-full-image/1.0-r0/rootfs/usr/share/locale/en_GB/LC_MESSAGES/gvfs.mo
| 	But that file is already provided by package  * gvfs-gdu-volume-monitor-locale-en-gb
|  * opkg_install_cmd: Cannot install package gvfs-locale-en-gb.
|  * check_data_file_clashes: Package gvfs-gdu-volume-monitor-locale-de wants to install file /home/Superandy/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/xfce4-full-image/1.0-r0/rootfs/usr/share/locale/de/LC_MESSAGES/gvfs.mo
| 	But that file is already provided by package  * gvfs-locale-de
|  * opkg_install_cmd: Cannot install package gvfs-gdu-volume-monitor-locale-de.
---
 .../gvfs/gvfs-gdu-volume-monitor_1.8.2.bb          |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.8.2.bb +1 -0
index fe5af46..3754e60 100644
@@ -20,6 +20,7 @@ do_install_append() {
 	rm -rf ${D}${datadir}/glib-2.0
 	rm -rf ${D}${datadir}/GConf
 	rm -f ${D}${datadir}/dbus-1/services/gvfs-*
+	rm -rf ${D}${datadir}/locale
 	rm -f ${D}${libexecdir}/gvfsd*
 	rm -f ${D}${libexecdir}/gvfs-fuse-daemon
 	rm -f ${D}${libexecdir}/gvfs-gphoto2-volume-monitor
Signature · 1 line
1.7.4.4
#1 lore raw
Quoted 30 lines · Andreas Müller

Fix error for do_rootfs:

| Collected errors:
|  * check_data_file_clashes: Package gvfs-gdu-volume-monitor-locale-fr wants to install file /home/Superandy/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/xfce4-full-image/1.0-r0/rootfs/usr/share/locale/fr/LC_MESSAGES/gvfs.mo
|       But that file is already provided by package  * gvfs-locale-fr
|  * opkg_install_cmd: Cannot install package gvfs-gdu-volume-monitor-locale-fr.
|  * check_data_file_clashes: Package gvfs-locale-en-gb wants to install file /home/Superandy/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/xfce4-full-image/1.0-r0/rootfs/usr/share/locale/en_GB/LC_MESSAGES/gvfs.mo
|       But that file is already provided by package  * gvfs-gdu-volume-monitor-locale-en-gb
|  * opkg_install_cmd: Cannot install package gvfs-locale-en-gb.
|  * check_data_file_clashes: Package gvfs-gdu-volume-monitor-locale-de wants to install file /home/Superandy/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/xfce4-full-image/1.0-r0/rootfs/usr/share/locale/de/LC_MESSAGES/gvfs.mo
|       But that file is already provided by package  * gvfs-locale-de
|  * opkg_install_cmd: Cannot install package gvfs-gdu-volume-monitor-locale-de.
---
 .../gvfs/gvfs-gdu-volume-monitor_1.8.2.bb          |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.8.2.bb +1 -1
index fe5af46..3754e60 100644
@@ -20,6 +20,7 @@ do_install_append() {
        rm -rf ${D}${datadir}/glib-2.0
        rm -rf ${D}${datadir}/GConf
        rm -f ${D}${datadir}/dbus-1/services/gvfs-*
+       rm -rf ${D}${datadir}/locale
        rm -f ${D}${libexecdir}/gvfsd*
        rm -f ${D}${libexecdir}/gvfs-fuse-daemon
        rm -f ${D}${libexecdir}/gvfs-gphoto2-volume-monitor
--
Quoted 2 lines

1.7.4.4

ping?

#2 lore raw
Quoted 19 lines · Andreas Müller
Quoted 17 lines · Andreas Müller

Fix error for do_rootfs:

| Collected errors:
|  * check_data_file_clashes: Package gvfs-gdu-volume-monitor-locale-fr wants to install file /home/Superandy/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/xfce4-full-image/1.0-r0/rootfs/usr/share/locale/fr/LC_MESSAGES/gvfs.mo
|       But that file is already provided by package  * gvfs-locale-fr
|  * opkg_install_cmd: Cannot install package gvfs-gdu-volume-monitor-locale-fr.
|  * check_data_file_clashes: Package gvfs-locale-en-gb wants to install file /home/Superandy/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/xfce4-full-image/1.0-r0/rootfs/usr/share/locale/en_GB/LC_MESSAGES/gvfs.mo
|       But that file is already provided by package  * gvfs-gdu-volume-monitor-locale-en-gb
|  * opkg_install_cmd: Cannot install package gvfs-locale-en-gb.
|  * check_data_file_clashes: Package gvfs-gdu-volume-monitor-locale-de wants to install file /home/Superandy/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/xfce4-full-image/1.0-r0/rootfs/usr/share/locale/de/LC_MESSAGES/gvfs.mo
|       But that file is already provided by package  * gvfs-locale-de
|  * opkg_install_cmd: Cannot install package gvfs-gdu-volume-monitor-locale-de.
---
 .../gvfs/gvfs-gdu-volume-monitor_1.8.2.bb          |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 16 lines
Quoted 13 lines
meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.8.2.bb +1 -1
index fe5af46..3754e60 100644
@@ -20,6 +20,7 @@ do_install_append() {
        rm -rf ${D}${datadir}/glib-2.0
        rm -rf ${D}${datadir}/GConf
        rm -f ${D}${datadir}/dbus-1/services/gvfs-*
+       rm -rf ${D}${datadir}/locale
        rm -f ${D}${libexecdir}/gvfsd*
        rm -f ${D}${libexecdir}/gvfs-fuse-daemon
        rm -f ${D}${libexecdir}/gvfs-gphoto2-volume-monitor
--
Quoted 2 lines

1.7.4.4

ping?

I've it in my queue and will send consolidated-pull request tomorrow.

Btw meta-guacamayo is using newer gvfs-1.12.3 and maybe they also resolved
http://patchwork.openembedded.org/patch/16755/

Can you check if such upgrade would be usefull for meta-gnome too? I'm not using gnome..

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 3 lines

Btw meta-guacamayo is using newer gvfs-1.12.3 and maybe they also resolved
http://patchwork.openembedded.org/patch/16755/

This one was fixed in 211c2ba382d921519761bc0d241942f927cf692e

Quoted 3 lines

Can you check if such upgrade would be usefull for meta-gnome too? I'm not using gnome..

Will do that hopefully before Xmas..

Andreas

#4 lore raw
Quoted 4 lines · Andreas Müller
Quoted 3 lines

Btw meta-guacamayo is using newer gvfs-1.12.3 and maybe they also resolved
http://patchwork.openembedded.org/patch/16755/

This one was fixed in 211c2ba382d921519761bc0d241942f927cf692e

OK, thanks, I've updated status on patchwork.

Quoted 3 lines
Quoted 2 lines

Can you check if such upgrade would be usefull for meta-gnome too? I'm not using gnome..

Will do that hopefully before Xmas..

Great, hopefully it will also resolve latest issue with gvfs build:

| gvfsbackendafc.c: In function '_idevice_event_cb':
| gvfsbackendafc.c:352:25: error: 'idevice_event_t' has no member named 'uuid'
| /OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux//bin/sed -e "s|\@libexecdir\@|/usr/lib/gvfs|" trash.mount.in > trash.mount
| gvfsbackendafc.c: In function 'g_vfs_backend_afc_init':
| gvfsbackendafc.c:2612:3: warning: 'g_mutex_new' is deprecated (declared at /OE/jansa-test/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/glib-2.0/glib/deprecated/gthread.h:271) [-Wdeprecated-declarations]
| daemon-main.c: In function 'daemon_init':
| daemon-main.c:66:3: warning: 'g_thread_init' is deprecated (declared at /OE/jansa-test/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
| make[4]: *** [gvfsd_afc-gvfsbackendafc.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| daemon-main.c: In function 'daemon_init':
| daemon-main.c:66:3: warning: 'g_thread_init' is deprecated (declared at /OE/jansa-test/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
| make[4]: Leaving directory `/OE/jansa-test/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gvfs/1.8.2-r8.0/gvfs-1.8.2/daemon'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/OE/jansa-test/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gvfs/1.8.2-r8.0/gvfs-1.8.2/daemon'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/OE/jansa-test/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gvfs/1.8.2-r8.0/gvfs-1.8.2/daemon'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/OE/jansa-test/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gvfs/1.8.2-r8.0/gvfs-1.8.2'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /OE/jansa-test/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gvfs/1.8.2-r8.0/temp/log.do_compile.12803 for further information)

NOTE: recipe gvfs-1.8.2-r8.0: task do_compile: Failed
ERROR: Task 13097 (/OE/jansa-test/shr-core/meta-openembedded/meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb, do_compile) failed with exit code '1'

Or we can backport something like:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/gvfs/files/gvfs-1.10.1-libimobiledevice-1.1.2.patch
and enable/disable libimobiledevice support explicitly.

Also as you're doing a lot of changes in meta-gnome and I guess you're also using it, can you check meta-gnome issues from "[oe] [OE-core] State of bitbake world" thread?
http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-December/042964.html

Some are probably caused because building libnotify3 and libnotify together doesn't play well with some apps, but some are pretty easy to reproduce (like failing do_patch).

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw
Quoted 12 lines · Martin Jansa
Quoted 4 lines · Andreas Müller
Quoted 3 lines

Btw meta-guacamayo is using newer gvfs-1.12.3 and maybe they also resolved
http://patchwork.openembedded.org/patch/16755/

This one was fixed in 211c2ba382d921519761bc0d241942f927cf692e

OK, thanks, I've updated status on patchwork.

Quoted 3 lines
Quoted 2 lines

Can you check if such upgrade would be usefull for meta-gnome too? I'm not using gnome..

Will do that hopefully before Xmas..

FYI: I updated to latest stable (1.14.2) and had some tests. Unfortunately this causes xfce/thunar automount fail. So this is not as easy as expected.

Will try 1.12.3...

Andreas

#6 lore raw
Quoted 13 lines · Andreas Müller
Quoted 12 lines · Martin Jansa
Quoted 4 lines · Andreas Müller
Quoted 3 lines

Btw meta-guacamayo is using newer gvfs-1.12.3 and maybe they also resolved
http://patchwork.openembedded.org/patch/16755/

This one was fixed in 211c2ba382d921519761bc0d241942f927cf692e

OK, thanks, I've updated status on patchwork.

Quoted 3 lines
Quoted 2 lines

Can you check if such upgrade would be usefull for meta-gnome too? I'm not using gnome..

Will do that hopefully before Xmas..

Quoted 7 lines

FYI: I updated to latest stable (1.14.2) and had some tests. Unfortunately this causes xfce/thunar automount fail. So this is not as easy as expected.

Will try 1.12.3...

Andreas

OK I checked: All stable gvfs versions > 1.8.2 require gnome-disk-utility > 3.x which requires gtk3. I would prefer to stay on gvfs 1.8.2.

Andreas