Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914899 - app-misc/screen - mismatch on $PATH setting during build-phase
Summary: app-misc/screen - mismatch on $PATH setting during build-phase
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-28 21:14 UTC by Sandro Littke-Wilcken
Modified: 2023-10-03 14:11 UTC (History)
1 user (show)

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 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.