Summary: | net-misc/ntp-4.2.6_p5-r2 - env: simple: No such file or directory when `bk` is in $PATH but is not BitKeeper | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Bays <mbays> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
net-misc:ntp-4.2.6_p5-r2:20130107-210830.log
mkver version |
Description
Martin Bays
2013-01-07 21:10:13 UTC
Please attach the entire build log to this bug report. Created attachment 334758 [details]
net-misc:ntp-4.2.6_p5-r2:20130107-210830.log
Full build log attached.
go into the build dir: /var/tmp/portage/net-misc/ntp-4.2.6_p5-r2/work/ntp-4.2.6p5/ntpd4.2.6p5/ntpd and attach the files: ../scripts/mkver ../version then run by hand and see if it fails: env CSET=`cat ../version` ../scripts/mkver ntpd Created attachment 334810 [details]
mkver
Created attachment 334812 [details]
version
portage@gonzales ~/net-misc/ntp-4.2.6_p5-r2/work/ntp-4.2.6p5/ntpd $ env CSET=`cat ../version` ../scripts/mkver ntpd env: simple: No such file or directory Oh oh... not sure what's going on exactly, but the text in ../version comes from one of my own personal scripts (called 'bk' and in global path), so this is probably all my fault Not sure why it would be picking it up, though... the script is in /usr/local/bin, and portage's PATH is /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/qt/3/bin "bk" is the short name for "bitkeeper" which ntp supports i'd suggest you tweak your local bk to exit(1) when given invalid args as that'll should cause the ntp logic to skip it I just renamed my 'bk' script, haven't used it for years anyway. Arguably the makefile ought to check that bk really is bitkeeper. Anyway, thanks for the help with diagnosing. To confirm: it does now merge cleanly. |