Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 844178

Summary: net-misc/netifrc-0.7.3-r1 installs shell script that uses non-POSIX features
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: netifrc Team <netifrc>
Status: CONFIRMED ---    
Severity: normal CC: kfm, robbat2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=849227
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 609070    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-05-14 11:20:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/netifrc-0.7.3 installs shell script that uses non-POSIX features.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-05-14 11:20:21 UTC
Created attachment 778775 [details]
build.log

build log and emerge --info
Comment 2 Kerin Millar 2022-05-14 12:49:03 UTC
The type utility is not a bashism, in and as of itself. However, it is part of the XSI extension, meaning that an sh(1) implementation may refrain from implementing it while still being considered as POSIX-conforming. It could be written as "command -v resolvconf >/dev/null" instead. Note that STDERR need not be silenced in that case.
Comment 3 Agostino Sarubbo gentoo-dev 2022-05-20 07:22:51 UTC
ci has reproduced this issue with version 0.7.3-r1 - Updating summary.