From: Hongxu Jia <hongxu.jia@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH V3 0/4] man/info: fix not support xz/bz2 compression
Date: Thu, 25 Sep 2014 10:31:28 +0800 [thread overview]
Message-ID: <54237E80.2040905@windriver.com> (raw)
In-Reply-To: <542377AB.9050201@windriver.com>
On 09/25/2014 10:02 AM, Hongxu Jia wrote:
> On 09/25/2014 09:54 AM, Hongxu Jia wrote:
>> On 09/25/2014 05:53 AM, Burton, Ross wrote:
>>> Hi Hongxu,
>>>
>>> This is failing for me, core-image-minimal for NUC with doc-pkgs:
>>>
>
> And what NUC means? I am not familiar with is.
>
Oh, it is a intel BSP located in yocto/meta-intel/meta-nuc.
//Hongxu
> //Hongxu
>
>>> Collected errors:
>>> * check_data_file_clashes: Package util-linux-doc wants to install
>>> file /data/poky-master/tmp/work/nuc-poky-linux/cor
>>> e-image-minimal/1.0-r0/rootfs/usr/share/man/man3/libblkid.3.xz
>>> But that file is already provided by package * e2fsprogs-doc
>>> * check_data_file_clashes: Package util-linux-doc wants to install
>>> file /data/poky-master/tmp/work/nuc-poky-linux/cor
>>> e-image-minimal/1.0-r0/rootfs/usr/share/man/man8/findfs.8.xz
>>> But that file is already provided by package * e2fsprogs-doc
>>> * check_data_file_clashes: Package util-linux-doc wants to install
>>> file /data/poky-master/tmp/work/nuc-poky-linux/cor
>>> e-image-minimal/1.0-r0/rootfs/usr/share/man/man8/fsck.8.xz
>>> But that file is already provided by package * e2fsprogs-doc
>>> * check_data_file_clashes: Package util-linux-doc wants to install
>>> file /data/poky-master/tmp/work/nuc-poky-linux/cor
>>> e-image-minimal/1.0-r0/rootfs/usr/share/man/man8/blkid.8.xz
>>> But that file is already provided by package * e2fsprogs-doc
>>> * opkg_install_cmd: Cannot install package util-linux-doc.
>>>
>>> NOTE: Running intercept scripts:
>>> NOTE: > Executing update_info_dir intercept ...
>>> /data/poky-master/tmp/work/nuc-poky-linux/core-image-minimal/1.0-r0/intercept_scripts/update_info_dir:
>>>
>>> line 63: /insta
>>> ll-info: No such file or directory
>>> /data/poky-master/tmp/work/nuc-poky-linux/core-image-minimal/1.0-r0/intercept_scripts/update_info_dir:
>>>
>>> line 63: /insta
>>> ll-info: No such file or directory
>>
>> Thanks for testing, the error log shows STAGING_BINDIR_NATIVE is unset,
>> but I could not reproduce it, could you paste more details about the
>> config,
>> such as
>> ...
>> PACKAGE_CLASSES ?= "package_ipk"
>> EXTRA_IMAGE_FEATURES = "debug-tweaks doc-pkgs"
>> USER_CLASSES += "compress_doc"
>> DOC_COMPRESS = "xz"
>> ...
>>
>> bitbake core-image-minimal
>>
>> //Hongxu
>>
>>> Ross
>>>
>>> On 24 September 2014 16:27, Hongxu Jia <hongxu.jia@windriver.com>
>>> wrote:
>>>> Changed in V3:
>>>> - Remove Debian-specific code
>>>> - split() the INHERIT variable
>>>>
>>>> Changed in V2:
>>>> - Conditionally add 'gzip/bzip2/xz' to man/info's RDEPENDS
>>>> rather than modify busybox's defconfig.
>>>>
>>>> - Refer Ubuntu to add a script to postinst_intercept to
>>>> run it after all packages have been installed at build time.
>>>>
>>>> Test Case:
>>>>
>>>> vim local.conf
>>>> ..
>>>> IMAGE_INSTALL_append = " man man-doc texinfo texinfo-doc info
>>>> info-doc"
>>>> INHERIT += "compress_doc"
>>>> DOC_COMPRESS = "xz" or DOC_COMPRESS = "bz2"
>>>> ..
>>>>
>>>> bitbake core-image-minimal
>>>>
>>>> runqemu qemux86
>>>>
>>>> On target,
>>>> ...
>>>> root@qemux86:~# man man
>>>>
>>>> root@qemux86:~# info info
>>>> ...
>>>>
>>>> //Hongxu
>>>>
>>>>
>>>> The following changes since commit
>>>> 8ac8eca2e3bd8c78e2b31ea974930ed0243258a3:
>>>>
>>>> build-appliance-image: Update to dizzy head revision (2014-09-23
>>>> 22:10:26 +0100)
>>>>
>>>> are available in the git repository at:
>>>>
>>>> git://git.pokylinux.org/poky-contrib hongxu/fix-doc
>>>> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-doc
>>>>
>>>> Hongxu Jia (4):
>>>> scripts/postinst-intercepts: add update_info_dir
>>>> texinfo: fix QA Error while doc compress enabled
>>>> texinfo: fix info not work
>>>> man/texinfo: conditionally add gzip/bzip2/xz to RDEPENDS
>>>>
>>>> meta/recipes-extended/man/man_1.6g.bb | 13 +++++
>>>> meta/recipes-extended/texinfo/texinfo_5.2.bb | 68
>>>> +++++++++++++++++++++++-
>>>> scripts/postinst-intercepts/update_info_dir | 77
>>>> ++++++++++++++++++++++++++++
>>>> 3 files changed, 157 insertions(+), 1 deletion(-)
>>>> create mode 100755 scripts/postinst-intercepts/update_info_dir
>>>>
>>>> --
>>>> 1.9.1
>>>>
>>
>
next prev parent reply other threads:[~2014-09-25 2:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-24 15:27 [PATCH V3 0/4] man/info: fix not support xz/bz2 compression Hongxu Jia
2014-09-24 15:27 ` [PATCH 1/4] scripts/postinst-intercepts: add update_info_dir Hongxu Jia
2014-09-24 15:27 ` [PATCH 2/4] texinfo: fix QA Error while doc compress enabled Hongxu Jia
2014-09-24 15:27 ` [PATCH 3/4] texinfo: fix info not work Hongxu Jia
2014-09-24 15:27 ` [PATCH 4/4] man/texinfo: conditionally add gzip/bzip2/xz to RDEPENDS Hongxu Jia
2014-09-24 21:53 ` [PATCH V3 0/4] man/info: fix not support xz/bz2 compression Burton, Ross
2014-09-25 1:54 ` Hongxu Jia
2014-09-25 2:02 ` Hongxu Jia
2014-09-25 2:31 ` Hongxu Jia [this message]
2014-09-25 5:35 ` Hongxu Jia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54237E80.2040905@windriver.com \
--to=hongxu.jia@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox