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

Bug 704860

Summary: colordiff exists but diff does not, on admincd
Product: Gentoo Release Media Reporter: inactive <gentoo_eshoes>
Component: OtherAssignee: Gentoo Release Team <releng>
Status: RESOLVED FIXED    
Severity: normal CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description inactive 2020-01-06 10:53:00 UTC
'colordiff' exists on admincd, but it depends on 'diff' which doesn't exist.

Reproducible: Always

Steps to Reproduce:
1. boot from admincd
2. execute:
# colordiff -up /etc/skel/.bash_profile /root/.bash_profile
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "diff": No such file or directory at /usr/bin/colordiff line 321.
readline() on closed filehandle $inputhandle at /usr/bin/colordiff line 347.
Use of uninitialized value $pid in waitpid at /usr/bin/colordiff line 573.

3. execute:
# diff
-bash: diff: command not found

4. execute:
# find / -name diff
/mnt/gentoo/usr/bin/diff
/mnt/gentoo/usr/share/misc/magic/diff
/mnt/livecd/usr/share/misc/magic/diff

(^ that's after extracting stage3 in /mnt/gentoo)

Actual Results:  
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "diff": No such file or directory at /usr/bin/colordiff line 321.
readline() on closed filehandle $inputhandle at /usr/bin/colordiff line 347.
Use of uninitialized value $pid in waitpid at /usr/bin/colordiff line 573.


Expected Results:  
either both diff and colordiff shouldn't exist, or both should, since colordiff depends on diff.


this admincd iso:
admincd-amd64-20200101T214502Z.iso                 02-Jan-2020 18:23           482344960
# SHA512 HASH
bddbe28f27d865180f1b0fa12fff6680a65b42b35271266962484472cd15bf3b2a96e44aa9d82cd5927b554d625d6bb2c384a688a9346a60126d35f893fbb320  admincd-amd64-20200101T214502Z.iso

# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
Comment 1 Ben Kohler gentoo-dev 2020-01-06 15:09:47 UTC
Should be fixed on the next autobuild, thanks for the report

https://gitweb.gentoo.org/proj/releng.git/commit/?id=b202848501b8b5acf5fa5f1bbe6da1d7f0da802a