[yocto] 1.1.2 Full Pass consolidated Test Report

McClintock Matthew-B29882 B29882 at freescale.com
Wed Jul 18 11:51:13 PDT 2012


Ok, so I've found downgrading coreutils package to the last working
version (from CentOS 5.6) makes this issue go away:

$ wget http://vault.centos.org/5.6/os/x86_64/CentOS/coreutils-5.97-23.el5_4.2.x86_64.rpm
$ sudo rpm -Uvh --oldpackage coreutils-5.97-23.el5_4.2.x86_64.rpm

I've looked at the changelog of coreutils package for centos and
nothing stands out as causing the issue. The most likely candiate is:
https://bugzilla.redhat.com/show_bug.cgi?id=523923

$ rpm -q --changelog coreutils
* Wed Mar 14 2012 Ondrej Vasik <ovasik at redhat.com> 5.97-34.1
- fix backup of the individual files (broken by backupdir
  patch - #803356)

* Wed May 11 2011 Ondrej Vasik <ovasik at redhat.com> 5.97-34
- su: fix shell suspend in tcsh (#681598)

* Fri Apr 29 2011 Ondrej Vasik <ovasik at redhat.com> 5.97-33
- workaround wrong workarounds for the runcon argument
  reordering (related #628953)

* Tue Apr 19 2011 Ondrej Vasik <ovasik at redhat.com> 5.97-32
- fix descriptor leak in fts tight cycle fix (#537463)

* Thu Apr 14 2011 Ondrej Vasik <ovasik at redhat.com> 5.97-31
- improve error chmod handling in ro xattrs fix (#525199)

* Thu Mar 31 2011 Ondrej Vasik <ovasik at redhat.com> 5.97-30
- improve the fix for preserving xattrs in read only mode
  (#525199)

* Fri Mar 25 2011 Ondrej Vasik <ovasik at redhat.com> 5.97-28
- fix incorrect output of ls -1U with more than one
  argument(#515499)
- runuser documentation improved (#524805)
- cp/mv: preserving xattrs should work on read only
  files too (#525199)
- fix failure of rmdir --ignore-fail-on-non-empty on vxfs
  filesystem (#664895)
- mv: fix confusing 'subdirectory of itself' error message
  (#658839)
- don't reorder runcon arguments (#628953)
- clarify mkdir --mode behaviour in info documentation
  (#610559)
- improve escaping in colorls scriptlets(#586957)
- add info documentation for chcon and runcon(#660186)
- document that groups are not reflecting changes within
  existing login session (#584802)
- pwd: add support for -P (physical) and -L (logical) (#582774)
- cp/mv: do not inform about ACL preserving failure, when
  preserving not explicitely requested (#513153)
- du using ghosted automounted directory no longer
  results in 'No such file or directory' (#537463)
- fix segfault in sort if LC_TIME differs from the rest
  of locales(#684249)
- speed up deleting many files (#523923)
- allow mv backups for directories (#627285)

* Wed Jan 26 2011 Ondrej Vasik <ovasik at redhat.com> 5.97-27
- fix exit status of terminated child processes in su with
  pam(#559098)

* Mon Jan 10 2011 Ondrej Vasik <ovasik at redhat.com> 5.97-26
- add support for iflag=fullblock in dd (#668247)
- fix the build with gettext-0.17

* Mon Feb 22 2010 Ondrej Vasik <ovasik at redhat.com> 5.97-25
- readlink cannot handle recursive symlinks(#510809)

* Mon Oct 12 2009 Ondrej Vasik <ovasik at redhat.com> 5.97-24
- fixed regression where df -l <device> as regular user
  cause "Permission denied" (#520630, introduced by fix for
  rhbz #497830)

On Tue, Jul 17, 2012 at 12:35 PM, Matthew McClintock <msm at freescale.com> wrote:
> On Tue, Jul 17, 2012 at 9:57 AM, Matthew McClintock <msm at freescale.com> wrote:
>> On Tue, Jul 17, 2012 at 12:51 AM, Khem Raj <raj.khem at gmail.com> wrote:
>>> On Mon, Jul 16, 2012 at 10:31 PM, McClintock Matthew-B29882
>>> <B29882 at freescale.com> wrote:
>>>> }
>>>> -       rm -rf ${SSTATE_BUILDDIR}
>>>> +       strace rm -rf ${SSTATE_BUILDDIR}
>>>
>>> strace is probably eating the return value
>>
>> And you would be right....
>>
>> I want to point out running the
>> ./tmp/work/ppc603e-poky-linux/eglibc-locale-2.13-r16/temp/run.sstate_create_package.17463
>> generated script directly does not fail (without the strace
>> modification)
>
> Also, the follow does work:
>
> diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
> index d2a45c3..92a1e4d 100644
> --- a/meta/classes/sstate.bbclass
> +++ b/meta/classes/sstate.bbclass
> @@ -463,7 +463,14 @@ sstate_create_package () {
>         mv $TFILE ${SSTATE_PKG}
>
>         cd ${WORKDIR}
> -       rm -rf ${SSTATE_BUILDDIR}
> +       for i in `find ${SSTATE_BUILDDIR} -type f`; do
> +               bbnote "deleting $i"
> +               rm -rf $i
> +       done
> +       for i in `find ${SSTATE_BUILDDIR} -type d -depth`; do
> +               bbnote "rmdir $i"
> +               rmdir $i
> +       done
>  }
>
> Still debugging....
>
> -M



More information about the yocto mailing list