Solved Issue with building the port in Jail

D

Deleted member 62636

Guest


Hello, I have been trying to build graphics/drm-fbsd12.0-kmod inside a Jail with make package but there I am having an issue:
Code:
===> radeonkmsfw/verde_smc (install)
install -T release -o root -g wheel -m 555 radeon_verde_smc_bin.ko /var/ports/usr/ports/graphics/gpu-firmware-kmod/work/stage/boot/modules/
====> Compressing man pages (compress-man)
===> Installing for gpu-firmware-kmod-g20201213
===> Checking if gpu-firmware-kmod is already installed
===> Registering installation for gpu-firmware-kmod-g20201213 as automatic
[MyBuildJail] Installing gpu-firmware-kmod-g20201213...
pkg-static: Fail to create temporary file: /boot/modules/.pkgtemp.amdgpu_banks_k_2_smc_bin.ko.z1E0ZomI33xO:Read-only file system
kldxref: can't create //boot/lhint.AwavWp: Read-only file system
pkg-static: POST-INSTALL script failed
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/graphics/gpu-firmware-kmod
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/drm-fbsd12.0-kmod
*** Error code 1

Stop.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 12,052
Messages: 38,506

Don't use a jail with a read-only base. It needs to install a dependency there.
 
OP
D

Deleted member 62636

Guest


Don't use a jail with a read-only base. It needs to install a dependency there.
How can I make base writable? I installed it with ezjail following the handbook tutorial
Or How can I prevent it from installing and only make a package?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 12,052
Messages: 38,506

How can I make base writable? I installed it with ezjail following the handbook tutorial
Not sure how with ezjail because that entirely hinges on a read-only base. Setting up a jail isn't that difficult to do by hand.

Or How can I prevent it from installing and only make a package?
Dependencies need to be satisfied, you can't circumvent that.
 
Top