yledoare / ydfs

Your Distro From Scratch
3 stars 1 forks source link

Various compilation errors #11

Closed Boyquotes closed 4 months ago

Boyquotes commented 4 months ago

I have commented the line in list file #10 to continue the build and I must comment fews anothers compilations to finish :

741/966 :  https://dl.winehq.org/wine/source/9.x/wine-9.3.tar.xz 
Get https://dl.winehq.org/wine/source/9.x/wine-9.3.tar.xz .... 
https://dl.winehq.org/wine/source/9.x/wine-9.3.tar.xz
Building wine-9.3 in progress, LOG: /home/linuxconsole2024/ydfs/src/wine-9.3/ydfs-log ... 
Start at 16:26 - 11/05/2024 
db-autobuild from build_ydfs_package - logfile

 FAILED /home/linuxconsole2024/ydfs/src/wine-9.3 

 /sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[4]: [Makefile:204: install-shared-psx] Error 1 (ignored)
mkdir: impossible de créer le répertoire « build-32 »: File exists
rm: impossible de supprimer '/home/linuxconsole2024/ydfs/src/zstd-1.5.2/ydfs-multilib-buildt': No such file or directory
ln: impossible de créer le lien symbolique '/home/linuxconsole2024/multilib/lib/libffi.so.6': File exists
mkdir: impossible de créer le répertoire « build-32 »: File exists
ln: impossible de créer le lien symbolique '/home/linuxconsole2024/multilib/lib/libffi.so.6': File exists
mkdir: impossible de créer le répertoire « build-32 »: File exists
ln: impossible de créer le lien symbolique '/home/linuxconsole2024/multilib/lib/libffi.so.6': File exists
mkdir: impossible de créer le répertoire « build-32 »: File exists 

 Error log at /home/linuxconsole2024/ydfs/src/wine-9.3/ydfs-error 

Exit 1
Exit db-lcarchive https://dl.winehq.org/wine/source/9.x/wine-9.3.tar.xz, because /home/linuxconsole2024/ydfs-error exists 
make: *** [Makefile:205: /home/linuxconsole2024/x86_64/buildenv] Error 1

====

744/966 :  http://breakfastquay.com/files/releases/10/dssi-vst-0.9.2.tar.bz2 
Get http://breakfastquay.com/files/releases/10/dssi-vst-0.9.2.tar.bz2 .... 
http://breakfastquay.com/files/releases/10/dssi-vst-0.9.2.tar.bz2
tar xjvf /home/linuxconsole2024/ydfs/tarballs/dssi-vst-0.9.2.tar.bz2
Building dssi-vst-0.9.2 in progress, LOG: /home/linuxconsole2024/ydfs/src/dssi-vst-0.9.2/ydfs-log ... 
Start at 19:37 - 11/05/2024 
db-autobuild from build_ydfs_package - logfile

 FAILED /home/linuxconsole2024/ydfs/src/dssi-vst-0.9.2 

 make[1]: wineg++: No such file or directory
make[1]: *** [Makefile:68: remotepluginclient.w32.o] Error 127
make[1]: wineg++: No such file or directory
make[1]: *** [Makefile:68: remotepluginclient.w32.o] Error 127 

 Error log at /home/linuxconsole2024/ydfs/src/dssi-vst-0.9.2/ydfs-error 

Exit 1
Exit db-lcarchive http://breakfastquay.com/files/releases/10/dssi-vst-0.9.2.tar.bz2, because /home/linuxconsole2024/ydfs-error exists 
make: *** [Makefile:205: /home/linuxconsole2024/x86_64/buildenv] Error 1

====

12/18 :  https://github.com/LMMS/lmms/releases/download/v1.2.2/lmms_1.2.2.tar.xz 
Get https://github.com/LMMS/lmms/releases/download/v1.2.2/lmms_1.2.2.tar.xz .... 
https://github.com/LMMS/lmms/releases/download/v1.2.2/lmms_1.2.2.tar.xz
https://github.com/LMMS/lmms/releases/download/v1.2.2/lmms_1.2.2.tar.xz
https://github.com/LMMS/lmms/releases/download/v1.2.2/lmms_1.2.2.tar.xz
Building lmms in progress, LOG: /home/linuxconsole2024/ydfs/src/lmms/ydfs-log ... 
Start at 05:22 - 12/05/2024 
db-autobuild from build_ydfs_package - logfile

 FAILED /home/linuxconsole2024/ydfs/src/lmms 

 /usr/bin/cmake: /home/linuxconsole2024/x86_64/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/linuxconsole2024/x86_64/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/linuxconsole2024/x86_64/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/linuxconsole2024/x86_64/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/linuxconsole2024/x86_64/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/linuxconsole2024/x86_64/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
No such file or directory
make[3]: *** [plugins/vst_base/CMakeFiles/vstbase.dir/build.make:75: plugins/RemoteVstPlugin] Error 1
make[2]: *** [CMakeFiles/Makefile2:6334: plugins/vst_base/CMakeFiles/vstbase.dir/all] Error 2
make[1]: *** [Makefile:156: all] Error 2 

 Error log at /home/linuxconsole2024/ydfs/src/lmms/ydfs-error 

Exit 1
Exit db-lcarchive https://github.com/LMMS/lmms/releases/download/v1.2.2/lmms_1.2.2.tar.xz, because /home/linuxconsole2024/ydfs-error exists 
make: *** [Makefile:400: /home/linuxconsole2024/ydfs/build/modules/linuxconsole-x86_64.squashfs] Error 1

====

3/4 :  https://download.documentfoundation.org/libreoffice/src/7.6.4/libreoffice-7.6.4.1.tar.xz 
Get https://download.documentfoundation.org/libreoffice/src/7.6.4/libreoffice-7.6.4.1.tar.xz .... 
Building libreoffice-7.6.4.1 in progress, LOG: /home/linuxconsole2024/ydfs/src/libreoffice-7.6.4.1/ydfs-log ... 
Start at 11:13 - 12/05/2024 
db-autobuild from build_ydfs_package - logfile

 FAILED /home/linuxconsole2024/ydfs/src/libreoffice-7.6.4.1 

 Wrote modules for 119 languages (1309 lines)!
Wrote modules for 119 languages (4165 lines)!
Reading template file: /home/linuxconsole2024/ydfs/src/libreoffice-7.6.4.1/scp2/source/templates/module_langpack_writer.sct
Wrote modules for 119 languages (1309 lines)!
xz : (stdin): Format de fichier inconnu
tar: Child returned status 1
tar: Error is not recoverable: exiting now
make[2]: *** [/home/linuxconsole2024/ydfs/src/libreoffice-7.6.4.1/solenv/gbuild/UnpackedTarball.mk:60: /home/linuxconsole2024/ydfs/src/libreoffice-7.6.4.1/workdir/UnpackedTarget/skia-m111-a31e897fb3dcbc96b2b40999751611d029bf5404.tar.xz] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:289: build] Error 2 

 Error log at /home/linuxconsole2024/ydfs/src/libreoffice-7.6.4.1/ydfs-error 

Exit 1
Exit db-lcarchive https://download.documentfoundation.org/libreoffice/src/7.6.4/libreoffice-7.6.4.1.tar.xz, because /home/linuxconsole2024/ydfs-error exists 
make: *** [Makefile:266: /home/linuxconsole2024/ydfs/build/modules//libreoffice-x86_64.squashfs] Error 1

======

2/2 :  https://download.virtualbox.org/virtualbox/6.1.46/VirtualBox-6.1.46.tar.bz2 
Get https://download.virtualbox.org/virtualbox/6.1.46/VirtualBox-6.1.46.tar.bz2 .... 
tar xjvf /home/linuxconsole2024/ydfs/tarballs/VirtualBox-6.1.46.tar.bz2
Building VirtualBox-6.1.46 in progress, LOG: /home/linuxconsole2024/ydfs/src/VirtualBox-6.1.46/ydfs-log ... 
Start at 11:40 - 12/05/2024 
db-autobuild from build_ydfs_package - logfile

 FAILED /home/linuxconsole2024/ydfs/src/VirtualBox-6.1.46 

 /home/linuxconsole2024/src/ydfs/2.10/packages/../scripts/includes/virtualbox: line 17: exit: $: numeric argument required 

 Error log at /home/linuxconsole2024/ydfs/src/VirtualBox-6.1.46/ydfs-error 

Exit 1
Exit db-lcarchive https://download.virtualbox.org/virtualbox/6.1.46/VirtualBox-6.1.46.tar.bz2, because /home/linuxconsole2024/ydfs-error exists 
make: *** [Makefile:276: /home/linuxconsole2024/ydfs/build/modules//virtualbox-x86_64.squashfs] Error 1

====

3/11 :  https://releases.wildfiregames.com/0ad-0.0.25b-alpha-unix-build.tar.xz 
Get https://releases.wildfiregames.com/0ad-0.0.25b-alpha-unix-build.tar.xz .... 
Building 0ad-0.0.25b-alpha in progress, LOG: /home/linuxconsole2024/ydfs/src/0ad-0.0.25b-alpha/ydfs-log ... 
Start at 13:34 - 12/05/2024 
db-autobuild from build_ydfs_package - logfile

 FAILED /home/linuxconsole2024/ydfs/src/0ad-0.0.25b-alpha 

     return config_status(config)
  File "/home/linuxconsole2024/ydfs/src/0ad-0.0.25b-alpha/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/../js/src/../../configure.py", line 157, in config_status
    from mozbuild.config_status import config_status
  File "/home/linuxconsole2024/ydfs/src/0ad-0.0.25b-alpha/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/config_status.py", line 20, in <module>
    from mozbuild.base import MachCommandConditions
  File "/home/linuxconsole2024/ydfs/src/0ad-0.0.25b-alpha/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/base.py", line 18, in <module>
    from mach.mixin.process import ProcessExecutionMixin
  File "/home/linuxconsole2024/ydfs/src/0ad-0.0.25b-alpha/libraries/source/spidermonkey/mozjs-78.6.0/python/mach/mach/mixin/process.py", line 31, in <module>
    raise Exception('Could not detect environment shell!')
Exception: Could not detect environment shell! 

 Error log at /home/linuxconsole2024/ydfs/src/0ad-0.0.25b-alpha/ydfs-error 

Exit 1
Exit db-lcarchive https://releases.wildfiregames.com/0ad-0.0.25b-alpha-unix-build.tar.xz, because /home/linuxconsole2024/ydfs-error exists 
make: *** [Makefile:281: /home/linuxconsole2024/ydfs/build/modules//games-x86_64.squashfs] Error 1

=====

7/11 :  https://sourceforge.net/projects/chessx/files/chessx/1.4.6/chessx-1.4.6.tgz 
Get https://sourceforge.net/projects/chessx/files/chessx/1.4.6/chessx-1.4.6.tgz .... 
/home/linuxconsole2024/ydfs/tarballs/chessx-1.4.6.tgz
Building chessx-1.4.6 in progress, LOG: /home/linuxconsole2024/ydfs/src/chessx-1.4.6/ydfs-log ... 
Start at 13:54 - 12/05/2024 
db-autobuild from build_ydfs_package - logfile

 FAILED /home/linuxconsole2024/ydfs/src/chessx-1.4.6 

 /home/linuxconsole2024/x86_64/bin/lrelease: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
make: *** [Makefile:1650: i18n/chessx_de.qm] Error 127
make: *** Waiting for unfinished jobs....
/home/linuxconsole2024/x86_64/bin/lrelease: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
make: *** [Makefile:1653: i18n/chessx_da.qm] Error 127
/home/linuxconsole2024/x86_64/bin/lrelease: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
make: *** [Makefile:1650: i18n/chessx_de.qm] Error 127 

 Error log at /home/linuxconsole2024/ydfs/src/chessx-1.4.6/ydfs-error 

Exit 1
Exit db-lcarchive https://sourceforge.net/projects/chessx/files/chessx/1.4.6/chessx-1.4.6.tgz, because /home/linuxconsole2024/ydfs-error exists 
make: *** [Makefile:281: /home/linuxconsole2024/ydfs/build/modules//games-x86_64.squashfs] Error 1

===

3/3 :  https://download.kde.org/stable/krita/5.0.8/krita-5.0.8.tar.gz 
Get https://download.kde.org/stable/krita/5.0.8/krita-5.0.8.tar.gz .... 
https://download.kde.org/stable/krita/5.0.8/krita-5.0.8.tar.gz
/home/linuxconsole2024/ydfs/tarballs/krita-5.0.8.tar.gz
Building krita-5.0.8 in progress, LOG: /home/linuxconsole2024/ydfs/src/krita-5.0.8/ydfs-log ... 
Start at 14:43 - 12/05/2024 
db-autobuild from build_ydfs_package - logfile

 FAILED /home/linuxconsole2024/ydfs/src/krita-5.0.8 

 26585 | };
      | ^
/home/linuxconsole2024/ydfs/src/krita-5.0.8/build/plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp:26585:1: warning: missing initializer for member ‘_sipClassTypeDef::ctd_sizeof’ [-Wmissing-field-initializers]
/home/linuxconsole2024/ydfs/src/krita-5.0.8/build/plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp:27358:1: warning: missing initializer for member ‘_sipClassTypeDef::ctd_array_delete’ [-Wmissing-field-initializers]
27358 | };
      | ^
/home/linuxconsole2024/ydfs/src/krita-5.0.8/build/plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp:27358:1: warning: missing initializer for member ‘_sipClassTypeDef::ctd_sizeof’ [-Wmissing-field-initializers]
make[3]: *** [plugins/extensions/pykrita/sip/CMakeFiles/python_module_PyKrita_krita.dir/build.make:95: plugins/extensions/pykrita/sip/CMakeFiles/python_module_PyKrita_krita.dir/_tmp/krita/sipkritapart0.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:28734: plugins/extensions/pykrita/sip/CMakeFiles/python_module_PyKrita_krita.dir/all] Error 2
make[1]: *** [Makefile:146: all] Error 2 

 Error log at /home/linuxconsole2024/ydfs/src/krita-5.0.8/ydfs-error 

Exit 1
Exit db-lcarchive https://download.kde.org/stable/krita/5.0.8/krita-5.0.8.tar.gz, because /home/linuxconsole2024/ydfs-error exists 
make: *** [Makefile:340: /home/linuxconsole2024/ydfs/build/modules//graphics-x86_64.squashfs] Error 1

=====

3/3 :  kodi-19.4-Matrix.tar.gz::https://github.com/xbmc/xbmc/archive/19.4-Matrix.tar.gz 
Get https://github.com/xbmc/xbmc/archive/19.4-Matrix.tar.gz .... 
https://github.com/xbmc/xbmc/archive/19.4-Matrix.tar.gz
/home/linuxconsole2024/ydfs/tarballs/19.4-Matrix.tar.gz
Building xbmc-19.4-Matrix in progress, LOG: /home/linuxconsole2024/ydfs/src/xbmc-19.4-Matrix/ydfs-log ... 
Start at 17:06 - 12/05/2024 
db-autobuild from build_ydfs_package - logfile

 FAILED /home/linuxconsole2024/ydfs/src/xbmc-19.4-Matrix 

 autoreconf: Leaving directory '.'
/usr/bin/cmake: /home/linuxconsole2024/x86_64/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/linuxconsole2024/x86_64/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
file: Compiled magic version [541] does not match with shared library magic version [522]

/home/linuxconsole2024/ydfs/src/xbmc-19.4-Matrix/kodi-build/build/libdvd/src/dvdread/configure: line 13982: syntax error near unexpected token `CSS,'
/home/linuxconsole2024/ydfs/src/xbmc-19.4-Matrix/kodi-build/build/libdvd/src/dvdread/configure: line 13982: `  PKG_CHECK_MODULES(CSS, $CSS_REQUIRES)'
make[3]: *** [CMakeFiles/dvdread.dir/build.make:101: build/libdvd/src/dvdread-stamp/dvdread-configure] Error 2
make[2]: *** [CMakeFiles/Makefile2:4228: CMakeFiles/dvdread.dir/all] Error 2
make[1]: *** [Makefile:146: all] Error 2 

 Error log at /home/linuxconsole2024/ydfs/src/xbmc-19.4-Matrix/ydfs-error 

Exit 1
Exit db-lcarchive https://github.com/xbmc/xbmc/archive/19.4-Matrix.tar.gz, because /home/linuxconsole2024/ydfs-error exists 
make: *** [Makefile:330: /home/linuxconsole2024/ydfs/build/modules//multimedia-x86_64.squashfs] Error 1

=====
yledoare commented 4 months ago

Hello, your first error comes when building muitilib Multilib are 32bits libs needed to run wine and Steam

I wrote some scripts on the top of scripts/include/wine to fix some problems when building multilib my last commit updated the fix the the right zstd release (1.5.5 instead of 1.5.2)

To see error, you have to look at /home/linuxconsole2024/ydfs/src/wine-9.3/ydfs-log :

tail /home/linuxconsole2024/ydfs/src/wine-9.3/ydfs-log

sysprof| NOTICE: Future-deprecated features used: sysprof| * 0.56.0: {'meson.build_root', 'meson.source_root'} sysprof| Subproject sysprof finished.

Dependency sysprof-capture-4 from subproject subprojects/sysprof found: YES 3.37.1 Checking if "GIO has real TLS support" with dependencies glib-2.0, gmodule-2.0, gobject-2.0, gio-2.0 runs: NO (1)

../meson.build:190:4: ERROR: Assert failed: libsoup requires glib-networking for TLS support

A full log can be found at /home/linuxconsole2024/ydfs/src/libsoup-2.74.2/build-32/meson-logs/meson-log.txt

If you look at the end of /home/linuxconsole2024/ydfs/src/libsoup-2.74.2/build-32/meson-logs/meson-log.txt

here was the real error :

libzstd.so.1: wrong ELF class: ELFCLASS64 Failed to load module: /home/linuxconsole2024/multilib/lib32/gio/modules/libgiognutls.so

yledoare commented 4 months ago

I need to run those commands to successfully finished to build multilib :

cd $HOME/src/ydfs/2.10/
rm /home/linuxconsole2024/ydfs/src/zstd-1.5.5/ydfs-multilib-buildt
make multilib
#It failed with gstreamer, I needed also to rebuild libcap 
rm $HOME/ydfs/src/libcap-2.*/ydfs-multilib-buildt 
#build again
make multilib
yledoare commented 4 months ago

All other errors are for optional modules building, with my last commit, building optional modules must be set in config file I will add a new branch for optional module building soon Now you should have ISO to test on your $HOME/iso

Boyquotes commented 4 months ago
cd $HOME/src/ydfs/2.10/
rm /home/linuxconsole2024/ydfs/src/zstd-1.5.5/ydfs-multilib-buildt
make multilib
#It failed with gstreamer, I needed also to rebuild libcap 
rm $HOME/ydfs/src/libcap-2.*/ydfs-multilib-buildt 
#build again
make multilib

After theses command, I always have an error

make[1]: Leaving directory '/home/linuxconsole2024/ydfs/src/gstreamer-1.18.5/build-32'
Run Ninja
[1/286] Linking target libs/gst/helpers/gst-ptp-helper
FAILED: libs/gst/helpers/gst-ptp-helper 
gcc -m32  -o libs/gst/helpers/gst-ptp-helper libs/gst/helpers/gst-ptp-helper.p/gst-ptp-helper.c.o -L/home/linuxconsole2024/multilib/lib -L/home/linuxconsole2024/multilib/lib32 -I/home/linuxconsole2024/multilib/include -Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions -Wl,-rpath,/home/linuxconsole2024/multilib/lib '-Wl,-rpath,$ORIGIN/../../../gst:/home/linuxconsole2024/multilib/lib32:/home/linuxconsole2024/x86_64/lib64' -Wl,-rpath-link,/home/linuxconsole2024/ydfs/src/gstreamer-1.18.5/build-32/gst -Wl,-rpath-link,/home/linuxconsole2024/multilib/lib32 -Wl,-rpath-link,/home/linuxconsole2024/x86_64/lib64 -Wl,--start-group gst/libgstreamer-1.0.so.0.1805.0 /home/linuxconsole2024/multilib/lib32/libgio-2.0.so /home/linuxconsole2024/multilib/lib32/libgobject-2.0.so /home/linuxconsole2024/multilib/lib32/libglib-2.0.so -lm -Wl,--export-dynamic /home/linuxconsole2024/multilib/lib32/libgmodule-2.0.so -pthread /home/linuxconsole2024/x86_64/lib64/libcap.so -Wl,--end-group
/usr/bin/ld: /home/linuxconsole2024/x86_64/lib64/libcap.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
[10/286] Compiling C object tools/gst-inspect-1.0.p/gst-inspect.c.o
ninja: build stopped: subcommand failed.
make: *** [Makefile:382: multilib] Error 1

I have pull today and retry with the last fix and I have the same error on network-manager-applet

yledoare commented 4 months ago

/usr/bin/ld: /home/linuxconsole2024/x86_64/lib64/libcap.so: error adding symbols: file in wrong format

Look at https://github.com/yledoare/ydfs/blob/2.10/2.10/scripts/includes/wine

echo "Clean libcap-2" rm $HOME/ydfs/src/libcap-2.*/ydfs-multilib-buildt

echo "Clean gstreamer" rm -fR $HOME/ydfs/src/gstreamer-1.*/build-32

Boyquotes commented 4 months ago

The 'make multilib' works fine now with delete the gstreamer build-32