SliTaz SliTaz Forum

You are not logged in.

#76 2022-06-12 20:35:03

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: SliTaz Development strategy direction

is a little long, I hope I don't forget anything

unpack rootfsjustx_20220607.gz and create rootfs

gunzip -c /media/disk/Slitaz-archiver/downloads1/rootfsjustx_20220607.gz -c | cpio -idvu

from folder repos copy packages

cp -a *.tazpkg /media/SliTaz-test/var/cache/tazpkg/

boot from partition and login root on text mode

tazpkg setup-mirror

set /var/cache/tazpkg

cd /var/cache/tazpkg

tazpkg -gi slitaz-toolchain

tazpkg -gi cmake

mkdir /media/disk

mount /dev/sdb1 /media/disk #my external disk of sources

cd /media/disk/sources

cd slim-test

cd slim

mkdir

cd build1

cmake -DCMAKE_INSTALL_PREFIX=/usr .. #error X11

tazpkg -gi xorg*-dev

cmake -DCMAKE_INSTALL_PREFIX=/usr .. #error jpeg

cd /media/disk/sources/libjpeg-turbo-2.0.6

cd build3

cmake -DCMAKE_INSTALL_PREFIX=/usr ..

make && make install

cd /media/disk/sources/slim-test/slim/build1

cmake -DCMAKE_INSTALL_PREFIX=/usr .. #error zlib

tazpkg -gi zlib-dev

cmake -DCMAKE_INSTALL_PREFIX=/usr .. #error fontconfig

tazpkg -gi fontconfig-dev --forced

tazpkg -gi pkg-config

cmake -DCMAKE_INSTALL_PREFIX=/usr .. #success > view config.log

make install

slim -version

slim version 1.3.6

config.log

-- PAM is DISABLED, slimlock is depend on PAM and not be built

-- Enable shared library building

-- Configuring done

-- Generating done

-- Build files have been written to: /media/disk/sources/slim-test/slim/build1

Xorg.0.log

[   703.173]

X.Org X Server 1.20.14

X Protocol Version 11, Revision 0

[   703.174] Build Operating System: SliTaz GNU/Linux

[   703.174] Current Operating System: Linux slitaz 3.16.55-slitaz #4 SMP Mon Dec 6 13:01:40 UTC 2021 i686

[   703.174] Kernel command line: root=/dev/sda5

[   703.174] Build Date: 07 June 2022  01:35:59PM

[   703.174]

[   703.174] Current version of pixman: 0.40.0

[   703.175]     Before reporting problems, check https://www.slitaz.org/

    to make sure that you have the latest version.

[   703.175] Markers: (--) probed, (**) from config file, (==) default setting,

    (++) from command line, (!!) notice, (II) informational,

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[   703.176] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 12 20:14:04 2022

[   703.190] (==) Using config file: "/etc/X11/xorg.conf"

[   703.191] (==) Using config directory: "/etc/X11/xorg.conf.d"

[   703.209] (==) ServerLayout "X.org Configured"

[   703.209] (**) |-->Screen "Screen0" (0)

[   703.209] (**) |   |-->Monitor "Monitor0"

[   703.209] (**) |   |-->Device "Card0"

[   703.209] (==) Automatically adding devices

[   703.209] (==) Automatically enabling devices

[   703.209] (==) Automatically adding GPU devices

[   703.210] (==) Max clients allowed: 256, resource mask: 0x1fffff

[   703.210] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.

[   703.210]     Entry deleted from font path.

[   703.210] (**) FontPath set to:

[   703.210] (**) ModulePath set to "/usr/lib/X11/modules"

[   703.210] (II) The server relies on udev to provide the list of input devices.

    If no devices become available, reconfigure udev or disable AutoAddDevices.

[   703.210] (II) Loader magic: 0x8243640

[   703.210] (II) Module ABI versions:

[   703.210]     X.Org ANSI C Emulation: 0.4

[   703.210]     X.Org Video Driver: 24.1

[   703.210]     X.Org XInput driver : 24.1

[   703.210]     X.Org Server Extension : 10.0

[   703.214] (--) PCI:*(1@0:0:0) 1002:95c4:1179:ff1e rev 0, Mem @ 0xc0000000/268435456, 0xd6400000/65536, I/O @ 0x00005000/256, BIOS @ 0x????????/131072

[   703.214] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)

[   703.214] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.

[   703.214] (II) LoadModule: "glx"

[   703.232] (II) Loading /usr/lib/X11/modules/extensions/libglx.so

[   703.248] (II) Module glx: vendor="X.Org Foundation"

[   703.248]     compiled for 1.20.14, module version = 1.0.0

[   703.248]     ABI class: X.Org Server Extension, version 10.0

[   703.248] (II) LoadModule: "modesetting"

[   703.249] (II) Loading /usr/lib/X11/modules/drivers/modesetting_drv.so

[   703.250] (II) Module modesetting: vendor="X.Org Foundation"

[   703.250]     compiled for 1.20.14, module version = 1.20.14

[   703.250]     Module class: X.Org Video Driver

[   703.250]     ABI class: X.Org Video Driver, version 24.1

[   703.250] (II) modesetting: Driver for Modesetting Kernel Drivers: kms

[   703.250] (--) using VT number 7

[   703.256] (EE) open /dev/dri/card0: No such file or directory

[   703.256] (WW) Falling back to old probe method for modesetting

[   703.256] (EE) open /dev/dri/card0: No such file or directory

[   703.256] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support

[   703.256] (EE) Screen 0 deleted because of no matching config section.

[   703.256] (II) UnloadModule: "modesetting"

[   703.256] (EE) Device(s) detected, but none match those in the config file.

[   703.256] (EE)

Fatal server error:

[   703.256] (EE) no screens found(EE)

[   703.256] (EE)

Please consult the The X.Org Foundation support

     at https://www.slitaz.org/

for help.

[   703.256] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.

[   703.257] (EE)

[   703.260] (EE) Server terminated with error (1). Closing log file.

Offline

#77 2022-06-12 23:55:30

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

Re: SliTaz Development strategy direction

Configuring incomplete, errors occurred!

I fight with slim hmm.

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed

-- Looking for pthread_create in pthreads

-- Looking for pthread_create in pthreads - not found

-- Looking for pthread_create in pthread

-- Looking for pthread_create in pthread - found

-- Found Threads: TRUE

-- Configuring incomplete, errors occurred!

cmake-3.22 or cmake-3.19.5

-- Checking for one of the modules 'fontconfig'

CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):

None of the required 'fontconfig' found

Building C object CMakeFiles/cmTC_88b6c.dir/CheckFunctionExists.c.o

/usr/bin/cc -march=i486 -Os -pipe -fomit-frame-pointer -Wall -g -O2 -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_88b6c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFun

QA: Unable to reach: http://slim.berlios.de

sh: bad number

Checking build dependencies...

Installing dep (pkg/local): cmake-3.19.5.tazpkg

Offline

#78 2022-06-13 06:24:27

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

Re: SliTaz Development strategy direction

Hi gibor, alanyih

Thanks, i see that compile libjpeg-turbo i dont build them.

I go to test this.

@alanyih, sorry for mismatch log, i test with cmake 3.22, but target it's 3.19.5

Offline

#79 2022-06-13 09:12:06

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: SliTaz Development strategy direction

Pay attention to the fontconfig error that is just a warning.... To suppress it and complete just enter -Wno-dev in the cmake line

"cmake -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev ..."

CMake Warning (dev) at /usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):

  The package name passed to [c]find_package_handle_standard_args[/c] (PkgConfig)

  does not match the name of the calling package (FONTCONFIG).  This can lead

  to problems in calling code that expects [c]find_package[/c] result variables

  (e.g., [c]_FOUND[/c]) to follow a certain pattern.

Call Stack (most recent call first):

  /usr/share/cmake-3.19/Modules/FindPkgConfig.cmake:67 (find_package_handle_standard_args)

  cmake/modules/FONTCONFIGConfig.cmake:17 (INCLUDE)

  CMakeLists.txt:111 (find_package)

This warning is for project developers.  Use -Wno-dev to suppress it.

Offline

#80 2022-06-15 12:16:25

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

Re: SliTaz Development strategy direction

Hi gibor,

i try many time to build slim without success, i try on rolling, with step it's ok (cmake + need dep install + cmake again).

I discover that if i run cmake twice in receipt, it's happy and make work well,

Strange for me

Offline

#81 2022-06-15 15:26:11

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: SliTaz Development strategy direction

Hi shann, I honestly never understood how the part of the packages manager that downloads, compiles and installs a package based only on the receipt information works.

I have always used it as a pre-compiled packages manager (folder fs) that also extracts and installs dependencies on demand.

I create the package folder base, manually create the receipt, then with a DESTDIR I insert the compilation, and finally with a tazpkg pack I enclose everything in tazpkg format.

Now you know why I can't help you discover the problem....

Offline

#82 2022-06-16 16:40:21

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

Re: SliTaz Development strategy direction

Hi gibor,

no problem i see you use tazpkg more/less as "package manager".

Now issue with pango sad

Cook: pango 1.48.11

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

QA: checking package receipt...

QA: Unable to reach: http://www.pango.org/

sh: bad number

Checking build dependencies...

Installing dep (pkg/local): harfbuzz-dev-2.7.4.tazpkg

Installing dep (pkg/local): harfbuzz-2.7.4.tazpkg

Installing dep (pkg/local): xorg-libXft-dev-2.3.3.tazpkg

Installing dep (pkg/local): xorg-libXft-2.3.3.tazpkg

Installing dep (pkg/local): xorg-libXext-dev-1.3.4.tazpkg

Installing dep (pkg/local): xorg-libXext-1.3.4.tazpkg

Installing dep (pkg/local): cairo-dev-1.16.0.tazpkg

Installing dep (pkg/local): cairo-1.16.0.tazpkg

Installing dep (pkg/local): python3-setuptools-46.1.3.tazpkg

Installing dep (pkg/local): gobject-introspection-dev-1.66.1.tazpkg

Installing dep (pkg/local): gobject-introspection-1.66.1.tazpkg

Installing dep (pkg/local): meson-0.57.1.tazpkg

Installing dep (pkg/local): ninja-1.10.2.tazpkg

Installing dep (pkg/local): fribidi-dev-1.0.9.tazpkg

Installing dep (pkg/local): fribidi-1.0.9.tazpkg

Installing dep (pkg/local): libxml2-dev-2.9.10.tazpkg

Installing dep (pkg/local): libgio-dev-2.66.7.tazpkg

Installing dep (pkg/local): libgio-2.66.7.tazpkg

Installing dep (pkg/local): pcre-dev-8.44.tazpkg

Extracting: pango-1.48.11.tar.xz

[...]

[71/146] Generating Pango-1.0.gir with a custom command

/usr/lib/gcc/i486-slitaz-linux/10.2.0/include/stddef.h:424: syntax error, unexpected identifier in '  __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));' at '__float128'

ninja: build stopped: subcommand failed.

Build dependencies to remove: 53

Removing: bzip2-dev cairo cairo-dev expat-dev fontconfig fontconfig-dev freetype freetype-dev fribidi fribidi-dev glib-dev gobject-introspection gobject-introspection-dev harfbuzz harfbuzz-dev libffi-dev libgio libgio-dev libpng libpng-dev libpthread-stubs libxcb libxcb-dev libxml2-dev libxml2-tools m4 meson ninja pcre-dev pixman pixman-dev python3 python3-setuptools util-linux-ng-blkid-dev util-linux-ng-mount-dev util-linux-ng-uuid-dev xcb-util xcb-util-dev xorg-libX11 xorg-libX11-dev xorg-libXau xorg-libXau-dev xorg-libXdmcp xorg-libXdmcp-dev xorg-libXext xorg-libXext-dev xorg-libXft xorg-libXft-dev xorg-libXrender xorg-libXrender-dev xorg-util-macros xorg-xproto xorg-xtrans

ERROR: cook failed

continue read and search, few articles i read said that it's warning.

Offline

#83 2022-06-17 01:09:46

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

Re: SliTaz Development strategy direction

[71/146] Generating Pango-1.0.gir with a custom command

/usr/lib/gcc/i486-slitaz-linux/10.2.0/include/stddef.h:424: syntax error, unexpected identifier in ' __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));' at '__float128'

ninja: build stopped: subcommand failed.

Try:

https://cook.slitaz.org/next/pango/log/#l77

Executing: compile_rules

CFLAGS   : -march=i486 -Os -pipe -mindirect-branch=thunk

CXXLAGS  : -march=i486 -Os -pipe -mindirect-branch=thunk

CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1

LDFLAGS  : -Wl,-Os,--as-needed

https://cook.slitaz.org/next/pango/log/#l558

[91/124] Generating PangoXft-1.0.typelib with a custom command

[92/124] Generating PangoCairo-1.0.gir with a custom command

/usr/lib/gcc/i486-slitaz-linux/8.2.0/include/stddef.h:435: syntax error, unexpected identifier in '  __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));' at '__float128'

../pango/pangocairo.h:42: Warning: PangoCairo: symbol='PANGO_IS_CAIRO_FONT': Skipping foreign symbol from namespace Pango

../pango/pangocairo.h:56: Warning: PangoCairo: symbol='PANGO_IS_CAIRO_FONT_MAP': Skipping foreign symbol from namespace

Offline

#84 2022-06-17 01:31:15

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

Re: SliTaz Development strategy direction

@gibor

Documentation

tux@slitaz:~$ ls /usr/share/doc/cookutils/

cookopts.txt       cookutils.fr.html  cookutils.pt.html  cross.txt

cookutils.en.html  cookutils.html     cookutils.ru.html  README

$ cat /usr/share/doc/cookutils/README

https://hg.slitaz.org/cookutils/file/00665abb42f1/README

SliTaz Cookbook

https://doc.slitaz.org/en:cookbook:start

[attachment=50804,3226]

Offline

#85 2022-06-17 06:47:26

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

Re: SliTaz Development strategy direction

Hi,

Thanks alanyih for tips, but seem not work hmm

with this inside compile_rules, nothing change

export CPPFLAGS="$CPPFLAGS -D_GLIBCXX_USE_C99_MATH=1"

    export LDFLAGS="$LDFLAGS -Wl,-Os,--as-needed"

Offline

#86 2022-06-17 07:35:29

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: SliTaz Development strategy direction

Hi, I'm missing something to make meson work....

# meson

Traceback (most recent call last):

  File "/usr/bin/meson", line 6, in <module>

    from pkg_resources import load_entry_point

ModuleNotFoundError: No module named 'pkg_resources'

#alanyih

Thank you I will try to study it ;-)

Offline

#87 2022-06-17 07:49:14

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

Re: SliTaz Development strategy direction

Hi gibor,

we need python3-setuptools for meson, he's depend.

Offline

#88 2022-06-17 09:18:06

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: SliTaz Development strategy direction

Hi shann, for what it's worth with pango-1.48.11 I find this error...

../subprojects/glib/meson.build:1:0: ERROR: Meson version is 0.57.1 but project requires >= 0.60.0

Edit:

Found a problem with git and certificates. Fixed temporarily with

export GIT_SSL_NO_VERIFY=true && meson --prefix=/usr --buildtype=release ...

The build is successful, but I don't know if it will help you

I can't attach the log, it tells me.

[txt] [denied mime] build.txt (19.1 KB)

Offline

#89 2022-06-18 21:06:43

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: SliTaz Development strategy direction

Hi, first steps with cook ;-)

the build rootfsjustx_20220607.gz has some error inside:

tazpkg is broken (will not uninstall)

/usr/lib/libptread.so is missing.

After a few tries cook successfully compiles jpeg, jpeg-dev (8c) and slim-1.3.6

https://pastebin.com/EA23V0zL

next steps I will try to update jpeg and then try with pango....

Offline

#90 2022-06-20 08:08:32

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: SliTaz Development strategy direction

Hi Shann, with cooking I am really newbie, if you can use it I will share some packages to help you with the creation of cook

slim https://disk.yandex.com/d/A7ezLtdx1Fk4Yw

the folder stuff for slim wok https://disk.yandex.com/d/gQ-Yh001cLiOug

libjpeg-turbo https://disk.yandex.com/d/Sfl0nRfpdkGZBw

libjpeg-turbo-dev https://disk.yandex.com/d/_UPuq7snypBCWQ

pango https://disk.yandex.com/d/NvMh_SovBoUu6A

Offline

#91 2022-06-20 15:39:09

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

Re: SliTaz Development strategy direction

Hi Gibor,

Thanks for you time to help and test.

for libpthread.so, infact because i set justx image i don't install devs env inside.

(libpthread.so provided by glibc-dev)

Nice to see that you have successfull build.

I go to create a new vm and use my rootfs justx to ensure no corrupted or wrong fs.

Offline

#92 2022-06-21 18:57:24

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

Re: SliTaz Development strategy direction

Hi gibor,

I test with iso https://people.slitaz.org/~shann/slitaz-4.0-stuff/slitaz-4.1-basedev-20220519.iso and wok https://people.slitaz.org/~shann/slitaz-4.0-stuff/stuff_justx_wip/wok/.

For slim same issue need use cmake twice for configure.

-- Checking for one of the modules 'fontconfig'

CMake Error at /usr/share/cmake-3.19/Modules/FindPkgConfig.cmake:805 (message):

  None of the required 'fontconfig' found

Call Stack (most recent call first):

  cmake/modules/FONTCONFIGConfig.cmake:18 (pkg_search_module)

  CMakeLists.txt:108 (find_package)

    FontConfig Found

    PAM disabled

    ConsoleKit disabled

-- Looking for pthread.h

-- Looking for pthread.h - found

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed

-- Looking for pthread_create in pthreads

-- Looking for pthread_create in pthreads - not found

-- Looking for pthread_create in pthread

-- Looking for pthread_create in pthread - found

-- Found Threads: TRUE

-- Configuring incomplete, errors occurred!

See also "/root/slim/source/slim-1.3.6/build/CMakeFiles/CMakeOutput.log".

See also "/root/slim/source/slim-1.3.6/build/CMakeFiles/CMakeError.log".

root@slitaz:~/slim/source/slim-1.3.6/build# vi /root/slim/source/slim-1.3.6/build/CMakeFiles/CMakeError.log

root@slitaz:~/slim/source/slim-1.3.6/build# cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr -DX11_Xmu_LIB=/usr/lib/libXmu.so -DX11_Xft_INCLUDE_PATH=/usr/includ

e -DX11_Xmu_INCLUDE_PATH=/usr/include -DUSE_CONSOLEKIT=no -DUSE_PAM=no ..

-- Enable shared library building

    FontConfig Found

    PAM disabled

    ConsoleKit disabled

-- Configuring done

-- Generating done

-- Build files have been written to: /root/slim/source/slim-1.3.6/build

root@slitaz:~/slim/source/slim-1.3.6/build#

You have sucess build slim / pango with chroot justx ?

I'm afraid if i have packages broken.

Offline

#93 2022-06-22 01:52:25

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

Re: SliTaz Development strategy direction

@shann

PACKAGE="mesa"

VERSION="20.3.4"

....

    # libGLU && libGLw removed from Mesa 20.3.4

    # libOSMesa is included in the package libos-mesa

        rm -r -f $fs/usr/lib/libOS*

please check  'package libos-mesa'

Offline

#94 2022-06-22 05:43:22

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

Re: SliTaz Development strategy direction

Hi alanyih,

Thanks, i see that i have not build libos-mesa (not found in packages, forget) hmm.

It's done and i update http://people.slitaz.org/~shann/slitaz-4.0-stuff/stuff_justx_wip/repo-packages/

Offline

#95 2022-06-22 09:03:41

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: SliTaz Development strategy direction

Hi Shann,

it is not easy to communicate when I only know my native language well....

With chroot, tazpkg doesn't work well for me (it doesn't uninstall, and cook needs it).

In real disk installation, which I ran all the tests with, graphics doesn't work (xorg can't find the screen) eudev problems or xorg... I don't know ;-) as an inveterate nerd I have only ever worked in text mode.

I'll share with you your slitaz-4.1-basedev-20220519.iso repackaged after I used it on my hard disk. It contains everything you need to compile slim.

Double check the receipts which are different from yours. I do not run patches outside of

+#install(TARGETS slimlock RUNTIME DESTINATION bin)

I rebuild the fontconfig package and install it. Then I cook libjpeg-turbo and install it. Finally I cook slim and everything runs without errors.

For pango is a separate topic, but it becomes too long to address here.

N.b:

Your sources not being accessible to me by tazpkg, I cloned them into /var/cache/tazpkg/shann/packages then instructed the tazpkg setup-mirror accordingly.

In the repackaged root for space reasons they were removed. If you want to reuse it you have to put them back, or redirect the packages manager to your repositories.

I hope with this I explained myself well :-)

The file rootfs (~197Mb)

https://disk.yandex.com/d/L2NBJOEO9sDSrQ

Ciao Shann,

non è semplice comunicare quando conosco bene solo la mia lingua madre...

Con il chroot non mi funziona bene il tazpkg (non disinstalla, e cook ne ha bisogno).

In installazione reale su disco, cosa con cui ho eseguito tutte le prove, la grafica non funziona (xorg non trova lo schermo) problemi di eudev o di xorg... non lo so ;-) da incallito nerd ho lavorato sempre e solo in text mode.

Ti metto in condivisione la tua slitaz-4.1-basedev-20220519.iso reimpacchettata dopo che l'ho usata sul mio hard disk. Contiene tutto il necessario per compilare slim.

Controlla bene i receipt che sono differenti dal tuo. Non eseguo patch al di fuori di

+#install(TARGETS slimlock RUNTIME DESTINATION bin)

ricostruisco il pacchetto fontconfig e lo installo. Poi cucino libjpeg-turbo e lo installo. Infine cucino slim e tutto scorre senza errori.

Per pango è discorso a parte, ma qui diventa troppo lungo affrontarlo.

N.b:

I tuoi sorgenti non essendo a me accessibili dal tazpkg, li ho clonati in /var/cache/tazpkg/shann/packages poi istruito il tazpkg setup-mirror di conseguenza.

Nella root reimpacchettata per motivi di spazio sono stati rimossi. Se vuoi riutilizzarla devi rimetterli, o reindirizzare il packages manager ai tuoi repository.

Spero con questo di essermi spiegato bene :-)

Il file rootfs (circa 197Mb già compresso in lzma)

https://disk.yandex.com/d/L2NBJOEO9sDSrQ

Offline

#96 2022-06-22 12:51:31

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

Re: SliTaz Development strategy direction

@gibor

Thankx.

Summary for: slim 1.3.6
===========================================================================
Source dir  : 6.2M
Src file    : slim-1.3.6.tar.gz
Src size    : 228.0K
Produced    : 2.7M
Packed      : 268.0K
Compressed  : 77.6K
Files       : 10
Cook time   : 12s
Cook date   : 2022-06-22 16:21
Host arch   : i486
===========================================================================

----

+#install(TARGETS slimlock RUNTIME DESTINATION bin)

Executing: compile_rules

can't find file to patch at input line 3

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|--- CMakeLists.txt    2022-06-18 19:10:05.000000000 +0200

|+++ CMakeLists.txt    2022-06-18 19:10:18.000000000 +0200

--------------------------

File to patch:

Skip this patch? [y]

Skipping patch.

1 out of 1 hunk ignored

----

compile_rules()

{

    patch -p1 < $stuff/$PACKAGE-$VERSION.patch || return 1

    mkdir build; cd build

Offline

#97 2022-06-22 13:32:40

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: SliTaz Development strategy direction

Hi Alanyih, the patch is in:

/home/slitaz/wok/slim/stuff/slim-1.3.6.patch

and the compilation runs correct

Cook: slim 1.3.6

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

QA: checking package receipt...

QA: Unable to reach: http://slim.berlios.de/

sh: bad number

Checking build dependencies...

Extracting: slim-1.3.6.tar.gz

Executing: compile_rules

patching file CMakeLists.txt

-- The C compiler identification is GNU 10.2.0

-- The CXX compiler identification is GNU 10.2.0.

-- Detecting C compiler ABI info......

.

.

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

Package: slim-1.3.6.tazpkg

Summary for: slim 1.3.6

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

Produced   : 2.8M

Packed     : 320.0K

Compressed : 84.0K

Files      : 10

Cook time  : 16s

Cook date  : 2022-06-22 13:23

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

There is still an error... but it's my fault :-/ I removed before the recompression of the root, the folder /home/slitaz/xml

just recreate it that the error disappears

mkdir /home/slitaz/xml

Just to clarify I had been testing with pango, which was prompting me for various packages, including gtk-doc and down the various libxml. Hence when I thought about leaving out pango, I removed too many folders....

Offline

#98 2022-06-22 13:57:38

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

Re: SliTaz Development strategy direction

@gibor

|--- CMakeLists.txt 2022-06-18 19:10:05.000000000 +0200

|+++ CMakeLists.txt 2022-06-18 19:10:18.000000000 +0200

patch -p1 < $stuff/$PACKAGE-$VERSION.patch || return 1

patching file CMakeLists.txt

Hunk #1 succeeded at 221 (offset -3 lines).

I use your patch

patch -p1 should be patch -p0

Offline

#99 2022-06-22 17:58:37

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

Re: SliTaz Development strategy direction

Hi Gibor,

Thanks, with your rootfs and packages send yesterday i think maybe found root cause.

fontconfig, pango not same version as me.

Fontconfig 2.10.91 vs 2.13.1

pango 1.29.4 vs 1.48.11

With fontconfig 2.10.91, i build successful slim 1.3.6 without issue with cmake (also with all patchs).

remain issue with pango and also about tazpkg inside chroot (maybe missing requirement).

I continue investigate in this.

Offline

#100 2022-06-22 18:52:43

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: SliTaz Development strategy direction

I don't put much stock in versions, however I tried again compiling fontconfig and fontconfig-dev version 2.13.1. on my shared root, and I had to build the gperf-3.1 package again and install it, then again compiled fontconfig and slim and it all went well... (with my receipts).

Now I leave the ball to the experts, I have already written that I am a novice with cook. ;-)

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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