Please help another error in port building

Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Please help another error in port building

Postby cooltomato » 08 May 2012, 07:24

Hi,
Code: Select all
rule91# cd /usr/ports/graphics/cairo
rule91# make install clean
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for cairo-1.8.10_1,1
===>  Extracting for cairo-1.8.10_1,1
=> MD5 Checksum OK for cairo-1.8.10.tar.gz.
=> SHA256 Checksum OK for cairo-1.8.10.tar.gz.
mkdir: WRKDIR: Read-only file system
*** Error code 1

Stop in /basejail/usr/ports/graphics/cairo.
*** Error code 1

Stop in /basejail/usr/ports/graphics/cairo.



Code: Select all
rule91# make deinstall
===>  Deinstalling for devel/gobject-introspection
===>   gobject-introspection not installed, skipping
rule91# make install clean
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for gobject-introspection-0.6.14
=> MD5 Checksum OK for gnome2/gobject-introspection-0.6.14.tar.bz2.
=> SHA256 Checksum OK for gnome2/gobject-introspection-0.6.14.tar.bz2.
mkdir: WRKDIR: Read-only file system
*** Error code 1

Stop in /basejail/usr/ports/devel/gobject-introspection.

I guess something to do with the enviroment path, I already set them as
Code: Select all
rule91# printenv
USER=root
LOGNAME=root
HOME=/root
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
TERM=xterm
FTP_PASSIVE_MODE=YES
BLOCKSIZE=K
SHELL=/bin/csh
SSH_CLIENT=136.186.78.214 1774 22
SSH_CONNECTION=136.186.78.214 1774 136.186.230.91 22
SSH_TTY=/dev/pts/64
HOSTTYPE=FreeBSD
VENDOR=unknown
OSTYPE=FreeBSD
MACHTYPE=unknown
SHLVL=1
PWD=/usr/ports/devel/gobject-introspection
GROUP=wheel
HOST=rule91
REMOTEHOST=136.186.78.214
EDITOR=vi
PAGER=more
WRKDIR=WRKDIR
WRKDIRPREFIX=/usr/portswork/
DISTDIR=/usr/portswork/usr/ports/distfiles


How to sort this problem out so I can continue installing mythtv, as mythtv requires those dependencies to be updated first?

Thanks again,

Ken
cooltomato
Junior Member
 
Posts: 5
Joined: 08 May 2012, 07:04

Postby SirDice » 08 May 2012, 08:28

[cmd=]unsetenv WRKDIR[/cmd]
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16161
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby cooltomato » 08 May 2012, 11:43

[FILE]unsetenv WRKDIR[/FILE] would not make it work. I tried, still the same outcome. Any more ways?
cooltomato
Junior Member
 
Posts: 5
Joined: 08 May 2012, 07:04

Postby SirDice » 08 May 2012, 12:04

Make sure you can write to where [file]WRKDIRPREFIX[/file] is pointing.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16161
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands


Return to Installation and Maintenance of FreeBSD Ports or Packages

Who is online

Users browsing this forum: No registered users and 1 guest