Package Details: nncp 8.10.0-7

Git Clone URL: https://aur.archlinux.org/nncp.git (read-only, click to copy)
Package Base: nncp
Description: Node-to-Node Copy Protocol utilities for secure store-and-forward
Upstream URL: http://www.nncpgo.org/
Keywords: looking-for-new-maintainer
Licenses: GPL-3.0-or-later
Submitter: grawity
Maintainer: grawity (kseistrup)
Last Packager: kseistrup
Votes: 1
Popularity: 0.004550
First Submitted: 2020-12-27 13:33 (UTC)
Last Updated: 2024-01-17 12:37 (UTC)

Latest Comments

kseistrup commented on 2024-03-05 07:42 (UTC) (edited on 2024-03-05 07:43 (UTC) by kseistrup)

@roffey Thanks for reporting this, I can confirm that the same thing happens over here. Let's hope for a fix from upstream.

roffey commented on 2024-03-05 03:43 (UTC)

nncp 8.10 isn't compatible with go 1.22.

==> Starting build()...
# gvisor.dev/gvisor/pkg/sync
vendor/gvisor.dev/gvisor/pkg/sync/gate_unsafe.go:114:3: undefined: goready
vendor/gvisor.dev/gvisor/pkg/sync/gate_unsafe.go:144:2: undefined: gopark
vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go:76:3: undefined: semacquire
vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go:102:4: undefined: semrelease
vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go:152:3: undefined: semacquire
vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go:179:3: undefined: semrelease
vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go:207:3: undefined: semrelease
vendor/gvisor.dev/gvisor/pkg/sync/seqcount.go:87:6: undefined: canSpin
vendor/gvisor.dev/gvisor/pkg/sync/seqcount.go:89:4: undefined: doSpin
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: nncp-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
nncp - exit status 4

See this bug - a new version of gvisor is needed for building on Go 1.22: https://github.com/containers/gvisor-tap-vsock/issues/310

I worked around it by downgrading to Go 1.21.

I'll make a report upstream when I get a chance.

kseistrup commented on 2022-04-12 08:49 (UTC) (edited on 2022-04-12 09:00 (UTC) by kseistrup)

Thanks for maintaining this package. It does compile, but I have a few suggestions for the PKGBUILD file:

Right now the configuration file is searched for in a non-standard place. It would be useful if it lived in /etc somewhere — e.g., /etc/nncp/nncp.hjson. This can be done by adding the following line to the build() and package() functions:

export CFGPATH="/etc/nncp/nncp.hjson"

That way the sysadmin doesn't have to specify the location of the configuration file at invocation time.

The file could be created at installation time, or could already be present, so it should probably be mentioned in the backup array in PKGBUILD:

backup=('etc/nncp/nncp.hjson')

See https://wiki.archlinux.org/title/PKGBUILD#backup for details.

Automatic creation of an nncp user with associated spool directory would also be helpful. I believe this can be done with a file named /usr/lib/sysusers.d/nncp.conf containing the following line:

u nncp - "NNCP user" /var/spool/nncp

Thanks again!

grawity commented on 2021-07-11 17:21 (UTC) (edited on 2023-12-31 12:13 (UTC) by grawity)

I haven't actually tested this yet. It compiles.

(2023 update: No, I still haven't gotten around to actually trying it. It's on the List Of Projects To Get Around To Someday.)