You are not logged in.
I'm trying to compile strawberry using the asp and makepkg method, but it fails.
Getting the repository works fine:
[cedric@cedric ~]$ cd Downloads/
[cedric@cedric Downloads]$ asp checkout strawberry
remote: Enumerating objects: 495, done.
remote: Counting objects: 100% (90/90), done.
remote: Compressing objects: 100% (90/90), done.
remote: Total 495 (delta 59), reused 0 (delta 0), pack-reused 405
Receiving objects: 100% (495/495), 71.91 KiB | 3.42 MiB/s, done.
Resolving deltas: 100% (84/84), done.
From https://github.com/archlinux/svntogit-community
* branch packages/strawberry -> FETCH_HEAD
* [new branch] packages/strawberry -> community/packages/strawberry
Cloning into 'strawberry'...
done.
Then I cd into the trunk:
[cedric@cedric Downloads]$ cd strawberry/
[cedric@cedric strawberry]$ ls
repos trunk
[cedric@cedric strawberry]$ cd trunk/
[cedric@cedric trunk]$ ls
PKGBUILD
Then I run pkgbuild:
[cedric@cedric trunk]$ makepkg
==> Making package: strawberry 1.0.17-2 (Sun 16 Jul 2023 06:50:40 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading strawberry-1.0.17.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 10.7M 100 10.7M 0 0 3055k 0 0:00:03 0:00:03 --:--:-- 3489k
==> Validating source files with sha256sums...
strawberry-1.0.17.tar.xz ... Passed
==> Extracting sources...
-> Extracting strawberry-1.0.17.tar.xz with bsdtar
==> Starting build()...
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Strawberry Version:
-- Display: 1.0.17
-- Package: 1.0.17
-- RPM: 1.0.17-1
-- PAC: 1.0.17-1
-- ccache found: will be used for compilation and linkage
-- Found Boost: /usr/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found version "1.81.0")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- Found the following ICU libraries:
-- uc (required): /usr/lib/libicuuc.so
-- i18n (required): /usr/lib/libicui18n.so
-- Found ICU: /usr/include (found version "73.2")
-- Found GnuTLS: /usr/lib/libgnutls.so (found version "3.8.0")
CMake Warning at /usr/share/cmake/Modules/FindProtobuf.cmake:524 (message):
Protobuf compiler version 23.4 doesn't match library version 4.23.4
Call Stack (most recent call first):
CMakeLists.txt:120 (find_package)
-- Found Protobuf: /usr/lib/libprotobuf.so (found version "4.23.4")
-- Found ALSA: /usr/lib/libasound.so (found version "1.2.9")
-- Checking for module 'dbus-1'
-- Found dbus-1, version 1.14.8
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Checking for module 'xcb'
-- Found xcb, version 1.15
-- Checking for module 'glib-2.0'
-- Found glib-2.0, version 2.76.4
-- Checking for module 'gobject-2.0'
-- Found gobject-2.0, version 2.76.4
-- Checking for module 'gio-2.0'
-- Found gio-2.0, version 2.76.4
-- Checking for module 'gio-unix-2.0'
-- Found gio-unix-2.0, version 2.76.4
-- Checking for module 'libcdio'
-- Found libcdio, version 2.1.0
-- Checking for module 'gstreamer-1.0'
-- Found gstreamer-1.0, version 1.22.4
-- Checking for module 'gstreamer-base-1.0'
-- Found gstreamer-base-1.0, version 1.22.4
-- Checking for module 'gstreamer-audio-1.0'
-- Found gstreamer-audio-1.0, version 1.22.4
-- Checking for module 'gstreamer-app-1.0'
-- Found gstreamer-app-1.0, version 1.22.4
-- Checking for module 'gstreamer-tag-1.0'
-- Found gstreamer-tag-1.0, version 1.22.4
-- Checking for module 'gstreamer-pbutils-1.0'
-- Found gstreamer-pbutils-1.0, version 1.22.4
-- Checking for module 'libvlc'
-- Found libvlc, version 3.0.18
-- Checking for module 'sqlite3>=3.9'
-- Found sqlite3, version 3.42.0
-- Checking for module 'libpulse'
-- Found libpulse, version 16.1
-- Checking for module 'libchromaprint>=1.4'
-- Found libchromaprint, version 1.5.1
-- Checking for module 'libgpod-1.0>=0.7.92'
-- Found libgpod-1.0, version 0.8.3
-- Checking for module 'libmtp>=1.0'
-- Found libmtp, version 1.1.21
-- Checking for module 'gdk-pixbuf-2.0'
-- Found gdk-pixbuf-2.0, version 2.42.10
-- Found Gettext: /usr/bin/msgmerge (found version "0.22")
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.5.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Missing qpa/qplatformnativeinterface.h header.
-- Checking for module 'taglib>=1.11.1'
-- Found taglib, version 1.13.1
-- Looking for geteuid
-- Looking for geteuid - found
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Performing Test QT_SQLITE_TEST
-- Performing Test QT_SQLITE_TEST - Success
-- Performing Test SQLITE_FTS5_TEST
-- Performing Test SQLITE_FTS5_TEST - Success
Building strawberry version: 1.0.17, Qt version 6.5.1
The following components will be built:
ALSA integration
D-Bus support
Devices: Audio CD support
Devices: GIO device backend
Devices: GIO device backend (Unix support)
Devices: MTP support
Devices: UDisks2 backend
Devices: iPod classic support
Engine: GStreamer backend
Engine: VLC backend
Global shortcuts
Moodbar
MusicBrainz integration
PulseAudio integration
Song fingerprinting and tracking
Streaming: Qobuz
Streaming: Subsonic
Streaming: Tidal
Translations
X11 global shortcuts
-- Configuring done (3.7s)
-- Generating done (0.1s)
-- Build files have been written to: /home/cedric/Downloads/strawberry/trunk/src/build
[ 0%] Generating __/moc_singleapplication_p.cpp
[ 0%] Generating __/moc_singleapplication_t.cpp
[ 0%] Generating core/moc_workerpool.cpp
[ 1%] Generating __/moc_singleapplication_p.cpp
[ 1%] Generating __/moc_singleapplication_t.cpp
[ 1%] Generating core/moc_logging.cpp
[ 1%] Generating core/moc_messagehandler.cpp
[ 1%] Generating core/moc_messagereply.cpp
[ 1%] Building CXX object ext/gstmoodbar/CMakeFiles/gstmoodbar.dir/gstfastspectrum.cpp.o
[ 1%] Building CXX object ext/gstmoodbar/CMakeFiles/gstmoodbar.dir/gstmoodbarplugin.cpp.o
<snip>
[ 3%] Building CXX object ext/libstrawberry-tagreader/CMakeFiles/libstrawberry-tagreader.dir/tagreadertaglib.cpp.o
/home/cedric/Downloads/strawberry/trunk/src/build/ext/libstrawberry-tagreader/tagreadermessages.pb.cc:961:56: warning: no previous declaration for ‘const google::protobuf::internal::DescriptorTable* descriptor_table_tagreadermessages_2eproto_getter()’ [-Wmissing-declarations]
961 | PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_tagreadermessages_2eproto_getter() {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 3%] Linking CXX static library liblibstrawberry-tagreader.a
<snip>
[ 41%] Generating /home/cedric/Downloads/strawberry/trunk/src/strawberry-1.0.17/src/translations/translations.pot
/usr/bin/xgettext: The option '--sort-output' is deprecated.
[ 41%] Generating qrc_translations.cpp
<snip>
[ 42%] Building CXX object src/CMakeFiles/strawberry_lib.dir/core/mergedproxymodel.cpp.o
/usr/bin/ld: ../libstrawberry-tagreader/liblibstrawberry-tagreader.a(tagreadermessages.pb.cc.o): undefined reference to symbol '_ZN4absl12lts_2023012512log_internal17MakeCheckOpStringIllEEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_T0_PKc'
/usr/bin/ld: /usr/lib/libabsl_log_internal_check_op.so.2301.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [ext/strawberry-tagreader/CMakeFiles/strawberry-tagreader.dir/build.make:142: strawberry-tagreader] Error 1
make[1]: *** [CMakeFiles/Makefile2:435: ext/strawberry-tagreader/CMakeFiles/strawberry-tagreader.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 42%] Building CXX object src/CMakeFiles/strawberry_lib.dir/core/multisortfilterproxy.cpp.o
<snip>
[ 99%] Building CXX object src/CMakeFiles/strawberry_lib.dir/qrc_icons.cpp.o
[ 99%] Building CXX object src/CMakeFiles/strawberry_lib.dir/qrc_translations.cpp.o
[100%] Linking CXX static library libstrawberry_lib.a
[100%] Built target strawberry_lib
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
[cedric@cedric trunk]$
Offline
I don't know if this will interfere with your efforts or not, but asp has been retired; pkgctl is the new tool for building official arch packages
Offline