Showing posts with label fix. Show all posts
Showing posts with label fix. Show all posts

2025-01-26

current64 - libreoffice-jre

current64 - libreoffice-jre



$ libreoffice --writer
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]

(soffice:5557): Gtk-WARNING **: 11:54:16.597: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.


1.
$ export PYTHONHOME=/usr/lib/libreoffice/libreoffice24.8/program/python-core-3.9.21

2.
$ sudo tazpkg -gi librsvg
Password:
Package "librsvg-2.52.5-x86_64" already in the cache

Installation of package "librsvg"
==============================================

SVG Rendering Library
--------------------------------------------------------------------------------
Copying package... [ Done ]
Extracting package... [ Done ]
Remember modified packages... [ Done ]
Installing package... [ Done ]
Removing all tmp files... [ Done ]
Execute post-install commands...
Updating gdk pixbuf loaders cache file... [ Done ]
[ Done ]
Update system databases... [ Done ]
==============================================
$ gdk-pixbuf-query-loaders | grep svg
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
"svg" 6 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL"
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" ""
"svg" "svgz" "svg.gz" ""
" <svg" "* " 100
" <!DOCTYPE svg" "* " 100

$ ls -l /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
total 260
-rwxr-xr-x 1 root root 22880 Jan 9 08:56 libpixbufloader-ani.so
-rwxr-xr-x 1 root root 18720 Jan 9 08:56 libpixbufloader-bmp.so
-rwxr-xr-x 1 root root 27104 Jan 9 08:56 libpixbufloader-gif.so
-rwxr-xr-x 1 root root 14640 Jan 9 08:56 libpixbufloader-icns.so
-rwxr-xr-x 1 root root 22984 Jan 9 08:56 libpixbufloader-ico.so
-rwxr-xr-x 1 root root 18728 Jan 9 08:56 libpixbufloader-pnm.so
-rwxr-xr-x 1 root root 14616 Jan 9 08:56 libpixbufloader-qtif.so
-rwxr-xr-x 1 root root 14584 Jan 9 18:08 libpixbufloader-svg.so
-rwxr-xr-x 1 root root 18736 Jan 9 08:56 libpixbufloader-tga.so
-rwxr-xr-x 1 root root 22976 Jan 9 08:56 libpixbufloader-tiff.so
-rwxr-xr-x 1 root root 14640 Jan 9 08:56 libpixbufloader-xbm.so
-rwxr-xr-x 1 root root 35248 Jan 9 08:56 libpixbufloader-xpm.so

3.
$ sudo tazpkg -i /root/ibm-semeru-open-8-jre-1.8.0.432.b06_x86_64.tazpkg
Password:

Installation of package "ibm-semeru-open-8-jre"
=================================================

IBM Semeru Runtime Open Edition (OpenJDK 1.8.0_432-b06 with Eclipse OpenJ9 0.48.0)
--------------------------------------------------------------------------------
Copying package... [ Done ]
Extracting package... [ Done ]
Remember modified packages... [ Done ]
Installing package... [ Done ]
Removing all tmp files... [ Done ]
=================================================

Package "ibm-semeru-open-8-jre" (1.8.0.432.b06) is installed.

$ export JAVA_HOME=/usr/lib/jvm/ibm-semeru-open-8-jre
$ export PATH=$PATH:$JAVA_HOME/bin
$ java -version
openjdk version "1.8.0_432"
IBM Semeru Runtime Open Edition (build 1.8.0_432-b06)
Eclipse OpenJ9 VM (build openj9-0.48.0, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20241107_1079 (JIT enabled, AOT enabled)
OpenJ9 - 1d5831436e
OMR - d10a4d553
JCL - 306866566f based on jdk8u432-b06)

4.
$ libreoffice --writer 


----

$ libreoffice --version
LibreOffice 24.8.4.2 bb3cfa12c7b1bf994ecc5649a80400d06cd71002 

# Extract everything from RPMS

cd $TEMP_DIR/${TARBALL_NAME/$VERSION/$ARCHIVED_VERSION}/RPMS

for i in *.rpm

do

if (! echo $i | egrep -qi $EXCLUDE); then

echo -n "."

(rpm2cpio $i | cpio -id >> $LOG 2>&1 ) && rm  -f $i

fi

done

rpm2cpio libobasis*-gnome-integration*.rpm | cpio -id >> $LOG 2>&1

 

https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/34#post-52948

2022-06-16

slitaz-41 - pango - gcc-float128

 unexpected identifier in ' __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));' at '__float128'

[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

https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/6?replies=84#post-50803 

slitaz-41- gcc - fixincludes

 

gcc - fixincludes

I begin check and maybe issue about autoconf, but it's very strange.
with glibc-2.30 no problem, with glibc >, failed systematically :/
I bump autoconf to 2.71 (same as LFS 10.1), but error again.
The main error seem about "two or more data types in declaration specifiers",
seem https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94089 good trace
https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/3?replies=84#post-50701 

In case no problem in glibc compilation, it's after glibc compiled
binutils "first pass" ok
gcc first pass ok
glibc (locale,extra-samba,base,dev) ok
binutils "second pass" failed
gcc second pass failed 'due of binutils previous failed'
But with glibc-2.30 all step work.

seem https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94089 good trace

Try:

Comment 1

If you use a gcc with a different glibc, you need to rerun fixincludes. Fixincludes is installed too.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94089#c1

or


# Do not run fixincludes

sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gcc10#n43


https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/3?replies=84#post-50704

 

2021-04-05

teamviewer



/lib/libc.so.6: version `GLIBC_2.17' not found (required by /opt/teamviewer/tv_bin/teamviewerd)

    libQt5WebKitWidgets.so.5 => not found
    libQt5X11Extras.so.5 => not found
    libQt5WebKit.so.5 => not found
    libQt5Quick.so.5 => not found
    libQt5Qml.so.5 => not found
    libQt5Widgets.so.5 => not found


1. teamviewer-15.16.8
root@slitaz:~# ldd /opt/teamviewer/tv_bin/teamviewerd
/opt/teamviewer/tv_bin/teamviewerd: /lib/libc.so.6: version `GLIBC_2.17' not found (required by /opt/teamviewer/tv_bin/teamviewerd)
    libdl.so.2 => /lib/libdl.so.2 (0xb77b3000)
    librt.so.1 => /lib/librt.so.1 (0xb77a9000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb778e000)
    libm.so.6 => /lib/libm.so.6 (0xb7760000)
    libc.so.6 => /lib/libc.so.6 (0xb75e7000)
    /lib/ld-linux.so.2 (0xb77b9000)


2. teamviewer-13.2.258818
Linux (v13.2.258818)
https://download.teamviewer.com/download/linux/version_13x/teamviewer_i386.deb

DEPENDS="alsa-lib bash xorg-libXext zlib"

root@slitaz:~# ldd /opt/teamviewer/tv_bin/TeamViewer
    libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb7714000)
    librt.so.1 => /lib/librt.so.1 (0xb770a000)
    libdl.so.2 => /lib/libdl.so.2 (0xb7705000)
    libQt5WebKitWidgets.so.5 => not found
    libQt5X11Extras.so.5 => not found
    libQt5DBus.so.5 => /usr/lib/libQt5DBus.so.5 (0xb7649000)
    libQt5WebKit.so.5 => not found
    libQt5Quick.so.5 => not found
    libQt5Qml.so.5 => not found
    libQt5Widgets.so.5 => not found
    libQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0xb743c000)
    libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0xb6d1a000)
    libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0xb66cc000)
    libm.so.6 => /lib/libm.so.6 (0xb669e000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb6682000)
    libc.so.6 => /lib/libc.so.6 (0xb650a000)
    /lib/ld-linux.so.2 (0xb7762000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb63d0000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb63b5000)
    libz.so.1 => /usr/lib/libz.so.1 (0xb639f000)
    libGL.so.1 => /usr/lib/libGL.so.1 (0xb6340000)
    libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb631c000)
    libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0xb626e000)
    libicui18n.so.54 => /usr/lib/libicui18n.so.54 (0xb604e000)
    libicuuc.so.54 => /usr/lib/libicuuc.so.54 (0xb5eeb000)
    libicudata.so.54 => /usr/lib/libicudata.so.54 (0xb46be000)
    libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb46b9000)
    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb45c1000)
    libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb45a1000)
    libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb459c000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb4594000)
    libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb458f000)
    libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb4573000)
    libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0xb456c000)
    libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb4565000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0xb4552000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0xb4432000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb4408000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0xb4403000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb43fc000)
    libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb43ea000)
    libpcre.so.1 => /usr/lib/libpcre.so.1 (0xb4387000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb42f2000)
    libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0xb42df000)
root@slitaz:~#

----
Available packages
-----------------------------------------------------------------------------------
libQt5Core              5.14.2            development
libQt5DBus              5.14.2            development
libQt5Designer          5.14.2            development
libQt5Gui               5.14.2            development
libQt5Help              5.14.2            development
libQt5Multimedia        5.14.2            development
libQt5Network           5.14.2            development
libQt5OpenGL            5.14.2            development
libQt5Plugins           5.14.2            development
libQt5Script            5.14.2            development
libQt5ScriptTools       5.14.2            development
libQt5Sql               5.14.2            development
libQt5Svg               5.14.2            development
libQt5Test              5.14.2            development
libQt5Xml               5.14.2            development
===================================================================================
15 available packages found for "libQt5"

https://forum.slitaz.org/topic/teamviewer-installation#post-49952 

2020-05-21

Next -- should define /var/run to be equivalent to /run



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-04-20

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.o
[ 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
http://cook.slitaz.org/index.cgi?pkg=openal


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:~$

2018-11-24

Next -- lxpanel Segmentation fault


lxpanel Segmentation fault

root@slitaz:~# lxpanel -p slitaz
Segmentation fault

root@slitaz:~# tazpkg info lxpanel


TazPkg information
================================================================================
Package : lxpanel
State : installed package
Version : 0.9.3.postgit20180412
Category : x-window
Short desc : LXDE panel
Maintainer : pankso@slitaz.org
License : GPL2
Depends : alsa-lib cairo gdk-pixbuf glib gtk2 libfm libfm-gtk keybinder
libwnck2 libxml2 menu-cache pango wireless_tools xorg-libX11
slitaz-menus
Suggested : lxde lxsession slitaz-icon
Web site : https://wiki.lxde.org/en/LXPanel
Size : 196K/824K
Tags : LXDE gtk2 panel
================================================================================

2018-11-22

Next -- tazpkg upgrade




tazpkg upgrade

(EE) intel: module ABI major version (23) doesn't match the server's version (24)
(EE) Failed to load module "intel" (module requirement mismatch, 0)

1. upgrade slitaz-next-170930.iso
tux@slitaz:~$ uname -a
Linux slitaz 4.9.30-slitaz #2 SMP Fri Jun 16 13:58:14 Europe 2017 i686 GNU/Linux
tux@slitaz:~$ sudo tazpkg upgrade
Password:

Recharging repository "Main"
================================================================================
Checking... [ Done ]
Database timestamp: 11/12/2018 04:43
================================================================================
Repository "Main" is up to date.
[..]

You have 277 available upgrades (0 blocked)

322 installed packages scanned in 2s
Do you wish to install them now? (y/N) y
915resolution-0.5.3. 100% |*******************************| 8064 0:00:00 ETA
[..]


2. reboot
root@slitaz:~# uname -a
Linux slitaz 4.17.7-slitaz #2 SMP Sat Jul 21 08:34:51 Europe 2018 i686 GNU/Linux

root@slitaz:~# X -version

X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
Build Operating System: SliTaz GNU/Linux
Current Operating System: Linux slitaz 4.17.7-slitaz #2 SMP Sat Jul 21 08:34:51 Europe 2018 i686
Kernel command line: root=/dev/null autologin
Build Date: 02 September 2018 10:59:13PM
Current version of pixman: 0.34.0
Before reporting problems, check http://www.slitaz.org/
to make sure that you have the latest version.

root@slitaz:~# grep -A 25 intel /var/log/Xorg.0.log
[ 27.182] (==) Matched intel as autoconfigured driver 0
[ 27.182] (==) Matched modesetting as autoconfigured driver 1
[ 27.182] (==) Matched fbdev as autoconfigured driver 2
[ 27.182] (==) Matched vesa as autoconfigured driver 3
[ 27.182] (==) Assigned the driver to the xf86ConfigLayout
[ 27.182] (II) LoadModule: "intel"
[ 27.182] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 27.182] (II) Module intel: vendor="X.Org Foundation"
[ 27.182] compiled for 1.19.3, module version = 2.99.917
[ 27.182] Module class: X.Org Video Driver
[ 27.182] ABI class: X.Org Video Driver, version 23.0
[ 27.182] (EE) intel: module ABI major version (23) doesn't match the server's version (24)
[ 27.182] (EE) Failed to load module "intel" (module requirement mismatch, 0)

[ 27.182] (II) LoadModule: "modesetting"
[ 27.182] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 27.182] (II) Module modesetting: vendor="X.Org Foundation"
[ 27.182] compiled for 1.20.1, module version = 1.20.1
[ 27.182] Module class: X.Org Video Driver
[ 27.182] ABI class: X.Org Video Driver, version 24.0
[ 27.182] (II) LoadModule: "fbdev"
[ 27.182] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 27.183] (II) Module fbdev: vendor="X.Org Foundation"
[ 27.183] compiled for 1.19.3, module version = 0.5.0
[ 27.183] Module class: X.Org Video Driver
[ 27.183] ABI class: X.Org Video Driver, version 23.0
[ 27.183] (EE) fbdev: module ABI major version (23) doesn't match the server's version (24)
[ 27.183] (EE) Failed to load module "fbdev" (module requirement mismatch, 0)

[ 27.183] (II) LoadModule: "vesa"
[ 27.183] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 27.183] (II) Module vesa: vendor="X.Org Foundation"
[ 27.183] compiled for 1.19.3, module version = 2.4.0
[ 27.183] Module class: X.Org Video Driver
[ 27.183] ABI class: X.Org Video Driver, version 23.0
[ 27.183] (EE) vesa: module ABI major version (23) doesn't match the server's version (24)
[ 27.183] (EE) Failed to load module "vesa" (module requirement mismatch, 0)

[ 27.183] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 27.183] (++) using VT number 7

Next - libglx.so: undefined symbol: glxServer



slitaz-next-170930.iso

/lib/libc.so.6: version `GLIBC_2.26' not found (required by /usr/lib/xorg/modules/extensions/libglx.so)

/usr/lib/xorg/modules/extensions/libglx.so: undefined symbol: glxServer


1.

tux@slitaz:~$ uname -a
Linux slitaz 4.9.30-slitaz #2 SMP Fri Jun 16 13:58:14 Europe 2017 i686 GNU/Linux

tux@slitaz:~$ tazpkg
SliTaz package manager - Version: 950
================================================================================
Installed packages:    322
Installed files:       7509
Blocked packages:      0
Upgradeable packages:  0

Repository:            Main
Last recharge:         Today at 20:55.
Database timestamp:    11/12/2018 04:43
Mirrored packages:     6186
================================================================================

$ sudo tazpkg -gi xorg-server-module-glamor
$ sudo tazpkg -gi mesa-dri mesa-demos libatomic mesa-libegl


2. relogin
tux@slitaz:~$ grep glx /var/log/Xorg.0.log
[ 737.926] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: /lib/libc.so.6: version `GLIBC_2.26' not found (required by /usr/lib/xorg/modules/extensions/libglx.so)

tux@slitaz:~$ tazpkg -l | grep glibc
glibc-base 2.25 base-system

tux@slitaz:~$ sudo tazpkg -gi glibc-base --forced


3. relogin - glibc-2.26
tux@slitaz:~$ glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig

tux@slitaz:~$ grep -i glx /var/log/Xorg.0.log
[ 915.450] (II) LoadModule: "glx"
[ 915.451] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 915.454] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: /usr/lib/xorg/modules/extensions/libglx.so: undefined symbol: glxServer
[ 915.454] (II) UnloadModule: "glx"
[ 915.454] (II) Unloading glx
[ 915.454] (EE) Failed to load module "glx" (loader failed, 7)


4.
tux@slitaz:~$ tazpkg -l | egrep 'glibc|xorg-server'

glibc-base                         2.26              base-system
xorg-server                        1.19.3            x-window
xorg-server-module-glamor          1.20.1            x-window
tux@slitaz:~$

2018-03-29

Next64 -- lzma-lzlib.u



lzma - lzlib.u
/usr/bin/ld: BranchX86.o: relocation R_X86_64_32S against symbol `kMaskToBitNumber' can not be used when making a shared object; recompile with -fPIC
lzma - stuff/lzlib.u
http://cook.slitaz.org/next64/lzma/stuff/lzlib.u

--- CPP/7zip/Compress/LZMA_Alone/makefile.gcc
+++ CPP/7zip/Compress/LZMA_Alone/makefile.gcc
@@ -1,6 +1,6 @@
 PROG = lzma
-CXX = g++ -O2 -Wall
-CXX_C = gcc -O2 -Wall
+CXX = g++ -s -O2 -Wall -fPIC
+CXX_C = gcc -s -O2 -Wall -fPIC
 LIB = -lm
 RM = rm -f
 CFLAGS = -c

2018-03-27

Next64 -- Dependencies loop


TazPkg administration and settings
Quick check - Dependencies loop

tux@slitaz:~$ tazpkg

SliTaz package manager - Version: 962
================================================================================
  Installed packages:    351
  Installed files:       7099
  Blocked packages:      0
  Upgradeable packages:  0

  Repository:            Main
  Last recharge:         Yesterday at 16:42.
  Database timestamp:    03/23/18 15:39
  Mirrored packages:     1501
================================================================================

tux@slitaz:~$ 


Quick check - Dependencies loop

Package cairo-1.14.8
Dependencies loop between package and:
  harfbuzz

Package fontconfig-2.12.4
Dependencies loop between package and:
  cairo

Package freetype-2.8
Dependencies loop between package and:
  libharfbuzz
  cairo

Package harfbuzz-1.4.8
Dependencies loop between package and:
  freetype
  cairo

Package jpeg-9b
The package has been modified by:
  jpeg-turbo
Dependencies loop between package and:
  libjpeg

Package libharfbuzz-1.4.8
Dependencies loop between package and:
  harfbuzz

Package libjpeg-9b
Dependencies loop between package and:
  jpeg

Package slitaz-boot-scripts-444
Dependencies loop between package and:
  slitaz-tools

Package slitaz-tools-1024
Dependencies loop between package and:
  slitaz-boot-scripts

Package util-linux-blkid-2.30.1
The package has been modified by:
  busybox
Dependencies loop between package and:
  util-linux-mount

2018-03-22

Next64 -- cooker ncftp




 

Update:
Please take a look at this line:
http://hg.slitaz.org/cookutils/file/1040/cook#l985

985 find fs -newer $receipt -exec touch -hr $receipt '{}' \;
And it was introduced the first time here:
http://hg.slitaz.org/cookutils/rev/861
cook: normalize file time
Sun Jan 08 14:29:40 2017 +0100 (14 months ago)
Files in the package can't be newer than receipt.


ncftp: A File Transfer Protocol client.
http://cook.slitaz.org/next64/ncftp

Cook date  2018-03-21 22:11
-rwxr-xr-x    1 root     root        228656 Oct 17 08:15 /usr/bin/ncftp

drwxr-xr-x    2 root     root          4096 Mar 21 22:11 /etc/

Summary for: ncftp 3.2.5-x86_64
Src file  ncftp-3.2.5-src.tar.bz2
Src size  448.0K
Source dir  5.9M
Produced  992.0K
Cook time  52s ~ 1m
Cook date  2018-03-21 22:11
Target arch x86_64

http://cook.slitaz.org/next64/ncftp/browse/install/usr/bin/
permissions·lnk·user    ·group   ·     size·date & time ·name
drwxr-xr-x    3 root     root          4096 Oct 17 08:15 / 
drwxr-xr-x    3 root     root          4096 Oct 17 08:15 /usr/ 
drwxr-xr-x    2 root     root          4096 Oct 17 08:15 /usr/bin/ 
-rwxr-xr-x    1 root     root        228656 Oct 17 08:15 /usr/bin/ncftp 
-rwxr-xr-x    2 root     root        162992 Oct 17 08:15 /usr/bin/ncftpbatch 
-rwxr-xr-x    1 root     root        110544 Oct 17 08:15 /usr/bin/ncftpbookmarks 
-rwxr-xr-x    1 root     root        158864 Oct 17 08:15 /usr/bin/ncftpget 
-rwxr-xr-x    1 root     root        130032 Oct 17 08:15 /usr/bin/ncftpls 
-rwxr-xr-x    1 root     root        154768 Oct 17 08:15 /usr/bin/ncftpput 
-rwxr-xr-x    2 root     root        162992 Oct 17 08:15 /usr/bin/ncftpspooler 


http://cook.slitaz.org/next64/ncftp/files
Contents of package “ncftp-3.2.5” (940K):

permissions·lnk·user    ·group   ·     size·date & time ·name
drwxr-xr-x    3 root     root          4096 Oct 17 08:15 /
drwxr-xr-x    3 root     root          4096 Oct 17 08:15 /usr/
drwxr-xr-x    2 root     root          4096 Oct 17 08:15 /usr/bin/
-rwxr-xr-x    1 root     root        228656 Oct 17 08:15 /usr/bin/ncftp
-rwxr-xr-x    2 root     root        162992 Oct 17 08:15 /usr/bin/ncftpbatch
-rwxr-xr-x    1 root     root        110544 Oct 17 08:15 /usr/bin/ncftpbookmarks
-rwxr-xr-x    1 root     root        158864 Oct 17 08:15 /usr/bin/ncftpget
-rwxr-xr-x    1 root     root        130032 Oct 17 08:15 /usr/bin/ncftpls
-rwxr-xr-x    1 root     root        154768 Oct 17 08:15 /usr/bin/ncftpput
-rwxr-xr-x    2 root     root        162992 Oct 17 08:15 /usr/bin/ncftpspooler 

Unpackaged empty folders:

permissions·lnk·user    ·group   ·     size·date & time ·name
drwxr-xr-x    2 root     root          4096 Mar 21 22:11 /etc/


Next64 -- The release checksum has changed.


The release checksum has changed.
 
Pack: glib 2.52.3-x86_64
================================================================================
Executing: genpkg_rules
Copying folders and files...                                           Done
Copying "receipt"...                                                   Done
Executing strip on all files...                                        Done
  Time: 0.14s. Size: 3751512 B -> 2979256 B. Save: 754 KB.
Creating the list of files...                                          Done
Creating md5sum of files...                                            Done
Compressing the FS...                                                  Done
Updating receipt sizes...                                              Done
Creating full cpio archive...                                          Done
QA: checking for empty package...                                      Done
The release checksum has changed.
================================================================================
Package "glib-2.52.3-x86_64.tazpkg" created
 
root@slitaz:/# ls -l /home/slitaz/wok/glib/install/usr/bin
total 468
-rwxr-xr-x    1 root     root         21104 Mar 22 14:58 gapplication
-rwxr-xr-x    1 root     root         46184 Mar 22 14:58 gdbus
-rwxr-xr-x    1 root     root          1278 Mar 22 14:58 gdbus-codegen
-rwxr-xr-x    1 root     root         83968 Mar 22 14:58 gio
[..]

extract glib
1-glib-2.52.3-x86_64.tazpkg #old
glib-2.52.3-x86_64.tazpkg #recook

tux@slitaz:/tmp$ ls -l *glib-2.52.3-x86_64/fs/usr/bin
1-glib-2.52.3-x86_64/fs/usr/bin:
total 288
-rwxr-xr-x    1 root     root         14632 Feb 27 20:06 gapplication
-rwxr-xr-x    1 root     root         35576 Feb 27 20:06 gdbus
-rwxr-xr-x    1 root     root         65032 Feb 27 20:06 gio
-rwxr-xr-x    1 root     root         10344 Feb 27 20:06 gio-querymodules
-rwxr-xr-x    1 root     root         35736 Feb 27 20:06 glib-compile-resources
-rwxr-xr-x    1 root     root         39800 Feb 27 20:06 glib-compile-schemas
-rwxr-xr-x    1 root     root         31000 Feb 27 20:06 glib-genmarshal
-rwxr-xr-x    1 root     root         10248 Feb 27 20:06 gobject-query
-rwxr-xr-x    1 root     root         14608 Feb 27 20:06 gresource
-rwxr-xr-x    1 root     root         23016 Feb 27 20:06 gsettings

glib-2.52.3-x86_64/fs/usr/bin:
total 288
-rwxr-xr-x    1 root     root         14632 Feb 27 20:06 gapplication
-rwxr-xr-x    1 root     root         35576 Feb 27 20:06 gdbus
-rwxr-xr-x    1 root     root         65032 Feb 27 20:06 gio
-rwxr-xr-x    1 root     root         10344 Feb 27 20:06 gio-querymodules
-rwxr-xr-x    1 root     root         35736 Feb 27 20:06 glib-compile-resources
-rwxr-xr-x    1 root     root         39800 Feb 27 20:06 glib-compile-schemas
-rwxr-xr-x    1 root     root         31000 Feb 27 20:06 glib-genmarshal
-rwxr-xr-x    1 root     root         10248 Feb 27 20:06 gobject-query
-rwxr-xr-x    1 root     root         14608 Feb 27 20:06 gresource
-rwxr-xr-x    1 root     root         23016 Feb 27 20:06 gsettings

Next64 -- recook does not update ??


recook do not update ??

 

Summary for: glib 2.52.3-x86_64
================================================================================
Src file    : glib-2.52.3.tar.xz
Src size    : 7.3M
Source dir  : 121.4M
Produced    : 40.5M
Cook time   : 164s ~ 3m
Cook date   : 2018-03-22 14:59
Target arch : x86_64
--------------------------------------------------------------------------------
 # :  Packed : Compressed : Files : Package name
--------------------------------------------------------------------------------
 1 :    2.9M :     858.9K :    25 : glib-2.52.3-x86_64.tazpkg
 2 :    8.7M :       1.2M :   306 : glib-dev-2.52.3-x86_64.tazpkg
================================================================================

Leaving aufs chroot...

root@slitaz:/# ls -l /home/slitaz/wok/glib/install/usr/bin 
total 468
-rwxr-xr-x    1 root     root         21104 Mar 22 14:58 gapplication
-rwxr-xr-x    1 root     root         46184 Mar 22 14:58 gdbus
-rwxr-xr-x    1 root     root          1278 Mar 22 14:58 gdbus-codegen
-rwxr-xr-x    1 root     root         83968 Mar 22 14:58 gio
-rwxr-xr-x    1 root     root         15408 Mar 22 14:58 gio-querymodules
-rwxr-xr-x    1 root     root         46240 Mar 22 14:58 glib-compile-resources
-rwxr-xr-x    1 root     root         50800 Mar 22 14:58 glib-compile-schemas
-rwxr-xr-x    1 root     root         37864 Mar 22 14:58 glib-genmarshal
-rwxr-xr-x    1 root     root          5370 Mar 22 14:58 glib-gettextize
-rwxr-xr-x    1 root     root         18833 Mar 22 14:58 glib-mkenums
-rwxr-xr-x    1 root     root         15128 Mar 22 14:58 gobject-query
-rwxr-xr-x    1 root     root         21336 Mar 22 14:58 gresource
-rwxr-xr-x    1 root     root         31360 Mar 22 14:58 gsettings
-rwxr-xr-x    1 root     root         31136 Mar 22 14:58 gtester
-rwxr-xr-x    1 root     root         18757 Mar 22 14:58 gtester-report

root@slitaz:/# ls -l /home/slitaz/wok/glib/taz/glib-2.52.3/fs/usr/bin 
total 288
-rwxr-xr-x    1 root     root         14632 Feb 27 12:06 gapplication
-rwxr-xr-x    1 root     root         35576 Feb 27 12:06 gdbus
-rwxr-xr-x    1 root     root         65032 Feb 27 12:06 gio
-rwxr-xr-x    1 root     root         10344 Feb 27 12:06 gio-querymodules
-rwxr-xr-x    1 root     root         35736 Feb 27 12:06 glib-compile-resources
-rwxr-xr-x    1 root     root         39800 Feb 27 12:06 glib-compile-schemas
-rwxr-xr-x    1 root     root         31000 Feb 27 12:06 glib-genmarshal
-rwxr-xr-x    1 root     root         10248 Feb 27 12:06 gobject-query
-rwxr-xr-x    1 root     root         14608 Feb 27 12:06 gresource
-rwxr-xr-x    1 root     root         23016 Feb 27 12:06 gsettings
root@slitaz:/#
 
 

Next64 -- -D _GLIBCXX_USE_C99_MATH


-D _GLIBCXX_USE_C99_MATH

Update:
http://hg.slitaz.org/cookutils/rev/1037

New shiny Glibc-2.26 broke mathematics in the C++ programs and you will see something like this:

${src}/mfbt/decimal/Decimal.cpp:689:14: error: '__builtin_isfinite' is not a member of 'std'
${src}/mfbt/decimal/Decimal.cpp:692:14: error: '__builtin_isinf_sign' is not a member of 'std'
ERROR: cook failed

I'm not "in topic" with all these changes in Glibc, but I clearly see the message. Well, I can just remove "std::" prefix. And know what? It works!
http://forum.slitaz.org/topic/technical-topic-current-state-of-slitaz-next-march-2018#post-45984 


Executing: compile_rules
CFLAGS   : -march=nocona -Os -pipe -mindirect-branch=thunk -D _GLIBCXX_USE_C99_MATH

Applying patch js38-38.2.1-upstream_fixes-2.patch
  patching file build/autoconf/icu.m4
  patching file js/src/configure
  patching file js/src/configure.in
  patching file js/src/jit/RegisterSets.h
  patching file js/src/Makefile.in

loading site script /etc/slitaz/cook.site
creating cache ./config.cache

2018-01-27

Next-lxqt -- firmware-i915



firmware-i915
intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160919
i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2

# tazpkg -gi firmware-i915

tux@slitaz:~$ dmesg | grep -i dmc
[ 13.111786] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2
[ 13.111788] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling runtime power management.
 
tux@slitaz:~$ modinfo i915
filename:       /lib/modules/4.9.30-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.xz
license:        GPL and additional rights
description:    Intel Graphics
author:         Intel Corporation
author:         Tungsten Graphics, Inc.
firmware:       i915/bxt_dmc_ver1_07.bin
firmware:       i915/skl_dmc_ver1_26.bin
firmware:       i915/kbl_dmc_ver1_01.bin
firmware:       i915/kbl_guc_ver9_14.bin
firmware:       i915/bxt_guc_ver8_7.bin
firmware:       i915/skl_guc_ver6_1.bin
alias:          pci:v00008086d0000593Bsv*sd*bc03sc*i*
[..]

alias:          pci:v00008086d00003577sv*sd*bc03sc*i*
depends:        drm_kms_helper,drm,intel-gtt,i2c-core,i2c-algo-bit
intree:         Y
vermagic:       4.9.30-slitaz SMP mod_unload modversions 486 
parm:           modeset:Use kernel modesetting [KMS] (0=disable, 1=on, -1=force vga console preference [default]) (int)
parm:           panel_ignore_lid:Override lid status (0=autodetect, 1=autodetect disabled [default], -1=force lid closed, -2=force lid open) (int)
parm:           semaphores:Use semaphores for inter-ring sync (default: -1 (use per-chip defaults)) (int)
parm:           enable_rc6:Enable power-saving render C-state 6. Different stages can be selected via bitmask values (0 = disable; 1 = enable rc6; 2 = enable deep rc6; 4 = enable deepest rc6). For example, 3 would enable rc6 and deep rc6, and 7 would enable everything. default: -1 (use per-chip default) (int)
parm:           enable_dc:Enable power-saving display C-states. (-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6) (int)
parm:           enable_fbc:Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int)
parm:           lvds_channel_mode:Specify LVDS channel mode (0=probe BIOS [default], 1=single-channel, 2=dual-channel) (int)
parm:           lvds_use_ssc:Use Spread Spectrum Clock with panels [LVDS/eDP] (default: auto from VBT) (int)
parm:           vbt_sdvo_panel_type:Override/Ignore selection of SDVO panel mode in the VBT (-2=ignore, -1=auto [default], index in VBT BIOS table) (int)
parm:           reset:Attempt GPU resets (default: true) (bool)
parm:           enable_hangcheck:Periodically check GPU activity for detecting hangs. WARNING: Disabling this can cause system wide hangs. (default: true) (bool)
parm:           enable_ppgtt:Override PPGTT usage. (-1=auto [default], 0=disabled, 1=aliasing, 2=full, 3=full with extended address space) (int)
parm:           enable_execlists:Override execlists usage. (-1=auto [default], 0=disabled, 1=enabled) (int)
parm:           enable_psr:Enable PSR (0=disabled, 1=enabled - link mode chosen per-platform, 2=force link-standby mode, 3=force link-off mode) Default: -1 (use per-chip default) (int)
parm:           preliminary_hw_support:Enable preliminary hardware support. (int)
parm:           disable_power_well:Disable display power wells when possible (-1=auto [default], 0=power wells always on, 1=power wells disabled when possible) (int)
parm:           enable_ips:Enable IPS (default: true) (int)
parm:           fastboot:Try to skip unnecessary mode sets at boot time (default: false) (bool)
parm:           prefault_disable:Disable page prefaulting for pread/pwrite/reloc (default:false). For developers only. (bool)
parm:           load_detect_test:Force-enable the VGA load detect code for testing (default:false). For developers only. (bool)
parm:           force_reset_modeset_test:Force a modeset during gpu reset for testing (default:false). For developers only. (bool)
parm:           invert_brightness:Invert backlight brightness (-1 force normal, 0 machine defaults, 1 force inversion), please report PCI device ID, subsystem vendor and subsystem device ID to dri-devel@lists.freedesktop.org, if your machine needs it. It will then be included in an upcoming module version. (int)
parm:           disable_display:Disable display (default: false) (bool)
parm:           enable_cmd_parser:Enable command parsing (1=enabled [default], 0=disabled) (int)
parm:           use_mmio_flip:use MMIO flips (-1=never, 0=driver discretion [default], 1=always) (int)
parm:           mmio_debug:Enable the MMIO debug code for the first N failures (default: off). This may negatively affect performance. (int)
parm:           verbose_state_checks:Enable verbose logs (ie. WARN_ON()) in case of unexpected hw state conditions. (bool)
parm:           nuclear_pageflip:Force atomic modeset functionality; asynchronous mode is not yet supported. (default: false). (bool)
parm:           edp_vswing:Ignore/Override vswing pre-emph table selection from VBT (0=use value from vbt [default], 1=low power swing(200mV),2=default swing(400mV)) (int)
parm:           enable_guc_loading:Enable GuC firmware loading (-1=auto, 0=never [default], 1=if available, 2=required) (int)
parm:           enable_guc_submission:Enable GuC submission (-1=auto, 0=never [default], 1=if available, 2=required) (int)
parm:           guc_log_level:GuC firmware logging level (-1:disabled (default), 0-3:enabled) (int)
parm:           enable_dp_mst:Enable multi-stream transport (MST) for new DisplayPort sinks. (default: true) (bool)
parm:           inject_load_failure:Force an error after a number of failure check points (0:disabled (default), N:force failure at the Nth failure check point) (uint)
parm:           enable_dpcd_backlight:Enable support for DPCD backlight control (default:false) (bool)
parm:           enable_gvt:Enable support for Intel GVT-g graphics virtualization host support(default:false) (bool)
tux@slitaz:~$  
 
tux@slitaz:~$ sudo tazpkg -gi firmware-i915

tux@slitaz:~$ ls -l /lib/firmware/i915
total 1200
-rw-r--r--    1 root     root          8380 Sep 18 23:55 bxt_dmc_ver1_07.bin
lrwxrwxrwx    1 root     root            19 Jan 25 01:14 bxt_dmc_ver1.bin -> bxt_dmc_ver1_07.bin
-rw-r--r--    1 root     root        140928 Sep 18 23:55 bxt_guc_ver8_7.bin
-rw-r--r--    1 root     root        154432 Sep 18 23:55 bxt_huc_ver01_07_1398.bin
-rw-r--r--    1 root     root          8616 Sep 18 23:55 kbl_dmc_ver1_01.bin
lrwxrwxrwx    1 root     root            19 Jan 25 01:14 kbl_dmc_ver1.bin -> kbl_dmc_ver1_01.bin
-rw-r--r--    1 root     root        142656 Sep 18 23:55 kbl_guc_ver9_14.bin
-rw-r--r--    1 root     root        218688 Sep 18 23:55 kbl_huc_ver02_00_1810.bin
-rw-r--r--    1 root     root          8824 Sep 18 23:55 skl_dmc_ver1_23.bin
-rw-r--r--    1 root     root          8928 Sep 18 23:55 skl_dmc_ver1_26.bin
lrwxrwxrwx    1 root     root            19 Jan 25 01:14 skl_dmc_ver1.bin -> skl_dmc_ver1_26.bin
-rw-r--r--    1 root     root        109636 Sep 18 23:55 skl_guc_ver1.bin
-rw-r--r--    1 root     root        128320 Sep 18 23:55 skl_guc_ver4.bin
-rw-r--r--    1 root     root        129024 Sep 18 23:55 skl_guc_ver6_1.bin
lrwxrwxrwx    1 root     root            18 Jan 25 01:14 skl_guc_ver6.bin -> skl_guc_ver6_1.bin
-rw-r--r--    1 root     root        140992 Sep 18 23:55 skl_huc_ver01_07_1398.bin
tux@slitaz:~$

2018-01-20

Next-lxqt -- quick solution for undefined symbol: _XEatDataWords


quick solution for undefined symbol: _XEatDataWords

3.
tux@slitaz:~$ ldd -r /opt/VirtualBox/VirtualBox.so
linux-gate.so.1 (0xb776f000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6d2a000)
libxcb.so.1 => /opt/VirtualBox/libxcb.so.1 (0xb6d0f000)

libXext.so.6 => /usr/lib/libXext.so.6 (0xb63b3000)
libX11.so.6 => /opt/VirtualBox/libX11.so.6 (0xb6297000)

libX11-xcb.so.1 => /opt/VirtualBox/libX11-xcb.so.1 (0xb4c51000)


1. legacy libraries
tux@slitaz:~$ ls -l /opt/VirtualBox/lib[Xx]*
lrwxrwxrwx    1 root     root            34 Jan 15 06:59 /opt/VirtualBox/libX11.so.6 -> /opt/VirtualBox/legacy/libX11.so.6
lrwxrwxrwx    1 root     root            38 Jan 15 06:59 /opt/VirtualBox/libX11-xcb.so.1 -> /opt/VirtualBox/legacy/libX11-xcb.so.1
lrwxrwxrwx    1 root     root            34 Jan 15 06:59 /opt/VirtualBox/libxcb.so.1 -> /opt/VirtualBox/legacy/libxcb.so.1                      

tux@slitaz:~$ ls -l /opt/VirtualBox/legacy/
total 1240
-rwxr-xr-x    1 root     root       1156136 Aug  9  2016 libX11.so.6
-rwxr-xr-x    1 root     root          2852 Aug  9  2016 libX11-xcb.so.1
-rwxr-xr-x    1 root     root        105704 Aug  9  2016 libxcb.so.1


2. delete link
tux@slitaz:~$ sudo rm -f /opt/VirtualBox/lib[Xx]*


3. link xorg libraries
tux@slitaz:~$ sudo ln -s /usr/lib/libX11.so.6.3.0 /opt/VirtualBox/libX11.so.6
tux@slitaz:~$ sudo ln -s /usr/lib/libX11-xcb.so.1.0.0 /opt/VirtualBox/libX11-xcb.so.1
tux@slitaz:~$ sudo ln -s /usr/lib/libxcb.so.1.1.0 /opt/VirtualBox/libxcb.so.1

tux@slitaz:~$ ls -l /opt/VirtualBox/lib[xX]*
lrwxrwxrwx    1 root     root            24 Jan 15 07:11 /opt/VirtualBox/libX11.so.6 -> /usr/lib/libX11.so.6.3.0
lrwxrwxrwx    1 root     root            28 Jan 15 07:12 /opt/VirtualBox/libX11-xcb.so.1 -> /usr/lib/libX11-xcb.so.1.0.0
lrwxrwxrwx    1 root     root            24 Jan 15 07:13 /opt/VirtualBox/libxcb.so.1 -> /usr/lib/libxcb.so.1.1.0
tux@slitaz:~$


4. that's it.

2018-01-15

Next-lxqt -- applications.conf


applications.conf

tux@slitaz:~$ cat .config/slitaz/applications.conf
# SliTaz default applications configuration file. These apps can be
# started through wrappers: browser, editor and terminal.
#
# File manager.
FILE_MANAGER="pcmanfm"
# Web browser.
BROWSER="tazweb"
# Text editor.
EDITOR="leafpad"
# X terminal.
TERMINAL="sakura"
[ "$(which $TERMINAL)" ] || TERMINAL="xterm"
# Window manager.
WINDOW_MANAGER="lxqt"

tux@slitaz:~$

Next-lxqt -- undefined symbol: _XEatDataWords


undefined symbol: _XEatDataWords


undefined symbol: _XEatDataWords (/usr/lib/libXext.so.6)
undefined symbol: _XEatDataWords (/usr/lib/libXxf86vm.so.1)
undefined symbol: _XEatDataWords (/usr/lib/libXfixes.so.3)
undefined symbol: xcb_send_request_with_fds (/usr/lib/libxcb-dri3.so.0)
undefined symbol: _XEatDataWords (/usr/lib/libXinerama.so.1)

# tar -xzvf vbox-fix.tar.gz -C /usr/lib


1.
tux@slitaz:~$ VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: /usr/lib/libXext.so.6: undefined symbol: _XEatDataWords


tux@slitaz:~$ VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: /usr/lib/libXxf86vm.so.1: undefined symbol: _XEatDataWords
....


2.
Ticket #12556 (closed task: invalid)
Debian Jessie VB - failed: /usr/lib/x86_64-linux-gnu/libXfixes.so.3: undefined symbol: _XEatDataWords


https://www.virtualbox.org/ticket/12556


3.
tux@slitaz:~$ ldd -r /opt/VirtualBox/VirtualBox.so
linux-gate.so.1 (0xb776f000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6d2a000)
libxcb.so.1 => /opt/VirtualBox/libxcb.so.1 (0xb6d0f000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb6c9e000)
libdl.so.2 => /lib/libdl.so.2 (0xb6c99000)
VBoxKeyboard.so => /opt/VirtualBox/VBoxKeyboard.so (0xb6c8a000)
VBoxRT.so => /opt/VirtualBox/VBoxRT.so (0xb6712000)
VBoxVMM.so => /opt/VirtualBox/VBoxVMM.so (0xb63c5000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb63b3000)
libX11.so.6 => /opt/VirtualBox/libX11.so.6 (0xb6297000)
VBoxXPCOM.so => /opt/VirtualBox/VBoxXPCOM.so (0xb619d000)
libQt5X11ExtrasVBox.so.5 => /opt/VirtualBox/libQt5X11ExtrasVBox.so.5 (0xb6198000)
libQt5CoreVBox.so.5 => /opt/VirtualBox/libQt5CoreVBox.so.5 (0xb5bfa000)
libQt5GuiVBox.so.5 => /opt/VirtualBox/libQt5GuiVBox.so.5 (0xb5669000)
libQt5WidgetsVBox.so.5 => /opt/VirtualBox/libQt5WidgetsVBox.so.5 (0xb5096000)
libQt5PrintSupportVBox.so.5 => /opt/VirtualBox/libQt5PrintSupportVBox.so.5 (0xb503f000)
libQt5OpenGLVBox.so.5 => /opt/VirtualBox/libQt5OpenGLVBox.so.5 (0xb4ff1000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb4ec2000)
libm.so.6 => /lib/libm.so.6 (0xb4e65000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb4e4c000)
libc.so.6 => /lib/libc.so.6 (0xb4cc3000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb4cbf000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb4cb6000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb4c96000)
libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0xb4c92000)
libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0xb4c8a000)
libxcb-present.so.0 => /usr/lib/libxcb-present.so.0 (0xb4c86000)
libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0xb4c7f000)
libxshmfence.so.1 => /usr/lib/libxshmfence.so.1 (0xb4c7c000)
libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb4c5e000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb4c5a000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb4c53000)
libX11-xcb.so.1 => /opt/VirtualBox/libX11-xcb.so.1 (0xb4c51000)
libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb4c35000)
libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0xb4c2f000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb4c29000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb4c18000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb4bfa000)
/lib/ld-linux.so.2 (0x80041000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb4bc8000)
libz.so.1 => /lib/libz.so.1 (0xb4bb3000)
librt.so.1 => /lib/librt.so.1 (0xb4baa000)
VBoxREM.so => /opt/VirtualBox/VBoxREM.so (0xb4ba6000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb4ba3000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb4a9d000)
libpcre.so.1 => /lib/libpcre.so.1 (0xb4a3c000)
undefined symbol: _XEatDataWords (/usr/lib/libXext.so.6)
undefined symbol: _XEatDataWords (/usr/lib/libXxf86vm.so.1)
undefined symbol: _XEatDataWords (/usr/lib/libXfixes.so.3)
undefined symbol: xcb_send_request_with_fds (/usr/lib/libxcb-dri3.so.0)
undefined symbol: _XEatDataWords (/usr/lib/libXinerama.so.1)
tux@slitaz:~ $

4.
dirty hack:
download vbox-fix.tar.gz and replace the libraries.

# tar -tvf vbox-fix.tar.gz
-rwxr-xr-x root/root      9644 2018-01-08 15:33 libxcb-dri3.so.0.0.0
-rwxr-xr-x root/root     68760 2018-01-08 15:32 libXext.so.6.4.0
-rwxr-xr-x root/root     17804 2018-01-08 15:54 libXfixes.so.3.1.0
-rwxr-xr-x root/root      7528 2018-01-08 15:44 libXinerama.so.1.0.0
-rwxr-xr-x root/root     22048 2018-01-08 15:44 libXxf86vm.so.1.0.0

# tar -xzvf vbox-fix.tar.gz -C /usr/lib

Attachments
vbox-fix.tar.gz (44.5 KB)