>>> Building on exopi-6 under games/oilwar BDEPENDS = [devel/sdl-image;devel/sdl-mixer] DIST = [games/oilwar:OilWar-1.2.1.tar.gz] FULLPKGNAME = oilwar-1.2.1p7 RDEPENDS = [devel/sdl-mixer;devel/sdl-image] (Junk lock obtained for exopi-6 at 1735143407.02) >>> Running depends in games/oilwar at 1735143407.07 last junk was in multimedia/minidlna /usr/sbin/pkg_add -aI -Drepair sdl-image-1.2.12p5 sdl-mixer-1.2.12p5 was: /usr/sbin/pkg_add -aI -Drepair sdl-image-1.2.12p5 sdl-mixer-1.2.12p5 /usr/sbin/pkg_add -aI -Drepair sdl-image-1.2.12p5 sdl-mixer-1.2.12p5 >>> Running show-prepare-results in games/oilwar at 1735143408.77 ===> games/oilwar ===> Building from scratch oilwar-1.2.1p7 ===> oilwar-1.2.1p7 depends on: sdl-image-* -> sdl-image-1.2.12p5 ===> oilwar-1.2.1p7 depends on: sdl-mixer-* -> sdl-mixer-1.2.12p5 ===> Verifying specs: c++ c++abi pthread SDL SDL_image SDL_mixer c m ===> found c++.10.0 c++abi.7.0 pthread.27.1 SDL.8.0 SDL_image.3.1 SDL_mixer.5.0 c.100.3 m.10.1 sdl-image-1.2.12p5 sdl-mixer-1.2.12p5 (Junk lock released for exopi-6 at 1735143409.45) distfiles size=515013 >>> Running build in games/oilwar at 1735143409.49 ===> games/oilwar ===> Checking files for oilwar-1.2.1p7 `/exopi-cvs/ports/distfiles/OilWar-1.2.1.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for oilwar-1.2.1p7 ===> Patching for oilwar-1.2.1p7 ===> Applying OpenBSD patch patch-Main_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Main.cpp |--- Main.cpp.orig |+++ Main.cpp -------------------------- Patching file Main.cpp using Plan A... Hunk #1 succeeded at 60. Hunk #2 succeeded at 98. Hunk #3 succeeded at 113. Hunk #4 succeeded at 165. Hunk #5 succeeded at 185. Hunk #6 succeeded at 236. Hunk #7 succeeded at 345. Hunk #8 succeeded at 462. Hunk #9 succeeded at 688. Hunk #10 succeeded at 707. Hunk #11 succeeded at 726. Hunk #12 succeeded at 748. Hunk #13 succeeded at 955. Hunk #14 succeeded at 969. Hunk #15 succeeded at 979. Hunk #16 succeeded at 989. Hunk #17 succeeded at 999. done ===> Applying OpenBSD patch patch-Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.in.orig Wed Apr 2 18:59:19 2003 |+++ Makefile.in Wed Nov 5 19:33:10 2008 -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 84. done ===> Applying OpenBSD patch patch-README Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- README.orig Wed Apr 2 18:54:38 2003 |+++ README Wed Nov 5 19:33:10 2008 -------------------------- Patching file README using Plan A... Hunk #1 succeeded at 7. done ===> Applying OpenBSD patch patch-cParticleSystem_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: cParticleSystem.cpp |--- cParticleSystem.cpp.orig |+++ cParticleSystem.cpp -------------------------- Patching file cParticleSystem.cpp using Plan A... Hunk #1 succeeded at 132. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for oilwar-1.2.1p7 ===> Configuring for oilwar-1.2.1p7 Using /exopi-obj/pobj/oilwar-1.2.1/config.site (generated) loading site script /exopi-obj/pobj/oilwar-1.2.1/config.site creating cache ./config.cache checking for a BSD compatible install... /exopi-obj/pobj/oilwar-1.2.1/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking host system type... x86_64-unknown-openbsd7.6 checking for a BSD compatible install... /exopi-obj/pobj/oilwar-1.2.1/bin/install -c checking for ranlib... ranlib checking for gcc... cc checking whether the C compiler (cc -O2 -pipe ) works... yes checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for c++... c++ checking whether the C++ compiler (c++ -O2 -pipe ) works... yes checking whether the C++ compiler (c++ -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... (cached) yes checking how to run the C preprocessor... cc -E checking for ANSI C header files... (cached) yes checking target system type... x86_64-unknown-openbsd7.6 checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for IMG_Load in -lSDL_image... yes checking whether to enable sound... yes checking for Mix_OpenAudio in -lSDL_mixer... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h ===> Building for oilwar-1.2.1p7 c++ -DHAVE_CONFIG_H -I. -I. -I. -DSOUND -DDATA_DIR=\"/usr/local/share/oilwar/\" -DSCORE_DIR=\"/var/games/\" -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -Wall -O2 -pipe -c Main.cpp Main.cpp:455:40: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] x = 421.0f + 203.0f * rand () / (RAND_MAX + 1.0f); ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ Main.cpp:456:39: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] y = 327.0f + 35.0f * rand () / (RAND_MAX + 1.0f); ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ Main.cpp:536:46: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] tank.y = int (310.0f + 120.0f * rand () / (RAND_MAX + 1.0f)); ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ Main.cpp:541:47: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] marine.y = int (310.0f + 120.0f * rand () / (RAND_MAX + 1.0f));; ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ Main.cpp:545:48: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] marine.y = int (310.0f + 120.0f * rand () / (RAND_MAX + 1.0f));; ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ Main.cpp:553:51: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] AmmoBox.x = Uint16 (30.0f + 300.0f * rand () / (RAND_MAX + 1.0f)); ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ Main.cpp:554:51: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] AmmoBox.y = Uint16 (340.0f + 70.0f * rand () / (RAND_MAX + 1.0f)); ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ Main.cpp:798:50: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] marine->x = int (-100.0f + 90.0f * rand () / (RAND_MAX + 1.0f));; ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ Main.cpp:799:50: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] marine->y = int (310.0f + 120.0f * rand () / (RAND_MAX + 1.0f));; ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ Main.cpp:817:48: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] tank->x = int (-100.0f + 70.0f * rand () / (RAND_MAX + 1.0f));; ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ Main.cpp:818:48: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] tank->y = int (310.0f + 120.0f * rand () / (RAND_MAX + 1.0f));; ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ 11 warnings generated. c++ -DHAVE_CONFIG_H -I. -I. -I. -DSOUND -DDATA_DIR=\"/usr/local/share/oilwar/\" -DSCORE_DIR=\"/var/games/\" -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -Wall -O2 -pipe -c cParticleSystem.cpp cParticleSystem.cpp:115:44: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] float angle = -45.0f - 90.0f * rand () / (RAND_MAX + 1.0f); ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ cParticleSystem.cpp:117:55: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] int power = mPower + int ((-0.1f + 0.2f * rand () / (RAND_MAX + 1.0f) * float (mPower))); ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ cParticleSystem.cpp:123:53: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] UpdateParticle (particle, int (100.0f * rand () / (RAND_MAX + 1.0f))); ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ cParticleSystem.cpp:125:70: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] particle.mEnergy = int (0.1f * mMaxEnergy + mMaxEnergy * rand () / (RAND_MAX + 1.0f)); ^~~~~~~~ ~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ 4 warnings generated. c++ -O2 -pipe -o oilwar Main.o cParticleSystem.o -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib -lSDL_image -lSDL_mixer ld: warning: Main.cpp(Main.o:(main)): warning: rand() may return deterministic values, is that what you want? >>> Running package in games/oilwar at 1735143417.03 ===> games/oilwar ===> Faking installation for oilwar-1.2.1p7 /exopi-obj/pobj/oilwar-1.2.1/bin/install -d -m 755 /exopi-obj/pobj/oilwar-1.2.1/fake-amd64/usr/local/bin /exopi-obj/pobj/oilwar-1.2.1/bin/install -d -m 755 /exopi-obj/pobj/oilwar-1.2.1/fake-amd64/usr/local/share/{doc/oilwar,oilwar} /exopi-obj/pobj/oilwar-1.2.1/bin/install -c -s -m 755 /exopi-obj/pobj/oilwar-1.2.1/OilWar-1.2.1/oilwar /exopi-obj/pobj/oilwar-1.2.1/fake-amd64/usr/local/bin /exopi-obj/pobj/oilwar-1.2.1/bin/install -c -m 644 /exopi-obj/pobj/oilwar-1.2.1/OilWar-1.2.1/README /exopi-obj/pobj/oilwar-1.2.1/fake-amd64/usr/local/share/doc/oilwar /exopi-obj/pobj/oilwar-1.2.1/bin/install -c -m 644 /exopi-obj/pobj/oilwar-1.2.1/OilWar-1.2.1/*.{png,wav} /exopi-obj/pobj/oilwar-1.2.1/fake-amd64/usr/local/share/oilwar /exopi-obj/pobj/oilwar-1.2.1/bin/install -d -m 755 /exopi-obj/pobj/oilwar-1.2.1/fake-amd64/usr/local/share/examples/oilwar/ /exopi-obj/pobj/oilwar-1.2.1/bin/install -c -m 644 /dev/null /exopi-obj/pobj/oilwar-1.2.1/fake-amd64/usr/local/share/examples/oilwar/oilwar.scores ===> Building package for oilwar-1.2.1p7 Create /exopi-cvs/ports/packages/amd64/all/oilwar-1.2.1p7.tgz Creating package oilwar-1.2.1p7 reading plist| checking dependencies| checking dependencies|devel/sdl-image checking dependencies|devel/sdl-mixer checksumming| checksumming| | 0% checksumming|** | 3% checksumming|*** | 5% checksumming|***** | 8% checksumming|****** | 11% checksumming|******** | 13% checksumming|********** | 16% checksumming|*********** | 18% checksumming|************* | 21% checksumming|************** | 24% checksumming|**************** | 26% checksumming|****************** | 29% checksumming|******************* | 32% checksumming|********************* | 34% checksumming|********************** | 37% checksumming|************************ | 39% checksumming|************************** | 42% checksumming|*************************** | 45% checksumming|***************************** | 47% checksumming|******************************* | 50% checksumming|******************************** | 53% checksumming|********************************** | 55% checksumming|*********************************** | 58% checksumming|************************************* | 61% checksumming|*************************************** | 63% checksumming|**************************************** | 66% checksumming|****************************************** | 68% checksumming|******************************************* | 71% checksumming|********************************************* | 74% checksumming|*********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************** | 82% checksumming|*************************************************** | 84% checksumming|***************************************************** | 87% checksumming|******************************************************* | 89% checksumming|******************************************************** | 92% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|***** | 8% archiving|********************************************************* | 90% archiving|*********************************************************** | 91% archiving|************************************************************ | 94% archiving|*************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/oilwar-1.2.1p7.tgz >>> Running clean in games/oilwar at 1735143422.29 ===> games/oilwar ===> Cleaning for oilwar-1.2.1p7 >>> Ended at 1735143422.47 max_stuck=1.36/depends=1.70/show-prepare-results=0.73/build=7.52/package=5.27/clean=0.22