Package Details: holo 3.0.1-1

Git Clone URL: https://aur.archlinux.org/holo.git (read-only, click to copy)
Package Base: holo
Description: Minimalistic configuration management
Upstream URL: http://holocm.org
Licenses: GPL3
Provides: holo-files, holo-generators, holo-run-scripts, holo-ssh-keys, holo-users-groups
Replaces: holo-run-scripts, holo-ssh-keys, holo-users-groups
Submitter: majewsky
Maintainer: majewsky
Last Packager: majewsky
Votes: 6
Popularity: 0.000000
First Submitted: 2015-08-05 16:13 (UTC)
Last Updated: 2022-12-30 18:39 (UTC)

Dependencies (7)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

langfingaz commented on 2023-03-21 09:18 (UTC)

While building v3.0.1, multiple test cases fail during check(). Any idears where this could come from?

==> Starting check()...
./util/find_version.sh | util/write-ifchanged .version
go build -o build/holo  --ldflags '-s -w' github.com/holocm/holo
?[1;36m>> golangci-lint skipped!?[0m
ok      github.com/holocm/holo/cmd/holo/internal    0.003s  coverage: 5.4% of statements
ok      github.com/holocm/holo/cmd/holo-ssh-keys/impl   0.005s  coverage: 10.9% of statements
go test -c -o build/holo.test -covermode=count -coverpkg=github.com/holocm/holo,github.com/holocm/holo/cmd/holo,github.com/holocm/holo/cmd/holo/internal,github.com/holocm/holo/cmd/holo-files,github.com/holocm/holo/cmd/holo-files/internal/common,github.com/holocm/holo/cmd/holo-files/internal/impl,github.com/holocm/holo/cmd/holo-files/internal/platform,github.com/holocm/holo/cmd/holo-ssh-keys,github.com/holocm/holo/cmd/holo-ssh-keys/impl,github.com/holocm/holo/cmd/holo-users-groups,github.com/holocm/holo/internal/fs,github.com/holocm/holo/util github.com/holocm/holo
warning: no packages being tested depend on matches for pattern github.com/holocm/holo/util
HOLO_BINARY="/tmp/pkg/src/holo-3.0.1/build/holo.test" HOLO_TEST_COVERDIR="/tmp/pkg/src/holo-3.0.1/test/cov" ./util/holo-test-help
>> Running test case no args...
>> Running test case bogus op...
>> Running test case bogus flag...
>> Running test case help op...
+ test 2 == 0
!! The above check failed
>> Running test case help flag...
+ test 2 == 0
!! The above check failed
>> Running test case version op...
+ test 2 == 0
!! The above check failed
>> Running test case version flag...
+ test 2 == 0
!! The above check failed
!! Some or all tests for holo help text failed. Please check the output above for more information.
make: *** [Makefile:66: test-ui] Error 1

majewsky commented on 2022-12-26 11:57 (UTC)

@mipi I'm currently not near any Arch Linux machines, so I cannot update the AUR package, but the error you got should be fixed in v3.0.1.

@randomnerd Can you double-check your PATH? I would guess that /usr/bin/core_perl is not correctly added there. As far as I remember, that should be happening in an /etc/profile.d snippet.

mipi commented on 2022-12-26 10:09 (UTC) (edited on 2022-12-26 10:09 (UTC) by mipi)

Hi, I also cannot build the package. I get this error:

...
-//CopyFile copies a regular file or symlink, including the file metadata.
+// CopyFile copies a regular file or symlink, including the file metadata.
 func CopyFile(fromPath, toPath string, mode CopyMode) error {
        info, err := os.Lstat(fromPath)
        if err != nil {
@@ -126,8 +126,8 @@
        return nil
 }

-//MoveFile is like CopyFile, but it removes the fromPath after successful
-//copying.
+// MoveFile is like CopyFile, but it removes the fromPath after successful
+// copying.
 func MoveFile(fromPath, toPath string) error {
        err := CopyFile(fromPath, toPath, CopyContentsFileModeAndOwnership)
        if err != nil {
make: *** [Makefile:51: static-check] Error 1

randomnerd commented on 2022-03-05 10:17 (UTC) (edited on 2022-03-05 10:22 (UTC) by randomnerd)

./util/find_version.sh | util/write-ifchanged .version
printf 'package entrypoint\n\nfunc init() {\n\tversion = "%s"\n}\n' "$(cat .version)" > cmd/holo/version.go
go build -o build/holo  --ldflags '-s -w' github.com/holocm/holo
pod2man --name="holorc" --section=5 \
        --center="Configuration Management" --release="Holo $(cat .version)" \
        doc/holorc.5.pod build/man/holorc.5
/bin/sh: line 1: pod2man: command not found
make: *** [Makefile:41: build/man/holorc.5] Error 127
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'holo-3.0.0-1': 
error: packages failed to build: holo-3.0.0-1
paru -S holo  18.78s user 4.93s system 28% cpu 1:22.20 total

I get this error while building. Any idea why? I have perl installed:

core/perl 5.34.0-3 [installed] usr/bin/core_perl/pod2man

Edit: tried with git clone and makepkg, same thing.

majewsky commented on 2020-05-19 16:51 (UTC)

@mipi Done.

mipi commented on 2020-05-19 09:42 (UTC)

Hi Stefan, I succesfully built and ran holo on Aarch4 (on a RPi4 with aarch64 kernel). Could you therefore list aarch64 as supported architecture in the PKGBUILD? Thanks, mipi

majewsky commented on 2019-06-26 14:55 (UTC)

@mipi I have two ways of doing things: right away or never.

mipi commented on 2019-06-26 14:52 (UTC)

Thanks. That was quick :-)

majewsky commented on 2019-06-26 14:48 (UTC)

Yep, fixed.

mipi commented on 2019-06-26 14:45 (UTC)

@grensjo: You are right. If git and openssh are mandatory make dependencies, the the package can be built with makechrootpkg, otherwise build with makechrootpkg returns errors.

@majewsky: Could you adjust the PKGBUILD?