Github messages for voidlinux
 help / color / mirror / Atom feed
From: jason1987d <jason1987d@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [WIP] New pacakge: Cockatrice-2.9.0
Date: Thu, 30 Nov 2023 22:20:44 +0100	[thread overview]
Message-ID: <20231130212044.4uYXmw3JOzmtUC9l07vfk-k65mNzc0G5tD7exzTP_w4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47313@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 6239 bytes --]

New comment by jason1987d on void-packages repository

https://github.com/void-linux/void-packages/pull/47313#issuecomment-1834578288

Comment:
> You may try to clean-up your dependencies. You mix up a lot of things together.
> 
> hostmakedepends: tools to build the package (you definitely do not need there the qt6-xxx stuff) makedepends: devel packages for required libraries, the pkg-config is extra there depends: the packages it should install on the system, without the ones that are resolved automatic (library depends).

Cleaned up my dependencies as such.
```
hostmakedepends="cmake git liblzma pkg-config abseil-cpp extra-cmake-modules protobuf zlib"
makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel"
depends="qt6-core qt6-base protobuf qt6-sql mariadb qt6-tools zlib"
```

Still in this same type of error though.
```
[461/577] Linking CXX executable servatrice/servatrice
FAILED: servatrice/servatrice 
: && /usr/bin/g++ -DNDEBUG -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2    -ffile-prefix-map=/builddir/Cockatrice-2.9.0/build=. -Wl,-z,relro -Wl,-z,now -Wl,--as-needed servatrice/CMakeFiles/servatrice.dir/servatrice_autogen/mocs_compilation.cpp.o servatrice/CMakeFiles/servatrice.dir/qrc_servatrice.cpp.o servatrice/CMakeFiles/servatrice.dir/src/main.cpp.o servatrice/CMakeFiles/servatrice.dir/src/servatrice.cpp.o servatrice/CMakeFiles/servatrice.dir/src/servatrice_connection_pool.cpp.o servatrice/CMakeFiles/servatrice.dir/src/servatrice_database_interface.cpp.o servatrice/CMakeFiles/servatrice.dir/src/server_logger.cpp.o servatrice/CMakeFiles/servatrice.dir/src/serversocketinterface.cpp.o servatrice/CMakeFiles/servatrice.dir/src/settingscache.cpp.o servatrice/CMakeFiles/servatrice.dir/src/isl_interface.cpp.o servatrice/CMakeFiles/servatrice.dir/src/signalhandler.cpp.o servatrice/CMakeFiles/servatrice.dir/__/version_string.cpp.o servatrice/CMakeFiles/servatrice.dir/src/smtpclient.cpp.o servatrice/CMakeFiles/servatrice.dir/src/smtp/qxthmac.cpp.o servatrice/CMakeFiles/servatrice.dir/src/smtp/qxtmailattachment.cpp.o servatrice/CMakeFiles/servatrice.dir/src/smtp/qxtmailmessage.cpp.o servatrice/CMakeFiles/servatrice.dir/src/smtp/qxtsmtp.cpp.o -o servatrice/servatrice  common/libcockatrice_common.a  /usr/lib/libQt6Sql.so.6.6.0  /usr/lib/libQt6WebSockets.so.6.6.0  common/pb/libcockatrice_protocol.a  /usr/lib/libprotobuf.so  -lpthread  /usr/lib/libQt6Network.so.6.6.0  /usr/lib/libQt6Core.so.6.6.0 && :
/usr/bin/ld: common/libcockatrice_common.a(debug_pb_message.cpp.o): undefined reference to symbol '_ZN4absl12lts_2023080213base_internal12SpinLockWaitEPSt6atomicIjEiPKNS1_22SpinLockWaitTransitionENS1_14SchedulingModeE'
/usr/bin/ld: /usr/lib/libabsl_spinlock_wait.so.2308.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[462/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/arrowtarget.cpp.o
[463/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/cardinfopicture.cpp.o
[464/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/cardframe.cpp.o
[465/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/carddragitem.cpp.o
[466/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/cardinfotext.cpp.o
[467/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/arrowitem.cpp.o
[468/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/cardinfowidget.cpp.o
[469/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/abstractclient.cpp.o
[470/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/cardlist.cpp.o
[471/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/counter_general.cpp.o
[472/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/carditem.cpp.o
[473/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/abstractcounter.cpp.o
[474/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/cardzone.cpp.o
[475/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/chatview/chatview.cpp.o
../cockatrice/src/chatview/chatview.cpp: In member function 'QColor ChatView::getCustomMentionColor()':
../cockatrice/src/chatview/chatview.cpp:474:30: warning: 'void QColor::setNamedColor(const QString&)' is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
  474 |     customColor.setNamedColor("#" + SettingsCache::instance().getChatMentionColor());
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/qpixmap.h:9,
                 from /usr/include/qt6/QtGui/qicon.h:10,
                 from /usr/include/qt6/QtWidgets/qabstractbutton.h:8,
                 from /usr/include/qt6/QtWidgets/QAbstractButton:1,
                 from ../cockatrice/src/chatview/../tab_supervisor.h:7,
                 from ../cockatrice/src/chatview/chatview.h:4,
                 from ../cockatrice/src/chatview/chatview.cpp:1:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
   66 |     void setNamedColor(const QString& name);
      |          ^~~~~~~~~~~~~
../cockatrice/src/chatview/chatview.cpp: In member function 'QColor ChatView::getCustomHighlightColor()':
../cockatrice/src/chatview/chatview.cpp:481:30: warning: 'void QColor::setNamedColor(const QString&)' is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
  481 |     customColor.setNamedColor("#" + SettingsCache::instance().getChatHighlightColor());
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
   66 |     void setNamedColor(const QString& name);
      |          ^~~~~~~~~~~~~
[476/577] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/cockatrice_autogen/mocs_compilation.cpp.o
ninja: build stopped: subcommand failed.
=> ERROR: Cockatrice-2.9.0_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 1
=> ERROR:   in do_build() at common/build-style/cmake.sh:95
```

  parent reply	other threads:[~2023-11-30 21:20 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-19 18:33 [PR PATCH] " jason1987d
2023-11-19 18:41 ` [PR PATCH] [Updated] " jason1987d
2023-11-24  2:10 ` jason1987d
2023-11-30  9:49 ` robertek
2023-11-30 21:20 ` jason1987d [this message]
2023-12-06  8:41 ` [WIP] New package: Cockatrice-2.9.0 robertek
2023-12-08 15:37 ` jason1987d
2023-12-08 15:39 ` jason1987d
2023-12-08 15:40 ` jason1987d
2023-12-08 15:45 ` jason1987d
2023-12-08 15:47 ` jason1987d
2023-12-08 15:53 ` jason1987d
2023-12-08 16:03 ` [PR PATCH] [Updated] " jason1987d
2023-12-08 16:05 ` jason1987d
2023-12-08 16:06 ` jason1987d
2023-12-08 16:33 ` jason1987d
2023-12-08 19:08 ` [PR PATCH] [Updated] " jason1987d
2023-12-08 19:08 ` jason1987d
2023-12-08 20:14 ` jason1987d
2023-12-08 20:15 ` jason1987d
2023-12-08 20:15 ` jason1987d
2023-12-08 20:23 ` [PR REVIEW] " Luciogi
2023-12-09  3:14 ` jason1987d
2023-12-09  3:16 ` jason1987d
2023-12-09  5:50 ` Luciogi
2023-12-09 19:10 ` Luciogi
2024-01-18 16:01 ` [PR PATCH] [Closed]: " jason1987d

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231130212044.4uYXmw3JOzmtUC9l07vfk-k65mNzc0G5tD7exzTP_w4@z \
    --to=jason1987d@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).