SliTaz SliTaz Forum

You are not logged in.

#1 2023-04-24 16:32:42

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

[Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi,

I continue to work to build Xorg stuff and apps (upgrade apache to 2.4 for work with openssl 1.1.1n, required for cups, ...).

But i have a question about usage SliTaz 4.0 / rolling.

Infact it's great to see that successfull upgrade stack step by step (gcc remain old version for moment) and begin rebuild 4.0 packages work (bump when necessary).

I think maybe good idea to create "frozen point" of cooking and do same stuff.

I don't vision if my stuff to try upgrade 4.0 base is lost time and need focus on other way to try upgrade cooking with frozen point.

Regards,

Shann

Offline

#2 2023-04-30 11:56:52

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

@Shann

I think maybe good idea to create "frozen point" of cooking and do same stuff.

good idea.

Offline

#3 2023-05-02 05:41:12

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi alanyih,

Thanks, infact you are right, it's good idea smile.

Go to prepare it, and do work

Offline

#4 2023-05-05 13:20:54

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

@Shann,

Great!

Offline

#5 2023-05-05 16:16:25

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi,

first stone to road 6.x smile

https://hg.slitaz.org/wok-6.x

I go to begin rebuild base stuff, at first step by step before launch cooker.

Infact i think have same issue with 4.x (fuse issue with new glibc, segfault for grub4dos with gcc, ...)

Offline

#6 2023-05-06 12:48:03

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

A wok (that is now available with https://hg.slitaz.org/wok-6.x/) is an important requirement

to enable the collaboration of other package maintainers for a fully 64 bit-capable Slitaz.

For Stanislas Leduc (alias Shann) not to have to start from scratch again,

this wok should, if possible, make use of the recipes which Nils Christiansen (alias Filou)

has already made for the creation of 64 bit packages.

Furthermore, it is necessary to have a cooker, that can create packages from them,

which are then stored in a public package repository (https://packages.slitaz.org/)

and can thus be used to create further packages.

It would be advantageous to support the recipe format 2 used by Aleksej Bobylev at

https://cook.slitaz.org/next64/wok-next64, because this makes it possible to

create a package and related packages (...-dev, ...-lang ,...) with just one recipe.

For package maintainers to test new 64 bit-capable packages locally first, before they

transfer the recipe to the wok https://hg.slitaz.org/wok-6.x/, it would be useful,

to have a (generated weekly automatically) bootable ISO image available with

the current development status.

This must be accompanied by a warning that it should not be used for productive applications

but is intended exclusively for package adaptations.

These measures would integrate the efforts that have already been made and

pave the way for a fully 64-bit capable Slitaz.

Offline

#7 2023-05-08 12:47:35

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi HGT,

In case you are right, we have dispersed effort.

Alanyih, Aleksej, first devs to work on x86_64 versions, me and Filou work each x86 and x86_64 version.

Need global discussion with maintainers, but we can maybe use Filou wok to begin work on next release 6.0 (if remember he have based on LFS 11.2 to follow apps version).

Offline

#8 2023-05-08 13:37:39

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

I try to create chroot env from filou repository to check if we can have env on tank :

On vm with cooking i follow this steps :

- Fetch 13 packages, chroot_pkgs and deps (busybox, cookutils, slitaz-base-files, lzma, tazpkg)

=> tazpkg missing, i pick it from cooking repo

- Create chroot env manually with tazpkg -i --root=/path_chroot_env (i disable tazpkg auto_deps to avoid fetch from cooking repo)

In new chroot launch cook setup but notice most packages missing :

[c]

root@slitaz:~# chroot /home/slitaz/cooking64/chroot

root@slitaz:/# cook setup

Setting up your environment

===========================================================================================================================================================================================================

Creating directories structure in "/home/slitaz"

Creating DB files in "/home/slitaz/cache"

Checking for packages to install...

Unable to find package "slitaz-toolchain" in the mirrored packages list.

Unable to find package "get-slitaz-toolchain" in the mirrored packages list.

Unable to find package "slitaz-toolchain" in the extra packages list.

Unable to find package "aufs-utils" in the mirrored packages list.

Unable to find package "get-aufs-utils" in the mirrored packages list.

Unable to find package "aufs-utils" in the extra packages list.

Unable to find package "aufs" in the mirrored packages list.

Unable to find package "get-aufs" in the mirrored packages list.

Unable to find package "aufs" in the extra packages list.

Unable to find package "syslinux-extra" in the mirrored packages list.

Unable to find package "get-syslinux-extra" in the mirrored packages list.

Unable to find package "syslinux-extra" in the extra packages list.

Unable to find package "mercurial" in the mirrored packages list.

Unable to find package "get-mercurial" in the mirrored packages list.

Unable to find package "mercurial" in the extra packages list.

md5sum: can't open 'rsync-3.2.7-x86_64.tazpkg': No such file or directory

Checksum error for "rsync-3.2.7-x86_64.tazpkg"

rm: can't remove 'rsync-3.2.7-x86_64.tazpkg': No such file or directory

Recharging repository "Main"

===========================================================================================================================================================================================================

Checking...                                                                                                                                                                                       Failed

Creating backup of the last packages list...                                                                                                                                                      Done

Getting "bundle.tar.lzma"...                                                                                                                                                                      Failed

Restoring database files...                                                                                                                                                                       Done

===========================================================================================================================================================================================================

Recharging failed

md5sum: can't open 'rsync-3.2.7-x86_64.tazpkg': No such file or directory

Checksum error for "rsync-3.2.7-x86_64.tazpkg"

rm: can't remove 'rsync-3.2.7-x86_64.tazpkg': No such file or directory

Please wait until the mirror synchronization is complete and try again.

md5sum: can't open 'dropbear-2022.82-x86_64.tazpkg': No such file or directory

Checksum error for "dropbear-2022.82-x86_64.tazpkg"

rm: can't remove 'dropbear-2022.82-x86_64.tazpkg': No such file or directory

Recharging repository "Main"

===========================================================================================================================================================================================================

Checking...                                                                                                                                                                                       Failed

Creating backup of the last packages list...                                                                                                                                                      Done

Getting "bundle.tar.lzma"...                                                                                                                                                                      Failed

Restoring database files...                                                                                                                                                                       Done

===========================================================================================================================================================================================================

Recharging failed

md5sum: can't open 'dropbear-2022.82-x86_64.tazpkg': No such file or directory

Checksum error for "dropbear-2022.82-x86_64.tazpkg"

rm: can't remove 'dropbear-2022.82-x86_64.tazpkg': No such file or directory

Please wait until the mirror synchronization is complete and try again.

md5sum: can't open 'tazlito-529-x86_64.tazpkg': No such file or directory

Checksum error for "tazlito-529-x86_64.tazpkg"

rm: can't remove 'tazlito-529-x86_64.tazpkg': No such file or directory

Recharging repository "Main"

===========================================================================================================================================================================================================

Checking...                                                                                                                                                                                       Failed

Creating backup of the last packages list...                                                                                                                                                      Done

Getting "bundle.tar.lzma"...                                                                                                                                                                      Failed

Restoring database files...                                                                                                                                                                       Done

===========================================================================================================================================================================================================

Recharging failed

md5sum: can't open 'tazlito-529-x86_64.tazpkg': No such file or directory

Checksum error for "tazlito-529-x86_64.tazpkg"

rm: can't remove 'tazlito-529-x86_64.tazpkg': No such file or directory

Please wait until the mirror synchronization is complete and try again.

Setting permissions for group "slitaz"...

===========================================================================================================================================================================================================

All done, ready to cook packages :-)

[/c]

Offline

#9 2023-05-16 19:50:04

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi,

I setup fresh env in tank.

https://cook.slitaz.org/current/ linked to https://hg.slitaz.org/wok-current

Why "current" name, goal is infact to provide stable version, but in case we push new toolchain, upgrade packages, i think "current" naming more appropriate.

Offline

#10 2023-05-17 09:48:29

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi,

I push new toolchain gcc 4.9.2 / glibc 2.19, bump glibc to 2.21.

Also manually fix issue with gcc83-lib-base installed on chroot that clash when build glibc package.

[c]Inconsistency detected by ld.so: get-dynamic-info.h: 134: elf_get_dynamic_info:

Assertion `info[15] == ((void *)0)' failed![/c]

On my local current chroot, i bump gcc 6.3.0 and rebuild toolchain, after toolchain done, i begin to rebuild base packages for check consistency before push.

Offline

#11 2023-05-17 11:35:34

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Issue with glibc 2.21 and gcc 6.3.

setenv.c: In function '__unsetenv':

setenv.c:270:6: error: suggest explicit braces to avoid ambiguous 'else' [-Werror=parentheses]

   if (ep != NULL)

      ^

cc1: all warnings being treated as errors

Found related and patch available https://bugzilla.redhat.com/show_bug.cgi?id=1312963

Toolchain rebuild, wait finish.

Offline

#12 2023-05-17 12:57:22

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

patch again glibc to build with gcc 6.

# Fix a bug that prevents Glibc from building with GCC-6.3.0

# https://bugzilla.redhat.com/show_bug.cgi?id=1312963 (-Werror=parentheses)

# https://sourceware.org/pipermail/libc-alpha/2015-April/059886.html (array-bounds)

patch -p1 -i $stuff/glibc-2.21-gcc6_fix-1.patch

# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68024 (patch for style-definition)

patch -p1 -i $stuff/glibc-2.21-gcc6_fix-2.patch

# https://gcc.gnu.org/legacy-ml/gcc-patches/2015-11/msg00105.html

patch -p1 -i $stuff/glibc-2.21-gcc6_fix-3.patch

Build again, hope no others need patchs

Offline

#13 2023-05-17 14:16:43

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

After patch again glibc for unused const variable, build work.

# Fix unused const variable

sed -i 's|static const float one=1.0;|static const float __attribute__ ((unused)) one=1.0;|' \

sysdeps/ieee754/flt-32/s_cosf.c

sed -i 's|static const char rcsid\[\] =|static const char __attribute__ ((unused)) rcsid\[\] neutral' \

resolv/base64.c

Toolchain rebuild in progress, and after go for mass rebuild of base packages smile

Offline

#14 2023-05-17 18:18:50

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

I strange issue with cook autoconf 2.71.

Stack GCC 6.3.0 / Glibc 2.21 / Binutils 2.37

) | LC_ALL=C sort >>lib/autoscan/autoscan.list

autom4te: error: cannot create /tmp/am4tjFzyfo in /home/slitaz/wok/autoconf/source/autoconf-2.71: File exists

make[1]: *** [Makefile:2259: tests/wrapper.in] Error 1

make[1]: *** Waiting for unfinished jobs....

autom4te: error: cannot create /tmp/am4tdyBqFe in /home/slitaz/wok/autoconf/source/autoconf-2.71: File exists

make[1]: Leaving directory '/home/slitaz/wok/autoconf/source/autoconf-2.71'

make: *** [Makefile:928: all] Error 2

ERROR: cook failed

no issue when cook autoconf 2.69 or 2.70

Edit: i test in env with previous build (glibc 2.19 / gcc 4.9.2) same issue, work when i fallback perl previous build (5.14.1).

Suspect issue with my perl build, with glibc 2.21 / gcc 6.3.0, work with perl previous pkg

Edit: with build of perl 5.24.1 it's work think issue with new toolchain and old perl version

Offline

#15 2023-05-18 09:10:12

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

I build most packages of my base cooklist :

zlib

zlib-dev

ncurses

ncurses-common

ncurses-extra

ncurses-dev

ncursesw

ncursesw-extra

ncursesw-dev

ncurses-examples

texinfo

binutils

m4

gmp

gmp-dev

bison

flex

xz

liblzma

liblzma-dev

mpfr

mpfr-dev

bzip2

bzip2-dev

bzlib

elfutils

elfutils-dev

mpc-library

gawk

gcc

gcc-lib-base

gcc-lib-math

gfortran

libgfortran

libgomp

libobjc

readline

readline-dev

pcre

pcre-dev

db

libdb

db-dev

gdbm

gdbm-dev

less

tcl

tcl-dev

perl

microperl

openssl

libssl

libcrypto

libcrypto-dev

openssl-dev

cacerts

sqlite

libsqlite

libsqlite-tcl

sqlite-dev

libffi

libffi-dev

libidn

libidn-lang

libidn-dev

autoconf

automake

libtool

gperf

pam

pam-dev

bash

attr

attr-dev

acl

acl-dev

libcap

libcap-dev

python

python-dev

coreutils

libcap-ng

libcap-ng-dev

file

libmagic-dev

libmagic

util-linux

util-linux-uuid

util-linux-uuid-dev

util-linux-blkid

util-linux-blkid-dev

util-linux-mount

util-linux-mount-dev

util-linux-fdisk

util-linux-fdisk-dev

util-linux-smartcols

util-linux-smartcols-dev

wget

wget-lang

tar

tar-lang

libxml2

libxml2-python

libxml2-dev

libxml2-tools

expat

expat-dev

libgpg-error

libgpg-error-dev

libgcrypt

libgcrypt-dev

libtasn1

libtasn1-dev

libunistring

libunistring-dev

nettle

nettle-dev

gnutls

gnutls-dev

libgnutls

curl

libcurl

curl-dev

Remain half other part.

Offline

#16 2023-05-18 19:57:07

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Successfully rebuild list, 377 packages.

Now need check that work as expected before push in wok-current.

Summary of changes due of introduce GCC 6.3.0 :

- remove loop of gettext build (attr need gettext to build that himself required attr-dev)

- remove libcroco as bdep of gettext (unmaintained)

- update receipt has need to use gcc 6.3.0, also change few receipts (back to gcc instead gcc83)

At time i put stuff packages/wok on my space :

https://people.slitaz.org/~shann/slitaz-current-stuff/packages

https://people.slitaz.org/~shann/slitaz-current-stuff/wok

Offline

#17 2023-05-19 09:22:29

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi,

Test packages on rolling, except issue with grub4dos (cf https://forum.slitaz.org/topic/grub4dos-seem-break-on-rolling-20230430 ), desktop, apps seem work correctly after upgrade install rolling.

Offline

#18 2023-05-23 16:44:50

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi,

Rebuild base packages, i create and push them on mirror in current folder.

https://mirror.slitaz.org/packages/current/

Need to add cron tasks for push them automatically, check to build isos.

Offline

#19 2023-05-25 17:27:08

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

hi,

Bump gcc to 8.3.0, rebuild all base packages, issue with kernel, i found patchs necessary, test cook on my env before push.

Offline

#20 2023-05-25 19:31:16

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Apply 4 patchs (2 for usbip and 2 last for linux kernel himself) :

linux-usbip-fix-format-overflow-gcc8.patch

linux-usbip-fix-implicit-fallthrough-gcc8.patch

linux-fix-format-overflow-gcc8.patch

linux-fix-noreturn-attributes-gcc8.patch

With this, i successfully building kernel but need test it on real environment to ensure sanity.

Infact i notice warnings about array-bounds / attribute-alias

Offline

#21 2023-05-29 13:36:55

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi,

I testing kernel on my eeepc seem work correctly.

Issue with wl driver (but same with repo kernel 3.16.55), complain about unknown symbol wf_specs_cctlan

Offline

#22 2023-05-31 06:11:12

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi,

After test, i issue with build broadcom-wl, not sure if relate of gcc 8 or linux build.

Prefer ensure sanity of kernel build and rollback toolchain with gcc 6.3.0.

I think bump gcc to 8.3.0 implies bump to 4.x kernel branch.

Offline

#23 2023-08-24 16:19:36

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi,

i push on wok-current stuff for xorg with new toolchain.

Begin rebuild all base packages, and after go for xorg stuff.

Offline

#24 2023-08-24 19:44:45

devl547
Administrator
Registered: 2011-06-01
Posts: 285

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

@shann, is there anything I can help you with?

Offline

#25 2023-08-24 22:10:11

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: [Current version (6.0) dev thread] - Usage of SliTaz 4.0 / rolling

Hi devl547 smile

I just finish to build xorg stack, not all packages but base with synaptics, vesa / fbdev.

Need also check for prepare iso with "current" repo, to test easy.

Road is long, doing step by step, upgrade cooking imply it (toolchain, kernel, xorg, openssl).

Each step can broken part, i hope that doing base > justx > gtk ensure sanity and not silent break.

See with gcc 6, base ok but xorg break (need patch for work).

At time for test i'm using rolling iso, and put current mirror to upgrade (test in base, justx flavor).

Just keep warn about tazpkg need upgrade first to upgrade in right way glibc/gcc-lib-base

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.032 seconds, 7 queries executed - Memory usage: 1.62 MiB (Peak: 1.77 MiB) ]