Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: u54749 on October 17, 2010, 05:35:12 PM
-
1) Wrong permissions in bzip2-lib.tcz
$ unsquashfs -lls bzip2-lib.tcz
Parallel unsquashfs: Using 1 processor
4 inodes (17 blocks) to write
drwx------ root/root 26 2010-10-15 22:01 squashfs-root
drwxr-xr-x root/root 28 2010-10-15 22:01 squashfs-root/usr
<....>
As only root can read the squashfs-root directory, applications can't find the library
2) New version of gtk2 misses libprintbackend-cups.so
Print dialog in gtk applications does not show real printer names, properties and options anymore. I'm using cups1311.tcz. Getting only "print to file" and "print to LPR" now, without possibility to set paper size, print quality etc. Worked fine in older gtk2 versions.
3) gtk2.tcz complains about missing library libtiff when installing.
tce-load -i /mnt/hda1/tcz/gtk2.tcz
g_module_open() failed for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so: libtiff.so.3: cannot open shared object file: No such file or directory
Reason:
- graphics-libs-1.tcz and gdk-pixbuf2.tcz are both dependencies of gtk2
- libtiff.so.3 is in graphics-lib1
- libtiff.so.3 is used by install script of gdk-pixbuf2
- gdk-pixbuf2 is installed before graphics-libs-1 so when the install script runs libtiff is not there yet
solution:
Put gdk-pixbuf2.tcz as first line in gtk2.tcz.dep so it will be installed after graphics-libs-1.tcz
-
Thanks. I will upload the old squashfs-tools extension until the perms thing is sorted out. I didn't think the perms were an issue with this 4.1 version, but I will check it out tonight.
And I will build gtk2 against cups to give it that print function, perhaps then libcups can be an optional dependency if not needed to run gtk2 apps.
Placing graphics libs extension ahead of gdk-pixbuf in the gtk2 dep file would be a workaround, but the best solution would be to simply add graphics-libs extension to the gdk-pixbuf2.tcz.dep file so it will be available for it's startup script.
-
I think the error is in the bzip2-lib extension, not in squashfs-tools.
try to mount bzip2-lib.tcz, then open the mountpoint (as user tc)
"Access Denied"
-
I tested and it actually is a permissions issue that mksquashfs is giving to created images. I adjusted it to behave like the previous 4.0 one that Curaga had earlier fixed.
Everyone please update to this squashfs-tools rebuild before making more extensions.
-
Actually, it very well was the bzip2 package and not squashfs-tools, as in an oversight I used a bad perm directory to test with. But nevertheless, it won't hurt to have the resulting perms exactly as the previous squashfs-tools package, which was only one small change in this version.
-
Probably the dir was created by mktemp, I remember being bitten by that myself before.
-
I will aim for rebuilding gtk2 on Wednesday.
-
2) New version of gtk2 misses libprintbackend-cups.so
I will aim for rebuilding gtk2 on Wednesday.
6.x misses libprintbackend-cups.so from gtk2, thus Firefox is not able to see other than "print to file" and "print to lpr".
Can you rebuild gtk2 for 6.x with cups support?