Bug 240435 - lang/rust 1.37.0 cannot be installed with non-empty WRKDIRPREFIX
Summary: lang/rust 1.37.0 cannot be installed with non-empty WRKDIRPREFIX
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Rust Team
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2019-09-09 07:07 UTC by devel
Modified: 2019-09-10 02:14 UTC (History)
0 users

See Also:
tobik: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description devel 2019-09-09 07:07:58 UTC
Hello !

cat /etc/make.conf |grep WRKDIR
WRKDIRPREFIX=/mnt/120G/WRKDIR/

Command "portupgrade rust" ends with:

[1/1] Deleting files for rust-1.35.0: 100%
[Reading data from pkg(8) ... - 1803 packages found - done]
--->  Installing the new version via the port
===>  Deinstalling for rust
===>   rust not installed, skipping
===>  Installing for rust-1.37.0
===>  Checking if rust is already installed
===>   Registering installation for rust-1.37.0
pkg-static: Unable to access file /mnt/120G/WRKDIR//usr/ports/lang/rust/work/stage/mnt/120G/WRKDIR/usr/ports/lang/rust/work/stage/usr/local/bin/cargo:No such file or directory
pkg-static: Unable to access file /mnt/120G/WRKDIR//usr/ports/lang/rust/work/stage/mnt/120G/WRKDIR/usr/ports/lang/rust/work/stage/usr/local/bin/cargo-clippy:No such file or directory
pkg-static: Unable to access file /mnt/120G/WRKDIR//usr/ports/lang/rust/work/stage/mnt/120G/WRKDIR/usr/ports/lang/rust/work/stage/usr/local/bin/cargo-fmt:No such file or directory
pkg-static: Unable to access file /mnt/120G/WRKDIR//usr/ports/lang/rust/work/stage/mnt/120G/WRKDIR/usr/ports/lang/rust/work/stage/usr/local/bin/cargo-miri:No such file or directory
Comment 1 Tobias Kortkamp freebsd_committer 2019-09-09 07:59:58 UTC
Please drop the extra slash at the end and try again:

WRKDIRPREFIX=/mnt/120G/WRKDIR

I quote bsd.port.mk:

# WRKDIRPREFIX  - The place to root the temporary working directory
#                                 hierarchy. This path must *not* end in '/'.
#                                 Default: none
Comment 2 devel 2019-09-10 02:14:14 UTC
There is no problem with 
WRKDIRPREFIX=/mnt/120G/WRKDIR
thanks !