[MacPorts] #63307: rsync-lart @2.6.6: error: array type 'va_list' (aka '__builtin_va_list') is not assignable
MacPorts
noreply at macports.org
Tue Jul 27 21:57:26 UTC 2021
#63307: rsync-lart @2.6.6: error: array type 'va_list' (aka '__builtin_va_list') is
not assignable
-------------------------+------------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: rsync-lart
-------------------------+------------------------
There's a few errors when building it, but this is the first of them:
{{{
lib/snprintf.c:220:2: error: array type 'va_list' (aka
'__builtin_va_list') is not assignable
VA_COPY(args, args_in);
^~~~~~~~~~~~~~~~~~~~~~
lib/snprintf.c:155:35: note: expanded from macro 'VA_COPY'
#define VA_COPY(dest, src) (dest) = (src)
~~~~~~ ^
1 error generated.
gnumake: *** [lib/snprintf.o] Error 1
gnumake: *** Waiting for unfinished jobs....
}}}
Note that there were some `-Werror=implicit-function-declaration` issues
reported in `config.log`, so, since one of them was for `snprintf`, fixing
that might mean it'd be possible to avoid even trying to build the buggy
source file:
{{{
Warning: Configuration logfiles contain indications of -Wimplicit-
function-declaration; check that features were not accidentally disabled:
snprintf: found in rsync-2.6.6/config.log
utime: found in rsync-2.6.6/config.log
getgroups: found in rsync-2.6.6/config.log
strcmp: found in rsync-2.6.6/config.log
unlink: found in rsync-2.6.6/config.log
_exit: found in rsync-2.6.6/config.log
strcpy: found in rsync-2.6.6/config.log
mkstemp: found in rsync-2.6.6/config.log
vsnprintf: found in rsync-2.6.6/config.log
exit: found in rsync-2.6.6/config.log
fork: found in rsync-2.6.6/config.log
}}}
I'll attach the full logs next. Also ISTR rsync-lart conflicting with the
main rsync port, too, last time I was able to get it to build, so it might
be worth looking into that, too, once this is fixed.
--
Ticket URL: <https://trac.macports.org/ticket/63307>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list