WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore14.0 Beta  (Read 17270 times)

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #15 on: May 19, 2023, 04:22:45 PM »
hi mortegai
my poor writing  I meant there is an update upstream for pcmanfm.....and I will build it.
The "updates" I was referrring to was Apps -> check for updates or the command line method if thats what you use.

EEK then the seg fault is something I have done....I will need to ponder my changes. I have made some. As pcmanfm is a GUI I will need a desktop so I will try to see over the weekend what I have done wrong. Or not bother and just do an update of pcmanfm.

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #16 on: May 19, 2023, 06:31:23 PM »
to anyone who has an invisible mouse pointer, I may have found the solution, from Juanito post 6 for  gtk2 dependencies
Quote
libXcursor

I made a basic.lst to test out my theory and so I am typing on RPi with firefox-perf loaded after success, visible pointer
Code: [Select]
cat basic.lst
libXcursor.tcz
libffi7.tcz
jwm.tcz
aterm.tcz
wbar.tcz

I am not expecting anyone to mod their cmdline.txt unless you are weird like me ;)
I append lst=basic.lst after noembed

Naturally my onboot.lst is much larger
« Last Edit: May 19, 2023, 06:33:52 PM by aus9 »

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #17 on: May 20, 2023, 12:54:37 AM »
Sorry Paul_123 I am bit confused on LA files.
I am starting to build pcmanfm update and I removed the la file from libfm-extra-dev and built menu-cache and removed its la file
When I then attemped to make libfm....it complains
Quote
libtool:   error: '/usr/local/lib/libharfbuzz.la' is not a valid libtool archive

instead of me doing my job correctly ;) I searched apps only for harfbuzz-dev and spotted no la file
so I adjusted my build to download the TC64 12x harfbuzz-dev.tcz because  its la file is  not in
http://tinycorelinux.net/12.x/x86_64/tcz/src/la/

then my script copies the unpack la file into /usr/local/lib and then I checked and realized we have heaps of LA files.

There is  a post by Juanito or Rich for TC64 that says that LA files are no longer loved for TC64 and maybe TC32?

Can you advise what aarch64 intentions are....forgive my apperance that I vaguely know what I am talking about please.

Happy to leave in la files if that is the answer!
« Last Edit: May 20, 2023, 12:56:19 AM by aus9 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: piCore14.0 Beta
« Reply #18 on: May 20, 2023, 02:08:48 AM »
For *la files to work with autotools they have to either all be there or be totally absent. Since they can’t all be there, they all need removing.

If you delete all *la files from /usr/lib and /usr/local/lib, delete the source and start again things will work.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1063
Re: piCore14.0 Beta
« Reply #19 on: May 20, 2023, 04:37:41 AM »
I have been removing .la files as I upgrade extensions.

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #20 on: May 20, 2023, 06:38:01 AM »
EDIT, me too. Getting late here so I have removed la files in new update attempt but I am still got issues with segmentation fault.
I have eliminated xdg missing $HOME directories
I may have to not strip and atach a gdb as a last resort.
thanks for reading

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: piCore14.0 Beta
« Reply #21 on: May 20, 2023, 08:07:10 AM »
Hi aus9
Juanito had me remove the  .la  files from the x86 and x86_64 repos.
I did not update any of the piCore repos.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1063
Re: piCore14.0 Beta
« Reply #22 on: May 20, 2023, 12:01:21 PM »
Hi aus9
Juanito had me remove the  .la  files from the x86 and x86_64 repos.
I did not update any of the piCore repos.

You have a script for that? I don’t see why we would not do the same. In the 14.x repos.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: piCore14.0 Beta
« Reply #23 on: May 20, 2023, 01:46:08 PM »
Hi Paul_123
If you look in my home directory on the repo server there is
a script called  CopyRepo.sh. One of the steps it performs is
checking the  .list  files for filenames ending in  .la.

This is the description included in the beginning of the script:
Code: [Select]
#!/bin/sh
# Written by Richard A. Rost Jan 13, 2023
# Script to copy extensions from one repo version to another.
#
# The .tcz, .tcz.info, .tcz.dep, .tcz.list, and .tcz.md5.txt files get copied.
# The gen_tcz_updates script creates the .tcz.tree and .tcz.zsync files.
#
# Files get copied from source directory to $HOME/staging directory.
#
# The following do not get copied:
#       module files.
#       files that already exist in the destination repo.
#       perl*.tcz files
#
# mpg123*.tcz gets skipped from the following when encountered.
# Extensions that contain .la files:
#       get unsquashed
#       .la files get removed
#       get squashed
#       .list file gets updated
#       .md5.txt file gets updated
#
#
#-----------------------------------------------------------------------------

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #24 on: May 21, 2023, 05:03:13 AM »
Hi Paul_123 and Juanito

I have posted about an issue I had for bootcode. It appears our README used NOZSWAP in caps while Rich confirms it is lowercase.
Maybe for beta2 etc we can adjust that term, I followed the remark literally showing my lack of knowledge etc

2) Can someone have a look at the dep file for abiword aarch64 please as
Code: [Select]
tce-load -w abiword
abiword.tcz.dep OK
wv.tcz.dep OK
Downloading: enchant2.tcz
Connecting to repo.tinycorelinux.net (128.127.66.77:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: enchant2.tcz.md5.txt: No such file or directory
Error on enchant2.tcz

we have enchant.tcz if interested

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: piCore14.0 Beta
« Reply #25 on: May 21, 2023, 05:41:05 AM »
Hi aus9
Change  enchant2.tcz  to  enchant.tcz  in your copy of  abiword.tcz.dep
and confirm it works.

You might also run  ldd  on the abiword executable to make sure it
finds the enchant libraries.

If it works, I don't know if Juanito wants to change the  .dep  file or rename
enchant.tcz  to  enchant2.tcz  to match the other Tinycore repos.

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #26 on: May 21, 2023, 05:49:05 AM »
Hi Rich

I would have to use a web browser to download the files manually as tce-load -w and Apps GUi fails as per last post.
I will wait if you do not mind.

aus9

  • Guest
Re: piCore14.0 Beta
« Reply #27 on: May 21, 2023, 05:50:40 AM »
I agree my brain hurts with this one....something funny going on after manual loading of one TCE that causes some TCEs to show root:root against /usr/local/tce.installed

I think this then causes an issue when you manually something else afterwards but I can not spot which is the one that is playing up.

First here is result of my current onboot.lst boot up   but as its so long I have removed all but symlinks....and aterm is not showing full symlink but they appear ok
Code: [Select]
ls -al /usr/local/tce.installed/
total 0
drwxrwxr-x    2 root     staff         2120 Jan  1  1970 ./
drwxr-xr-x    9 root     root           220 Jan  1  1970 ../
lrwxrwxrwx    1 root     staff           47 Jan  1  1970 Xlibs -> /tmp/tcloop/Xl
lrwxrwxrwx    1 root     staff           49 Jan  1  1970 Xprogs -> /tmp/tcloop/X
lrwxrwxrwx    1 root     staff           47 Jan  1  1970 aterm -> /tmp/tcloop/at
lrwxrwxrwx    1 root     staff           67 Jan  1  1970 ca-certificates -> /tmp
lrwxrwxrwx    1 root     staff           45 Jan  1  1970 dbus -> /tmp/tcloop/dbu
lrwxrwxrwx 1 root staff 57 Jan  1  1970 /usr/local/tce.installed/fontconfig -> /tmp/tcloop
lrwxrwxrwx    1 root     staff           57 Jan  1  1970 gdk-pixbuf -> /tmp/tclo
lrwxrwxrwx    1 root     staff           45 Jan  1  1970 gtk3 -> /tmp/tcloop/gtk
lrwxrwxrwx    1 root     staff           73 Jan  1  1970 hicolor-icon-theme -> /
lrwxrwxrwx    1 root     staff           43 Jan  1  1970 jwm -> /tmp/tcloop/jwm/
lrwxrwxrwx    1 root     staff           49 Jan  1  1970 libX11 -> /tmp/tcloop/l
lrwxrwxrwx    1 root     staff           53 Jan  1  1970 libinput -> /tmp/tcloop
lrwxrwxrwx    1 root     staff           51 Jan  1  1970 librsvg -> /tmp/tcloop/
lrwxrwxrwx    1 root     staff           69 Jan  1  1970 shared-mime-info -> /tm
lrwxrwxrwx    1 root     staff           45 Jan  1  1970 wbar -> /tmp/tcloop/wba
lrwxrwxrwx    1 root     staff           59 Jan  1  1970 xorg-server -> /tmp/tcl

right so load inxi
Code: [Select]
tc@box:~$ tce-load -i inxi
perl5.tcz: OK
libpci.tcz: OK
pciutils.tcz: OK
readline.tcz: OK
bash.tcz: OK
libattr.tcz: OK
libacl.tcz: OK
gmp.tcz: OK
coreutils.tcz: OK
inxi.tcz: OK

See root:root and I have snipped out no scripts
Code: [Select]
ls -al /usr/local/tce.installed/
total 0
drwxrwsr-x    2 root     staff         2320 May  8 19:35 ./
drwxr-sr-x    9 root     root           220 May  8 19:35 ../
lrwxrwxrwx    1 root     staff           47 Jan  1  1970 Xlibs -> /tmp/tcloop/Xl
lrwxrwxrwx    1 root     staff           49 Jan  1  1970 Xprogs -> /tmp/tcloop/X
lrwxrwxrwx    1 root     staff           73 Jan  1  1970 adwaita-icon-theme -> /
lrwxrwxrwx    1 root     staff           47 Jan  1  1970 aterm -> /tmp/tcloop/at
lrwxrwxrwx    1 root     root            45 May 21 12:19 bash -> /tmp/tcloop/bas
lrwxrwxrwx    1 root     staff           67 Jan  1  1970 ca-certificates -> /tmp
lrwxrwxrwx    1 root     staff           45 Jan  1  1970 dbus -> /tmp/tcloop/dbu
lrwxrwxrwx    1 root     staff           57 Jan  1  1970 fontconfig -> /tmp/tclo
lrwxrwxrwx    1 root     staff           57 Jan  1  1970 gdk-pixbuf -> /tmp/tclo
lrwxrwxrwx    1 root     staff           45 Jan  1  1970 gtk3 -> /tmp/tcloop/gtk
lrwxrwxrwx    1 root     staff           73 Jan  1  1970 hicolor-icon-theme -> /
lrwxrwxrwx    1 root     root            45 May 21 12:19 inxi -> /tmp/tcloop/inx
lrwxrwxrwx    1 root     staff           43 Jan  1  1970 jwm -> /tmp/tcloop/jwm/
lrwxrwxrwx    1 root     staff           49 Jan  1  1970 libX11 -> /tmp/tcloop/l
lrwxrwxrwx    1 root     staff           53 Jan  1  1970 libinput -> /tmp/tcloop
lrwxrwxrwx    1 root     staff           51 Jan  1  1970 librsvg -> /tmp/tcloop/
lrwxrwxrwx    1 root     root            53 May 21 12:19 pciutils -> /tmp/tcloop
lrwxrwxrwx    1 root     staff           69 Jan  1  1970 shared-mime-info -> /tm
lrwxrwxrwx    1 root     staff           45 Jan  1  1970 wbar -> /tmp/tcloop/wba
lrwxrwxrwx    1 root     staff           59 Jan  1  1970 xorg-server -> /tmp/tcl

Lets check the root:root for tcloop
Code: [Select]
ls -al /tmp/tcloop/bash/usr/local
total 0
drwxr-xr-x 6 root root  71 Mar 31 03:00 ./
drwxr-xr-x 3 root root  28 Mar 31 02:57 ../
drwxr-xr-x 2 root root  42 Mar 31 02:57 bin/
drwxr-xr-x 3 root root  27 Mar 31 03:00 lib/
drwxr-xr-x 3 root root  27 Mar 31 03:00 share/
drwxrwxr-x 2 root staff 27 Mar 31 02:57 tce.installed/

tc@box:~$ ls -al /tmp/tcloop/inxi/usr/local/
total 0
drwxr-sr-x    5 root     root            60 May  8 19:35 ./
drwxr-sr-x    3 root     root            28 May  8 19:35 ../
drwxr-sr-x    2 root     root            27 May  8 19:35 bin/
drwxr-sr-x    3 root     root            26 May  8 19:35 share/
drwxrwsr-x    2 root     staff           27 May  8 19:35 tce.installed/

tc@box:~$ ls -al /tmp/tcloop/pciutils/usr/local/
total 0
drwxr-xr-x    6 tc       staff           72 Mar 21  2021 ./
drwxr-xr-x    3 tc       staff           28 Mar 21  2021 ../
drwxr-xr-x    2 tc       staff            3 Mar 21  2021 lib/
drwxr-xr-x    2 tc       staff           63 Mar 21  2021 sbin/
drwxr-xr-x    4 tc       staff           45 Mar 21  2021 share/
drwxrwxr-x    2 root     staff           31 Mar 21  2021 tce.installed/

its got me stumped



aus9

  • Guest
Re: piCore14.0 Beta
« Reply #28 on: May 21, 2023, 06:05:41 AM »
aarch64 GUI for cpanel -> backup
I try to delete an item....as requested by Rich another post
it does not work. I checked my perms and they look ok to me
Code: [Select]
ls -al /opt/.filetool.lst
-rw-rw-r--    1 tc       staff           76 May 21 00:43 /opt/.filetool.lst

I can use nano to edit the file manually but maybe someone can reproduce,
say click on opt and do dry run or exit if opt disappears?

thanks for reading

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1063
Re: piCore14.0 Beta
« Reply #29 on: May 21, 2023, 06:44:17 AM »
Pciutils did have a permission problem, did you update the extension?