[OE-core] [PATCH 01/15] rpm: upgrade to 4.15.1

Ross Burton ross.burton at intel.com
Tue Dec 3 23:52:33 UTC 2019


On 03/12/2019 23:05, Ross Burton wrote:
> On 29/11/2019 21:28, Alexander Kanavin wrote:
>> On Fri, 29 Nov 2019 at 21:52, Ross Burton <ross.burton at intel.com 
>> <mailto:ross.burton at intel.com>> wrote:
>>
>>     This is reliably crashing for me when running rpmdeps:
>>
>>     Exception: bb.process.ExecutionError: Execution of
>>     
>> '/data/poky-tmp/master/work/corei7-64-poky-linux/systemd-compat-units/1.0-r29/temp/run.BUILDSPEC.1481' 
>>
>>
>>     failed with exit code 139:
>>     Building target platforms: corei7_64-poky-linux
>>     Building for target corei7_64-poky-linux
>>     Processing files: systemd-compat-units-1.0-r29.corei7_64
>>     Processing files: systemd-compat-units-dbg-1.0-r29.corei7_64
>>     Processing files: systemd-compat-units-dev-1.0-r29.corei7_64
>>     Checking for unpackaged file(s):
>>     
>> /data/poky-tmp/master/work/corei7-64-poky-linux/systemd-compat-units/1.0-r29/recipe-sysroot-native/usr/bin/../../usr/lib/rpm/check-files 
>>
>>
>>     
>> /data/poky-tmp/master/work/corei7-64-poky-linux/systemd-compat-units/1.0-r29/package 
>>
>>     Segmentation fault (core dumped)
>>     WARNING: exit code 139 from a shell command.
>>
>>
>> Here it's been robust. Can you produce a backtrace?
> 
> Reliably crashes here with systemd-compat-units.
> 
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x00007fd087a2414a in dataLength (type=type at entry=8, 
> p=p at entry=0x7fd07ec22c08, count=0,
>      count at entry=1, onDisk=onDisk at entry=0, pend=pend at entry=0x0) at 
> ../../git/lib/header.c:462
> 462    ../../git/lib/header.c: No such file or directory.
> [Current thread is 1 (LWP 19382)]
> (gdb) bt
> #0  0x00007fd087a2414a in dataLength (type=type at entry=8, 
> p=p at entry=0x7fd07ec22c08, count=0,
>      count at entry=1, onDisk=onDisk at entry=0, pend=pend at entry=0x0) at 
> ../../git/lib/header.c:462
> #1  0x00007fd087a247fb in grabData (type=8, p=0x7fd07ec22c08, c=1,
>      lengthPtr=lengthPtr at entry=0x7fd07ec22b3c) at 
> ../../git/lib/header.c:1406
> #2  0x00007fd087a24891 in intAddEntry (h=h at entry=0x55d2e872e9b0, 
> td=td at entry=0x7fd07ec22b90)
>      at ../../git/lib/header.c:1432
> #3  0x00007fd087a258e7 in headerPut (h=h at entry=0x55d2e872e9b0, 
> td=td at entry=0x7fd07ec22b90,
>      flags=flags at entry=1) at ../../git/lib/header.c:1499
> #4  0x00007fd087a23034 in headerPutType (h=h at entry=0x55d2e872e9b0, 
> tag=tag at entry=5092,
>      reqtype=<optimized out>, data=0x7fd07ec22c08, size=size at entry=1) at 
> ../../git/lib/headerutil.c:135
> #5  0x00007fd087a232fc in headerPutString (h=0x55d2e872e9b0, 
> tag=tag at entry=5092, val=<optimized out>)
>      at ../../git/lib/headerutil.c:155
> #6  0x00007fd087a93fe9 in writeRPM (pkg=pkg at entry=0x55d2e872e870, 
> pkgidp=pkgidp at entry=0x0,
>      fileName=0x7fd068004cf0 
> "/data/poky-tmp/master/work/corei7-64-poky-linux/systemd-compat-units/1.0-r29/deploy-rpms/corei7_64/systemd-compat-units-dev-1.0-r29.corei7_64.rpm", 
> cookie=cookie at entry=0x0,
>      buildTime=1575413653, buildHost=0x55d2e87ebc20 "reproducible") at 
> ../../git/build/pack.c:499
> #7  0x00007fd087a945e1 in packageBinary (spec=0x55d2e87195c0, 
> pkg=pkg at entry=0x55d2e872e870, cookie=0x0,
>      cheating=<optimized out>, filename=filename at entry=0x55d2e872e990) 
> at ../../git/build/pack.c:730
> #8  0x00007fd087a94659 in packageBinaries._omp_fn.1 () at 
> ../../git/build/pack.c:753
> #9  0x00007fd087627769 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
> #10 0x00007fd08762ff00 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
> #11 0x00007fd087a92f4c in packageBinaries._omp_fn.0 () at 
> ../../git/build/pack.c:749
> #12 0x00007fd08762d79e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
> #13 0x00007fd08765eed4 in ?? ()
>     from 
> /data/poky-tmp/master/sysroots-uninative/x86_64-linux/lib/libpthread.so.0
> #14 0x00007fd08754deff in clone ()
>     from 
> /data/poky-tmp/master/sysroots-uninative/x86_64-linux/lib/libc.so.6

Okay, maybe this is actually due to my gcrypt-using patch...

Ross



More information about the Openembedded-core mailing list