Date: Sun, 08 Oct 2023 04:42:11 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268652] Qt5: Some apps fails to start after upgrading to 5.15.8 Message-ID: <bug-268652-7788-1b34EJbyxi@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268652-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-268652-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268652 --- Comment #69 from Tatsuki Makino <tatsuki_makino@hotmail.com> --- (In reply to Tomoaki AOKI from comment #68) > ${PORTSDIR} is manually set as /ports/build (otherwise, basically, /us= r/ports is used) > ${.CURDIR} is expanded as /ports/build/FOO/qt5-BAR This means that if the value set in PORTSDIR is the same as the value at the beginning of .CURDIR, there is no problem. It was a check to see if the patch file shown in "make -C /usr/ports/devel/qt5-qmake/ -V EXTRA_PATCHES" result could be reached. ... I have had a number of people here confirm what I have come up with regarding possible matters. So I tried to reproduce the procedure for updating from the old version to = the new version :) The procedure is roughly as follows (but that may be wrong :) ) git revert --no-commit 2a5c778173f13a057551b4284269b82f6faa077f poudriere bulk -j ... multimedia/vlc multimedia/audacious-plugin ports-mgmt/pkg_replace poudriere jail -s -j ... jexec jailname-porttree-n env -i "TERM=3D$TERM" /usr/bin/login -f -p root make -C /usr/ports/multimedia/vlc pkg-depends install-package make -C /usr/ports/multimedia/audacious-plugin install-package make -C /usr/ports/ports-mgmt/pkg_replace install-package exit git restore --source=3DHEAD --worktree --staged :/ jexec jailname-porttree-n env -i "TERM=3D$TERM" /usr/bin/login -f -p root pkg_replace -B -a This completed audacious, which did not start well :) Errors like this. ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: /usr/local/lib/audaciou s/General/albumart-qt.so could not be loaded: /usr/local/lib/libaudqt.so.2: Undefined symbol "_ZN11QToolButton13checkStateSetEv@Qt_5" This operation led to one clear difference between the package created by poudriere and the update by pkg_replace. The following unified diff. --- /usr/local/lib/qt5/mkspecs/qmodule.pri 2023-09-25 23:38:37.0000000= 00 +0000 +++ /usr/local/poudriere/data/.m/src-null-1/ref/usr/local/lib/qt5/mkspecs/qmodu= le.pri 2023-10-07 09:56:52.000000000 +0000 @@ -1,11 +1,13 @@ QT_CPU_FEATURES.x86_64 =3D mmx sse sse2 -QT.global_private.enabled_features =3D sse2 alloca_malloc_h alloca avx2 dl= open network posix_fallocate reduce_exports reduce_relocations relocatable sql system-zlib testlib xml -QT.global_private.disabled_features =3D alloca_h android-style-assets private_tests dbus dbus-linked gc_binaries gui intelcet libudev release_too= ls stack-protector-strong widgets zstd +QT.global_private.enabled_features =3D sse2 alloca_malloc_h alloca avx2 dl= open libudev network posix_fallocate reduce_exports reduce_relocations relocatab= le sql system-zlib testlib xml zstd +QT.global_private.disabled_features =3D alloca_h android-style-assets private_tests dbus dbus-linked gc_binaries gui intelcet release_tools stack-protector-strong widgets PKG_CONFIG_EXECUTABLE =3D pkgconf QMAKE_LIBS_LIBDL =3D=20 +QMAKE_LIBS_LIBUDEV =3D -L/usr/local/lib -ludev QT_COORD_TYPE =3D double QMAKE_LIBS_ZLIB =3D -lz +QMAKE_LIBS_ZSTD =3D -L/usr/local/lib -lzstd CONFIG -=3D precompile_header CONFIG +=3D sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples f16c largefile rdrnd rdseed shani x86SimdAlways QT_BUILD_PARTS +=3D libs tools -QT_HOST_CFLAGS_DBUS +=3D=20 +QT_HOST_CFLAGS_DBUS +=3D -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include It seems that this is a file installed by qt5-qmake, but it looks like there may be ports that should not be installed when it is built. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268652-7788-1b34EJbyxi>