Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652814 - app-portage/grs "Bad command: hashit" errors out on arm/musl profile
Summary: app-portage/grs "Bad command: hashit" errors out on arm/musl profile
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal major
Assignee: Gentoo Release System project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-08 19:48 UTC by Steve Arnold
Modified: 2023-01-28 20:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Arnold archtester gentoo-dev 2018-04-08 19:48:44 UTC
The error in grs log:

...
Adding user gentoo to group tape
Adding user gentoo to group cdrom
Adding user gentoo to group cdrw
Adding user gentoo to group usb
Adding user portage to group wheel
[1523176356.851118] ================================================================================
[1523176356.852446] Tar+Hash
[1523176356.853595] ================================================================================
[1523188945.111244] Bad command:   hashit
[1523188945.114816] Error message: local variable '_rc' referenced before assignment
[1523188945.115608] SENDING SIGTERM to 4892


The end state includes the rootfs tarball and a partial DIGESTS file missing the last hash value.

# ls /var/tmp/grs/desktop-armv7a-musl-hardened/
desktop-armv7a-musl-hardened-20180404.tar.xz
desktop-armv7a-musl-hardened-20180404.tar.xz.DIGESTS
packages
stage3-armv7a_hardfp-musl-hardened-20180314.tar.bz2
system
work

# cat /var/tmp/grs/desktop-armv7a-musl-hardened/desktop-armv7a-musl-hardened-20180404.tar.xz.DIGESTS 
# MD5 HASH
00816f9bf57f3ac523398838bdcd3cbc  desktop-armv7a-musl-hardened-20180404.tar.xz
# SHA1 HASH
7ce5871b771539557cc9ddcf7558849ea5e5af38  desktop-armv7a-musl-hardened-20180404.tar.xz
# SHA512 HASH

When I run the command in a shell it works fine and creates the SHA512 HASH:

# sha512sum desktop-armv7a-musl-hardened-20180404.tar.xz
bc9319e04f54f11be0ef9977c50a8d421ff101849a3c97acbbce40e0db793d4dcc0ed608afe77fa2a319d724cad56760131c398649f0b72847fca993ffc824c9  desktop-armv7a-musl-hardened-20180404.tar.xz
Comment 1 Steve Arnold archtester gentoo-dev 2018-04-09 00:14:20 UTC
I expect it's the timeout value again; I extended the last two values and just started another build, so in 4+ days or so I'll know...