pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

stalwart: simplify, add TODO



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Oct 15 14:45:14 2025 +0200
Changeset:	e3be109b457697733f1c8d1b4156bb32fb448bc9

Modified Files:
	stalwart/Makefile
Added Files:
	stalwart/TODO

Log Message:
stalwart: simplify, add TODO

(I tested without the clang parts, but get the same error that was
reported on pkgsrc-users)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e3be109b457697733f1c8d1b4156bb32fb448bc9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 stalwart/Makefile | 15 ++++++---------
 stalwart/TODO     |  9 +++++++++
 2 files changed, 15 insertions(+), 9 deletions(-)

diffs:
diff --git a/stalwart/Makefile b/stalwart/Makefile
index 9edba25568..02b658c0a2 100644
--- a/stalwart/Makefile
+++ b/stalwart/Makefile
@@ -3,29 +3,26 @@
 DISTNAME=	stalwart-0.13.4
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_GITHUB:=stalwartlabs/}
-GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	hauke%NetBSD.org@localhost
 HOMEPAGE=	https://stalw.art/
-COMMENT=	open-source mail & collaboration server 
+COMMENT=	Open-source mail & collaboration server
 LICENSE=	gnu-agpl-v3
 
 ## See also
 ## <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286326>
 ## <https://aur.archlinux.org/packages/stalwart-mail-server>
 
-WRKSRC=		${WRKDIR}/${DISTNAME}
-
 USE_LANGUAGES=	c c++
+USE_TOOLS+=	gmake
 
-PKG_CC=			clang
-PKG_CXX=		clang++
+PKG_CC=		clang
+PKG_CXX=	clang++
 
-.include "../../lang/clang/buildlink3.mk"
 .include "../../mk/compiler/clang.mk"
 
 .include "cargo-depends.mk"
-
+.include "../../lang/clang/buildlink3.mk"
 .include "../../lang/rust/cargo.mk"
-
 .include "../../mk/bsd.pkg.mk"
diff --git a/stalwart/TODO b/stalwart/TODO
new file mode 100644
index 0000000000..309babb61e
--- /dev/null
+++ b/stalwart/TODO
@@ -0,0 +1,9 @@
+   Compiling stalwart v0.13.4 (/scratch/wip/stalwart/work/stalwart-0.13.4/crates/main)
+error: linking with `cc` failed: exit status: 1
+  |
+  = note:  "cc" "-Wl,-R<sysroot>/lib/libatomic" "-Wl,-L<sysroot>/lib/libatomic" "-m64" "/tmp/rustcROrxXJ/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/rustcROrxXJ/{libjemalloc_sys-0942cab33b538214.rlib,libliblzma_sys-bbffec8071e24ac4.rlib,liblibrocksdb_sys-26918908822c2a64.rlib,liblz4_sys-940141120c6be024.rlib,liblibz_sys-b2c36a1ee2bccf0d.rlib,libbzip2_sys-5593240f17343dda.rlib,libblake3-e520ffe44f96156b.rlib,libzstd_sys-ce87b7853e077d90.rlib,libring-0267280e821cc2dc.rlib}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-netbsd/lib/{libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lc++" "-lstdc++" "-lutil" "-lrt" "-lutil" "-lexecinfo" "-lexecinfo" "-lpthread" "-lrt" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lrt" "-lutil" "-lexecinfo" "-L" "/tmp/rustcROrxXJ/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/ring-875a4a3d713937f5/out" "-L" "/scratch/wip/stalwart/work/sta
lwart-0.13.4/target/release/build/ring-8dda986d9e2c0e16/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/zstd-sys-362b72bb766dacb8/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/blake3-24d495c00402ff3c/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/blake3-24d495c00402ff3c/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/librocksdb-sys-3999ec902f8c524e/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/librocksdb-sys-3999ec902f8c524e/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/bzip2-sys-aa099fb45197820d/out/lib" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/libz-sys-de112931b8ad8fe0/out/lib" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/libz-sys-de112931b8ad8fe0/out/lib" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/lz4-sys-fc95b2b9af4a1a38/out" "-L" "/s
 cratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/liblzma-sys-9eaf7ec16a15d1f0/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/jemalloc-sys-d868c344708dd658/out/build/lib" "-o" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/deps/stalwart-1d7f517b231f1a72" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all"
+  = note: some arguments are omitted. use `--verbose` to show all linker arguments
+  = note: ld: cannot find -lc++: No such file or directory
+          ld: /scratch/wip/stalwart/work/stalwart-0.13.4/target/release/deps/stalwart-1d7f517b231f1a72.stalwart.5397ee45625647ac-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<tokio::net::udp::UdpSocket>':
+          stalwart.5397ee45625647ac-cgu.0:(.text._ZN4core3ptr47drop_in_place$LT$tokio..net..udp..UdpSocket$GT$17hbb82290e28dcf334E+0xaa): warning: warning: reference to compatibility __kevent50(); use kevent()
+          ld: /scratch/wip/stalwart/work/stalwart-0.13.4/target/release/deps/stalwart-1d7f517b231f1a72.stalwart.5397ee45625647ac-cgu.0.rcgu.o: note: the message above does not take linker garbage collection into account


Home | Main Index | Thread Index | Old Index