[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ntfs-3g_ntfsprogs build failure



I'm using fakeroot instead of being root, so that any bugs in the ttylinux build (or its packages) won't trash the host system, and I'm glad I'm working that way.

The following errors come from the log:

/home/nigel/ttylinux/djerome-ttylinux-ddfd09f/ttylinux-build/pkg-cfg/ntfs-3g_ntfsprogs-2012.1.15/bld.sh: line 119: /usr/sbin/mkntfs: Permission denied
/home/nigel/ttylinux/djerome-ttylinux-ddfd09f/ttylinux-build/pkg-cfg/ntfs-3g_ntfsprogs-2012.1.15/bld.sh: line 120: /bin/ntfs-3g*: ambiguous redirect
/home/nigel/ttylinux/djerome-ttylinux-ddfd09f/ttylinux-build/pkg-cfg/ntfs-3g_ntfsprogs-2012.1.15/bld.sh: line 121: /bin/lowntfs-3g: Permission denied
/home/nigel/ttylinux/djerome-ttylinux-ddfd09f/ttylinux-build/pkg-cfg/ntfs-3g_ntfsprogs-2012.1.15/bld.sh: line 122: /lib/libntfs-3g.so: Permission denied
ln: failed to create symbolic link `/home/nigel/ttylinux/djerome-ttylinux-ddfd09f/ttylinux-build/sysroot/sbin/mkfs.ntfs': File exists
ln: failed to create symbolic link `/home/nigel/ttylinux/djerome-ttylinux-ddfd09f/ttylinux-build/sysroot/sbin/mount.ntfs-3g': File exists
ln: failed to create symbolic link `/home/nigel/ttylinux/djerome-ttylinux-ddfd09f/ttylinux-build/sysroot/sbin/mount.lowntfs-3g': File exists
ln: failed to create symbolic link `/home/nigel/ttylinux/djerome-ttylinux-ddfd09f/ttylinux-build/sysroot/usr/lib/libntfs-3g.so': File exists

##### Making Package File List
***** ERROR missing => sbin/mkfs.ntfs
***** ERROR missing => usr/lib/libntfs-3g.so

The reason this is failing is because it is creating/using absolute file paths.

# ls -l sysroot/sbin/
...
-rwxr-xr-x   5 root root 183516 Dec 11 09:50 mkfs.ext4dev
lrwxrwxrwx   1 root root     16 Dec 11 09:50 mkfs.ntfs -> /usr/sbin/mkntfs
-rwxr-xr-x   1 root root     21 Dec 11 09:49 mkfs.swap
-rwxr-xr-x 175 root root 392172 Dec 11 09:49 mkfs.vfat
-rwxr-xr-x 175 root root 392172 Dec 11 09:49 mkswap
lrwxrwxrwx   1 root root     11 Dec 11 09:46 modinfo -> ../bin/kmod
lrwxrwxrwx   1 root root     11 Dec 11 09:46 modprobe -> ../bin/kmod
lrwxrwxrwx   1 root root     15 Dec 11 09:50 mount.lowntfs-3g -> /bin/lowntfs-3g
lrwxrwxrwx   1 root root     12 Dec 11 09:50 mount.ntfs-3g -> /bin/ntfs-3g
-rwxr-xr-x 175 root root 392172 Dec 11 09:49 poweroff
...

# ls -l sysroot/usr/lib
...
lrwxrwxrwx 1 root root      25 Dec 11 09:43 libnss_nis.so -> ../../lib/libnss_nis.so.2
lrwxrwxrwx 1 root root      18 Dec 11 09:50 libntfs-3g.so -> /lib/libntfs-3g.so
lrwxrwxrwx 1 root root      23 Dec 11 09:45 libpanel.so -> ../../lib/libpanel.so.5
...