2020-06-16
Next -- palemoon
palemoon
/bin/sh: palemoon: not found
$ sudo tazpkg -gi palemoon
palemoon-27.9.3-any. 100% |*******************************| 2860 0:00:00 ETA
Installation of package "palemoon"
=================================================
Browser based on Firefox that's optimised for performance
-------------------------------------------------------------
Copying package... [ Done ]
Extracting package... [ Done ]
Remember modified packages... [ Done ]
Installing package... [ Done ]
Removing all tmp files... [ Done ]
Update system databases... [ Done ]
=================================================
Package "palemoon" (27.9.3) is installed.
$ palemoon
/bin/sh: palemoon: not found
$ ls -l /usr/bin/palemoon
lrwxrwxrwx 1 root root 26 Jun 10 00:16 /usr/bin/palemoon -> /usr/lib/palemoon/palemoon
$ ls -l /usr/lib/palemoon/palemoon
ls: /usr/lib/palemoon/palemoon: No such file or directory
$ tazpkg -lf palemoon
Installed files by "palemoon"
=================================================
/usr/bin/browser-html5
/usr/bin/palemoon
/usr/share/applications/palemoon.desktop
/usr/share/pixmaps/palemoon.png
=================================================
4 files
Next -- firefox-official - libatomic
firefox-official - libatomic
libatomic.so.1: cannot open shared object file: No such file or directory
$ firefox-official
firefox-official: error while loading shared libraries: libatomic.so.1:
cannot open shared object file: No such file or directory
$ tazpkg info firefox-official
TazPkg information ============================================================================== Package : firefox-official State : installed package Version : 71.0 (new build available) Category : network Short desc : Official Firefox build by the Mozilla foundation (English language) Maintainer : al.bobylev@gmail.com License : MPL2 Depends : atk libcairo dbus dbus-glib fontconfig freetype gdk-pixbuf glib gtk2 gtk3 pango libx11 libxcomposite libxdamage libxext libxfixes libxrender libxt libxcb Web site : https://www.mozilla.org/en-US/firefox/ Provide : browser-html5 Size : 54708K/211320K Tags : web-browser ==============================================================================
Next -- leafpad - leafpad.desktop
leafpad - leafpad.desktop
$ tazpkg -lf leafpad
Installed files by "leafpad"
============================================================
/usr/bin/leafpad
============================================================
1 file
leafpad
http://cook.slitaz.org/next/leafpad/files
Contents of package “leafpad-0.8.18.1” (116K): permissions·lnk·user ·group · size·date & time ·name drwxr-xr-x 3 root root 4096 Mar 24 06:28 / drwxr-xr-x 3 root root 4096 Mar 24 06:28 /usr/ drwxr-xr-x 2 root root 4096 Mar 24 06:28 /usr/bin/ -rwxr-xr-x 1 root root 103636 Dec 27 2018 /usr/bin/leafpad Unpackaged files: tag·permissions·lnk·user ·group · size·date & time ·name ??? -rw-r--r-- 1 root root 1225 Dec 27 2018 /usr/share/applications/leafpad.desktop
2020-06-09
Next -- ldd - undefined symbol
ldd - undefined symbol
modesetting_drv.so: undefined symbol: shadowRemove
libvbe.so: undefined symbol: xf86int10Addr
1.
$ ldd --version | head -n1
ldd (GNU libc) 2.28
$ ldd --help | grep function
-r, --function-relocs process data and function relocations
2.
$ ldd -r /usr/lib/xorg/modules/drivers/vesa_drv.so
linux-gate.so.1 (0xb7f3f000)
libc.so.6 => /lib/libc.so.6 (0xb7d86000)
/lib/ld-linux.so.2 (0xb7f40000)
undefined symbol: serverGeneration (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: pci_device_unmap_legacy (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetModeParameters (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: shadowRemove (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetDefaultVisual (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEFindSupportedDepths (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86GetEntityInfo (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: SetTimeSinceLastInputEvent (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEBankSwitch (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86GTFMode (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEGetVBEMode (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetDpi (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEFreeVBEInfo (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetBlackWhitePixels (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: pci_device_unmap_range (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetGamma (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: shadowSetup (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86PrintDepthBpp (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: fbScreenInit (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86IsUnblank (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEInterpretPanelID (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetDisplayStart (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetGetDACPaletteFormat (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetModeNames (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86LoadSubModule (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEExtendedInit (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86DPMSInit (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86UnloadSubModule (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: DGAInit (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: fbPictureInit (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miGetDefaultVisualMask (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetDDCproperties (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ScreenToScrn (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miCreateDefColormap (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ErrorFVerb (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miDCInitialize (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ErrorF (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEPrintModes (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ShowUnusedOptions (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetDepthBpp (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miSetVisualTypes (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86CollectOptions (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86PrintEDID (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: pci_device_map_range (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86DrvMsg (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: shadowUpdatePacked (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: vbeFree (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEValidateModes (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86PrintChipsets (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miSetPixmapDepths (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: shadowAdd (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: vbeDoEDID (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SlowBcopy (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEReadPanelID (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEGetModePool (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86GetPointerScreenFuncs (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESaveRestore (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ReturnOptValBool (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetGetPaletteData (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86HandleColormaps (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetWeight (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miClearVisualTypes (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86CheckModeForMonitor (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetGetLogicalScanlineLength (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86PruneDriverModes (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: pci_device_map_legacy (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86DrvMsgVerb (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEGetPixelClock (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEGetVBEInfo (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86AddDriver (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ProcessOptions (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ConfigPciEntity (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEDPMSSet (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: pci_device_has_kernel_driver (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetVBEMode (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetBackingStore (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: ErrorF (/usr/lib/xorg/modules/drivers/vesa_drv.so)
3.
$ ldd -r /usr/lib/xorg/modules/drivers/modesetting_drv.so
linux-gate.so.1 (0xb7f1f000)
libudev.so.1 => /lib/libudev.so.1 (0xb7ee2000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7ec2000)
libc.so.6 => /lib/libc.so.6 (0xb7d16000)
/lib/ld-linux.so.2 (0xb7f20000)
undefined symbol: xf86CrtcConfigPrivateIndex (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: rrPrivKeyRec (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: xf86SaveScreen (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: serverClient (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: PixmapStartDirtyTracking (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: xf86DPMSSet (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: serverGeneration (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
[..]
undefined symbol: DamageCreate (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: xf86CrtcLeaseStarted (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
4.
$ ldd -r /usr/lib/xorg/modules/drivers/fbdev_drv.so
linux-gate.so.1 (0xb7fc3000)
libc.so.6 => /lib/libc.so.6 (0xb7e0b000)
/lib/ld-linux.so.2 (0xb7fc4000)
undefined symbol: xf86FbBpp (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86Depth (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: fbdevHWSave (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: shadowRemove (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86SetDefaultVisual (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86GetEntityInfo (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86GetDevFromEntity (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86PrintModes (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: fbdevHWSaveScreen (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86ClaimFbSlot (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: fbdevHWGetDepth (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: fbdevHWEnterVT (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
[..]
undefined symbol: XNFcallocarray (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: ErrorF (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
Next -- xf86-video-vesa
xf86-video-vesa
Xorg driver for generic VESA video cards
libvbe.so: undefined symbol: xf86int10Addr
VESA: Failed to load module "vbe" (loader failed, 0)
UnloadModule: "vesa"
$ egrep 'vesa|VESA|vbe' /var/log/Xorg.0.log
[ 118.350] (==) Matched vesa as autoconfigured driver 3
[ 118.350] (II) LoadModule: "vesa"
[ 118.350] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 118.350] (II) Module vesa: vendor="X.Org Foundation"
[ 118.350] (II) VESA: driver for VESA chipsets: vesa
[ 118.353] (II) Loading sub module "vbe"
[ 118.353] (II) LoadModule: "vbe"
[ 118.353] (II) Loading /usr/lib/xorg/modules/libvbe.so
[ 118.353] (EE) Failed to load /usr/lib/xorg/modules/libvbe.so:
/usr/lib/xorg/modules/libvbe.so: undefined symbol: xf86int10Addr
[ 118.353] (EE) VESA: Failed to load module "vbe" (loader failed, 0)
[ 118.353] (II) UnloadModule: "vesa"
Next -- xf86-video-intel / fvdev / modesetting
xf86-video-intel / fvdev / modesetting
Failed to load module "intel" (module does not exist, 0)
modesetting_drv.so: undefined symbol: shadowRemove
Failed to load module "modesetting" (loader failed, 0)
FBDEV(0): FBIOPUTCMAP: Invalid argument
xf86-video-intel
http://cook.slitaz.org/next/xf86-video-intel/
Xorg driver for Intel integrated graphics chipsets
Debug information for xf86-video-intel 2.99.917
Cook date: 2018-12-27 09:22
Wasted time : 117s ~ 01m 57s
sna_render_inline.h:40:26: error: inlining failed in call to always_inline 'vertex_emit_2s': target specific option mismatch
Post-check
Checking build... Failed
$ egrep 'intel|modesetting|Invalid' /var/log/Xorg.0.log
[ 32.216] (==) Matched intel as autoconfigured driver 0
[ 32.216] (==) Matched modesetting as autoconfigured driver 1
[ 32.216] (II) LoadModule: "intel"
[ 32.216] (WW) Warning, couldn't open module intel
[ 32.216] (EE) Failed to load module "intel" (module does not exist, 0)
[ 32.216] (II) LoadModule: "modesetting"
[ 32.216] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 32.216] (EE) Failed to load
/usr/lib/xorg/modules/drivers/modesetting_drv.so:
/usr/lib/xorg/modules/drivers/modesetting_drv.so: undefined symbol:
shadowRemove
[ 32.216] (EE) Failed to load module "modesetting" (loader failed, 0)
[ 32.238] (II) FBDEV(0): hardware: inteldrmfb (video memory: 8100kB)
[ 32.265] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 32.265] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 32.265] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 32.265] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 32.265] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 32.265] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 32.265] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 32.265] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 32.265] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 32.265] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 32.265] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[..]
2020-06-04
Next - slitaz-toolchain - isl version none
slitaz-toolchain - isl version none
GNU C17 (SliTaz) version 8.2.0 (i486-slitaz-linux)
compiled by GNU C version 8.2.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none
Integer Set Library
http://isl.gforge.inria.fr/
isl is a library for manipulating sets and relations of integer points bounded by linear constraints.
1.
$ echo 'int main() { return 0; }' > test.c
2.
$ gcc -v -o test.o test.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i486-slitaz-linux/8.2.0/lto-wrapper
Target: i486-slitaz-linux
Configured with: ../configure --enable-languages=c,c++,objc,fortran --disable-multilib --disable-bootstrap --disable-libmpx --with-system-zlib --with-pkgversion=SliTaz --build=i486-slitaz-linux --host=i486-slitaz-linux --with-arch=i486 --with-tune=generic --enable-cld
Thread model: posix
gcc version 8.2.0 (SliTaz)
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=i486'
/usr/libexec/gcc/i486-slitaz-linux/8.2.0/cc1 -quiet -v test.c -quiet -dumpbase test.c -mtune=generic -march=i486 -auxbase test -version -o /tmp/ccZjD2FU.s
GNU C17 (SliTaz) version 8.2.0 (i486-slitaz-linux)
compiled by GNU C version 8.2.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=65536
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib/gcc/i486-slitaz-linux/8.2.0/../../../../i486-slitaz-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/i486-slitaz-linux/8.2.0/include
/usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed
/usr/include
End of search list.
GNU C17 (SliTaz) version 8.2.0 (i486-slitaz-linux)
compiled by GNU C version 8.2.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=65536
Compiler executable checksum: d773662306313f42e7242918817478ca
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=i486'
as -v --32 -o /tmp/ccYy6m4D.o /tmp/ccZjD2FU.s
GNU assembler version 2.31.1 (i486-slitaz-linux) using BFD version (GNU Binutils) 2.31.1
COMPILER_PATH=/usr/libexec/gcc/i486-slitaz-linux/8.2.0/:/usr/libexec/gcc/i486-slitaz-linux/8.2.0/:/usr/libexec/gcc/i486-slitaz-linux/:/usr/lib/gcc/i486-slitaz-linux/8.2.0/:/usr/lib/gcc/i486-slitaz-linux/
LIBRARY_PATH=/usr/lib/gcc/i486-slitaz-linux/8.2.0/:/usr/lib/gcc/i486-slitaz-linux/8.2.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=i486'
/usr/libexec/gcc/i486-slitaz-linux/8.2.0/collect2 -plugin /usr/libexec/gcc/i486-slitaz-linux/8.2.0/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i486-slitaz-linux/8.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccrhN2hn.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_i386 --as-needed -dynamic-linker /lib/ld-linux.so.2 -z relro -z now -o test.o /usr/lib/gcc/i486-slitaz-linux/8.2.0/../../../crt1.o /usr/lib/gcc/i486-slitaz-linux/8.2.0/../../../crti.o /usr/lib/gcc/i486-slitaz-linux/8.2.0/crtbegin.o -L/usr/lib/gcc/i486-slitaz-linux/8.2.0 -L/usr/lib/gcc/i486-slitaz-linux/8.2.0/../../.. /tmp/ccYy6m4D.o -lssp_nonshared -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i486-slitaz-linux/8.2.0/crtend.o /usr/lib/gcc/i486-slitaz-linux/8.2.0/../../../crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=i486'
3.
$ file test.o
test.o: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
Next - what is Slitaz-next?
Slitaz-next
So what is Slitaz-next? another version of slitaz? How do I install it or upgrade from rolling?
1. SliTaz Next Cooker update
http://scn.slitaz.org/
SliTaz Next Cooker is a place where we moving to the upcoming SliTaz release, based on GCC-6.2.0, Glibc-2.24, Kernel-4.9 et al. All that things are the steps to a modern distro, but are incompatible with the current SliTaz Rolling packages, so they are developed and updated separately.
2. README - SliTaz Next ISO
http://mirror1.slitaz.org/iso/next/
SliTaz Next is an attempt to keep SliTaz packages up-to-date. Packages versions and patches are mainly follow the Linux From Scratch guides.
SliTaz Next don't looks like "regular" SliTaz: it's not so slim, not so small and not intended for old hardware. Is it the SliTaz fork? Well, maybe.
These ISO you see in this folder are not guaranteed even to boot, so please use them at your own risk.
3. mirror - next / next64
http://mirror1.slitaz.org/packages/next/
http://mirror1.slitaz.org/packages/next64/
4. SliTaz Next/Next64 Cooker
http://cook.slitaz.org/next/
http://cook.slitaz.org/next64/
Cooknotes
2018-12-05 09:00 New toolchain is here! GCC 8.2.0, Glibc 2.28
[..]
2017-03-17 14:39 Thanks Pascal we have now Syslinux for the SliTaz Next! :-D
5. Repository Overview - wok-next
http://hg.slitaz.org/wok-next/
2020-05-21
Next -- should define /var/run to be equivalent to /run
Bug 1396 - should define /var/run to be equivalent to /run
https://bugs.linuxfoundation.org/show_bug.cgi?id=1396
The FHS 3.0 defines both /run and /var/run, points out that having /var/run be a symbolic link to /run is a valid implementation, mandates access to utmp via /var/run/utmp, and recommends that other than utmp, applications should access files via either /var/run or /run but not both.
[..]
The context for this request is that I am considering whether D-Bus should switch to using /run/dbus/system_bus_socket for its system bus.
3.15. /run : Run-time variable data
https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#runRuntimeVariableData
5.13. /var/run : Run-time variable data
https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#varrunRuntimeVariableData
Next - packages.list / packages.md5
next - packages.list / packages.md5
Mirror : http://mirror1.slitaz.org/packages/next/
R-3.4.2-x86_64
R-3.4.2-x86_64.tazpkg
$ wget http://mirror1.slitaz.org/packages/next/packages.list
Connecting to mirror1.slitaz.org (188.165.229.172:80)
packages.list 100% |*******************************| 152k 0:00:00 ETA
$ wget http://mirror1.slitaz.org/packages/next/packages.md5
Connecting to mirror1.slitaz.org (188.165.229.172:80)
packages.md5 100% |*******************************| 390k 0:00:00 ETA
$ head packages.list
R-3.4.2-x86_64
cairo-gl-1.14.12-x86_64
squirrelmail-it_IT-1.4.13-20071220-x86_64
python3-wstools-0.4.8-x86_64
libicns-0.8.1-x86_64
gnustep-base-1.25.0-x86_64
fbgrab-1.2-x86_64
locale-nn-base-180123-x86_64
dotconf-1.3-x86_64
mate-applet-timer-1.20.2-x86_64
$ head packages.md5
2f89ff8f243dc3458d1d92d2f8b07a4b R-3.4.2-x86_64.tazpkg c07496e38c49a7d0a7b1501912e54c33 cairo-gl-1.14.12-x86_64.tazpkg f769460ca336805d612e96930afa23f2 squirrelmail-it_IT-1.4.13-20071220-x86_64.tazpkg 8cc09ff3c2602b51081f8e6fd17f02fe python3-wstools-0.4.8-x86_64.tazpkg 8a7c11e737b48424e2a90e9168444ca2 libicns-0.8.1-x86_64.tazpkg 576f9d32b1a73b2fa24e586e80e14bde gnustep-base-1.25.0-x86_64.tazpkg 2b2a3b483dfcad00307ee640c961e548 fbgrab-1.2-x86_64.tazpkg 11959e8c409d541fe197f1686a903451 locale-nn-base-180123-x86_64.tazpkg 4fe9dc2321e95ade83b4ccff6762ea36 dotconf-1.3-x86_64.tazpkg c95fb784f19b62e8c932084060011466 mate-applet-timer-1.20.2-x86_64.tazpkg
2020-05-12
Next -- slitaz-next
slitaz-next
$ uname -a
Linux slitaz 4.14.85-slitaz #2 SMP Fri Dec 7 20:47:20 Europe 2018 i686 GNU/Linux
$ slitaz
SliTaz GNU/Linux ===================================================== Release : next Architecture : i486 Kernel : 4.14.85-slitaz Machine type : i686 Home path : /home/slitaz Configs : /etc/slitaz Main config : /etc/slitaz/slitaz.conf Log files : /var/log/slitaz Packages DB : /var/lib/tazpkg Installed : 395 packages Mirror : http://mirror1.slitaz.org/packages/next/ System date : Tue May 5 12:51:23 UTC 2020 -------------- Boot options : root=/dev/null autologin ===================================================== $ file /lib/libc-2.28.so /lib/libc-2.28.so: ELF 32-bit LSB pie executable, Intel 80386, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, stripped
$ tazpkg SliTaz package manager - Version: 971 ===================================================== Installed packages: 395 Installed files: 32040 Blocked packages: 0 Upgradeable packages: 0 Repository: Main Last recharge: 8 days ago. Database timestamp: 11/27/18 00:09 Mirrored packages: 6443 =====================================================
$ tazpkg -l | egrep 'gcc|^glib|^gtk|mesa|server' gcc-lib-base 8.2.0 libs glib 2.58.2 x-window glib-networking 2.58.0 x-window glibc-base 2.28 base-system glibmm 2.58.0 x-window gtk-clearlooks 2.20.2 x-window gtk2 2.24.32 x-window gtk2-demo 2.24.32 development gtk2-engine-murrine 0.98.2 customization gtk3 3.24.2 x-window gtkmm 2.24.5 x-window mesa 18.3.1 x-window mesa-demos 8.4.0 development mesa-dri 18.3.1 x-window mesa-libegl 18.3.1 x-window mesa-libgbm 18.3.1 x-window mesa-libwayland-egl 17.3.4 x-window xorg-server 1.20.3 x-window xorg-server-module-glamor 1.20.3 x-window
2020-05-09
Next -- next-x and gtk-demo
next-x and gtk-demo
$ uname -a
Linux slitaz 4.14.85-slitaz #2 SMP Fri Dec 7 20:47:20 Europe 2018 i686 GNU/Linux
$ date
Mon May 4 13:40:49 UTC 2020
Pixbufs
A GdkPixbuf represents an image, normally in RGB or RGBA format.Images
Pixbufs are normally used to load files from disk and perform
image scaling.
This demo is not all that educational, but looks cool. It was written
by Extreme Pixbuf Hacker Federico Mena Quintero. It also shows
off how to use GtkDrawingArea to do a simple animation.
Look at the Image demo for additional pixbuf usage examples.
GtkImage is used to display an image; the image can be in a number of formats.
Typically, you load an image into a GdkPixbuf, then display the pixbuf.
This demo code shows some of the more obscure cases, in the simple
case a call to gtk_image_new_from_file() is all you need.
If you want to put image data in your program as a C variable,
use the make-inline-pixbuf program that comes with GTK+.
This way you won't need to depend on loading external files, your
application binary can be self-contained.
Ref:
https://alanyih.blogspot.com/2016/10/slitaz-justx-x8664-flavors.html
http://forum.slitaz.org/topic/slitaz-x86_64#post-43348
2020-05-07
Supertux -- supertux-armv7hl
Supertux
Supertux 0.6.1 (December 2019).
Requires keyboard or controller - no touchscreen support.
Requires QXCompositor for rotation (landscape) support.
Built and packaged on F(x)tec Pro¹ running Sailfish 3.2.
Includes my config file which I like for QWERTY Pro¹, but other devices/keyboards will most likely want to change resolution/zoom and keyboard map from the built-in setting menu.
SuperTux is a free and open-source two-dimensional platform video game published under the GNU General Public License (GPL). The game was inspired by Nintendo's Super Mario Bros. series; instead of Mario, the hero in the game is Tux, the official mascot of the Linux kernel. Gameplay in SuperTux is similar to Super Mario Bros. Tux can jump under bonus blocks marked with question marks to gain coins or retrieve power-ups such as the egg, which makes Tux bigger. Other objects such as trampolines and invincibility granting stars can also be obtained from these blocks. Tux can defeat some bad guys by jumping on them, and most can be defeated or frozen by shooting flower power-ups, which let Tux shoot the flower's respective element. Currently, only the fire flower power-up is implemented in story mode but there are also ice flowers, which shoots bullets that can freeze bad guys and kill fire, earth flowers give out a light which can be used for lanterns and can give invincibility for a few seconds, and air flowers allow Tux to jump further and more quickly. The objective of each level is to get to the end, usually marked by checker-patterned poles. At the end of each world is a boss, such as the Yeti boss on Icy Island.
Screenshots:
Attachment | Size | Date |
---|---|---|
supertux-0.6.1-2.armv7hl.rpm | 147.68 MB | 26/01/2020 - 04:22 |
Next -- next-x
next-x
# uname -a
Linux slitaz 4.14.85-slitaz #2 SMP Fri Dec 7 20:47:20 Europe 2018 i686 GNU/Linux
# slitaz
SliTaz GNU/Linux ================================================================================ Release : next Architecture : i486 Kernel : 4.14.85-slitaz Machine type : i686 Home path : /home/slitaz Configs : /etc/slitaz Main config : /etc/slitaz/slitaz.conf Log files : /var/log/slitaz Packages DB : /var/lib/tazpkg Installed : 179 packages Mirror : http://mirror1.slitaz.org/packages/next/ System date : Thu Apr 30 14:48:14 UTC 2020 -------------- Boot options : root=/dev/null ================================================================================
# X -version
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
Build Operating System: SliTaz GNU/Linux
Current Operating System: Linux slitaz 4.14.85-slitaz #2 SMP Fri Dec 7 20:47:20 Europe 2018 i686
Kernel command line: root=/dev/null autologin
Build Date: 20 December 2018 11:44:19PM
Current version of pixman: 0.36.0
Before reporting problems, check http://www.slitaz.org/
to make sure that you have the latest version.
2020-05-06
Next -- slitaz-next-4.14.85
next-base and slitaz-toolchain
Target: i486-slitaz-linux
--build=i486-slitaz-linux --host=i486-slitaz-linux
gcc version 8.2.0 (SliTaz)
# uname -a
Linux slitaz 4.14.85-slitaz #2 SMP Fri Dec 7 20:47:20 Europe 2018 i686 GNU/Linux
# slitaz
SliTaz GNU/Linux ====================================================================== Release : next Architecture : i486 Kernel : 4.14.85-slitaz Machine type : i686 Home path : /home/slitaz Configs : /etc/slitaz Main config : /etc/slitaz/slitaz.conf Log files : /var/log/slitaz Packages DB : /var/lib/tazpkg Installed : 64 packages Mirror : http://mirror1.slitaz.org/packages/next/ System date : Mon Apr 27 15:22:56 UTC 2020 -------------- Boot options : root=/dev/null ====================================================================== # tazpkg SliTaz package manager - Version: 971 ====================================================================== Installed packages: 64 Installed files: 29397 Blocked packages: 0 Upgradeable packages: 0 Repository: Main Last recharge: Today at 14:48. Database timestamp: 11/27/18 00:09 Mirrored packages: 6443 ====================================================================== # gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i486-slitaz-linux/8.2.0/lto-wrapper Target: i486-slitaz-linux Configured with: ../configure --enable-languages=c,c++,objc,fortran --disable-multilib --disable-bootstrap --disable-libmpx --with-system-zlib --with-pkgversion=SliTaz --build=i486-slitaz-linux --host=i486-slitaz-linux --with-arch=i486 --with-tune=generic --enable-cld Thread model: posix gcc version 8.2.0 (SliTaz) # tazpkg -l | egrep 'gcc|glib|binutils|header|chain' binutils 2.31.1 development gcc 8.2.0 development gcc-lib-base 8.2.0 libs glibc 2.28 meta glibc-base 2.28 base-system glibc-dev 2.28 development glibc-locale 2.28 system-tools linux-api-headers 4.14.85 development slitaz-toolchain 20181205 meta
2020-05-05
SliTaz Cook & Cooker
Applications → Documentation → Cookutis Documentation
or
file:///usr/share/doc/cookutils/cookutils.en.html
The SliTaz Cookutils provide tools and utils to help build SliTaz packages. They are easy to use and learn, fast and light. You will be able to create SliTaz packages in a few commands. The cookutils provide the 'cook' utility and the Cooker.
Cook lets you compile and create a package, provide a log file and check the receipt/package quality. The Cooker is a build bot with more automation and can be used as a frontend to cook since it provides a CGI/web interface which lets you view cook logs in a nice and colored way. Cook and the Cooker use the same DB files and wok, they both share blocked and broken packages as well as any activity.
For technical information, for example the coding style, etc, please refer to the README found in the source tree or in /usr/share/doc/cookutils.
Cookbook - SliTaz Cookbook.
http://doc.slitaz.org/en:cookbook:start
slitaz-cooking VS. ubuntu 18.04.4 LTS
slitaz-cooking VS. ubuntu 18.04.4 LTS
slitaz-cooking:
gcc-4.6.3 glibc-2.14.1 xorg-server-1.12.4 and mesa-9.2.5
# tazpkg -l | egrep 'gcc|^glib|gtk|server|mesa'and linux-3.16.55
gcc-lib-base 4.6.3 development glib 2.43.3 x-window glibc-base 2.14.1 base-system glibmm 2.40.0 x-window glib-networking 2.43.1 x-window gtk+ 2.24.24 x-window gtk-clearlooks 2.20.2 x-window gtkmm 2.24.5 x-window libfm-gtk 1.2.5 system-tools libglu-mesa 9.0.0 x-window mesa 9.2.5 x-window mesa-demos 8.0.1 development mesa-dri 9.2.5 x-window mesa-dri-intel 9.2.5 x-window xorg-server 1.12.4 x-window
VS.
> and exact same output from supertux under ubuntu 18 on same machine
> I see glxinfo reports Mesa 9.2.5 under Slitaz, whereas under ubuntu
> its telling me 19.2.8.
Your OS: Ubuntu 18.04.4 LTS
Release February 12, 2020
$ egrep 'gcc|^libc6|^glib|header|mesa|xorg-core' lubuntu-18.04.4-desktop-i386.manifest
gcc-7-base:i386 7.4.0-1ubuntu1~18.04.1 gcc-8-base:i386 8.3.0-6ubuntu1~18.04.1 glib-networking:i386 2.56.0-1 glib-networking-common 2.56.0-1 glib-networking-services 2.56.0-1 libc6:i386 2.27-3ubuntu1 libc6-dev:i386 2.27-3ubuntu1 libegl-mesa0:i386 19.2.8-0ubuntu0~18.04.1 libegl1-mesa:i386 19.2.8-0ubuntu0~18.04.1 libgcc1:i386 1:8.3.0-6ubuntu1~18.04.1 libgl1-mesa-dri:i386 19.2.8-0ubuntu0~18.04.1 libgl1-mesa-glx:i386 19.2.8-0ubuntu0~18.04.1 libglapi-mesa:i386 19.2.8-0ubuntu0~18.04.1 libglx-mesa0:i386 19.2.8-0ubuntu0~18.04.1 libwayland-egl1-mesa:i386 19.2.8-0ubuntu0~18.04.1 linux-headers-5.3.0-28 5.3.0-28.30~18.04.1 linux-headers-5.3.0-28-generic 5.3.0-28.30~18.04.1 linux-headers-generic-hwe-18.04 5.3.0.28.96 xserver-xorg-core-hwe-18.04 2:1.20.5+git20191008-0ubuntu1~18.04.1
2020-04-29
supertux -- CXXABI - ABI Policy and Guidelines
ABI Policy and Guidelines
https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
3. Release versioning on the libstdc++.so binary,
It is versioned as follows:
GCC 4.6.0: libstdc++.so.6.0.15
GCC 4.6.1: libstdc++.so.6.0.16
GCC 4.7.0: libstdc++.so.6.0.17
GCC 4.8.0: libstdc++.so.6.0.18
GCC 4.8.3: libstdc++.so.6.0.19
GCC 4.9.0: libstdc++.so.6.0.20
GCC 5.1.0: libstdc++.so.6.0.21
GCC 6.1.0: libstdc++.so.6.0.22
GCC 7.1.0: libstdc++.so.6.0.23
GCC 7.2.0: libstdc++.so.6.0.24
GCC 8.0.0: libstdc++.so.6.0.25
GCC 9.1.0: libstdc++.so.6.0.26
GCC 9.2.0: libstdc++.so.6.0.27
GCC 9.3.0: libstdc++.so.6.0.28
4. Symbol versioning on the libstdc++.so binary.
GCC 4.6.0: GLIBCXX_3.4.15, CXXABI_1.3.5
GCC 4.6.1: GLIBCXX_3.4.16, CXXABI_1.3.5
GCC 4.7.0: GLIBCXX_3.4.17, CXXABI_1.3.6
GCC 4.8.0: GLIBCXX_3.4.18, CXXABI_1.3.7
GCC 4.8.3: GLIBCXX_3.4.19, CXXABI_1.3.7
GCC 4.9.0: GLIBCXX_3.4.20, CXXABI_1.3.8
GCC 5.1.0: GLIBCXX_3.4.21, CXXABI_1.3.9
GCC 6.1.0: GLIBCXX_3.4.22, CXXABI_1.3.10
GCC 7.1.0: GLIBCXX_3.4.23, CXXABI_1.3.11
GCC 7.2.0: GLIBCXX_3.4.24, CXXABI_1.3.11
GCC 8.0.0: GLIBCXX_3.4.25, CXXABI_1.3.11
GCC 9.0.0: GLIBCXX_3.4.26, CXXABI_1.3.11
slitaz-cooking
$ strings libstdc\+\+.so.6.0.16 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBC_2.0
GLIBC_2.3
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.1
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH
$ strings libboost_locale.so.1.69.0 | grep GLIBCXX
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.7
GLIBCXX_3.4
VS.
slitaz-next
$ strings libboost_locale.so.1.68.0 | grep GLIBCXX | head
GLIBCXX_3.4.20
GLIBCXX_3.4.9
GLIBCXX_3.4.11
GLIBCXX_3.4.7
GLIBCXX_3.4
GLIBCXX_3.4.21
_ZNSt7__cxx1110moneypunctIcLb1EE24_M_initialize_moneypunctEP15__locale_structPKc@@GLIBCXX_3.4.21
_ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basecPKv@@GLIBCXX_3.4
_ZNSt7codecvtIcc11__mbstate_tEC2Ej@@GLIBCXX_3.4
_ZTINSt7__cxx117collateIwEE@@GLIBCXX_3.4.21
$ strings /usr/lib/libstdc\+\+.so.6.0.24 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBC_2.3
GLIBC_2.2.5
GLIBC_2.18
GLIBC_2.16
GLIBC_2.17
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH
2020-04-20
supertux - CXX14
And then all that stuff at the end about language dialect "CXX14".
Target "supertux2_lib" requires the language dialect "CXX14"
Target "sexp" requires the language dialect "CXX14"
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
Ref:
C++14 Support in GCC
C++14 Language Features
https://gcc.gnu.org/projects/cxx-status.html#cxx14
supertux - openal - libatomic
openal - libatomic
warning: libatomic.so.1, needed by libopenal.so.1.20.1, not found
libatomic.so.1 => not found
Package: openal
Cook log 2020-03-26 10:50
Cook: openal 1.20.1
[ 95%] Building C object CMakeFiles/alrecord.dir/examples/alrecord.c.ohttp://cook.slitaz.org/index.cgi?pkg=openal
[ 97%] Linking C executable openal-info
/usr/bin/ld: warning: libatomic.so.1, needed by libopenal.so.1.20.1, not found (try using -rpath or -rpath-link)
make[2]: Leaving directory '${src}'
[ 97%] Built target openal-info
[ 98%] Linking C executable altonegen
tux@slitaz:~$ tazpkg info openal
TazPkg information
====================================================================================
Package : openal
State : installed package
Version : 1.20.1
Category : multimedia
Short desc : cross-platform 3D audio API.
Maintainer : pascal.bellard@slitaz.org
License : LGPL2
Depends : gcc83-lib-base
Build deps : cmake gcc83
Web site : https://www.openal-soft.org/
Size : 608K/1.3M
Tags : multimedia audio sound 3D
====================================================================================
tux@slitaz:~$ ldd /usr/lib/libopenal.so.1.20.1
/usr/lib/libopenal.so.1.20.1:
libpthread.so.0 => /lib/libpthread.so.0 (0xf7595000)
libdl.so.2 => /lib/libdl.so.2 (0xf7590000)
libatomic.so.1 => not found
libm.so.6 => /lib/libm.so.6 (0xf7563000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf7428000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xf740d000)
libc.so.6 => /lib/libc.so.6 (0xf7297000)
/lib/ld-2.14.1.so (0xf76e6000)
tux@slitaz:~$
supertux - libboost-1.69.0 VS. boost-1.68.0
receipt - libboost-1.69.0 VS. boost-1.68.0
LFS=" http://www.linuxfromscratch.org/blfs/view/svn/general/boost.html "
slitaz-cooking
Receipt for: libboost-dev
http://cook.slitaz.org/index.cgi?receipt=libboost-dev
# SliTaz package receipt.
# Boost is a set of two types of libraries. Most of them are just
# headers with inline functions, these are included in this package
# named libboost-dev. Some few set of libraries require build and
# installation steps. These will be relocated and have their own two
# packages : libboost-name and libboost-name-dev.
PACKAGE="libboost-dev"
VERSION="1.69.0"
CATEGORY="development"
SHORT_DESC="Free peer-reviewed portable C++ source libraries."
MAINTAINER="chadi.elahmad@gmail.com"
LICENSE="MIT"
WEB_SITE="https://www.boost.org/"
# We have to do it this way because of the underscores
# to get a package with the slitaz version numbering
SOURCE="boost"
WGET_SOURCE="boost_1_69_0"
TARBALL="$WGET_SOURCE.tar.bz2"
#EXTRA_SOURCE_FILES="boost_changeset_75540.u"
WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
DEPENDS="gcc-lib-base libboost-chrono-dev libboost-date-time-dev \
libboost-math-dev"
BUILD_DEPENDS="bzip2-dev expat expat-dev python python-dev zlib-dev"
RELOCATE_LIBS="{ date_time filesystem graph iostreams \
math program_options python regex serialization \
signal system test thread tr1 wave }"
# Rules to configure and make the package.
# Uses boost:build building tool for the compilation:
# Doesn't use DESTDIR.
# Doesn't recognize the $CONFIGURE_ARGS, gives an error back
# Have to add some params to get static libs compiled too
compile_rules()
{
# Determine if TOOLPREFIX has been defined in tazwok.conf as it should
if [ -z "$TOOLPREFIX" ] ; then
# Provide a default TOOLPREFIX value
TOOLPREFIX=$ARCH-pc-linux-gnu-
fi
# [ -s $SOURCES_REPOSITORY/boost_changeset_75540.u ] ||
# wget -O $SOURCES_REPOSITORY/boost_changeset_75540.u --no-check-certificate \
# 'https://svn.boost.org/trac/boost/changeset/75540?format=diff&new=75540'
# patch -p2 < $SOURCES_REPOSITORY/boost_changeset_75540.u || return 1
./bootstrap.sh \
--prefix=$DESTDIR/usr \
--exec-prefix=$DESTDIR/usr \
--libdir=$DESTDIR/usr/lib \
--includedir=$DESTDIR/usr/include \
--without-icu &&
EXPAT_INCLUDE=/usr/include \
EXPAT_LIBPATH=/usr/lib \
./bjam \
--prefix=$DESTDIR/usr \
--exec-prefix=$DESTDIR/usr \
--libdir=$DESTDIR/usr/lib \
--includedir=$DESTDIR/usr/include \
--build-type=minimal \
install
# create the missing links to the shared libs
cd $DESTDIR/usr/lib
#for i in
ls *-mt.so
; do# boost_tmp=
echo $i | sed s/-gcc.*-mt//g
# boost_tmp_mt=
echo $i | sed s/-gcc.*-mt/-mt/g
# ln -s $i $boost_tmp
# ln -s $i $boost_tmp_mt
#done
#for i in
ls *-mt.a
; do# boost_tmp=
echo $i | sed s/-gcc.*-mt//g
# boost_tmp_mt=
echo $i | sed s/-gcc.*-mt/-mt/g
# ln -s $i $boost_tmp
# ln -s $i $boost_tmp_mt
#done
}
VS.
slitaz-next
# SliTaz package receipt v2.
http://cook.slitaz.org/next/boost/receipt
PACKAGE="boost"
VERSION="1.68.0"
CATEGORY="meta"
SHORT_DESC="Boost C++ libraries"
MAINTAINER="devel@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://www.boost.org/"
LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/boost.html"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://dl.bintray.com/boostorg/release/$VERSION/source/${PACKAGE}_${VERSION//./_}.tar.bz2"
# https://www.boost.org/users/download/
TARBALL_SHA256="7f6130bc3cf65f56a618888ce9d5ea704fa10b462be126ad053e80e553d6d8b7"
BUILD_DEPENDS="icu-dev zlib-dev bzip2-dev python-dev"
[..]
# About splitting: there's complex relationships between header files.
# Previously, for example, the /usr/include/boost/chrono/* files were packed
# into libboost-chrono-dev package. And so on for many /usr/include/boost/*/
#
# But, for example:
# 1. /usr/include/boost/chrono/config.hpp (former boost-chrono-dev package)
# includes <boost/config.hpp> (boost-dev package)
# 2. /usr/include/boost/compute/detail/duration.hpp (former boost-dev package)
# includes <boost/chrono/duration.hpp> (boost-chrono package)
#
# And many other circular dependencies between boost-dev and boost-*-dev
# packages.
#
# Solution: make single solid big boost-dev package with all development
# files.
#
# How to change dependencies of packages that depends on boost?
# Substitute boost-?-dev by the pair: boost-? and boost-dev.
compile_rules() {
./bootstrap.sh --prefix=$install/usr &&
./b2 stage threading=multi link=shared &&
./b2 install threading=multi link=shared || return 1
cook_pick_docs doc/html/*
find $install -name '*.hpp' -exec chmod 644 '{}' \;
}
supertux - undefined reference
undefined reference to 'boost::locale:
undefined reference to 'boost::locale::generator::generate(std::__cx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
The problem seems to be boost-related:
add the line:
-DCMAKE_EXE_LINKER_FLAGS:STRING="-lboost_locale" \
into the cmake configuration options.
libboost_locale.so: undefined reference to 'boost::system::detail::generic_category_instance'
> locale is part of libboost-dev. I didnt need 1.68 boost-locale from next.
No.
You need boost-*-1.68.0 from next.
1. edit a list of packages - boost-dep.lst
tux@slitaz:~$ cat boost-dep.lst
libicu-60.2-i486.tazpkg
icu-60.2-i486.tazpkg
libicu-full-60.2-i486.tazpkg
icu-full-60.2-i486.tazpkg
boost-system-1.68.0-i486.tazpkg
boost-date-time-1.68.0-i486.tazpkg
boost-iostreams-1.68.0-i486.tazpkg
boost-regex-1.68.0-i486.tazpkg
boost-serialization-1.68.0-i486.tazpkg
boost-thread-1.68.0-i486.tazpkg
boost-1.68.0-any.tazpkg
boost-chrono-1.68.0-i486.tazpkg
boost-filesystem-1.68.0-i486.tazpkg
boost-locale-1.68.0-i486.tazpkg
boost-math-1.68.0-i486.tazpkg
boost-dev-1.68.0-i486.tazpkg
2. download the packages
http://cook.slitaz.org/next/icu/download
http://cook.slitaz.org/next/boost/download
3.
install-list Install all packages from a list of packages
# tazpkg install-list bootst-dep.lst
4. recompile supertux
supertux - libboost - boost
libboost - boost
> -- Found Boost: /usr/include (found version "1.69.0") found components:
> filesystem system date_time locale
slitaz-next64
tux@slitaz:~$ tazpkg -s boost
Search result for "boost"
================================================================================
Installed packages
--------------------------------------------------------------------------------
================================================================================
0 installed packages found for "boost"
Available packages
--------------------------------------------------------------------------------
boost 1.68.0 meta
boost-atomic 1.68.0 libdevel
boost-chrono 1.68.0 libdevel
boost-container 1.68.0 libdevel
boost-context 1.68.0 libdevel
boost-contract 1.68.0 libdevel
boost-coroutine 1.68.0 libdevel
boost-date-time 1.68.0 libdevel
boost-dev 1.68.0 development
boost-fiber 1.68.0 libdevel
boost-filesystem 1.68.0 libdevel
boost-graph 1.68.0 libdevel
boost-iostreams 1.68.0 libdevel
boost-locale 1.68.0 libdevel
boost-log 1.68.0 libdevel
boost-math 1.68.0 libdevel
boost-math-tr1 1.68.0 libdevel
boost-prg-exec-monitor 1.68.0 libdevel
boost-program-options 1.68.0 libdevel
boost-python 1.68.0 libdevel
boost-random 1.68.0 libdevel
boost-regex 1.68.0 libdevel
boost-serialization 1.68.0 libdevel
boost-signals 1.68.0 libdevel
boost-stacktrace 1.68.0 libdevel
boost-system 1.68.0 libdevel
boost-thread 1.68.0 libdevel
boost-timer 1.68.0 libdevel
boost-type-erasure 1.68.0 libdevel
boost-unit-test-framework1.68.0 libdevel
boost-wave 1.68.0 libdevel
boost-wserialization 1.68.0 libdevel
================================================================================
32 available packages found for "boost"
tux@slitaz:~$
slitaz-next i386
boost
Boost C++ libraries (meta-package to install base modules)
Summary for: boost 1.68.0
http://cook.slitaz.org/next/boost/download
2020-04-17
slitaz-next64 - supertux
slitaz-next64 - supertux-0.6.1
official build
SuperTux_2-v0.6.1.glibc2.14-x86_64.AppImage 162 MB
https://github.com/SuperTux/supertux/releases/download/v0.6.1/SuperTux_2-v0.6.1.glibc2.14-x86_64.AppImage
SuperTux Nightly Downloads
https://download.supertux.org/
2020-04-19 13:44
https://supertux-ci-downloads.s3-us-west-2.amazonaws.com/901c8f80678ed342abd49a72beef4c54fc977160/travis/linux/320920409/SuperTux_2-.glibc2.27-x86_64.AppImage
To run an AppImage, simply:
https://appimage.org/
Make it executable
$ chmod a+x SuperTux*.AppImage
and run!
2020-01-26
Next64 - linux-source - get-linux-source
cp: can't stat 'slitaz/config': No such file or directory
# ln -s /usr/lib/libmpfr.so.6.0.1 /usr/lib/libmpfr.so.4
root@slitaz:~# tazpkg -s busybox-boot
================================================================================
Installed packages
--------------------------------------------------------------------------------
================================================================================
0 installed packages found for "busybox-boot"
--------------------------------------------------------------------------------
================================================================================
0 available packages found for "busybox-boot"
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
linux-4.17.tar.xz 100% |*******************************| 99771k 0:00:00 ETA
/usr/bin/get-linux-source: line 42: can't open slitaz/patches: no such file
cp: can't stat 'slitaz/config': No such file or directory
----
To modify the kernel configuration:
$ cd /usr/src/linux-4.17.7
$ make menuconfig
root@slitaz:~# ls /usr/src
linux linux-4.17.7 kernel-patches linux-4.17 root@slitaz:~# ls -a /usr/src/linux-4.17 . LICENSES ipc .. MAINTAINERS kernel .clang-format Makefile lib .cocciconfig README mm .get_maintainer.ignore arch net .gitattributes block samples .gitignore certs scripts .mailmap crypto security COPYING drivers sound CREDITS firmware tools Documentation fs usr Kbuild include virt Kconfig init root@slitaz:~# ls -a /usr/src/linux-4.17.7 . config .. copy_modules.sh aufs-patches gztazmod.sh aufs4-base.patch install_module_headers.sh aufs4-mmap.patch linux-4.17.7.patch aufs4-standalone.patch list_modules.sh bootloader.sh make-tazpkg.u buildtaz patches check_modules.sh url root@slitaz:~#
root@slitaz:~# ls -l /next64/src
total 99772
-rw-r--r-- 1 root root 102165892 Jan 19 21:40 linux-4.17.tar.xz
root@slitaz:~# diff /usr/bin/get-linux-source-orig /usr/bin/get-linux-source
--- /usr/bin/get-linux-source-orig
+++ /usr/bin/get-linux-source
@@ -2,7 +2,7 @@
-SOURCES_REPOSITORY=$SLITAZ_DIR/$SLITAZ_VERSION/src
+SOURCES_REPOSITORY=$SLITAZ_HOME/$SLITAZ_VERSION/src
VERSION=4.17.7
@@ -26,7 +26,8 @@
tar -xf $SOURCES_REPOSITORY/$(basename $url)
fi
+mv /usr/src/linux-4.17 /usr/src/linux-4.17.7
+cp -a /usr/src/kernel-patches/slitaz /usr/src/linux-$VERSION/.
# Add tazpkg support
if [ -d "/usr/src/linux-$VERSION/scripts/package" ]; then
root@slitaz:~#
root@slitaz:~# get-linux-source
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
linux-4.17.tar.xz 100% |*******************************| 99771k 0:00:00 ETA
patching file scripts/package/Makefile
Hunk #1 succeeded at 100 with fuzz 2.
Hunk #2 succeeded at 160 (offset 1 line).
Apply linux-4.17.7.patch
patching file Documentation/ABI/stable/sysfs-bus-vmbus
[..]
patching file fs/dcache.c
patching file fs/exec.c
patching file fs/fcntl.c
patching file fs/file_table.c
patching file fs/inode.c
patching file fs/namespace.c
patching file fs/notify/group.c
patching file fs/notify/mark.c
patching file fs/open.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file fs/xattr.c
patching file kernel/locking/lockdep.c
patching file kernel/task_work.c
patching file security/commoncap.c
patching file security/device_cgroup.c
patching file security/security.c
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf --syncconfig Kconfig
SYSTBL arch/x86/include/generated/asm/syscalls_32.h
SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h
SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h
SYSTBL arch/x86/include/generated/asm/syscalls_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h
HOSTCC scripts/basic/bin2c
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
HOSTLD arch/x86/tools/relocs
CHK include/config/kernel.release
UPD include/config/kernel.release
WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h
WRAP arch/x86/include/generated/uapi/asm/poll.h
WRAP arch/x86/include/generated/asm/dma-contiguous.h
WRAP arch/x86/include/generated/asm/early_ioremap.h
WRAP arch/x86/include/generated/asm/mcs_spinlock.h
WRAP arch/x86/include/generated/asm/mm-arch-hooks.h
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC kernel/bounds.s
CHK include/generated/bounds.h
UPD include/generated/bounds.h
CHK include/generated/timeconst.h
UPD include/generated/timeconst.h
CC arch/x86/kernel/asm-offsets.s
CHK include/generated/asm-offsets.h
UPD include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
DESCEND objtool
HOSTCC /usr/src/linux-4.17.7/tools/objtool/fixdep.o
HOSTLD /usr/src/linux-4.17.7/tools/objtool/fixdep-in.o
LINK /usr/src/linux-4.17.7/tools/objtool/fixdep
CC /usr/src/linux-4.17.7/tools/objtool/exec-cmd.o
CC /usr/src/linux-4.17.7/tools/objtool/help.o
CC /usr/src/linux-4.17.7/tools/objtool/pager.o
CC /usr/src/linux-4.17.7/tools/objtool/parse-options.o
CC /usr/src/linux-4.17.7/tools/objtool/run-command.o
CC /usr/src/linux-4.17.7/tools/objtool/sigchain.o
CC /usr/src/linux-4.17.7/tools/objtool/subcmd-config.o
LD /usr/src/linux-4.17.7/tools/objtool/libsubcmd-in.o
AR /usr/src/linux-4.17.7/tools/objtool/libsubcmd.a
GEN /usr/src/linux-4.17.7/tools/objtool/arch/x86/lib/inat-tables.c
CC /usr/src/linux-4.17.7/tools/objtool/arch/x86/decode.o
LD /usr/src/linux-4.17.7/tools/objtool/arch/x86/objtool-in.o
CC /usr/src/linux-4.17.7/tools/objtool/builtin-check.o
CC /usr/src/linux-4.17.7/tools/objtool/builtin-orc.o
CC /usr/src/linux-4.17.7/tools/objtool/check.o
CC /usr/src/linux-4.17.7/tools/objtool/orc_gen.o
CC /usr/src/linux-4.17.7/tools/objtool/orc_dump.o
CC /usr/src/linux-4.17.7/tools/objtool/elf.o
CC /usr/src/linux-4.17.7/tools/objtool/special.o
CC /usr/src/linux-4.17.7/tools/objtool/objtool.o
CC /usr/src/linux-4.17.7/tools/objtool/libstring.o
CC /usr/src/linux-4.17.7/tools/objtool/str_error_r.o
LD /usr/src/linux-4.17.7/tools/objtool/objtool-in.o
LINK /usr/src/linux-4.17.7/tools/objtool/objtool
HOSTCC scripts/genksyms/genksyms.o
YACC scripts/genksyms/parse.tab.c
HOSTCC scripts/genksyms/parse.tab.o
LEX scripts/genksyms/lex.lex.c
YACC scripts/genksyms/parse.tab.h
HOSTCC scripts/genksyms/lex.lex.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
CC scripts/mod/devicetable-offsets.s
CHK scripts/mod/devicetable-offsets.h
UPD scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/sortextable
HOSTCC scripts/asn1_compiler
HOSTCC scripts/extract-cert
----
To modify the kernel configuration:
$ cd /usr/src/linux-4.17.7
$ make menuconfig
$ cd /usr/src/linux-4.17.7
$ make bzImage && make modules
$ make modules_install
$ cp -a arch/x86/boot/bzImage /boot/vmlinuz-4.17.7-slitaz
$ make tazpkg
----
root@slitaz:~#
root@slitaz:~# ls -l /home/slitaz/next64/src
total 99772
-rw-r--r-- 1 root root 102165892 Jan 20 08:32 linux-4.17.tar.xz
root@slitaz:~#