[package - main-armv6-default][x11/xskyroot] Failed for xskyroot-920428_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 30 Apr 2023 04:52:52 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy8/data/main-armv6-default/p62b38d8b9980_sb347c22846/logs/xskyroot-920428_2.log
Build URL:      https://pkg-status.freebsd.org/beefy8/build.html?mastername=main-armv6-default&build=p62b38d8b9980_sb347c22846
Log:

=>> Building x11/xskyroot
build started at Sun Apr 30 04:52:37 UTC 2023
port directory: /usr/ports/x11/xskyroot
package name: xskyroot-920428_2
building for: FreeBSD main-armv6-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400088 arm
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400078
Jail OSVERSION: 1400088
Job Id: 03




!!! Jail is newer than host. (Jail: 1400088, Host: 1400078) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400088
UNAME_v=FreeBSD 14.0-CURRENT 1400088
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=/nxb-bin/usr/bin/cc -DCplusplusCmd=/nxb-bin/usr/bin/c++" XDG_DATA_HOME=/wrkdirs/usr/ports/x11/xskyroot/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11/xskyroot/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11/xskyroot/work/.cache  HOME=/wrkdirs/usr/ports/x11/xskyroot/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11/xskyroot/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11/xskyroot/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=/nxb-bin/usr/bin/cc -DCplusplusCmd=/nxb-bin/usr/bin/c++" XDG_DATA_HOME=/wrkdirs/usr/ports/x11/xskyroot/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11/xskyroot/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11/xskyroot/work/.cache  HOME=/wrkdirs/usr/ports/x11/xskyroot/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11/xskyroot/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11/xskyroot/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFI
X="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xskyroot"  EXAMPLESDIR="share/examples/xskyroot"  DATADIR="share/xskyroot"  WWWDIR="www/xskyroot"  ETCDIR="etc/xskyroot"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/xskyroot DOCSDIR=/usr/local/share/doc/xskyroot EXAMPLESDIR=/usr/local/share/examples/xskyroot  WWWDIR=/usr/local/www/xskyroot ETCDIR=/usr/local/etc/xskyroot
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_53255a77=yes
CC_OUTPUT_9d218390_911cfe02=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
CC_OUTPUT_9d218390_af59ad06=yes
CC_OUTPUT_9d218390_a15f3fcf=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400088
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>   NOTICE:

The xskyroot port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===========================================================================
=======================<phase: pkg-depends    >============================
===>   xskyroot-920428_2 depends on file: /usr/local/sbin/pkg - not found
<snip>
[main-armv6-default-job-03] Installing libX11-1.7.2,1...
[main-armv6-default-job-03] `-- Installing libxcb-1.15_1...
[main-armv6-default-job-03] |   `-- Installing libXau-1.0.9...
[main-armv6-default-job-03] |   `-- Extracting libXau-1.0.9: .......... done
[main-armv6-default-job-03] |   `-- Installing libXdmcp-1.1.3...
[main-armv6-default-job-03] |   | `-- Installing xorgproto-2022.1...
[main-armv6-default-job-03] |   | `-- Extracting xorgproto-2022.1: .......... done
[main-armv6-default-job-03] |   `-- Extracting libXdmcp-1.1.3: ......... done
[main-armv6-default-job-03] `-- Extracting libxcb-1.15_1: .......... done
[main-armv6-default-job-03] Extracting libX11-1.7.2,1: .......... done
===>   xskyroot-920428_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   Returning to build of xskyroot-920428_2
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for xskyroot-920428_2
imake -DUseInstalled -I/usr/local/lib/X11/config
make Makefiles
make includes
make depend
rm -f .depend
gccmakedep -f-  --   -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO      -- xskyroot.c draw.c colorname.c astro.c > .depend
===========================================================================
=======================<phase: build          >============================
===>  Building for xskyroot-920428_2
/nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing        -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c xskyroot.c -o xskyroot.o
xskyroot.c:21:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
parse_locate(s,lon,lat)
^
int
xskyroot.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xskyroot.c:53:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
xskyroot.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
usage()
^
int
xskyroot.c:73:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main(argc,argv)
^
int
xskyroot.c:78:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
    register i;
    ~~~~~~~~ ^
    int
xskyroot.c:85:7: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        if( !strcmp( argv[i], "-display" ) ) {
             ^
xskyroot.c:85:7: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
xskyroot.c:147:5: warning: call to undeclared function 'SkyInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SkyInit( display_name, view_width );
    ^
xskyroot.c:154:7: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'long long *') [-Wincompatible-pointer-types]
        time(&tval);
             ^~~~~
/usr/include/time.h:132:21: note: passing argument to parameter here
time_t time(time_t *);
                    ^
xskyroot.c:155:17: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types]
        t_gmt = gmtime(&tval);
                       ^~~~~
/usr/include/time.h:127:33: note: passing argument to parameter here
struct tm *gmtime(const time_t *);
                                ^
xskyroot.c:156:2: warning: call to undeclared function 'sunpos_local'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        sunpos_local
        ^
xskyroot.c:158:15: warning: call to undeclared function 'SkyUpdate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        refreshed = !SkyUpdate( fixangle(lon), z );
                     ^
xskyroot.c:164:20: warning: call to undeclared function 'print_h'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            printf("  "); print_h(h); printf(" ");
                          ^
xskyroot.c:168:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        sleep(1);
        ^
xskyroot.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main(argc,argv)
^
xskyroot.c:172:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
print_h(h)
^
int
xskyroot.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xskyroot.c:182:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
18 warnings generated.
/nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing        -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c draw.c -o draw.o
draw.c:38:15: error: incompatible pointer to integer conversion initializing 'Pixmap' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
static Pixmap sky_pixmap = NULL;
              ^            ~~~~
draw.c:56:36: warning: call to undeclared function 'random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    return (double)((unsigned long)random() % p) / (double)p;
                                   ^
draw.c:59:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
SkyInit(dispname, width)
^
int
draw.c:65:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
    register i;
    ~~~~~~~~ ^
    int
draw.c:72:7: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
             program_name, XDisplayName (dispname));
             ^~~~~~~~~~~~
draw.c:73:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        exit(-1);
        ^
draw.c:73:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
draw.c:89:35: warning: call to undeclared library function 'malloc' with type 'void *(unsigned int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    pixel_list = (unsigned long *)malloc(sizeof(long)*n_pixel_max);
                                  ^
draw.c:89:35: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
draw.c:91:40: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
        fprintf( stderr, "%s: alloc error\n", program_name );
                          ~~                  ^~~~~~~~~~~~
                          %d
draw.c:103:40: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
        fprintf( stderr, "%s: alloc error\n", program_name );
                          ~~                  ^~~~~~~~~~~~
                          %d
draw.c:108:44: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
            fprintf( stderr, "%s: alloc error\n", program_name );
                              ~~                  ^~~~~~~~~~~~
                              %d
draw.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SkyInit(dispname, width)
^
draw.c:132:2: warning: call to undeclared function 'GetSkyColorName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        GetSkyColorName( *color_name_list, z, 1.0, t, 0.0 );
        ^
draw.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
MakeSkyColorNames(z,t,sun_h)
^
draw.c:154:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
    register d = sun_diam;
    ~~~~~~~~ ^
    int
draw.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DrawSun( x, y, horiz )
^
draw.c:199:46: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
        fprintf(stderr,"%s: unknown color \"%s\"\n",program_name,name);
                        ~~                          ^~~~~~~~~~~~
                        %d
draw.c:205:3: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
                program_name, name);
                ^~~~~~~~~~~~
draw.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
AllocColor( name )
^
draw.c:244:31: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            if( !*prev_color_name || strcmp( prev_color_name, *p ) ){
                                     ^
draw.c:244:31: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
draw.c:260:3: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                strcpy( prev_color_name, *p );
                ^
draw.c:260:3: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
draw.c:270:31: warning: call to undeclared function 'GetStarColorName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            star_pixel = AllocColor( GetStarColorName(star_color_name,z) );
                                     ^
draw.c:270:31: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion]
            star_pixel = AllocColor( GetStarColorName(star_color_name,z) );
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
draw.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
MakeNewSky(z)
^
draw.c:287:29: warning: call to undeclared function 'GetSolarColorName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    sun_pixel = AllocColor( GetSolarColorName( color_name, z ) );
                            ^
draw.c:287:29: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion]
    sun_pixel = AllocColor( GetSolarColorName( color_name, z ) );
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
draw.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
MakeNewSun(z)
^
draw.c:297:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
    register i;
    ~~~~~~~~ ^
    int
draw.c:309:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif DEBUG
       ^
       //
draw.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SkyUpdate( lon, z )
^
26 warnings and 3 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/x11/xskyroot/work/xskyroot-920428_2
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/xskyroot