[gobolinux-users] RootLess on FreeBSD

Benjamin Bruheim grolgh at gmail.com
Thu Mar 8 20:54:57 UTC 2007


Hi,

Has anyone had success with RootLess on FreeBSD? There is multiple
stuff failing. I also made a directory fulfilling the dependencies
that CreateRootlessEnvironment suggest.

I get a this output:

[phed at web ~]$ ./CreateRootlessEnvironment

You are about to create a Rootless environment at
/home/phed
Press any key to continue or Ctrl+C to abort.

Pre-linking Scripts...
Accessing new Rootless environment
CreateRootlessEnvironment: Gobo Rootless i686 has been installed.
CreateRootlessEnvironment: Your machine is i386.FreeBSD.
CreateRootlessEnvironment: Recompile binaries for your system? [Y/n]
y
rm -rf Resources/FileHash*
find * -path "*~" -or -path "*/.\#*" -or -path "*.bak" | xargs rm -f
cd src && make clean
cd ../bin; rm -f SuperUserName IsExecutable usleep LinkOrExpandAll
List RescueSymlinkProgram
cd lib/python2.3/site-packages && rm -f *.pyc *.pyo
for f in FindPackage GetAvailable GuessLatest CheckDependencies
DescribeProgram;  do libf=lib/python2.3/site-packages/$f.py;  rm -f
$libf; ln -nfs ../../../bin/$f $libf;  done
cd lib/python2.3/site-packages &&  for f in *.py;  do python -c
"import `basename $f .py`";  done
Syntax error: Bad substitution
Syntax error: Bad substitution
Syntax error: Bad substitution
...
Syntax error: Bad substitution
Syntax error: Bad substitution
Syntax error: Bad substitution
sed -i~ "s/CURRENT_SCRIPTS_VERSION=.*#/CURRENT_SCRIPTS_VERSION="" #/g"
bin/CreateRootlessEnvironment
rm -f bin/CreateRootlessEnvironment~
cd src; make all
gcc -O2 -Wall -o SuperUserName SuperUserName.c
gcc -O2 -Wall -o IsExecutable IsExecutable.c
gcc -O2 -Wall -o usleep usleep.c
gcc -O2 -Wall -o LinkOrExpandAll LinkOrExpandAll.c -std=c99
gcc -O2 -Wall -o List List.c
List.c:32:27: sys/statfs.h: No such file or directory
List.c:33:24: sys/vfs.h: No such file or directory
List.c: In function `really_list_entries':
List.c:494: warning: long long int format, different type arg (arg 10)
List.c:494: warning: long long int format, different type arg (arg 11)
List.c: At top level:
List.c:680: warning: "struct statfs" declared inside parameter list
List.c:680: warning: its scope is only this definition or declaration,
which is probably not what you want
List.c:681: error: parameter `status' has incomplete type
List.c:756: warning: "struct statfs" declared inside parameter list
List.c:757: error: parameter `status' has incomplete type
List.c: In function `main':
List.c:814: error: storage size of 'status' isn't known
List.c:868: warning: implicit declaration of function `statfs'
List.c:814: warning: unused variable `status'
*** Error code 1

Stop in /usr/home/phed/Programs/Scripts/2.6.2/src.
*** Error code 1

Stop in /usr/home/phed/Programs/Scripts/2.6.2.
CreateRootlessEnvironment: Build Failed
CreateRootlessEnvironment: Rootless probably won't work here.
Rootless GoboLinux consists mostly of cross-platform shell scripts, but it does
include a couple of binary (compiled) programs. If you're seeing this message,
the versions of those programs currently installed were built for a different
type of computer (an i686 with a GNU Linux kernel).

There is an extremely slim chance that if your kernel has Linux Binary
Compatibility (as do some variants of BSD), everything may work anyway, but
you're probably best off reporting this to the gobolinux-users mailing list,
and removing Rootless for the time being.


More information about the gobolinux-users mailing list