2022-12-25

m3400 - 7-Zip - p7zip / 7zFM

 7-Zip - p7zip / 7zFM

p7zip-tazpkg

p7zip-esd

Installed files by: p7zip-full (5.3M)
-rwxr-xr-x    1 root     root            36 Sep 28 09:48 /usr/bin/7z
-rwxr-xr-x    1 root     root            37 Sep 28 09:48 /usr/bin/7za
-rwxr-xr-x    1 root     root            37 Sep 28 09:48 /usr/bin/7zr
-rwxr-xr-x    1 root     root        518852 Sep 28 09:48 /usr/lib/p7zip/7z
-rwxr-xr-x    1 root     root       2393312 Sep 28 09:48 /usr/lib/p7zip/7z.so
-rwxr-xr-x    1 root     root        399408 Sep 28 09:48 /usr/lib/p7zip/7zCon.sfx
-rwxr-xr-x    1 root     root       1239812 Sep 28 09:48 /usr/lib/p7zip/7za
-rwxr-xr-x    1 root     root        850648 Sep 28 09:48 /usr/lib/p7zip/7zr
-rwxr-xr-x    1 root     root        112660 Sep 28 09:48 /usr/lib/p7zip/Codecs/Rar.so

https://cook.slitaz.org/index.cgi?files=p7zip-full

tux@slitaz:~$ ls -l /usr/lib/p7zip/

total 7556
-rwxr-xr-x    1 root     root        512464 Jul 22  2016 7z
-rwxr-xr-x    1 root     root       1233472 Jul 22  2016 7za
-rwxr-xr-x    1 root     root        400616 Jul 22  2016 7zCon.sfx
-rwxr-xr-x    1 root     root        980624 Jul 22  2016 7zFM
-rwxr-xr-x    1 root     root        800400 Jul 22  2016 7zG
-rwxr-xr-x    1 root     root        831952 Jul 22  2016 7zr
-rwxr-xr-x    1 root     root       2344144 Jul 22  2016 7z.so
drwxr-xr-x    2 root     root          4096 Dec 28  2021 Codecs
drwxr-xr-x    2 root     root          4096 Dec 28  2021 Lang
-rw-r--r--    1 root     root        256152 Jul 22  2016 Lzham.so
-rwxr-xr-x    1 root     root        195376 Jul 22  2016 LzmaCon
-rw-r--r--    1 root     root        109800 Jul 22  2016 Rar.so

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-51231

slack - slackware64-live-xfce

 

slackware64-live-xfce

Linux darkstar.home.arpa 5.15.7

live@darkstar:~$ neofetch

                  :::::::                      live@darkstar.home.arpa
            :::::::::::::::::::                -----------------------
         :::::::::::::::::::::::::             OS: Slackware 15.0 x86_64 x86_64
       ::::::::cllcccccllllllll::::::          Host: ASUSTeK COMPUTER INC. M3400QA
    :::::::::lc               dc:::::::        Kernel: 5.15.7
   ::::::::cl   clllccllll    oc:::::::::      Uptime: 2 hours, 11 mins
  :::::::::o   lc::::::::co   oc::::::::::     Packages: 653 (pkgtool)
 ::::::::::o    cccclc:::::clcc::::::::::::    Shell: bash 5.1.8
 :::::::::::lc        cclccclc:::::::::::::    Resolution: 1920x1200
::::::::::::::lcclcc          lc::::::::::::   DE: Xfce 4.16
::::::::::cclcc:::::lccclc     oc:::::::::::   WM: Xfwm4
::::::::::o    l::::::::::l    lc:::::::::::   WM Theme: Default
 :::::cll:o     clcllcccll     o:::::::::::    Theme: Greybird [GTK2], Adwaita [GTK3]
 :::::occ:o                  clc:::::::::::    Icons: elementary-xfce-dark [GTK2], Adwaita [GTK3]
  ::::ocl:ccslclccclclccclclc:::::::::::::     Terminal: xfce4-terminal
   :::oclcccccccccccccllllllllllllll:::::      Terminal Font: Monospace 12
    ::lcc1lcccccccccccccccccccccccco::::       CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200G
      ::::::::::::::::::::::::::::::::         GPU: AMD ATI Device 1638
        ::::::::::::::::::::::::::::           Memory: 4328MiB / 15472MiB
           ::::::::::::::::::::::
                ::::::::::::


2022-12-10

m3400 - suspend - resume

suspend - resume

Discharging (89%, 109 hours 49 minutes)



live@darkstar:~$ uname -a
Linux darkstar.home.arpa 5.15.7 #1 SMP PREEMPT Wed Dec 8 12:53:09 CST 2021 x86_64 AMD Ryzen 7 5800H with Radeon Graphics AuthenticAMD GNU/Linux

live@darkstar:~$ sudo dmesg | tail -46
[ 591.838456] PM: suspend entry (s2idle)
[ 591.838796] Filesystems sync: 0.000 seconds
[ 591.945889] Freezing user space processes ... (elapsed 0.002 seconds) done.
[ 591.948521] OOM killer disabled.
[ 591.948521] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 591.949940] printk: Suspending console(s) (use no_console_suspend to debug)
[ 593.699847] ACPI: EC: interrupt blocked
[ 9178.755292] ACPI: EC: interrupt unblocked
[ 9178.782735] pci 0000:00:00.2: can't derive routing for PCI INT A
[ 9178.782779] pci 0000:00:00.2: PCI INT A: no GSI
[ 9178.790967] [drm] PCIE GART of 1024M enabled.
[ 9178.790973] [drm] PTB located at 0x000000F400900000
[ 9178.790993] amdgpu 0000:03:00.0: amdgpu: SMU is resuming...
[ 9178.791040] amdgpu 0000:03:00.0: amdgpu: dpm has been disabled
[ 9178.792083] amdgpu 0000:03:00.0: amdgpu: SMU is resumed successfully!
[ 9178.793049] [drm] DMUB hardware initialized: version=0x01010019
[ 9178.823837] nvme nvme0: 16/0/0 default/read/poll queues
[ 9179.092211] ata1: SATA link down (SStatus 0 SControl 300)
[ 9179.092876] ata2: SATA link down (SStatus 0 SControl 300)
[ 9179.124252] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[ 9179.124460] [drm] JPEG decode initialized successfully.
[ 9179.124558] amdgpu 0000:03:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[ 9179.124564] amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 9179.124567] amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 9179.124570] amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 9179.124572] amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 9179.124574] amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 9179.124577] amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 9179.124579] amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 9179.124581] amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 9179.124583] amdgpu 0000:03:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[ 9179.124588] amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
[ 9179.124590] amdgpu 0000:03:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
[ 9179.124592] amdgpu 0000:03:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
[ 9179.124593] amdgpu 0000:03:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
[ 9179.124595] amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
[ 9179.147388] OOM killer enabled.
[ 9179.147391] Restarting tasks ... done.
[ 9179.165499] PM: suspend exit
[ 9184.111596] wlan0: authenticate with 98:da:c4:e4:42:20
[ 9184.118012] wlan0: send auth to 98:da:c4:e4:42:20 (try 1/3)
[ 9184.145541] wlan0: authenticated
[ 9184.146764] wlan0: associate with 98:da:c4:e4:42:20 (try 1/3)
[ 9184.149793] wlan0: RX AssocResp from 98:da:c4:e4:42:20 (capab=0x1511 status=0 aid=3)
[ 9184.158412] wlan0: associated
[ 9184.215446] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
live@darkstar:~$


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2?replies=27#post-51215 


2022-08-26

slitaz-v41 - kernel module-modules.dep


kernel module - modules.dep 

tux@slitaz:~$ lsmod
Module                  Size  Used by
ipv6                  213160  24
ppdev                   4154  0
vmwgfx                115863  1
ttm                    50906  1 vmwgfx
drm_kms_helper         23610  1 vmwgfx
drm                   161345  5 ttm,drm_kms_helper,vmwgfx
e1000                  78776  0
intel_agp               7740  0
parport_pc             14485  0
intel_gtt               8322  1 intel_agp
agpgart                17619  4 drm,ttm,intel_agp,intel_gtt
i2c_core               14640  2 drm,drm_kms_helper
parport                21431  2 ppdev,parport_pc
video                  10751  0
button                  3289  0

modules.dep : rootfs-justx_20220607.gz  /lib/modules/3.16.55-slitaz/modules.dep
modules.dep-roll : slitaz-rolling-5in1.iso      /lib/modules/3.16.55-slitaz/modules.dep            

modules.dep  - Module dependency information
( module name  : module dependency )


tux@slitaz:~$ modinfo ttm
filename:       /lib/modules/3.16.55-slitaz/kernel/drivers/gpu/drm/ttm/ttm.ko.xz
license:        GPL and additional rights
description:    TTM memory manager subsystem (for DRM device)
author:         Thomas Hellstrom, Jerome Glisse
depends:        drm,agpgart
intree:         Y
vermagic:       3.16.55-slitaz SMP mod_unload 686 


tux@slitaz:~$ modinfo vmwgfx
filename:       /lib/modules/3.16.55-slitaz/kernel/drivers/gpu/drm/vmwgfx/vmwgfx.ko.xz
version:        2.6.0.0
license:        GPL and additional rights
description:    Standalone drm driver for the VMware SVGA device
author:         VMware Inc. and others
srcversion:     6C37891CABACF60553E92F4
alias:          pci:v000015ADd00000405sv*sd*bc*sc*i*
depends:        ttm,drm,drm_kms_helper
intree:         Y
vermagic:       3.16.55-slitaz SMP mod_unload 686 
parm:           enable_fbdev:Enable vmwgfx fbdev (int)
parm:           force_dma_api:Force using the DMA API for TTM pages (int)
parm:           restrict_iommu:Try to limit IOMMU usage for TTM pages (int)
parm:           force_coherent:Force coherent TTM pages (int)
parm:           restrict_dma_mask:Restrict DMA mask to 44 bits with IOMMU (int)


tux@slitaz:~$ modinfo i915
filename:       /lib/modules/3.16.55-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.xz
license:        GPL and additional rights
description:    Intel Graphics
author:         Tungsten Graphics, Inc.
alias:          pci:v00008086d000022B3sv*sd*bc03sc*i*
alias:          pci:v00008086d000022B2sv*sd*bc03sc*i*
alias:          pci:v00008086d000022B1sv*sd*bc03sc*i*
[..]
alias:          pci:v00008086d00003577sv*sd*bc03sc*i*
depends:        drm_kms_helper,drm,intel-gtt,i2c-core,video,button,i2c-algo-bit
intree:         Y
vermagic:       3.16.55-slitaz SMP mod_unload 686 
parm:           modeset:Use kernel modesetting [KMS] (0=DRM_I915_KMS from .config, 1=on, -1=force vga console preference [default]) (int)
[..]


tux@slitaz:/tmp$ ls -l modules.dep*   
-rw-r--r-- 1 live users 20314 Jun  7 13:02 modules.dep
-rw-r--r-- 1 live users 25943 Jul  4 13:39 modules.dep-roll

tux@slitaz:/tmp$ cat modules.dep | wc -l
312
tux@slitaz:/tmp$ cat modules.dep-roll | wc -l
344

modules.dep  - Module dependency information
( module name : module dependency )

tux@slitaz:/tmp$ egrep 'ttm|i915|vmwgfx' modules.dep

tux@slitaz:/tmp$ egrep 'ttm|i915|vmwgfx' modules.dep-roll
kernel/drivers/gpu/drm/ttm/ttm.ko.xz: kernel/drivers/gpu/drm/drm.ko.xz kernel/drivers/char/agp/agpgart.ko.xz kernel/drivers/i2c/i2c-core.ko.xz
kernel/drivers/gpu/drm/radeon/radeon.ko.xz: kernel/drivers/i2c/algos/i2c-algo-bit.ko.xz kernel/drivers/gpu/drm/ttm/ttm.ko.xz kernel/drivers/gpu/drm/drm_kms_helper.ko.xz kernel/drivers/gpu/drm/drm.ko.xz kernel/drivers/hwmon/hwmon.ko.xz kernel/drivers/char/agp/agpgart.ko.xz kernel/drivers/i2c/i2c-core.ko.xz
kernel/drivers/gpu/drm/i915/i915.ko.xz: kernel/drivers/acpi/button.ko.xz kernel/drivers/acpi/video.ko.xz kernel/drivers/i2c/algos/i2c-algo-bit.ko.xz kernel/drivers/gpu/drm/drm_kms_helper.ko.xz kernel/drivers/gpu/drm/drm.ko.xz kernel/drivers/char/agp/intel-gtt.ko.xz kernel/drivers/char/agp/agpgart.ko.xz kernel/drivers/i2c/i2c-core.ko.xz
kernel/drivers/gpu/drm/mgag200/mgag200.ko.xz: kernel/drivers/i2c/algos/i2c-algo-bit.ko.xz kernel/drivers/gpu/drm/ttm/ttm.ko.xz kernel/drivers/gpu/drm/drm_kms_helper.ko.xz kernel/drivers/gpu/drm/drm.ko.xz kernel/drivers/char/agp/agpgart.ko.xz kernel/drivers/i2c/i2c-core.ko.xz kernel/drivers/video/fbdev/core/syscopyarea.ko.xz kernel/drivers/video/fbdev/core/sysfillrect.ko.xz kernel/drivers/video/fbdev/core/sysimgblt.ko.xz
kernel/drivers/gpu/drm/cirrus/cirrus.ko.xz: kernel/drivers/gpu/drm/ttm/ttm.ko.xz kernel/drivers/gpu/drm/drm_kms_helper.ko.xz kernel/drivers/gpu/drm/drm.ko.xz kernel/drivers/char/agp/agpgart.ko.xz kernel/drivers/i2c/i2c-core.ko.xz kernel/drivers/video/fbdev/core/syscopyarea.ko.xz kernel/drivers/video/fbdev/core/sysfillrect.ko.xz kernel/drivers/video/fbdev/core/sysimgblt.ko.xz
kernel/drivers/gpu/drm/vmwgfx/vmwgfx.ko.xz: kernel/drivers/gpu/drm/ttm/ttm.ko.xz kernel/drivers/gpu/drm/drm_kms_helper.ko.xz kernel/drivers/gpu/drm/drm.ko.xz kernel/drivers/char/agp/agpgart.ko.xz kernel/drivers/i2c/i2c-core.ko.xz
kernel/drivers/gpu/drm/nouveau/nouveau.ko.xz: kernel/drivers/platform/x86/mxm-wmi.ko.xz kernel/drivers/platform/x86/wmi.ko.xz kernel/drivers/acpi/button.ko.xz kernel/drivers/acpi/video.ko.xz kernel/drivers/i2c/algos/i2c-algo-bit.ko.xz kernel/drivers/gpu/drm/ttm/ttm.ko.xz kernel/drivers/gpu/drm/drm_kms_helper.ko.xz kernel/drivers/gpu/drm/drm.ko.xz kernel/drivers/hwmon/hwmon.ko.xz kernel/drivers/char/agp/agpgart.ko.xz kernel/drivers/i2c/i2c-core.ko.xz
kernel/drivers/gpu/drm/ast/ast.ko.xz: kernel/drivers/i2c/algos/i2c-algo-bit.ko.xz kernel/drivers/gpu/drm/ttm/ttm.ko.xz kernel/drivers/gpu/drm/drm_kms_helper.ko.xz kernel/drivers/gpu/drm/drm.ko.xz kernel/drivers/char/agp/agpgart.ko.xz kernel/drivers/i2c/i2c-core.ko.xz kernel/drivers/video/fbdev/core/syscopyarea.ko.xz kernel/drivers/video/fbdev/core/sysfillrect.ko.xz kernel/drivers/video/fbdev/core/sysimgblt.ko.xz
tux@slitaz:/tmp$ 

Slitaz-41 - rootfs-justx-0714.gz

rootfs-justx-0714.gz



rootfs-justx-0714.gz 27M

based on justx of slitaz-rolling-core-5in1.iso (20220704)
update gcc-lib-base, glibc-base, xorg-server, xorg-xf86-video-*, xorg-xf86-input-* ...

more detail refer to:
$ tail -27 /var/log/slitaz/tazpkg.log


tux@slitaz:~$ tazpkg -l | egrep 'gcc|glib|server|dbus|udev'
dbus                               1.12.20           x-window
dbus-glib                          0.110             x-window
dbus-helper                        1.12.20           development
gcc-lib-base                       10.2.0            development
glib                               2.43.3            x-window
glibc-base                         2.33              base-system
udev                               182               base-system
xorg-server                        1.20.14           x-window

tux@slitaz:~$ /lib/libc.so.6
GNU C Library (GNU libc) release release version 2.33.
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 10.2.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://www.gnu.org/software/libc/bugs.html>.

tux@slitaz:~$ df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 1.9G    101.2M      1.7G   6% /
tmpfs                     1.7G    244.0K      1.7G   0% /run
tmpfs                     1.7G    244.0K      1.7G   0% /var/run
devtmpfs                  1.7G         0      1.7G   0% /dev
tmpfs                     1.7G         0      1.7G   0% /dev/shm
tmpfs                     1.7G      4.0K      1.7G   0% /var/lock

tux@slitaz:~$ slitaz

SliTaz GNU/Linux
========================================================================
Release      : 5.0
Architecture : i486
Kernel       : 3.16.55-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    : 162 packages
Mirror       : http://192.168.0.191/packages/
System date  : Thu Jul 14 13:23:32 EDT 2022
--------------
Boot options : root=/dev/sdb2 autologin
========================================================================

tux@slitaz:~$ tazpkg

SliTaz package manager - Version: 944
=========================================================================
  Installed packages:    162
  Installed files:       4007
  Blocked packages:      0
  Upgradeable packages:  0

  Repository:            Main
  Last recharge:         4 days ago.
  Database timestamp:    06/30/22 09:24
  Mirrored packages:     413
=========================================================================

tux@slitaz:~$ lsmod
Module                  Size  Used by
ipv6                  213160  24
ppdev                   4154  0
vmwgfx                115863  1
ttm                    50906  1 vmwgfx
drm_kms_helper         23610  1 vmwgfx
drm                   161345  5 ttm,drm_kms_helper,vmwgfx
e1000                  78776  0
intel_agp               7740  0
parport_pc             14485  0
intel_gtt               8322  1 intel_agp
agpgart                17619  4 drm,ttm,intel_agp,intel_gtt
i2c_core               14640  2 drm,drm_kms_helper
parport                21431  2 ppdev,parport_pc
video                  10751  0
button                  3289  0

tux@slitaz:~$ ps | grep -A30 992
  992 root      0:00 udevd --daemon
  997 root      0:00 [kworker/7:1H]
 1085 root      0:00 syslogd -s 60
 1107 root      0:00 klogd
 1342 root      0:00 [ttm_swap]
 1366 root      0:00 /sbin/udhcpc -b -T 1 -A 12 -i eth0 -p /var/run/udhcpc.eth0.pid
 1396 messageb  0:00 /usr/bin/dbus-daemon --system
 1453 root      0:00 [ipv6_addrconf]
 1454 root      0:00 /usr/sbin/dropbear -b /etc/dropbear/banner
 1488 root      0:00 /usr/bin/slim -d
 1493 root      0:02 /usr/libexec/Xorg -auth /var/run/slim.auth vt07
 1497 tux       0:00 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
 1538 tux       0:00 dbus-launch --sh-syntax --exit-with-session openbox-session
 1539 tux       0:00 /usr/bin/dbus-daemon --syslog --fork --print-pid 6 --print-address 8 --session
 1555 tux       0:03 xterm
 1557 tux       0:00 sh
 1558 root      0:00 /sbin/getty 38400 tty1
 1559 root      0:00 /sbin/getty 38400 tty2
 1560 root      0:00 /sbin/getty 38400 tty3
 1561 root      0:00 /sbin/getty 38400 tty4
 1562 root      0:00 /sbin/getty 38400 tty5
 1563 root      0:00 /sbin/getty 38400 tty6
 2130 root      0:00 [kworker/u16:3]
 2189 root      0:00 [kworker/u16:1]
 2205 root      0:00 /usr/sbin/dropbear -b /etc/dropbear/banner -2
 2207 root      0:00 -sh
 2263 root      0:00 [kworker/u16:0]
 2270 root      0:00 udevd --daemon
 2271 root      0:00 udevd --daemon
--
 2275 tux       0:00 grep -A30 992


tux@slitaz:~$ tail -27 /var/log/slitaz/tazpkg.log
2022-07-04 13:37:12 - Installed - zlib (1.2.12) - 634211eca8ec5844bf8e0565c70f5d5f
2022-07-10 10:04:41 - Installed - glibc-base (2.14.1) - b171ed07f02dfaa8b5a5f1214847a15c
2022-07-10 10:08:17 - Installed - glibc-base (2.14.1) - b171ed07f02dfaa8b5a5f1214847a15c
2022-07-10 10:20:40 - Installed - glibc-base (2.33) - 27d9fcad50904fda89472d30e5f086ed
2022-07-10 06:23:18 - Installed - gcc-lib-base (10.2.0) - 48fd869fb017d818f378c2ec9d4ce0eb
2022-07-10 06:24:41 - Removed - gcc83-lib-base (8.3.0)
2022-07-10 06:27:42 - Installed - gcc-lib-base (10.2.0) - 48fd869fb017d818f378c2ec9d4ce0eb
2022-07-10 06:41:22 - Removed - xorg-server (1.12.4)
2022-07-10 06:41:50 - Installed - eudev (3.2.11) - c60ed7ed6ac74c8b67aa7dd685731cd3
2022-07-10 06:41:50 - Installed - xorg-libxshmfence (1.3) - f63284a343b1552d21764f55372cea1b
2022-07-10 06:41:50 - Installed - xorg-libXaw (1.0.13) - badd13a0a624f805b9e394f9f270af43
2022-07-10 06:41:51 - Installed - xorg-libdmx (1.1.4) - ccfe755710163a79d11007513f63d741
2022-07-10 06:41:51 - Installed - xorg-server (1.20.14) - 41bbc5de10080a622e27abd8cc6bddbf
2022-07-10 06:43:59 - Installed - libcrypto (1.1.1n) - 0b3a189b26b8733a5f82f433b6429f43
2022-07-10 06:47:11 - Installed - xorg-libXfont (2.0.4) - 11aaa0f273060db7602b7b5d318ed5a1
2022-07-10 06:49:31 - Installed - libpng (1.6.37) - 7d492a46d2baf19de58f1cf096bdd751
2022-07-10 07:27:00 - Installed - xorg-xf86-video-vesa (2.5.0) - 42790a696f507c41b8c06859902d9857
2022-07-10 07:27:01 - Installed - xorg-xf86-video-fbdev (0.5.0) - 9cc147fbe441f4d0fc997ff442f8ed49
2022-07-10 07:28:56 - Installed - xorg-xf86-input-evdev (2.10.6) - d10382f176ad0287ad6b171b23a2792a
2022-07-10 07:28:57 - Installed - xorg-libXxf86vm (1.1.4) - eb26fc044372dd495138fac5d000112e
2022-07-10 07:38:48 - Installed - xorg-libXxf86misc (1.0.4) - efe5404161bfe11f2f479e4d474b7c46
2022-07-10 07:38:48 - Installed - xorg-libXxf86dga (1.1.5) - d40de0534c15f03f9665aa635151fa99
2022-07-13 16:56:19 - Installed - libinput (1.16.4) - e976910379a964659b36c130e2289aef
2022-07-13 16:56:19 - Installed - xorg-xf86-input-libinput (0.30.0) - 06d3887d50718435782407473764c495
2022-07-13 17:12:33 - Installed - libepoxy (1.5.5) - 4f24816069eee30a32a29f91508cd961
2022-07-14 12:57:00 - Removed - eudev (3.2.11)
2022-07-14 17:01:56 - Installed - udev (182) - 414262f026208ad3a45e7854c936f5e5
tux@slitaz:~$

2022-06-28

m3400 -- slack-neofetch

m3400 -- slack-neofetch





live@darkstar:~$ neofetch
                  :::::::                      live@darkstar.home.arpa 
            :::::::::::::::::::                ----------------------- 
         :::::::::::::::::::::::::             OS: Slackware 15.0 x86_64 x86_64 
       ::::::::cllcccccllllllll::::::          Host: ASUSTeK COMPUTER INC. M3400QA 
    :::::::::lc               dc:::::::        Kernel: 5.15.1 
   ::::::::cl   clllccllll    oc:::::::::      Uptime: 5 hours, 23 mins 
  :::::::::o   lc::::::::co   oc::::::::::     Packages: 702 (pkgtool) 
 ::::::::::o    cccclc:::::clcc::::::::::::    Shell: bash 5.1.8 
 :::::::::::lc        cclccclc:::::::::::::    Resolution: 1920x1200 
::::::::::::::lcclcc          lc::::::::::::   DE: Xfce 4.16 
::::::::::cclcc:::::lccclc     oc:::::::::::   WM: Xfwm4 
::::::::::o    l::::::::::l    lc:::::::::::   WM Theme: Default 
 :::::cll:o     clcllcccll     o:::::::::::    Theme: Greybird [GTK2], Adwaita [GTK3] 
 :::::occ:o                  clc:::::::::::    Icons: elementary-xfce-dark [GTK2], Adwaita [GTK3] 
  ::::ocl:ccslclccclclccclclc:::::::::::::     Terminal: xfce4-terminal 
   :::oclcccccccccccccllllllllllllll:::::      Terminal Font: Monospace 12 
    ::lcc1lcccccccccccccccccccccccco::::       CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz 
      ::::::::::::::::::::::::::::::::         GPU: AMD ATI Device 1638 
        ::::::::::::::::::::::::::::           Memory: 5165MiB / 15472MiB 
           ::::::::::::::::::::::
                ::::::::::::                                           
                                                                       

live@darkstar:~$ slack

Slackware GNU/Linux
==================================================================================
Release      : 15.0
Architecture : x86_64
Kernel       : 5.15.1
Machine type : x86_64
Home path    : /home/live
Configs      : /etc/slack
Main config  : /etc/slack/slack.conf
Log files    : /var/lib/slackpkg/install.log
Packages DB  : /var/lib/slackpkg/
Installed    : 702 packages
Mirror       : http://ftp.twaren.net/Linux/Slackware/slackware64-current/
System date  : Tue Jun 28 15:23:30 UTC 2022
--------------
Boot options : BOOT_IMAGE=/liveslak/boot/generic-5.15.1 load_ramdisk=1 rw kbd=us tz=UTC locale=en_US.utf8 lang=english livemain=liveslak
==================================================================================

live@darkstar:~$ 

slitaz-41 -- CmakeLists.txt-patch

 

slitaz-41 -- CmakeLists.txt-patch

+#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




|--- 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).

patch -p1 should be patch -p0

https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/7#post-50854


root@slitaz:~# cat /home/slitaz/wok/slim/stuff/slim-1.3.6.patch 

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

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

@@ -224,7 +224,7 @@

 ####### install

 # slim

 install(TARGETS slim RUNTIME DESTINATION bin)

-install(TARGETS slimlock RUNTIME DESTINATION bin)

+#install(TARGETS slimlock RUNTIME DESTINATION bin)

 

 if (BUILD_SHARED_LIBS)

  set_target_properties(libslim PROPERTIES


----

disable slimlock

-install(TARGETS slimlock RUNTIME DESTINATION bin)

+install(TARGETS RUNTIME DESTINATION bin)





2022-06-27

slitaz-41 -- slim-cmake-lpthreads


slitaz-41 -- slim-cmake-lpthreads 

Building error using cmake: cannot find -lpthreads

Hint: search for the actual error message

The one for "-lpthreads" just accidentally happened to be the last one in the log...


Solution: go through the log from the top, identify the section with the configure checks, find the last configure check prior to the point, where CMake identifies failure and dumps its logs. You might also try so search for the text "Configuring incomplete, errors occurred!"



I fight with slim :/.

Issue with cmake build :

-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- 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
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!

Run Build Command(s):/usr/bin/make -f Makefile cmTC_88b6c/fast && /usr/bin/make -f CMakeFiles/cmTC_88b6c.dir/build.make CMakeFiles/cmTC_88b6c.dir/build
make[1]: Entering directory '/home/slitaz/wok/slim/source/slim-1.3.6/build/CMakeFiles/CMakeTmp'
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
Linking C executable cmTC_88b6c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88b6c.dir/link.txt --verbose=1
/usr/bin/cc -march=i486 -Os -pipe -fomit-frame-pointer -Wall -g -O2 -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_88b6c.dir/CheckFunctionExists.c.o -o cmTC_88b6c -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_88b6c.dir/build.make:99: cmTC_88b6c] Error 1
make[1]: Leaving directory '/home/slitaz/wok/slim/source/slim-1.3.6/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:127: cmTC_88b6c/fast] Error 2


https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/5#post-50768 


Asked 
Viewed 112k times
45

I have c++ project that was smoothly running on a given machine, and now I am trying to compile it on another one with the same operating system (Xubuntu 14.04).

I've installed all the dependencies and I'am using cmake to build the project, although it stops with the following error:

Determining if the function pthread_create exists in the pthreads failed with the following output: ... /usr/bin/ld: cannot find -lpthreads



 


 


 

9 Answers

31

The problem was happening when running cmake. Though, in this case cmake was not the problem the error was silent and the -lpthreads related error/warning was the only thing being written to the cmake error log file, although that was not causing any issue. I've done a minimal version of the cmakelists.txt and started testing it line by line until I found which package was causing it to stop: finally I found it was a version mismatch...

Hint: search for the actual error message

Typically you'd look for the last error message. However, this (often useful) strategy in such cases leads astray.

What you are looking at is the CMakeCache.txt, the CMakeOutput.log or the CMakeError.logHow comes? When some of the macros or tests in the configure phase fails, CMake "helpfully" dumps these files to the output. Unfortunately, these files can be thousands of lines long, and typically contain lots of "*** Error: xyz" entries, for various configure checks. The one for "-lpthreads" just accidentally happened to be the last one in the log...

Solution: go through the log from the top, identify the section with the configure checks, find the last configure check prior to the point, where CMake identifies failure and dumps its logs. You might also try so search for the text "Configuring incomplete, errors occurred!"

Typically you'll either find a very precise actual error message there, or at least you find the name / path of the macro or function called last, and this allows you to pinpoint down what actually went wrong.