Package Details: cfengine 3.15.2-1

Git Clone URL: https://aur.archlinux.org/cfengine.git (read-only, click to copy)
Package Base: cfengine
Description: Automated suite of programs for configuring and maintaining Unix-like computers.
Upstream URL: https://cfengine.com
Licenses: GPL3
Submitter: None
Maintainer: bidulock (Lex-2008)
Last Packager: bidulock
Votes: 20
Popularity: 0.000000
First Submitted: 2008-10-25 17:55 (UTC)
Last Updated: 2021-05-25 02:39 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

bidulock commented on 2021-05-25 02:40 (UTC)

Not sure which two tests are failing or why, but pass --nocheck to pass compile and build package.

daebenji commented on 2020-11-16 15:48 (UTC)

Hello,

no worries. I'm glad that the package exists and you were able to fix it.

Thanks a lot.

Lex-2008 commented on 2020-11-16 14:27 (UTC)

Thank you for the report, daebenji! Sorry for a long time with no answer - is it even okay to say "Thank you for the report" after 4 months of silence?

Anyway, I indeed reproduced it and found that it was reported on Debian sid and fixed on master branch - in https://tracker.mender.io/browse/CFE-3401, patch is available here: https://github.com/cfengine/core/commit/6c07f44f554522212c01e34d23f8e40c62a8b363.patch

However, after applying this patch some acceptance tests are failing - I will look into it.

Quick-and-dirty workaround is to disable make check - the compilation error was in one of unit tests (and patch fixes the test, not the code). But I need to look into those acceptance tests failures before pushing my changes to git.

daebenji commented on 2020-07-10 11:43 (UTC)

Compiling is not working, error appears during make

../../libpromises/syslog_client.c: In function 'RemoteSysLog': ../../libpromises/syslog_client.c:118:31: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1004 and 1019 [-Wformat-truncation=] 118 | "<%i>%.15s %s %s[%ld]: %s", | ^~ ...... 122 | VPREFIX, | ~~~~~~~ ../../libpromises/syslog_client.c:118:17: note: directive argument in the range [-2147483648, 2147483647] 118 | "<%i>%.15s %s %s[%ld]: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ./../../libntech/libutils/platform.h:72, from ./../../libpromises/syslog_client.h:28, from ../../libpromises/syslog_client.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtinsnprintfchk' output 11 or more bytes (assuming 1059) into a destination of size 1024 67 | return builtinsnprintfchk (s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD logging_test /usr/bin/ld: ../../libntech/libutils/.libs/libutils.a(logging.o):/home/service/.cache/yay/cfengine/src/cfengine-3.15.1/libntech/libutils/logging.c:35: multiple definition of `VPREFIX'; logging_test.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[4]: [Makefile:1450: logging_test] Error 1 make[3]: [Makefile:2775: check-am] Error 2 make[2]: [Makefile:489: check-recursive] Error 1 make[1]: [Makefile:708: check-recursive] Error 1 make: *** [Makefile:997: check] Error 2 ==> ERROR: A failure occurred in check(). Aborting... error making: %!s(func() string=0x55e3fe465e80)

daebenji commented on 2020-07-10 11:43 (UTC)

Compiling is not working, error appears during make

../../libpromises/syslog_client.c: In function 'RemoteSysLog': ../../libpromises/syslog_client.c:118:31: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1004 and 1019 [-Wformat-truncation=] 118 | "<%i>%.15s %s %s[%ld]: %s", | ^~ ...... 122 | VPREFIX, | ~~~~~~~ ../../libpromises/syslog_client.c:118:17: note: directive argument in the range [-2147483648, 2147483647] 118 | "<%i>%.15s %s %s[%ld]: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ./../../libntech/libutils/platform.h:72, from ./../../libpromises/syslog_client.h:28, from ../../libpromises/syslog_client.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtinsnprintfchk' output 11 or more bytes (assuming 1059) into a destination of size 1024 67 | return builtinsnprintfchk (s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD logging_test /usr/bin/ld: ../../libntech/libutils/.libs/libutils.a(logging.o):/home/service/.cache/yay/cfengine/src/cfengine-3.15.1/libntech/libutils/logging.c:35: multiple definition of `VPREFIX'; logging_test.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[4]: [Makefile:1450: logging_test] Error 1 make[3]: [Makefile:2775: check-am] Error 2 make[2]: [Makefile:489: check-recursive] Error 1 make[1]: [Makefile:708: check-recursive] Error 1 make: *** [Makefile:997: check] Error 2 ==> ERROR: A failure occurred in check(). Aborting... error making: %!s(func() string=0x55e3fe465e80)

ektich commented on 2020-05-07 14:53 (UTC)

Thanks TheGoliath, I've updated the URL.

vn158 commented on 2017-05-11 07:52 (UTC)

It looks OK now. Thx.

ektich commented on 2017-05-04 14:25 (UTC)

I've pushed version 3.10.1-2. it at least builds, and passes unit/acceptance tests, but I don't have an environment where I can test that it behaves properly. reports are welcome

ektich commented on 2017-05-04 08:11 (UTC)

I can confirm package is not building. Working on the resolution for this.