Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling 7.14 on Deb 12 notes #42

Open
jmergy opened this issue Dec 20, 2024 · 10 comments
Open

compiling 7.14 on Deb 12 notes #42

jmergy opened this issue Dec 20, 2024 · 10 comments

Comments

@jmergy
Copy link

jmergy commented Dec 20, 2024

Just a heads-up to all those on Debian 12.x there are some additiona dependencies to check if you don't have them already

-gsoap
-various additional qt6 libs

I'll post something on that on my site too. Just going through a compile now...

@vineethrp
Copy link

I am stuck building on ubuntu as well. configure fails with qt6 not found error. I installed couple of qt6 packages based on intuition, but its not enough. Finally itsfailing in compile phase with missing header files like QtStateMachin, QSignalTransition etc. Waiting for your notes :-). Thanks

@jmergy
Copy link
Author

jmergy commented Dec 22, 2024

On Deb 12 I had to install a lot of qt6 related packages to get it to compile. But, got it after about 5 or so passes.

@jmergy
Copy link
Author

jmergy commented Dec 23, 2024

@vineethrp hope this is helpful. Just snagged my /var/log/apt/history for the passes I had to make

https://mergy.org/compiling-vbox-kvm-on-debian-12-x/

@vineethrp
Copy link

Thanks @jmergy , I shall give it a try on my ubuntu and let you know. Thanks again for a nice writeup :-)

@vineethrp
Copy link

vineethrp commented Dec 24, 2024

The build succeeded after I took packages from the list compiled by @jmergy :-). Thanks a lot for compiling the list. Many of the packages in the list was not in ubuntu. But the build succeeded with whatever got successfully installed from the list :-).

I tried this on ubuntu 24.10. The packages are here:

apt install qt6-base-dev libQt6Help* qt6-tools* libqt6statemachine6 libqt6scxml6 qml6-module-qtscxml gsoap gsoap-doc libcgsi-gsoap-dev libcgsi-gsoap1 python3-pyside2.qtscxml libqt5scxml5-bin qtscxml5-examples qt6-scxml-dev libqt6scxml6-bin qml6-module-qtscxml libqt5scxml5 libqt5scxml5-private-dev qtscxml5-doc-html qtscxml5-doc libinput-dev libevdev-dev qt6-wayland qt6-declarative-dev libqt6quickshapes6 libqt6jsonrpc6 qt6-connectivity-dev libqt6bluetooth6 qt6-datavisualization-dev libgudev-1.0-dev libqt6quickcontrols2-6 qt6-base-private-dev libqt6datavisualization6 gir1.2-gudev-1.0 qt6ct libqt6qmlcompiler6 qt6-wayland-dev-tools libqt6bluetooth6-bin libqt6languageserver6 libqt6nfc6 libqt6svg6 libqt6waylandcompositor6 libqt6waylandclient6 libqt6quicktest6 libqt6qmlworkerscript6

@jmergy
Copy link
Author

jmergy commented Dec 24, 2024

@vineethrp excellent news.

@XenoAmess
Copy link

The build succeeded after I took packages from the list compiled by @jmergy :-). Thanks a lot for compiling the list. Many of the packages in the list was not in ubuntu. But the build succeeded with whatever got successfully installed from the list :-).

I tried this on ubuntu 24.10. The packages are here:

apt install qt6-base-dev libQt6Help* qt6-tools* libqt6statemachine6 libqt6scxml6 qml6-module-qtscxml gsoap gsoap-doc libcgsi-gsoap-dev libcgsi-gsoap1 python3-pyside2.qtscxml libqt5scxml5-bin qtscxml5-examples qt6-scxml-dev libqt6scxml6-bin qml6-module-qtscxml libqt5scxml5 libqt5scxml5-private-dev qtscxml5-doc-html qtscxml5-doc libinput-dev libevdev-dev qt6-wayland qt6-declarative-dev libqt6quickshapes6 libqt6jsonrpc6 qt6-connectivity-dev libqt6bluetooth6 qt6-datavisualization-dev libgudev-1.0-dev libqt6quickcontrols2-6 qt6-base-private-dev libqt6datavisualization6 gir1.2-gudev-1.0 qt6ct libqt6qmlcompiler6 qt6-wayland-dev-tools libqt6bluetooth6-bin libqt6languageserver6 libqt6nfc6 libqt6svg6 libqt6waylandcompositor6 libqt6waylandclient6 libqt6quicktest6 libqt6qmlworkerscript6

I used this sheet too on ubuntu 24 but get error with soap....sigh

@vineethrp
Copy link

The build succeeded after I took packages from the list compiled by @jmergy :-). Thanks a lot for compiling the list. Many of the packages in the list was not in ubuntu. But the build succeeded with whatever got successfully installed from the list :-).
I tried this on ubuntu 24.10. The packages are here:

apt install qt6-base-dev libQt6Help* qt6-tools* libqt6statemachine6 libqt6scxml6 qml6-module-qtscxml gsoap gsoap-doc libcgsi-gsoap-dev libcgsi-gsoap1 python3-pyside2.qtscxml libqt5scxml5-bin qtscxml5-examples qt6-scxml-dev libqt6scxml6-bin qml6-module-qtscxml libqt5scxml5 libqt5scxml5-private-dev qtscxml5-doc-html qtscxml5-doc libinput-dev libevdev-dev qt6-wayland qt6-declarative-dev libqt6quickshapes6 libqt6jsonrpc6 qt6-connectivity-dev libqt6bluetooth6 qt6-datavisualization-dev libgudev-1.0-dev libqt6quickcontrols2-6 qt6-base-private-dev libqt6datavisualization6 gir1.2-gudev-1.0 qt6ct libqt6qmlcompiler6 qt6-wayland-dev-tools libqt6bluetooth6-bin libqt6languageserver6 libqt6nfc6 libqt6svg6 libqt6waylandcompositor6 libqt6waylandclient6 libqt6quicktest6 libqt6qmlworkerscript6

I used this sheet too on ubuntu 24 but get error with soap....sigh

Could you please post the error logs? I did not see any error messages and it might be that I already had some dependency installed prior. Thanks

@tpressure
Copy link
Contributor

@vineethrp see #40 for more details.

@vineethrp
Copy link

@tpressure , thanks for pointing to the details. I think you might have some gsoap packages missing. So I did an experiment and installed a fresh ubuntu24.10 virtual machine and did the following:

sudo apt update && sudo apt upgrade
sudo apt install openssh-server
sudo apt install vim git build-essential acpica-tools chrpath doxygen g++-multilib libasound2-dev libcap-dev \
       	libcurl4-openssl-dev libdevmapper-dev libidl-dev libopus-dev libpam0g-dev libpulse-dev libsdl1.2-dev \
	libsdl-ttf2.0-dev libssl-dev libvpx-dev libxcursor-dev libxinerama-dev libxml2-dev libxml2-utils \
	libxmu-dev libxrandr-dev make nasm python3-dev texlive texlive-fonts-extra texlive-latex-extra unzip \
	xsltproc default-jdk libxslt1-dev linux-kernel-headers makeself mesa-common-dev subversion yasm zlib1g-dev \
	glslang-tools libc6-dev-i386 lib32stdc++6 libtpms-dev qt6-base-dev libQt6Help* qt6-tools* libqt6statemachine6 \
	libqt6scxml6 qml6-module-qtscxml gsoap gsoap-doc libcgsi-gsoap-dev libcgsi-gsoap1 python3-pyside2.qtscxml \
       	libqt5scxml5-bin qtscxml5-examples qt6-scxml-dev libqt6scxml6-bin qml6-module-qtscxml libqt5scxml5 \
	libqt5scxml5-private-dev qtscxml5-doc-html qtscxml5-doc libinput-dev libevdev-dev qt6-wayland \
	qt6-declarative-dev libqt6quickshapes6 libqt6jsonrpc6 qt6-connectivity-dev libqt6bluetooth6 \
	qt6-datavisualization-dev libgudev-1.0-dev libqt6quickcontrols2-6 qt6-base-private-dev \
	libqt6datavisualization6 gir1.2-gudev-1.0 qt6ct libqt6qmlcompiler6 qt6-wayland-dev-tools \
	libqt6bluetooth6-bin libqt6languageserver6 libqt6nfc6 libqt6svg6 libqt6waylandcompositor6 \
	libqt6waylandclient6 libqt6quicktest6 libqt6qmlworkerscript6

And then tried the build and build succeeded. I have no other packages other than the above.

As mentioned in the bug you pointed, if build succeeds without guest additions, that should also be fine :-). But you could give this a try to verify if the gsoap issue goes away.

I have a small set of changes in the vbox source to hide the __memset_chk errors as well:

diff --git a/src/VBox/Additions/x11/undefined_xfree86 b/src/VBox/Additions/x11/undefined_xfree86
index e80b6819..e23c0590 100644
--- a/src/VBox/Additions/x11/undefined_xfree86
+++ b/src/VBox/Additions/x11/undefined_xfree86
@@ -277,6 +277,7 @@ memcpy
 "memcpy",xf86memcpy
 memset
 "memset",xf86memset
+__memset_chk
 miAllocateGCPrivateIndex
 miChangeBorderWidth
 miChangeClip
diff --git a/src/VBox/Additions/x11/undefined_xfree86_modules b/src/VBox/Additions/x11/undefined_xfree86_modules
index 9a800b2c..4e89c3b7 100644
--- a/src/VBox/Additions/x11/undefined_xfree86_modules
+++ b/src/VBox/Additions/x11/undefined_xfree86_modules
@@ -3,6 +3,7 @@
 
 fbPictureInit
 fbScreenInit
+__memset_chk
 ShadowFBInit2
 vgaHWFreeHWRec
 vgaHWGetHWRec
diff --git a/src/VBox/Additions/x11/undefined_xorg b/src/VBox/Additions/x11/undefined_xorg
index dcc6c8fc..31d06943 100644
--- a/src/VBox/Additions/x11/undefined_xorg
+++ b/src/VBox/Additions/x11/undefined_xorg
@@ -81,6 +81,7 @@ memalign
 memchr
 memcmp
 __memcpy_chk
+__memset_chk
 memmove
 miPointerGetScreen
 mmap64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants