Bug 213958 - devel/kBuild fails to install/create package when WRKDIRPREFIX is on tmpfs
Summary: devel/kBuild fails to install/create package when WRKDIRPREFIX is on tmpfs
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Virtualbox Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-31 22:11 UTC by Anton Saietskii
Modified: 2017-05-08 16:05 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments
full build log (424.59 KB, text/plain)
2016-10-31 22:11 UTC, Anton Saietskii
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Saietskii 2016-10-31 22:11:55 UTC
Created attachment 176354 [details]
full build log

DOCS disabled:
root@cs0:/usr/ports/devel/kBuild# make showconfig
===> The following configuration options are available for kBuild-0.1.9998_5:
     DOCS=off: Build and/or install documentation
===> Use 'make config' to modify these settings
root@cs0:/usr/ports/devel/kBuild#

Building package & installing fails with the following errors:
install  -s -m 555 /usr/obj/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/stage/usr/local/bin/kmk_time /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/bin
/bin/mkdir -p /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild
(cd /usr/obj/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/stage/usr/local/share/kBuild && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1) &&  /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- \* /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild)
chmod: /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild/msgstyles: No such file or directory
chmod: /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild/sdks: No such file or directory
chmod: /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild/templates: No such file or directory
chmod: /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild/tools: No such file or directory
chmod: /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild/units: No such file or directory
chmod: /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild/footer-inherit-uses-tools.kmk: No such file or directory
{...}
chmod: /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild/up.kmk: No such file or directory
====> Compressing man pages (compress-man)
===>  Building package for kBuild-0.1.9998_5
pkg-static: Unable to access file /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild/footer.kmk: No such file or directory
pkg-static: Unable to access file /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild/footer-inherit-uses-tools.kmk: No such file or directory
{...}
pkg-static: Unable to access file /usr/obj/usr/ports/devel/kBuild/work/stage/usr/local/share/kBuild/up.kmk: No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/kBuild
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/kBuild
Comment 1 Anton Saietskii 2016-11-01 09:38:05 UTC
Experiencing same problem with emulators/virtualbox-ose.
Comment 2 Anton Saietskii 2016-11-01 10:09:41 UTC
Discovered that it fails to build when WRKDIRPREFIX is on tmpfs.