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

Bug 914899

Summary: app-misc/screen - mismatch on $PATH setting during build-phase
Product: Gentoo Linux Reporter: Sandro Littke-Wilcken <gentoo-bugs>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: UNCONFIRMED ---    
Severity: normal CC: shell-tools
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sandro Littke-Wilcken 2023-09-28 21:14:44 UTC
snippet while building app-misc/screen-4-9.0-r3, assignment mismatch:

- PATH="$PATH:/usr/5bin" ...

... should be something like "/usr/sbin" - but NOT "/usr/5bin" ?!


---
make[1]: Leaving directory '/var/tmp/portage/app-misc/screen-4.9.0-r3/work/screen-4.9.0/doc'
if [ -d /var/tmp/portage/app-misc/screen-4.9.0-r3/image/usr/lib/terminfo ]; then \
        PATH="$PATH:/usr/5bin" tic ./terminfo/screeninfo.src; \
        chmod 644 /var/tmp/portage/app-misc/screen-4.9.0-r3/image/usr/lib/terminfo/s/screen*; \
fi
termcap entry (./terminfo/screencap) should be installed manually.
You may also want to install ./etc/etcscreenrc in /etc/screenrc
>>> Completed installing app-misc/screen-4.9.0-r3 into /var/tmp/portage/app-misc/screen-4.9.0-r3/image
Comment 1 Greg Kubaryk 2023-09-29 03:04:42 UTC
emerge --info as a comment, full build.log as an attachment . . .?
Comment 2 genBTC 2023-09-29 14:17:17 UTC
I was able to reproduce this.


make[1]: Leaving directory '/var/tmp/portage/app-misc/screen-4.9.0-r3/work/screen-4.9.0/doc'
if [ -d /var/tmp/portage/app-misc/screen-4.9.0-r3/image/usr/lib/terminfo ]; then \
	PATH="$PATH:/usr/5bin" tic ./terminfo/screeninfo.src; \
	chmod 644 /var/tmp/portage/app-misc/screen-4.9.0-r3/image/usr/lib/terminfo/s/screen*; \
fi

it comes from the Makefile in source

liveGUI5030 /var/tmp/portage/app-misc/screen-4.9.0-r3 # grep 5bin . -r
./work/screen-4.9.0/terminfo/README:			to install (Sun: /usr/5bin/tic).
./work/screen-4.9.0/Makefile.in:		PATH="$$PATH:/usr/5bin" tic ${srcdir}/terminfo/screeninfo.src; \
./work/screen-4.9.0/Makefile:		PATH="$$PATH:/usr/5bin" tic ${srcdir}/terminfo/screeninfo.src; \

based on the README there, this path might be deliberately a 5 for Sun machines.

may not actually be a bug.