Subject: openfortivpn doesn't build anymore on master due to ppp
From: Rick Huijzer <[email-masked]>
To: [email-masked]
Date: Fri, 25 Jul 2025 10:41:30 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi, openfortivpn 1.17.3, the current version in master, stopped building
for me after guix pull, it seems stuck on building ppp-2.4.9.

Please take a look at my patch from 10 months ago, issue 73450, which
updates openfortivpn so that the current ppp can be used, that seems
to fix the problem that is now present.

https://paste.debian.net/1387763/
https://issues.guix.gnu.org/73450

Thanks!

sys-linux.c: In function ‘logwtmp’:
sys-linux.c:2510:10: error: passing argument 1 of ‘time’ from incompatible
pointer type [-Wincompatible-pointer-types]
 2510 |     time(&ut.ut_time);
      |          ^
      |          |
      |          __uint32_t * {aka unsigned int *}
In file included from sys-linux.c:86:
/gnu/store/mprrfhb2cq6dwsxf6pgj1zmjincd4x5h-glibc-2.41/include/time.h:76:29:
note: expected ‘time_t *’ {aka ‘long int *’} but argument is of type
‘__uint32_t *’ {aka ‘unsigned int *’}
   76 | extern time_t time (time_t *__timer) __THROW;
      |                     ~~~~~~~~^~~~~~~
make[1]: *** [<builtin>: sys-linux.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/guix-build-ppp-2.4.9.drv-0/source/pppd'
make: *** [Makefile:15: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "16"
"--max-load=16" "CC=gcc") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 2.8 seconds
command "make" "-j" "16" "--max-load=16" "CC=gcc" failed with status 2
build process 18 exited with status 256

-- 
Met vriendelijke groet,

Rick Huijzer