Package Details: drawpile-server 2.3.0-2

Git Clone URL: https://aur.archlinux.org/drawpile.git (read-only, click to copy)
Package Base: drawpile
Description: Collaborative drawing program specially made for use with pen tablets (server)
Upstream URL: https://drawpile.net/
Keywords: collaborative drawing editing image pen qt qt5 tablet
Licenses: GPL3
Submitter: None
Maintainer: notfood
Last Packager: notfood
Votes: 24
Popularity: 0.20
First Submitted: 2008-11-30 08:59 (UTC)
Last Updated: 2025-12-20 01:33 (UTC)

Dependencies (11)

Required by (1)

Sources (2)

Pinned Comments

Latest Comments

1 2 3 4 5 6 7 Next › Last »

hkervadec commented on 2026-04-10 11:48 (UTC)

I had the exact same type of errors as @shinmera, for now I managed to circumvent it by compiling it with clang instead of gcc (using gcc-14 or gcc-13 did not solve the issue so it's likely some old bug looming around).

CC=clang CXX="clang++" QMAKESPEC=linux-clang yay -S drawpile

shinmera commented on 2026-03-31 16:02 (UTC)

Fails to build for me with a.... segfault in the compiler?? What in the world.

In file included from /usr/include/qt6/QtCore/qtdeprecationdefinitions.h:7,
                 from /usr/include/qt6/QtCore/qtconfigmacros.h:12,
                 from /usr/include/qt6/QtCore/qtcoreglobal.h:13,
                 from /usr/include/qt6/QtCore/qglobal.h:24,
                 from /usr/include/qt6/QtCore/QtGlobal:1,
                 from /home/ogma/.cache/yay/drawpile/src/Drawpile-2.3.0/src/libshared/util/passwordhash.h:6,
                 from /home/ogma/.cache/yay/drawpile/src/Drawpile-2.3.0/src/libshared/tests/passwordhash.cpp:3:
/home/ogma/.cache/yay/drawpile/src/Drawpile-2.3.0/build/src/libshared/tests/test_shared_passwordhash_autogen/include/passwordhash.moc: In substitution of ‘template<class Reference, class const_row_type> struct QRangeModelAdapter< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::RowGetter<Reference, const_row_type, typename std::enable_if<is_pointer_v<const_row_type>, void>::type> [with const_row_type = Reference]’:
/home/ogma/.cache/yay/drawpile/src/Drawpile-2.3.0/build/src/libshared/tests/test_shared_passwordhash_autogen/include/passwordhash.moc:112:1:   required from here
  112 | QT_WARNING_POP
      | ^~~~~~~~~~~~~~
/home/ogma/.cache/yay/drawpile/src/Drawpile-2.3.0/build/src/libshared/tests/test_shared_passwordhash_autogen/include/passwordhash.moc:112:1: internal compiler error: Segmentation fault
0x26ef811 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t)
        ???:0
0x2749918 internal_error(char const*, ...)
        ???:0
0x91647d tsubst(tree_node*, tree_node*, int, tree_node*)
        ???:0
0x91fa57 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
        ???:0
0x91fd42 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
        ???:0
0x915d12 tsubst(tree_node*, tree_node*, int, tree_node*)
        ???:0
0x911d20 most_specialized_partial_spec(tree_node*, int, bool)
        ???:0
0x8b4a20 class_decl_loc_t::diag_mismatched_tags(tree_node*)
        ???:0
0x8ed8a4 class_decl_loc_t::diag_mismatched_tags()
        ???:0
0xa238f5 c_common_parse_file()
        ???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues> for instructions.
make[2]: *** [src/libshared/tests/CMakeFiles/test_shared_passwordhash.dir/build.make:100: src/libshared/tests/CMakeFiles/test_shared_passwordhash.dir/passwordhash.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3911: src/libshared/tests/CMakeFiles/test_shared_passwordhash.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: drawpile-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
drawpile-server - exit status 4

raku-cat commented on 2026-03-21 06:15 (UTC)

Not sure about prevs system but here to report for me qt6-websockets was all that was needed to get a working build. The given build/drawpile/src/Drawpile-2.3.0/src/tools/ directory was empty for me, perhaps it was some weird aur helper thing that skipped actually building the tools before packaging? :s

lamarpavel commented on 2026-03-06 07:52 (UTC)

Oh, sorry for the late reply.

ls build/drawpile/src/pkg/usr/bin/
drawpile  drawpile-srv

The binaries for dprectool, drawpile-cmd and drawpile-timelapse can be found in build/drawpile/src/Drawpile-2.3.0/src/tools/ instead.

notfood commented on 2025-12-29 20:10 (UTC)

What do you see under /build/drawpile/src/pkg/usr/bin/?

lamarpavel commented on 2025-12-27 09:59 (UTC) (edited on 2025-12-27 10:00 (UTC) by lamarpavel)

Thanks for the heads-up fekoneko. The build now proceeds until

==> Starting package_drawpile-tools()...
cp: cannot stat '/build/drawpile/src/pkg/usr/bin/dprectool': No such file or directory
cp: cannot stat '/build/drawpile/src/pkg/usr/bin/drawpile-cmd': No such file or directory
cp: cannot stat '/build/drawpile/src/pkg/usr/bin/drawpile-timelapse': No such file or directory
==> ERROR: A failure occurred in package_drawpile-tools().
    Aborting...

This is in a clean build environment, so the path given in the PKGBUILD as

cp "${srcdir}"/pkg/usr/bin/{dprectool,drawpile-cmd,drawpile-timelapse} "${pkgdir}"/usr/bin

is making a wrong assumption.

fekoneko commented on 2025-12-24 09:36 (UTC)

To fix the prior mentioned error, install the qt6-websockets package.

This probably should be added as a dependency.

Also, keywords on the AUR package page still mention qt5 :)

And, yes, thank you for maintaining this package!

lamarpavel commented on 2025-12-19 12:27 (UTC)

Hi, thanks for maintaining this package!

The sha256sum for QT6_fix.patch is incorrect in the PKGBUILD, it should be: 03242dd19518e525832c1a67a5df946f62cd383b56d0f413e0c43ae0246c4e6a

And when building in a clean environment, cmake aborts with

-- Could NOT find Qt6WebSockets (missing: Qt6WebSockets_DIR)
CMake Error at CMakeLists.txt:217 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "WebSockets".

  Expected Config file at
  "/usr/lib/cmake/Qt6WebSockets/Qt6WebSocketsConfig.cmake" does NOT exist

fekoneko commented on 2025-12-19 12:21 (UTC)

v2.3.0-1 It seems like the SHA sum is incorrect for QT6_fix.patch file:

$ sha256sum QT6_fix.patch 
03242dd19518e525832c1a67a5df946f62cd383b56d0f413e0c43ae0246c4e6a

notfood commented on 2023-10-21 06:31 (UTC)

Thanks