[poky] nspr-4.16-r0 do_package: Function failed: split_and_strip_files
matti kaasinen
matti.kaasinen at gmail.com
Thu Dec 13 06:14:28 PST 2018
Ok, I just rose my hands halfway: Problem was that I had TMPDIR="/BUILD"
setting.
On the other hand, /BUILD was a symbolic link. BB class package.bbclass was
fiddling with symbolic links at the point where nspr build crashed. Most
likely it just corrupted this link. So, it had nothing to do with docker
installation.
This cleared out. However, I faced with a new problems that seems also
hitting to same bbclass. It seems that convention has changed since
Yocto/krogoth (now Rocko) how autotools handles .debug directory. Then I
just had statements:
FILES_pam-oath-dbg = "${libdir}/security/.debug"
FILES_pam-oath = "${libdir}/security"
Then I got both pam-oath and pam-oath-dbg. However, now I cant find a way
either to get QA error about .debug directory (without pam-oath-dbg line)
or not getting pam-oath (with pam-oath-dbg line).
Is there any reference handling this issue? I did not find any. Or should I
write a new question with proper title?
ti 11. jouluk. 2018 klo 9.12 matti kaasinen (matti.kaasinen at gmail.com)
kirjoitti:
> I tried running same command from devpyshell that that returns the error
> message, i.e. (retval, output) = oe.utils.getstatusoutput(cmd),
> cmd is the command that error message reports.
> This results to (retval, output) == (0, '0 blocks')
> Now I'm somewhat less and less impressed about docker performance. It
> seems that I have to rise my hands with this.
>
> ma 10. jouluk. 2018 klo 13.40 matti kaasinen (matti.kaasinen at gmail.com)
> kirjoitti:
>
>> Previous message was not correct. Do_populate_sysroot does not produce
>> package directory. Instead, I get zero return code while running this "cmd"
>> manually after crashed do_package.
>>
>> ma 10. jouluk. 2018 klo 9.50 matti kaasinen (matti.kaasinen at gmail.com)
>> kirjoitti:
>>
>>> I tried executing tasks until the crash. Last task that did not crash
>>> seemed to be do_populate_sysroot. Then I executed the command reported on
>>> the first ERROR message line. It returned zero return value. I executed it
>>> also in pieces. For example find command without -delete option did not
>>> find any symbolic links.
>>>
>>> pe 7. jouluk. 2018 klo 12.42 matti kaasinen (matti.kaasinen at gmail.com)
>>> kirjoitti:
>>>
>>>> These are the error messages returned:
>>>> ERROR: nspr-4.16-r0 do_package: debugsrc symlink fixup failed with exit
>>>> code 2 (cmd was find
>>>> /BUILD/work/cortexa7hf-neon-poky-linux-gnueabi/nspr/4.16-r0/package/usr/src/debug
>>>> -type l -print0 -delete | sed
>>>> s#/BUILD/work/cortexa7hf-neon-poky-linux-gnueabi/nspr/4.16-r0/package/usr/src/debug/##g
>>>> | (cd '/BUILD/work/cortexa7hf-neon-poky-linux-gnueabi' ; cpio -pd0mL
>>>> --no-preserve-owner
>>>> '/BUILD/work/cortexa7hf-neon-poky-linux-gnueabi/nspr/4.16-r0/package/usr/src/debug'
>>>> 2>/dev/null))
>>>> ERROR: nspr-4.16-r0 do_package: Function failed: split_and_strip_files
>>>> ERROR: Logfile of failure stored in:
>>>> /BUILD/work/cortexa7hf-neon-poky-linux-gnueabi/nspr/4.16-r0/temp/log.do_package.29429
>>>> ERROR: Task
>>>> (/workdir/sources/poky/meta/recipes-support/nspr/nspr_4.16.bb:do_package)
>>>> failed with exit code '1'
>>>>
>>>>
>>>> pe 7. jouluk. 2018 klo 12.10 Burton, Ross (ross.burton at intel.com)
>>>> kirjoitti:
>>>>
>>>>> On Fri, 7 Dec 2018 at 09:42, matti kaasinen <matti.kaasinen at gmail.com>
>>>>> wrote:
>>>>> > My build stops while packaging nspr-4.16-r0 do_package while
>>>>> executing split_and_strip_files.
>>>>> > I try now building Poky based image using docker container
>>>>> (crops/poky). I already had to add HOSTTOOLS_append = " svn " to get SRCREV
>>>>> = "${AUTOREV}" statement work that I did not need in direct PC installation.
>>>>>
>>>>> You'll have to tell us what the actual error is if you want any help.
>>>>>
>>>>> Ross
>>>>>
>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20181213/f92fdd40/attachment.html>
More information about the poky
mailing list