=> Building x11/xfishtank Started : Friday, 20 APR 2018 at 11:25:17 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/construction/x11/xfishtank XDG_CONFIG_HOME=/construction/x11/xfishtank HOME=/construction/x11/xfishtank TMPDIR="/tmp" PATH=/construction/x11/xfishtank/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/construction/x11/xfishtank XDG_CONFIG_HOME=/construction/x11/xfishtank HOME=/construction/x11/xfishtank TMPDIR="/tmp" PATH=/construction/x11/xfishtank/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/x11/xfishtank/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/xfishtank" EXAMPLESDIR="share/examples/xfishtank" DATADIR="share/xfishtank" WWWDIR="www/xfishtank" ETCDIR="etc/xfishtank" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xfishtank DOCSDIR=/usr/local/share/doc/xfishtank EXAMPLESDIR=/usr/local/share/examples/xfishtank WWWDIR=/usr/local/www/xfishtank ETCDIR=/usr/local/etc/xfishtank -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> xfishtank-2.2_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> xfishtank-2.2_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xfishtank-2.2_2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by xfishtank-2.2_2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by xfishtank-2.2_2 for building => SHA256 Checksum OK for xfishtank-2.2.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by xfishtank-2.2_2 for building ===> Extracting for xfishtank-2.2_2 => SHA256 Checksum OK for xfishtank-2.2.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for xfishtank-2.2_2 ===> Applying ports patches for xfishtank-2.2_2 cd /construction/x11/xfishtank/xfishtank2.0; make clean rm -f xfishtank rm -f makeh xfishy.h rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"* -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> xfishtank-2.2_2 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.7,1.txz Installing imake-1.0.7,1... `-- Installing gccmakedep-1.0.3... `-- Extracting gccmakedep-1.0.3: .. done `-- Installing makedepend-1.0.5,1... | `-- Installing xproto-7.0.31... | `-- Extracting xproto-7.0.31: .......... done `-- Extracting makedepend-1.0.5,1: ..... done `-- Installing perl5-5.26.1... `-- Extracting perl5-5.26.1: .......... done `-- Installing xorg-cf-files-1.0.6... `-- Extracting xorg-cf-files-1.0.6: .......... done Extracting imake-1.0.7,1: .......... done Message from perl5-5.26.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> xfishtank-2.2_2 depends on executable: imake - found ===> Returning to build of xfishtank-2.2_2 ===> xfishtank-2.2_2 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.2.txz Installing tradcpp-0.5.2... Extracting tradcpp-0.5.2: ..... done ===> xfishtank-2.2_2 depends on executable: tradcpp - found ===> Returning to build of xfishtank-2.2_2 ===> xfishtank-2.2_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.6.5,1.txz Installing libX11-1.6.5,1... `-- Installing kbproto-1.0.7... `-- Extracting kbproto-1.0.7: .......... done `-- Installing libXau-1.0.8_3... `-- Extracting libXau-1.0.8_3: .......... done `-- Installing libXdmcp-1.1.2... `-- Extracting libXdmcp-1.1.2: ......... done `-- Installing libxcb-1.12_2... | `-- Installing libpthread-stubs-0.4... | `-- Extracting libpthread-stubs-0.4: .... done | `-- Installing libxml2-2.9.7... | `-- Extracting libxml2-2.9.7: .......... done `-- Extracting libxcb-1.12_2: .......... done Extracting libX11-1.6.5,1: .......... done ===> xfishtank-2.2_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xfishtank-2.2_2 ===> xfishtank-2.2_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.3_1,1.txz Installing libXext-1.3.3_1,1... `-- Installing xextproto-7.3.0... `-- Extracting xextproto-7.3.0: .......... done Extracting libXext-1.3.3_1,1: .......... done ===> xfishtank-2.2_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of xfishtank-2.2_2 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for xfishtank-2.2_2 mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I. -I./fishmaps -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- xfish.c medcut.c read.c gifread.c > .depend xfish.c:45:20: fatal error: xfishy.h: No such file or directory compilation terminated. -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for xfishtank-2.2_2 --- makeh --- --- medcut.o --- --- read.o --- --- gifread.o --- --- makeh --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I./fishmaps -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO makeh.c -lm -o makeh --- medcut.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I./fishmaps -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c medcut.c --- read.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I./fishmaps -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c read.c --- gifread.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I./fishmaps -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c gifread.c --- makeh --- makeh.c:4:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^ makeh.c: In function 'main': makeh.c:16:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ makeh.c:16:3: warning: incompatible implicit declaration of built-in function 'exit' makeh.c:16:3: note: include '' or provide a declaration of 'exit' makeh.c:23:22: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] fishlist = (char **)malloc(numfish * sizeof(char *)); ^ makeh.c:23:22: warning: incompatible implicit declaration of built-in function 'malloc' makeh.c:23:22: note: include '' or provide a declaration of 'malloc' --- medcut.o --- medcut.c: In function 'AddHash': medcut.c:61:33: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] hash_ptr = (struct color_rec *)malloc(sizeof(struct color_rec)); ^ medcut.c:61:33: warning: incompatible implicit declaration of built-in function 'malloc' --- makeh --- makeh.c:28:32: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] fishlist[i] = (char *)malloc(strlen(prefix) + 1); ^ makeh.c:28:32: warning: incompatible implicit declaration of built-in function 'strlen' makeh.c:28:32: note: include '' or provide a declaration of 'strlen' --- medcut.o --- medcut.c:61:33: note: include '' or provide a declaration of 'malloc' --- makeh --- makeh.c:29:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(fishlist[i], prefix); ^ makeh.c:29:3: warning: incompatible implicit declaration of built-in function 'strcpy' makeh.c:29:3: note: include '' or provide a declaration of 'strcpy' --- medcut.o --- medcut.c:65:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ medcut.c:65:3: warning: incompatible implicit declaration of built-in function 'exit' medcut.c:65:3: note: include '' or provide a declaration of 'exit' --- makeh --- makeh.c:101:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ makeh.c:101:2: note: include '' or provide a declaration of 'exit' --- medcut.o --- medcut.c: In function 'MedianCut': medcut.c:441:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)tptr); ^ medcut.c:441:4: warning: incompatible implicit declaration of built-in function 'free' medcut.c:441:4: note: include '' or provide a declaration of 'free' medcut.c: In function 'MedianMerge': medcut.c:537:4: warning: incompatible implicit declaration of built-in function 'free' free((char *)tptr); ^ medcut.c:537:4: note: include '' or provide a declaration of 'free' --- xfishy.h --- --- gifread.o --- gifread.c: In function 'ReadGifBitmap': gifread.c:137:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] ptr = (unsigned char *) malloc(strlen(id) + 1); ^ gifread.c:137:29: warning: incompatible implicit declaration of built-in function 'malloc' gifread.c:137:29: note: include '' or provide a declaration of 'malloc' gifread.c:137:36: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] ptr = (unsigned char *) malloc(strlen(id) + 1); ^ gifread.c:137:36: warning: incompatible implicit declaration of built-in function 'strlen' gifread.c:137:36: note: include '' or provide a declaration of 'strlen' gifread.c:139:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp((char *)ptr, id, 6)) ^ gifread.c:141:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(ptr); ^ gifread.c:141:2: warning: incompatible implicit declaration of built-in function 'free' gifread.c:141:2: note: include '' or provide a declaration of 'free' gifread.c:144:5: warning: incompatible implicit declaration of built-in function 'free' free(ptr); ^ gifread.c:144:5: note: include '' or provide a declaration of 'free' gifread.c:278:12: warning: implicit declaration of function 'ReadCode' [-Wimplicit-function-declaration] Code = ReadCode(); ^ gifread.c:292:6: warning: implicit declaration of function 'AddToPixel' [-Wimplicit-function-declaration] AddToPixel(FinChar); ^ --- xfishy.h --- ./makeh > xfishy.h --- gifread.o --- gifread.c: At top level: gifread.c:398:1: warning: return type defaults to 'int' [-Wimplicit-int] ReadCode() ^ gifread.c:412:1: warning: return type defaults to 'int' [-Wimplicit-int] AddToPixel(Index) ^ --- xfish.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I./fishmaps -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xfish.c --- read.o --- read.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] dscan(fp, ip) ^ read.c: In function 'dscan': read.c:50:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (-1); ^ read.c:50:9: warning: incompatible implicit declaration of built-in function 'exit' read.c:50:9: note: include '' or provide a declaration of 'exit' read.c:79:9: warning: incompatible implicit declaration of built-in function 'exit' exit (-1); ^ read.c:79:9: note: include '' or provide a declaration of 'exit' read.c: In function 'ReadXpmPixmap': read.c:123:24: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] Color_Vals = (char **)malloc(sizeof(char *) * Colors); ^ read.c:123:24: warning: incompatible implicit declaration of built-in function 'malloc' read.c:123:24: note: include '' or provide a declaration of 'malloc' --- xfish.o --- In file included from xfish.c:44:0: vroot.h: In function 'VirtualRootWindow': vroot.h:29:1: warning: type of 'screen' defaults to 'int' [-Wimplicit-int] VirtualRootWindow(dpy, screen) ^ --- read.o --- read.c:190:21: warning: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] if ((t = (char *)rindex(name_and_type, '_')) == NULL) ^ read.c:190:21: warning: incompatible implicit declaration of built-in function 'rindex' read.c:198:22: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] if ((t2 = (char *)index(name_and_type, '[')) != NULL) ^ read.c:198:22: warning: incompatible implicit declaration of built-in function 'index' read.c:202:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp("pixels", t)) ^ read.c:256:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(Color_Vals[k], line, CharsPP) == 0) ^ read.c:279:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)Color_Vals[i]); ^ read.c:279:3: warning: incompatible implicit declaration of built-in function 'free' read.c:279:3: note: include '' or provide a declaration of 'free' read.c:281:2: warning: incompatible implicit declaration of built-in function 'free' free((char *)Color_Vals); ^ read.c:281:2: note: include '' or provide a declaration of 'free' read.c: In function 'ReadXbmBitmap': read.c:310:7: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (strlen(line) == (MAX_LINE - 1)) ^ read.c:310:7: warning: incompatible implicit declaration of built-in function 'strlen' read.c:310:7: note: include '' or provide a declaration of 'strlen' read.c:317:22: warning: incompatible implicit declaration of built-in function 'rindex' if (!(t = (char *)rindex(name_and_type, '_'))) ^ read.c:339:22: warning: incompatible implicit declaration of built-in function 'rindex' if (!(t = (char *)rindex(name_and_type, '_'))) ^ read.c:343:22: warning: incompatible implicit declaration of built-in function 'index' if ((t2 = (char *)index(name_and_type, '[')) != NULL) ^ read.c:380:27: warning: incompatible implicit declaration of built-in function 'malloc' dataP = (unsigned char *)malloc((*w) * (*h)); ^ read.c:380:27: note: include '' or provide a declaration of 'malloc' read.c: In function 'ReadEbmBitmap': read.c:522:31: warning: incompatible implicit declaration of built-in function 'malloc' bit_data = (unsigned char *)malloc(bmap_size); ^ read.c:522:31: note: include '' or provide a declaration of 'malloc' read.c: In function 'ReadCompactEbmBitmap': read.c:632:31: warning: incompatible implicit declaration of built-in function 'malloc' bit_data = (unsigned char *)malloc(bmap_size); ^ read.c:632:31: note: include '' or provide a declaration of 'malloc' --- xfish.o --- xfish.c: In function 'msgdie': xfish.c:171:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ xfish.c:171:5: warning: incompatible implicit declaration of built-in function 'exit' xfish.c:171:5: note: include '' or provide a declaration of 'exit' xfish.c: In function 'parse': xfish.c:191:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(sname, getenv("DISPLAY")); ^ xfish.c:191:5: warning: incompatible implicit declaration of built-in function 'strcpy' xfish.c:191:5: note: include '' or provide a declaration of 'strcpy' xfish.c:191:19: warning: implicit declaration of function 'getenv' [-Wimplicit-function-declaration] strcpy(sname, getenv("DISPLAY")); ^ xfish.c:191:19: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion] xfish.c:191:19: note: expected 'const char *' but argument is of type 'int' xfish.c:196:11: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] blimit = atoi(p); ^ xfish.c:219:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(p, yess[i]) == 0) ^ xfish.c:222:17: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt(argc, argv, "dDob:C:c:p:m:f:i:r:s")) != EOF) { ^ xfish.c:272:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ xfish.c:272:6: note: include '' or provide a declaration of 'exit' xfish.c: At top level: xfish.c:837:1: warning: return type defaults to 'int' [-Wimplicit-int] erasebubble(b, s) ^ xfish.c:845:1: warning: return type defaults to 'int' [-Wimplicit-int] putbubble(b, s, c) ^ xfish.c: In function 'init_colormap': xfish.c:1057:15: warning: comparison between pointer and integer if (colormap == NULL) ^ xfish.c:1063:21: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] Allocated = (int *)malloc(NumCells * sizeof(int)); ^ xfish.c:1063:21: warning: incompatible implicit declaration of built-in function 'malloc' xfish.c:1063:21: note: include '' or provide a declaration of 'malloc' xfish.c:1106:3: warning: implicit declaration of function 'MedianInit' [-Wimplicit-function-declaration] MedianInit(); ^ xfish.c:1132:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)cdp); ^ xfish.c:1132:4: warning: incompatible implicit declaration of built-in function 'free' xfish.c:1132:4: note: include '' or provide a declaration of 'free' xfish.c: In function 'MakeImage': xfish.c:1220:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ xfish.c:1220:3: note: include '' or provide a declaration of 'exit' xfish.c:1236:30: warning: incompatible implicit declaration of built-in function 'malloc' bit_data = (unsigned char *)malloc(((width + linepad) * height) + 1); ^ xfish.c:1236:30: note: include '' or provide a declaration of 'malloc' xfish.c: In function 'init_pixmap': xfish.c:1304:28: warning: incompatible implicit declaration of built-in function 'malloc' data = (unsigned char *) malloc((rwidth[k]+7) / 8 * rheight[k]); ^ xfish.c:1304:28: note: include '' or provide a declaration of 'malloc' xfish.c:1410:3: warning: incompatible implicit declaration of built-in function 'free' free((char *)data); ^ xfish.c:1410:3: note: include '' or provide a declaration of 'free' xfish.c:1417:18: warning: incompatible implicit declaration of built-in function 'malloc' x1A = (caddrt) malloc(rwidth[k] * rheight[k]); ^ xfish.c:1417:18: note: include '' or provide a declaration of 'malloc' xfish.c:1466:3: warning: incompatible implicit declaration of built-in function 'free' free((char *)x1A); ^ xfish.c:1466:3: note: include '' or provide a declaration of 'free' xfish.c: In function 'initialize': xfish.c:1625:27: warning: incompatible implicit declaration of built-in function 'malloc' ndata = (unsigned char *)malloc(size); ^ xfish.c:1625:27: note: include '' or provide a declaration of 'malloc' xfish.c:1636:2: warning: incompatible implicit declaration of built-in function 'free' free((char *)ndata); ^ xfish.c:1636:2: note: include '' or provide a declaration of 'free' xfish.c:1639:13: warning: comparison between pointer and integer if (PicMap == NULL) ^ xfish.c:1725:24: warning: incompatible implicit declaration of built-in function 'malloc' binfo = (bubble *) malloc(blimit * sizeof(bubble)); ^ xfish.c:1725:24: note: include '' or provide a declaration of 'malloc' xfish.c: In function 'new_bubble': xfish.c:1741:21: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration] b->x = width * (rand() / RAND_F_MAX); ^ xfish.c: In function 'high_res_sleep': xfish.c:2079:15: warning: passing argument 2 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] select(0, &fds, &fds, &fds, &timeout); ^ In file included from /usr/include/sys/time.h:44:0, from xfish.c:31: /usr/include/sys/select.h:50:5: note: expected 'fd_set * restrict {aka struct fd_set * restrict}' but argument is of type 'int *' int select(int, fd_set * __restrict, fd_set * __restrict, ^ xfish.c:2079:21: warning: passing argument 3 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] select(0, &fds, &fds, &fds, &timeout); ^ In file included from /usr/include/sys/time.h:44:0, from xfish.c:31: /usr/include/sys/select.h:50:5: note: expected 'fd_set * restrict {aka struct fd_set * restrict}' but argument is of type 'int *' int select(int, fd_set * __restrict, fd_set * __restrict, ^ xfish.c:2079:27: warning: passing argument 4 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] select(0, &fds, &fds, &fds, &timeout); ^ In file included from /usr/include/sys/time.h:44:0, from xfish.c:31: /usr/include/sys/select.h:50:5: note: expected 'fd_set * restrict {aka struct fd_set * restrict}' but argument is of type 'int *' int select(int, fd_set * __restrict, fd_set * __restrict, ^ xfish.c: In function 'main': xfish.c:2102:5: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration] srand((unsigned) getpid()); ^ xfish.c:2102:22: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] srand((unsigned) getpid()); ^ --- xfishtank --- rm -f xfishtank cc -o xfishtank -O -L/usr/local/lib xfish.o medcut.o read.o gifread.o -lXext -lX11 -lm -Wl,-rpath,/usr/local/lib -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> xfishtank-2.2_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xfishtank-2.2_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for xfishtank-2.2_2 ===> Generating temporary packing list /usr/bin/install -c -s xfishtank /construction/x11/xfishtank/stage/usr/local/bin/xfishtank install in . done install.man in . done ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for xfishtank-2.2_2 file sizes/checksums [1]: . done packing files [1]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 20 APR 2018 at 11:25:32 UTC Duration: 00:00:14