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

Memory Fault (core dumped) #261

Open
pfr-dev opened this issue Sep 10, 2024 · 14 comments
Open

Memory Fault (core dumped) #261

pfr-dev opened this issue Sep 10, 2024 · 14 comments

Comments

@pfr-dev
Copy link

pfr-dev commented Sep 10, 2024

System information

NetBSD-10 STABLE

Detailed information

spotify-qt would launch to begin with, but would not play anything due to a Failed to start playback: Player command failed: No active device found. So I looked and it seemed no playback device was listed. So I went in and added the path to /usr/pkg/bin/librespot for the device, restarted spotify-qt and....

What happens?

Xxio

So I checked the .core file...

~ $ gdb spotify-qt spotify-qt.core
GNU gdb (GDB) 11.0.50.20200914-git
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from spotify-qt...
(No debugging symbols found in spotify-qt)
[New process 769]
[New process 773]
[New process 772]
[New process 771]
[New process 770]
Core was generated by `spotify-qt'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000075e1ae34f876 in QObject::deleteLater() () from /usr/pkg/qt6/lib/libQt6Core.so.6
[Current thread is 1 (process 769)]
(gdb) bt
#0  0x000075e1ae34f876 in QObject::deleteLater() () from /usr/pkg/qt6/lib/libQt6Core.so.6
#1  0x00000000a78dc73d in ?? ()
#2  0x00000000a78dc774 in ?? ()
#3  0x00000000a78e0e4d in ?? ()
#4  0x00000000a7960ccc in ?? ()
#5  0x00000000a7855e4d in ?? ()
#6  0x00007f7e53c0baf8 in ?? () from /usr/libexec/ld.elf_so
#7  0x0000000000000001 in ?? ()
#8  0x00007f7fffa0f348 in ?? ()
#9  0x0000000000000000 in ?? ()
(gdb) 

Not much info here...

I tried uninstalling, clearing ~/.cache/spotify-qt/ and reinstalling but the issue persists. How can I completely purge spotify-qt and its dependencies from my system to start again?

@pfr-dev
Copy link
Author

pfr-dev commented Sep 10, 2024

Similar to #251 ? what happened to #252 ?

@0323pin
Copy link

0323pin commented Sep 11, 2024

@kraxarn Hi, NetBSD package maintainer here.

I can reproduce this on my system. Even though, I've just build the latest release with -DCMAKE_BUILD_TYPE=RelWithDebInfo, I can't seem to get a better backtrace 😞

gdb spotify-qt spotify-qt.core
GNU gdb (GDB) 15.1
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from spotify-qt...
(No debugging symbols found in spotify-qt)
[New process 10828]
[New process 17567]
[New process 7960]
[New process 22802]
Core was generated by `spotify-qt'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000070fe6038c553 in QObject::deleteLater() () from /usr/pkg/qt6/lib/libQt6Core.so.6
[Current thread is 1 (process 10828)]
(gdb) bt
#0  0x000070fe6038c553 in QObject::deleteLater() () from /usr/pkg/qt6/lib/libQt6Core.so.6
#1  0x00000000004878a3 in ?? ()
#2  0x00000000004878da in ?? ()
#3  0x000000000048c25e in ?? ()
#4  0x000000000051709c in ?? ()
#5  0x00000000003ffba5 in ?? ()
#6  0x00007f7ff7447f58 in ?? () from /usr/libexec/ld.elf_so
#7  0x0000000000000001 in ?? ()
#8  0x00007f7fff2dccf8 in ?? ()
#9  0x0000000000000000 in ?? ()

Additional info:
compiler: gcc version 12.4.0
cmake: cmake version 3.30.3
OS: NetBSD 10.99.12 (GENERIC)

@kraxarn
Copy link
Owner

kraxarn commented Sep 12, 2024

Yeah, seems to be the same issue as #251. Because there has been no progress in the pull request in a while, I'll probably try to fix the remaining issues with it myself, as this seems to be a fairly common issue.

As for working around this, the config file should be in "~/.config/kraxarn/spotify-qt.json", which can be fetched using "spotify-qt --paths". If you open the file and set "Spotify.start_client" to "false", or just delete the file entirely, you should be able to start the client again.

@pfr-dev
Copy link
Author

pfr-dev commented Sep 13, 2024

Is this at all related to librespot/issues/1308 ?
I'm also unable to authenticate using ncspot on various machines. Hoping this will be fixed in the near future.

@0323pin
Copy link

0323pin commented Sep 13, 2024

@pfr-dev I don't think so. I had no issues with authentication while trying to reproduce your issue. You might have had bad luck and bumped into both of these.

For the record, I use spotify-player built with different audio backends on two different machines, running two different OSs and, both work for now. That said, it wouldn't surprise me if things break at some point. After all, Spotify only really supports streaming through Googles WideVine.

@kraxarn
Copy link
Owner

kraxarn commented Sep 14, 2024

Yeah, seems to be the same issue as #251. Because there has been no progress in the pull request in a while, I'll probably try to fix the remaining issues with it myself, as this seems to be a fairly common issue.

As for working around this, the config file should be in "~/.config/kraxarn/spotify-qt.json", which can be fetched using "spotify-qt --paths". If you open the file and set "Spotify.start_client" to "false", or just delete the file entirely, you should be able to start the client again.

@pfr-dev
Copy link
Author

pfr-dev commented Nov 4, 2024

I've since updated to librespot 0.5.0 VERGEN_IDEMPOTENT_OUTPUT (Built on 2024-10-28, Build ID: tojQ59CQ, Profile: release) but I get the same behavior.

Also, strangely nothing showing under devices.

I can play music with ncspot just fine, but I think that uses the NetBSD default portaudio backend.

@0323pin
Copy link

0323pin commented Nov 4, 2024

I can play music with ncspot just fine, but I think that uses the NetBSD default portaudio backend.

No, on NetBSD librespot is also built with the portaudio backend.

PKG_OPTIONS_VAR=		PKG_OPTIONS.librespot
PKG_SUPPORTED_OPTIONS=		alsa gstreamer jack portaudio pulseaudio rodio sdl
PKG_SUGGESTED_OPTIONS=		portaudio
[...]

This just means that if you want to use another backend, you need to compile from source. Pre-built binaries will use portaudio.

As for this issue, it's because #252 has been merged but, there is no new release, yet. You will need to build spotify-qt from the master branch.

Even if @kraxarn pushes a new release, you will still need to wait for the next stable package release which, is due somewhere between Christmas and New year.

@pfr-dev
Copy link
Author

pfr-dev commented Nov 4, 2024

Ok Thanks Pin. When I ran make show-options I didn't see any of that..

/usr/pkgsrc/audio/spotify-qt λ make show-options
Any of the following general options may be selected:
At most one of the following gui options may be selected:
        qt5      Enable support for Qt5.
        qt6      Enable support for Qt6.

These options are enabled by default:
        qt6

These options are currently enabled:
        qt6

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or PKG_OPTIONS.spotify-qt.

This is the options.mk file in pkgsrc on my system.

/usr/pkgsrc/audio/spotify-qt λ cat options.mk                                   
# $NetBSD: options.mk,v 1.1 2023/09/06 12:25:21 pin Exp $

PKG_OPTIONS_VAR=        PKG_OPTIONS.spotify-qt
PKG_OPTIONS_OPTIONAL_GROUPS=    gui
PKG_OPTIONS_GROUP.gui=      qt5 qt6
PKG_SUGGESTED_OPTIONS=      qt6

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mqt5)                                                                        
.include "../../x11/qt5-qtbase/buildlink3.mk"                                                       
.include "../../x11/qt5-qtsvg/buildlink3.mk"                                                        
.endif                                                                                              

.if !empty(PKG_OPTIONS:Mqt6)
.include "../../x11/qt6-qtbase/buildlink3.mk"
.include "../../graphics/qt6-qtsvg/buildlink3.mk"
.endif

So I'm unable to build it without those options present.

Any chance you can paste the more recent options.mk file for me to copy over?

@0323pin
Copy link

0323pin commented Nov 4, 2024

@pfr-dev the audio options are for librespot, not for spotify-qt.

Build options are ... well, build options and can only be used for source builds. Binaries come with default options. Anyway, not changing them only means you will need both portaudio and pulseaudio installed.

On the other hand, you do need a spotify-qt build from the master branch here. If you want, I can help you with that but, this is out of scope on this issue.

@pfr-dev
Copy link
Author

pfr-dev commented Nov 4, 2024

Doh! I knew it would be obvious. Sorry for the noise.

@0323pin
Copy link

0323pin commented Nov 4, 2024

Doh! I knew it would be obvious. Sorry for the noise.

No worries. After all the bug still lives in your version.

@0323pin
Copy link

0323pin commented Nov 4, 2024

@pfr-dev instructions on how to build from the master branch here have now been sent to you off thread.

@pfr-dev
Copy link
Author

pfr-dev commented Nov 5, 2024

@kraxarn With Pin's help I've attempted to build from d647b202fd23cd and get the following build error:

/usr/pkgsrc/wip/spotify-qt λ make VERBOSE=1
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Checking for vulnerabilities in spotify-qt-3.11nb20
===> Building for spotify-qt-3.11nb20
/usr/pkg/bin/cmake -S/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d -B/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/pkg/bin/cmake -E cmake_progress_start /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/CMakeFiles /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build//CMakeFiles/progress.marks
/usr/bin/make  -f CMakeFiles/Makefile2 all
--- lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen_timestamp_deps.dir/all ---
/usr/bin/make  -f lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen_timestamp_deps.dir/build.make lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen_timestamp_deps.dir/depend
--- lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen_timestamp_deps.dir/depend ---
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/thirdparty /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/thirdparty /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen_timestamp_deps.dir/DependInfo.cmake "--color="
/usr/bin/make  -f lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen_timestamp_deps.dir/build.make lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen_timestamp_deps.dir/build
[  0%] Built target spotify-qt-lib-third-party_autogen_timestamp_deps
--- lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen.dir/all ---
/usr/bin/make  -f lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen.dir/build.make lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen.dir/depend
--- lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen.dir/depend ---
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/thirdparty /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/thirdparty /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen.dir/DependInfo.cmake "--color="
Dependencies file "lib/thirdparty/spotify-qt-lib-third-party_autogen/deps" is newer than depends file "/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target spotify-qt-lib-third-party_autogen
/usr/bin/make  -f lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen.dir/build.make lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party_autogen.dir/build
[  1%] Built target spotify-qt-lib-third-party_autogen
--- lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party.dir/all ---
/usr/bin/make  -f lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party.dir/build.make lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party.dir/depend
--- lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party.dir/depend ---
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/thirdparty /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/thirdparty /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party.dir/DependInfo.cmake "--color="
Dependencies file "lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party.dir/spotify-qt-lib-third-party_autogen/mocs_compilation.cpp.o.d" is newer than depends file "/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target spotify-qt-lib-third-party
/usr/bin/make  -f lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party.dir/build.make lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party.dir/build
[  2%] Built target spotify-qt-lib-third-party
--- lib/CMakeFiles/spotify-qt-lib_autogen_timestamp_deps.dir/all ---
/usr/bin/make  -f lib/CMakeFiles/spotify-qt-lib_autogen_timestamp_deps.dir/build.make lib/CMakeFiles/spotify-qt-lib_autogen_timestamp_deps.dir/depend
--- lib/CMakeFiles/spotify-qt-lib_autogen_timestamp_deps.dir/depend ---
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/CMakeFiles/spotify-qt-lib_autogen_timestamp_deps.dir/DependInfo.cmake "--color="
/usr/bin/make  -f lib/CMakeFiles/spotify-qt-lib_autogen_timestamp_deps.dir/build.make lib/CMakeFiles/spotify-qt-lib_autogen_timestamp_deps.dir/build
[  2%] Built target spotify-qt-lib_autogen_timestamp_deps
--- lib/CMakeFiles/spotify-qt-lib_autogen.dir/all ---
/usr/bin/make  -f lib/CMakeFiles/spotify-qt-lib_autogen.dir/build.make lib/CMakeFiles/spotify-qt-lib_autogen.dir/depend
--- lib/CMakeFiles/spotify-qt-lib_autogen.dir/depend ---
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/CMakeFiles/spotify-qt-lib_autogen.dir/DependInfo.cmake "--color="
Dependencies file "lib/spotify-qt-lib_autogen/deps" is newer than depends file "/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/CMakeFiles/spotify-qt-lib_autogen.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target spotify-qt-lib_autogen
/usr/bin/make  -f lib/CMakeFiles/spotify-qt-lib_autogen.dir/build.make lib/CMakeFiles/spotify-qt-lib_autogen.dir/build
[  2%] Built target spotify-qt-lib_autogen
--- lib/CMakeFiles/spotify-qt-lib.dir/all ---
/usr/bin/make  -f lib/CMakeFiles/spotify-qt-lib.dir/build.make lib/CMakeFiles/spotify-qt-lib.dir/depend
--- lib/CMakeFiles/spotify-qt-lib.dir/depend ---
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/CMakeFiles/spotify-qt-lib.dir/DependInfo.cmake "--color="
Dependencies file "lib/CMakeFiles/spotify-qt-lib.dir/src/base64.cpp.o.d" is newer than depends file "/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/CMakeFiles/spotify-qt-lib.dir/compiler_depend.internal".
Dependencies file "lib/CMakeFiles/spotify-qt-lib.dir/src/datetime.cpp.o.d" is newer than depends file "/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/CMakeFiles/spotify-qt-lib.dir/compiler_depend.internal".
Dependencies file "lib/CMakeFiles/spotify-qt-lib.dir/src/developermode.cpp.o.d" is newer than depends file "/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/CMakeFiles/spotify-qt-lib.dir/compiler_depend.internal".
Dependencies file "lib/CMakeFiles/spotify-qt-lib.dir/src/format.cpp.o.d" is newer than depends file "/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/CMakeFiles/spotify-qt-lib.dir/compiler_depend.internal".
Dependencies file "lib/CMakeFiles/spotify-qt-lib.dir/src/httpclient.cpp.o.d" is newer than depends file "/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/CMakeFiles/spotify-qt-lib.dir/compiler_depend.internal".
Dependencies file "lib/CMakeFiles/spotify-qt-lib.dir/src/image.cpp.o.d" is newer than depends file "/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/CMakeFiles/spotify-qt-lib.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target spotify-qt-lib
/usr/bin/make  -f lib/CMakeFiles/spotify-qt-lib.dir/build.make lib/CMakeFiles/spotify-qt-lib.dir/build
--- lib/CMakeFiles/spotify-qt-lib.dir/spotify-qt-lib_autogen/mocs_compilation.cpp.o ---
--- lib/CMakeFiles/spotify-qt-lib.dir/src/json.cpp.o ---
--- lib/CMakeFiles/spotify-qt-lib.dir/src/log.cpp.o ---
--- lib/CMakeFiles/spotify-qt-lib.dir/src/logmessage.cpp.o ---
--- lib/CMakeFiles/spotify-qt-lib.dir/src/random.cpp.o ---
--- lib/CMakeFiles/spotify-qt-lib.dir/src/settings.cpp.o ---
--- lib/CMakeFiles/spotify-qt-lib.dir/src/json.cpp.o ---
[  3%] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/json.cpp.o
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib && /usr/pkgsrc/wip/spotify-qt/work/.cwrapper/bin/c++ -DIS_GNU_CXX -DLIB_VERSION=\"v0.9\" -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/spotify-qt-lib_autogen/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/thirdparty/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/qt/include -isystem /usr/pkg/qt5/include -isystem /usr/pkg/qt5/include/QtCore -isystem /usr/pkg/qt5/./mkspecs/netbsd-g++ -isystem /usr/pkg/qt5/include/QtNetwork -O2 -I/usr/pkg/include -I/usr/pkg/qt6/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -DNDEBUG -std=gnu++11 -Wall -Wextra -fPIC -MD -MT lib/CMakeFiles/spotify-qt-lib.dir/src/json.cpp.o -MF CMakeFiles/spotify-qt-lib.dir/src/json.cpp.o.d -o CMakeFiles/spotify-qt-lib.dir/src/json.cpp.o -c /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/src/json.cpp
--- lib/CMakeFiles/spotify-qt-lib.dir/src/log.cpp.o ---
[  3%] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/log.cpp.o
--- lib/CMakeFiles/spotify-qt-lib.dir/spotify-qt-lib_autogen/mocs_compilation.cpp.o ---
[  3%] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/spotify-qt-lib_autogen/mocs_compilation.cpp.o
--- lib/CMakeFiles/spotify-qt-lib.dir/src/random.cpp.o ---
[  3%] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/random.cpp.o
--- lib/CMakeFiles/spotify-qt-lib.dir/src/log.cpp.o ---
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib && /usr/pkgsrc/wip/spotify-qt/work/.cwrapper/bin/c++ -DIS_GNU_CXX -DLIB_VERSION=\"v0.9\" -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/spotify-qt-lib_autogen/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/thirdparty/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/qt/include -isystem /usr/pkg/qt5/include -isystem /usr/pkg/qt5/include/QtCore -isystem /usr/pkg/qt5/./mkspecs/netbsd-g++ -isystem /usr/pkg/qt5/include/QtNetwork -O2 -I/usr/pkg/include -I/usr/pkg/qt6/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -DNDEBUG -std=gnu++11 -Wall -Wextra -fPIC -MD -MT lib/CMakeFiles/spotify-qt-lib.dir/src/log.cpp.o -MF CMakeFiles/spotify-qt-lib.dir/src/log.cpp.o.d -o CMakeFiles/spotify-qt-lib.dir/src/log.cpp.o -c /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/src/log.cpp
--- lib/CMakeFiles/spotify-qt-lib.dir/src/settings.cpp.o ---
[  4%] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/settings.cpp.o
--- lib/CMakeFiles/spotify-qt-lib.dir/src/random.cpp.o ---
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib && /usr/pkgsrc/wip/spotify-qt/work/.cwrapper/bin/c++ -DIS_GNU_CXX -DLIB_VERSION=\"v0.9\" -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/spotify-qt-lib_autogen/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/thirdparty/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/qt/include -isystem /usr/pkg/qt5/include -isystem /usr/pkg/qt5/include/QtCore -isystem /usr/pkg/qt5/./mkspecs/netbsd-g++ -isystem /usr/pkg/qt5/include/QtNetwork -O2 -I/usr/pkg/include -I/usr/pkg/qt6/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -DNDEBUG -std=gnu++11 -Wall -Wextra -fPIC -MD -MT lib/CMakeFiles/spotify-qt-lib.dir/src/random.cpp.o -MF CMakeFiles/spotify-qt-lib.dir/src/random.cpp.o.d -o CMakeFiles/spotify-qt-lib.dir/src/random.cpp.o -c /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/src/random.cpp
--- lib/CMakeFiles/spotify-qt-lib.dir/src/logmessage.cpp.o ---
[  5%] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/logmessage.cpp.o
--- lib/CMakeFiles/spotify-qt-lib.dir/src/settings.cpp.o ---
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib && /usr/pkgsrc/wip/spotify-qt/work/.cwrapper/bin/c++ -DIS_GNU_CXX -DLIB_VERSION=\"v0.9\" -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/spotify-qt-lib_autogen/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/thirdparty/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/qt/include -isystem /usr/pkg/qt5/include -isystem /usr/pkg/qt5/include/QtCore -isystem /usr/pkg/qt5/./mkspecs/netbsd-g++ -isystem /usr/pkg/qt5/include/QtNetwork -O2 -I/usr/pkg/include -I/usr/pkg/qt6/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -DNDEBUG -std=gnu++11 -Wall -Wextra -fPIC -MD -MT lib/CMakeFiles/spotify-qt-lib.dir/src/settings.cpp.o -MF CMakeFiles/spotify-qt-lib.dir/src/settings.cpp.o.d -o CMakeFiles/spotify-qt-lib.dir/src/settings.cpp.o -c /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/src/settings.cpp
--- lib/CMakeFiles/spotify-qt-lib.dir/spotify-qt-lib_autogen/mocs_compilation.cpp.o ---
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib && /usr/pkgsrc/wip/spotify-qt/work/.cwrapper/bin/c++ -DIS_GNU_CXX -DLIB_VERSION=\"v0.9\" -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/spotify-qt-lib_autogen/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/thirdparty/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/qt/include -isystem /usr/pkg/qt5/include -isystem /usr/pkg/qt5/include/QtCore -isystem /usr/pkg/qt5/./mkspecs/netbsd-g++ -isystem /usr/pkg/qt5/include/QtNetwork -O2 -I/usr/pkg/include -I/usr/pkg/qt6/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -DNDEBUG -std=gnu++11 -Wall -Wextra -fPIC -MD -MT lib/CMakeFiles/spotify-qt-lib.dir/spotify-qt-lib_autogen/mocs_compilation.cpp.o -MF CMakeFiles/spotify-qt-lib.dir/spotify-qt-lib_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/spotify-qt-lib.dir/spotify-qt-lib_autogen/mocs_compilation.cpp.o -c /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/spotify-qt-lib_autogen/mocs_compilation.cpp
--- lib/CMakeFiles/spotify-qt-lib.dir/src/logmessage.cpp.o ---
cd /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib && /usr/pkgsrc/wip/spotify-qt/work/.cwrapper/bin/c++ -DIS_GNU_CXX -DLIB_VERSION=\"v0.9\" -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/spotify-qt-lib_autogen/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/thirdparty/include -I/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/qt/include -isystem /usr/pkg/qt5/include -isystem /usr/pkg/qt5/include/QtCore -isystem /usr/pkg/qt5/./mkspecs/netbsd-g++ -isystem /usr/pkg/qt5/include/QtNetwork -O2 -I/usr/pkg/include -I/usr/pkg/qt6/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -DNDEBUG -std=gnu++11 -Wall -Wextra -fPIC -MD -MT lib/CMakeFiles/spotify-qt-lib.dir/src/logmessage.cpp.o -MF CMakeFiles/spotify-qt-lib.dir/src/logmessage.cpp.o.d -o CMakeFiles/spotify-qt-lib.dir/src/logmessage.cpp.o -c /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/lib/src/logmessage.cpp
--- lib/CMakeFiles/spotify-qt-lib.dir/spotify-qt-lib_autogen/mocs_compilation.cpp.o ---
In file included from /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/spotify-qt-lib_autogen/MZCDPCFXSR/moc_httpclient.cpp:10,
                 from /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/spotify-qt-lib_autogen/mocs_compilation.cpp:2:
/usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build/lib/spotify-qt-lib_autogen/MZCDPCFXSR/../../../../lib/qt/include/lib/qt/httpclient.hpp:5:10: fatal error: QObject: No such file or directory
    5 | #include <QObject>
      |          ^~~~~~~~~
compilation terminated.
*** [lib/CMakeFiles/spotify-qt-lib.dir/spotify-qt-lib_autogen/mocs_compilation.cpp.o] Error code 1

make[2]: stopped in /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build
1 error

make[2]: stopped in /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build
*** [lib/CMakeFiles/spotify-qt-lib.dir/all] Error code 2

make[1]: stopped in /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build
1 error

make[1]: stopped in /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build
*** [all] Error code 2

make: stopped in /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build
1 error

make: stopped in /usr/pkgsrc/wip/spotify-qt/work/spotify-qt-d647b202fd23cd33477759f1a4aa27dfc0482d8d/cmake-pkgsrc-build
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/wip/spotify-qt
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wip/spotify-qt

He is unable to reproduce this but he is on qt6.8.0 whereas I am on qt6.7.2

Can you please confirm if this commit (which might solve this issue) relies on a higer version than qt6.7.2?

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

3 participants