* File conflicts between PN-doc packages
@ 2013-01-23 17:27 Martin Jansa
2013-01-24 0:13 ` Chris Larson
0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2013-01-23 17:27 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 8226 bytes --]
I'm testing changes to allow world-image builds
https://bugzilla.yoctoproject.org/show_bug.cgi?id=3505
And even with very small subset of oe-core I got a lot of file
conflicts mostly between PN-doc packages.
We can return --force-overwrite to do_rootfs installs, but that
only moves this issue to end user trying to install e.g.
util-linux-doc and e2fsprogs-doc.
Do we want u-a used for stuff like doc?
What about conflicting .debug stuff from console-tools-dbg and kbd-dbg?
We can use:
1) u-a
+ most correct behavior
- more metadata
2) RCONFLICTS
+ proper message to end user
3) EXCLUDE_FROM_WORLD_IMAGE
- doesn't test installation for all PACKAGEs just because some are conflicting
4) EXCLUDED_PACKAGES_FROM_WORLD_IMAGE
+ exclude only some items from PACKAGES list
5) some combination of above
e.g. RCONFLICTS for PN-dbg, u-a for PN-doc
Here is whole list, but be aware that this is only about 2/5 of oe-core, 333 recipes from 826.
| * check_data_file_clashes: Package gcc-doc wants to install file rootfs/usr/share/info/dir
| But that file is already provided by package * automake-doc
| * check_data_file_clashes: Package eglibc-doc wants to install file rootfs/usr/share/info/dir
| But that file is already provided by package * automake-doc
| * check_data_file_clashes: Package initramfs-framework-base wants to install file rootfs/init
| But that file is already provided by package * initramfs-live-boot
| * check_data_file_clashes: Package initramfs-framework-base wants to install file rootfs/init
| But that file is already provided by package * initramfs-live-boot
| * check_data_file_clashes: Package tinylogin wants to install file rootfs/sbin/sulogin
| But that file is already provided by package * sysvinit-sulogin
| * check_data_file_clashes: Package initramfs-boot wants to install file rootfs/init
| But that file is already provided by package * initramfs-live-boot
| * check_data_file_clashes: Package eglibc-mtrace wants to install file rootfs/usr/bin/mtrace
| But that file is already provided by package * eglibc-scripts
| * check_data_file_clashes: Package eglibc-mtrace wants to install file rootfs/usr/bin/mtrace
| But that file is already provided by package * eglibc-scripts
| * check_data_file_clashes: Package coreutils-doc wants to install file rootfs/usr/share/man/man1/groups.1
| But that file is already provided by package * shadow-doc
| * check_data_file_clashes: Package initramfs-boot wants to install file rootfs/init
| But that file is already provided by package * initramfs-live-boot
| * check_data_file_clashes: Package binutils-doc wants to install file rootfs/usr/share/info/standards.info
| But that file is already provided by package * autoconf-doc
| * check_data_file_clashes: Package tinylogin wants to install file rootfs/sbin/sulogin
| But that file is already provided by package * sysvinit-sulogin
| * check_data_file_clashes: Package initramfs-boot wants to install file rootfs/init
| But that file is already provided by package * initramfs-live-boot
| * check_data_file_clashes: Package initramfs-framework-base wants to install file rootfs/init
| But that file is already provided by package * initramfs-live-boot
| * check_data_file_clashes: Package initramfs-framework-base wants to install file rootfs/init
| But that file is already provided by package * initramfs-live-boot
| * check_data_file_clashes: Package tinylogin wants to install file rootfs/sbin/sulogin
| But that file is already provided by package * sysvinit-sulogin
| * check_data_file_clashes: Package eglibc-mtrace wants to install file rootfs/usr/bin/mtrace
| But that file is already provided by package * eglibc-scripts
| * check_data_file_clashes: Package kbd-dbg wants to install file rootfs/usr/bin/.debug/setleds
| But that file is already provided by package * console-tools-dbg
| * check_data_file_clashes: Package kbd-dbg wants to install file rootfs/usr/bin/.debug/showkey
| But that file is already provided by package * console-tools-dbg
| * check_data_file_clashes: Package kbd-dbg wants to install file rootfs/usr/bin/.debug/dumpkeys
| But that file is already provided by package * console-tools-dbg
| * check_data_file_clashes: Package kbd-dbg wants to install file rootfs/usr/bin/.debug/setmetamode
| But that file is already provided by package * console-tools-dbg
| * check_data_file_clashes: Package kbd-dbg wants to install file rootfs/usr/bin/.debug/kbd_mode
| But that file is already provided by package * console-tools-dbg
| * check_data_file_clashes: Package kbd-dbg wants to install file rootfs/usr/bin/.debug/getkeycodes
| But that file is already provided by package * console-tools-dbg
| * check_data_file_clashes: Package kbd-dbg wants to install file rootfs/usr/bin/.debug/loadkeys
| But that file is already provided by package * console-tools-dbg
| * check_data_file_clashes: Package kbd-dbg wants to install file rootfs/usr/bin/.debug/psfaddtable
| But that file is already provided by package * console-tools-dbg
| * check_data_file_clashes: Package kbd-dbg wants to install file rootfs/usr/bin/.debug/setkeycodes
| But that file is already provided by package * console-tools-dbg
| * check_data_file_clashes: Package kbd-dbg wants to install file rootfs/usr/bin/.debug/psfgettable
| But that file is already provided by package * console-tools-dbg
| * check_data_file_clashes: Package kbd-dbg wants to install file rootfs/usr/bin/.debug/psfstriptable
| But that file is already provided by package * console-tools-dbg
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man8/fsck.8
| But that file is already provided by package * e2fsprogs-doc
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man8/blkid.8
| But that file is already provided by package * e2fsprogs-doc
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man8/findfs.8
| But that file is already provided by package * e2fsprogs-doc
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man8/sulogin.8
| But that file is already provided by package * sysvinit-doc
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man3/uuid.3
| But that file is already provided by package * libossp-uuid-doc
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man3/libblkid.3
| But that file is already provided by package * e2fsprogs-doc
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man1/utmpdump.1
| But that file is already provided by package * sysvinit-doc
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man1/mountpoint.1
| But that file is already provided by package * sysvinit-doc
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man1/reset.1
| But that file is already provided by package * ncurses-doc
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man1/wall.1
| But that file is already provided by package * sysvinit-doc
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man1/mesg.1
| But that file is already provided by package * sysvinit-doc
| * check_data_file_clashes: Package util-linux-doc wants to install file rootfs/usr/share/man/man1/last.1
| But that file is already provided by package * sysvinit-doc
| * check_data_file_clashes: Package tinylogin wants to install file rootfs/sbin/sulogin
| But that file is already provided by package * sysvinit-sulogin
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: File conflicts between PN-doc packages
2013-01-23 17:27 File conflicts between PN-doc packages Martin Jansa
@ 2013-01-24 0:13 ` Chris Larson
2013-01-24 0:33 ` Mark Hatle
0 siblings, 1 reply; 6+ messages in thread
From: Chris Larson @ 2013-01-24 0:13 UTC (permalink / raw)
To: Martin Jansa; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 313 bytes --]
On Wed, Jan 23, 2013 at 10:27 AM, Martin Jansa <martin.jansa@gmail.com>wrote:
> | * check_data_file_clashes: Package gcc-doc wants to install file
> rootfs/usr/share/info/dir
>
In this particular case, I think we can look at how other distros handle
this file and follow suit.
--
Christopher Larson
[-- Attachment #2: Type: text/html, Size: 633 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: File conflicts between PN-doc packages
2013-01-24 0:13 ` Chris Larson
@ 2013-01-24 0:33 ` Mark Hatle
2013-01-24 0:41 ` Richard Purdie
0 siblings, 1 reply; 6+ messages in thread
From: Mark Hatle @ 2013-01-24 0:33 UTC (permalink / raw)
To: openembedded-core
On 1/23/13 6:13 PM, Chris Larson wrote:
>
> On Wed, Jan 23, 2013 at 10:27 AM, Martin Jansa <martin.jansa@gmail.com
> <mailto:martin.jansa@gmail.com>> wrote:
>
> | * check_data_file_clashes: Package gcc-doc wants to install file
> rootfs/usr/share/info/dir
I missed this earlier. Yes, the 'dir' file in an info (-doc) package should not
be included. It's existence is an error. This might be a sanity check we
should be adding.
--Mark
>
> In this particular case, I think we can look at how other distros handle this
> file and follow suit.
> --
> Christopher Larson
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: File conflicts between PN-doc packages
2013-01-24 0:33 ` Mark Hatle
@ 2013-01-24 0:41 ` Richard Purdie
2013-01-25 14:23 ` Martin Jansa
0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2013-01-24 0:41 UTC (permalink / raw)
To: Mark Hatle; +Cc: openembedded-core
On Wed, 2013-01-23 at 18:33 -0600, Mark Hatle wrote:
> On 1/23/13 6:13 PM, Chris Larson wrote:
> >
> > On Wed, Jan 23, 2013 at 10:27 AM, Martin Jansa <martin.jansa@gmail.com
> > <mailto:martin.jansa@gmail.com>> wrote:
> >
> > | * check_data_file_clashes: Package gcc-doc wants to install file
> > rootfs/usr/share/info/dir
>
> I missed this earlier. Yes, the 'dir' file in an info (-doc) package should not
> be included. It's existence is an error. This might be a sanity check we
> should be adding.
autotools_do_install() in autotools.bbclass actually purges those.
Whether it should be autotools or the base class I'm not so sure but it
was a common problem for autotools recipes...
Cheers,
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: File conflicts between PN-doc packages
2013-01-24 0:41 ` Richard Purdie
@ 2013-01-25 14:23 ` Martin Jansa
2013-01-25 14:35 ` Richard Purdie
0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2013-01-25 14:23 UTC (permalink / raw)
To: Richard Purdie; +Cc: Matthew McClintock, openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1377 bytes --]
On Thu, Jan 24, 2013 at 12:41:19AM +0000, Richard Purdie wrote:
> On Wed, 2013-01-23 at 18:33 -0600, Mark Hatle wrote:
> > On 1/23/13 6:13 PM, Chris Larson wrote:
> > >
> > > On Wed, Jan 23, 2013 at 10:27 AM, Martin Jansa <martin.jansa@gmail.com
> > > <mailto:martin.jansa@gmail.com>> wrote:
> > >
> > > | * check_data_file_clashes: Package gcc-doc wants to install file
> > > rootfs/usr/share/info/dir
> >
> > I missed this earlier. Yes, the 'dir' file in an info (-doc) package should not
> > be included. It's existence is an error. This might be a sanity check we
> > should be adding.
Good to see that world-image is useful to detect other kinds of issues
then I originally expected :).
> autotools_do_install() in autotools.bbclass actually purges those.
> Whether it should be autotools or the base class I'm not so sure but it
> was a common problem for autotools recipes...
It's removed in gcc-configure-runtime.inc but only for libgomp
RUNTIMETARGET, does someone remember why? Adding Matthew, because that
removal was added in:
commit b76a7bc8dcb7aed7d6f026e77a226837004c50af
Author: Matthew McClintock <msm@freescale.com>
Date: Tue Jul 10 16:12:29 2012 +0000
libgomp: add libgomp (openmp) library, and build for powerpc targets by default
Cheers,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: File conflicts between PN-doc packages
2013-01-25 14:23 ` Martin Jansa
@ 2013-01-25 14:35 ` Richard Purdie
0 siblings, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2013-01-25 14:35 UTC (permalink / raw)
To: Martin Jansa; +Cc: Matthew McClintock, openembedded-core
On Fri, 2013-01-25 at 15:23 +0100, Martin Jansa wrote:
> On Thu, Jan 24, 2013 at 12:41:19AM +0000, Richard Purdie wrote:
> > On Wed, 2013-01-23 at 18:33 -0600, Mark Hatle wrote:
> > > On 1/23/13 6:13 PM, Chris Larson wrote:
> > > >
> > > > On Wed, Jan 23, 2013 at 10:27 AM, Martin Jansa <martin.jansa@gmail.com
> > > > <mailto:martin.jansa@gmail.com>> wrote:
> > > >
> > > > | * check_data_file_clashes: Package gcc-doc wants to install file
> > > > rootfs/usr/share/info/dir
> > >
> > > I missed this earlier. Yes, the 'dir' file in an info (-doc) package should not
> > > be included. It's existence is an error. This might be a sanity check we
> > > should be adding.
>
> Good to see that world-image is useful to detect other kinds of issues
> then I originally expected :).
>
> > autotools_do_install() in autotools.bbclass actually purges those.
> > Whether it should be autotools or the base class I'm not so sure but it
> > was a common problem for autotools recipes...
>
> It's removed in gcc-configure-runtime.inc but only for libgomp
> RUNTIMETARGET, does someone remember why? Adding Matthew, because that
> removal was added in:
Its safe to remove in all cases. Its basically an index so if we care
about it, we should generate it on target at image build time.
Cheers,
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-01-25 14:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 17:27 File conflicts between PN-doc packages Martin Jansa
2013-01-24 0:13 ` Chris Larson
2013-01-24 0:33 ` Mark Hatle
2013-01-24 0:41 ` Richard Purdie
2013-01-25 14:23 ` Martin Jansa
2013-01-25 14:35 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox