<86>Jan 26 08:39:18 userdel[30946]: delete user 'rooter' <86>Jan 26 08:39:18 userdel[30946]: removed group 'rooter' owned by 'rooter' <86>Jan 26 08:39:18 userdel[30946]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 26 08:39:18 groupadd[30953]: group added to /etc/group: name=rooter, GID=522 <86>Jan 26 08:39:18 groupadd[30953]: group added to /etc/gshadow: name=rooter <86>Jan 26 08:39:18 groupadd[30953]: new group: name=rooter, GID=522 <86>Jan 26 08:39:18 useradd[30962]: new user: name=rooter, UID=522, GID=522, home=/root, shell=/bin/bash <86>Jan 26 08:39:18 userdel[30979]: delete user 'builder' <86>Jan 26 08:39:18 userdel[30979]: removed group 'builder' owned by 'builder' <86>Jan 26 08:39:18 userdel[30979]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 08:39:18 groupadd[30992]: group added to /etc/group: name=builder, GID=523 <86>Jan 26 08:39:18 groupadd[30992]: group added to /etc/gshadow: name=builder <86>Jan 26 08:39:18 groupadd[30992]: new group: name=builder, GID=523 <86>Jan 26 08:39:18 useradd[31006]: new user: name=builder, UID=523, GID=523, home=/usr/src, shell=/bin/bash <13>Jan 26 08:39:23 rpmi: libogg-1.3.2-alt1 1416015873 installed <13>Jan 26 08:39:23 rpmi: xorg-xproto-devel-7.0.31-alt1 1480491055 installed <13>Jan 26 08:39:23 rpmi: libflac8-1.2.1-alt11.1 1434276025 installed <13>Jan 26 08:39:23 rpmi: libvorbis-1.3.4-alt1 1395615326 installed <13>Jan 26 08:39:23 rpmi: libmad-0.15.1b-alt8 1398374528 installed <13>Jan 26 08:39:23 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Jan 26 08:39:23 rpmi: libwrap-1:7.6-alt11 1297041303 installed <13>Jan 26 08:39:23 rpmi: libsndfile-1.0.27-alt1 1479128605 installed <13>Jan 26 08:39:23 rpmi: liblz4-r131-alt1 1447866716 installed <13>Jan 26 08:39:23 rpmi: libgpg-error-1.20-alt1.1 1449204244 installed <13>Jan 26 08:39:23 rpmi: libgcrypt20-1.6.6-alt1 1471552782 installed <13>Jan 26 08:39:23 rpmi: libsystemd-1:232-alt1 1485301381 installed <13>Jan 26 08:39:23 rpmi: libdbus-1.10.12-alt1 1476116348 installed <13>Jan 26 08:39:23 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Jan 26 08:39:24 rpmi: libalsa-1:1.1.3-alt3 1482850950 installed <13>Jan 26 08:39:24 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531929 installed <13>Jan 26 08:39:24 rpmi: libxshmfence-1.2-alt1 1420972190 installed <13>Jan 26 08:39:24 rpmi: libexpat-2.1.0-alt1 1347469773 installed <13>Jan 26 08:39:24 rpmi: libpciaccess-1:0.13.4-alt1 1431681690 installed <13>Jan 26 08:39:24 rpmi: libdrm-1:2.4.74-alt1 1484221443 installed <13>Jan 26 08:39:24 rpmi: libX11-locales-3:1.6.4-alt1 1480493483 installed <13>Jan 26 08:39:24 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Jan 26 08:39:24 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Jan 26 08:39:24 rpmi: libxcb-1.12-alt1 1471592579 installed <13>Jan 26 08:39:24 rpmi: libX11-3:1.6.4-alt1 1480493483 installed <13>Jan 26 08:39:24 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Jan 26 08:39:24 rpmi: libXxf86vm-1.1.3-alt1 1369984835 installed <13>Jan 26 08:39:24 rpmi: libpulseaudio-10.0-alt1 1484840383 installed <13>Jan 26 08:39:24 rpmi: libmikmod-3.3.10-alt1 1472740530 installed <13>Jan 26 08:39:24 rpmi: libXi-1.7.4-alt1 1409902879 installed <13>Jan 26 08:39:24 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Jan 26 08:39:24 rpmi: libXfixes-5.0.1-alt1 1369809608 installed <13>Jan 26 08:39:24 rpmi: libGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 08:39:24 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Jan 26 08:39:24 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jan 26 08:39:24 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Jan 26 08:39:24 rpmi: libSDL-1.2.14-alt7 1483707272 installed <13>Jan 26 08:39:24 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Jan 26 08:39:24 rpmi: libfreeglut-3.0.0-alt1 1429173819 installed <13>Jan 26 08:39:25 rpmi: libxcb-devel-1.12-alt1 1471592579 installed <13>Jan 26 08:39:25 rpmi: libX11-devel-3:1.6.4-alt1 1480493483 installed <13>Jan 26 08:39:25 rpmi: libGL-devel-4:13.0.3-alt1 1484223040 installed <13>Jan 26 08:39:25 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Jan 26 08:39:26 rpmi: libSDL-devel-1.2.14-alt7 1483707272 installed <13>Jan 26 08:39:26 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 26 08:39:26 rpmi: libstdc++6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 08:39:27 rpmi: gcc6-c++-6.3.1-alt1 1484277945 installed <13>Jan 26 08:39:27 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Jan 26 08:39:27 rpmi: libfreeglut-devel-3.0.0-alt1 1429173819 installed <13>Jan 26 08:39:27 rpmi: desktop-file-utils-0.22.0.patchset1-alt1 1412210844 installed Installing netherearth-0.52-alt2.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.23746 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf netherearth-0.52 + echo 'Source #0 (netherearth-0.52.tar):' Source #0 (netherearth-0.52.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/netherearth-0.52.tar + cd netherearth-0.52 + echo 'Source #3 (netherearth-0.52-doc.tar):' Source #3 (netherearth-0.52-doc.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/netherearth-0.52-doc.tar + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (netherearth-0.52-alt.patch):' Patch #0 (netherearth-0.52-alt.patch): + /usr/bin/patch -p1 patching file 3dobject-ase.cpp patching file 3dobject.cpp patching file Makefile patching file bitmap.cpp patching file main.cpp + sed -e 's,@DATADIR@,/usr/share,g; s,@BINDIR@,/usr/bin,g' /usr/src/RPM/SOURCES/netherearth.run + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.23746 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd netherearth-0.52 + '[' -n '' ']' + NPROCS=1 + make -j1 make: Entering directory `/usr/src/RPM/BUILD/netherearth-0.52' g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic 3dobject-ase.cpp -o 3dobject-ase.o 3dobject-ase.cpp: In member function 'bool C3DObject::loadASE(char*, char*)': 3dobject-ase.cpp:41:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MATERIAL_LIST",fp) || ^ 3dobject-ase.cpp:42:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !lookfor("MATERIAL_COUNT",fp)) { ^ 3dobject-ase.cpp:57:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MATERIAL",fp) || ^ 3dobject-ase.cpp:58:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !lookfor("MATERIAL_CLASS",fp) || ^ 3dobject-ase.cpp:71:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (lookforinside("MAP_DIFFUSE",fp) && ^ 3dobject-ase.cpp:72:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] lookfor("BITMAP",fp)) { ^ 3dobject-ase.cpp:95:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("NUMSUBMTLS",fp) || ^ 3dobject-ase.cpp:107:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("SUBMATERIAL",fp)) { ^ 3dobject-ase.cpp:111:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (lookforinside("MAP_DIFFUSE",fp) && ^ 3dobject-ase.cpp:112:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] lookfor("BITMAP",fp)) { ^ 3dobject-ase.cpp:137:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("GEOMOBJECT",fp) || ^ 3dobject-ase.cpp:138:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !lookfor("MESH",fp)) { ^ 3dobject-ase.cpp:143:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_NUMVERTEX",fp) || ^ 3dobject-ase.cpp:152:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_NUMFACES",fp) || ^ 3dobject-ase.cpp:173:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_VERTEX_LIST",fp)) { ^ 3dobject-ase.cpp:182:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_VERTEX",fp) || ^ 3dobject-ase.cpp:193:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACE_LIST",fp)) { ^ 3dobject-ase.cpp:202:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACE",fp) || ^ 3dobject-ase.cpp:212:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_SMOOTHING",fp) || ^ 3dobject-ase.cpp:219:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_MTLID",fp) || ^ 3dobject-ase.cpp:229:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] int v=lookfor2("MESH_FACEMAPLIST","MESH_NUMTVERTEX",fp); ^ 3dobject-ase.cpp:229:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3dobject-ase.cpp:241:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACEMAP",fp) || ^ 3dobject-ase.cpp:248:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACEMAPVERT",fp) || ^ 3dobject-ase.cpp:255:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACEMAPVERT",fp) || ^ 3dobject-ase.cpp:262:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACEMAPVERT",fp) || ^ 3dobject-ase.cpp:277:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !lookfor("MESH_TVERTLIST",fp)) { ^ 3dobject-ase.cpp:284:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_TVERT",fp) || ^ 3dobject-ase.cpp:293:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_NUMTVFACES",fp) || ^ 3dobject-ase.cpp:295:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !lookfor("MESH_TFACELIST",fp)) { ^ 3dobject-ase.cpp:305:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_TFACE",fp) || ^ 3dobject-ase.cpp:326:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!lookfor("MATERIAL_REF",fp) || ^ g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic 3dobject.cpp -o 3dobject.o g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic cmc.cpp -o cmc.o cmc.cpp: In function 'bool plane_collision(float*, float*, float*, float*, float*, float*)': cmc.cpp:595:13: warning: operation on 'range_a[0]' may be undefined [-Wsequence-point] range_a[0]=range_a[0]=0; ~~~~~~~~~~^~~~~~~~~~~~~ cmc.cpp:661:13: warning: operation on 'range_b[0]' may be undefined [-Wsequence-point] range_b[0]=range_b[0]=0; ~~~~~~~~~~^~~~~~~~~~~~~ cmc.cpp:712:6: warning: 'range_b[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (range_b[1]BULLET::pos.Vector::x' from 'double' to 'float' inside { } [-Wnarrowing] bullet->pos.x,bullet->pos.y,0.3,1}; ~~~~~~~~~~~~^ bullet.cpp:184:33: warning: narrowing conversion of 'bullet->BULLET::pos.Vector::y' from 'double' to 'float' inside { } [-Wnarrowing] bullet->pos.x,bullet->pos.y,0.3,1}; ~~~~~~~~~~~~^ g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic glprintf.cpp -o glprintf.o g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic main.cpp -o main.o g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic mainmenu.cpp -o mainmenu.o mainmenu.cpp: In function 'int mainmenu_cycle(int, int)': mainmenu.cpp:137:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (ep = readdir (dp)) ^ mainmenu.cpp: In function 'void mainmenu_draw(int, int)': mainmenu.cpp:322:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nethertittle=new C3DObject("models/tittle.asc","textures/"); ^ mainmenu.cpp:322:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic maps.cpp -o maps.o maps.cpp: In member function 'bool NETHER::loadmap(char*)': maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "GG","SS","MM","?"}; ^ maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maps.cpp:49:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic menu.cpp -o menu.o menu.cpp: In member function 'void NETHER::newmenu(int)': menu.cpp:26:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbutton(TIME_BUTTON,70,455,130,40,"Day: 0","Time: 00:00",0.8f,0,0); ^ menu.cpp:26:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:28:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(STATUS_BUTTON,70,400,130,50,"STATUS","INSG HUMN",0.0,0,0); ^ menu.cpp:28:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:29:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(RESOURCE_BUTTON,70,200,130,30,"RESOURCES",0,0.0,0,0); ^ menu.cpp:34:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ROBOT1_BUTTON,70,350,130,40,"DIRECT "," CONTROL",0,0,0.8f); ^ menu.cpp:34:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:35:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ROBOT2_BUTTON,70,300,130,40,"GIVE "," ORDERS",0,0,0.8f); ^ menu.cpp:35:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:36:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ROBOT3_BUTTON,70,250,130,40,"COMBAT "," MODE",0,0,0.8f); ^ menu.cpp:36:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:37:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ROBOT4_BUTTON,70,200,130,40,"LEAVE "," ROBOT",0,0,0.8f); ^ menu.cpp:37:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:42:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT1_BUTTON,70,350,130,40,"NUCLEAR "," BOMB",0,0,0.8f); ^ menu.cpp:42:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:43:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT2_BUTTON,70,300,130,40,"FIRE "," PHASERS",0,0,0.8f); ^ menu.cpp:43:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:44:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT3_BUTTON,70,250,130,40,"FIRE "," MISSILES",0,0,0.8f); ^ menu.cpp:44:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:45:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT4_BUTTON,70,200,130,40,"FIRE "," CANNON",0,0,0.8f); ^ menu.cpp:45:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:46:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT5_BUTTON,70,150,130,40,"MOVE "," ROBOT",0,0,0.8f); ^ menu.cpp:46:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:47:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT6_BUTTON,70,100,130,40,"STOP "," COMBAT",0,0,0.8f); ^ menu.cpp:47:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:52:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS1_BUTTON,70,350,130,40,"STOP AND "," DEFEND",0,0,0.8f); ^ menu.cpp:52:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:53:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS2_BUTTON,70,300,130,40,"ADVANCE "," ?? MILES",0,0,0.8f); ^ menu.cpp:53:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:54:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS3_BUTTON,70,250,130,40,"RETREAT "," ?? MILES",0,0,0.8f); ^ menu.cpp:54:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:55:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS4_BUTTON,70,200,130,40,"SEARCH & "," DESTROY",0,0,0.8f); ^ menu.cpp:55:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:56:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS5_BUTTON,70,150,130,40,"SEARCH & "," CAPTURE",0,0,0.8f); ^ menu.cpp:56:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:62:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS_BUTTON,70,400,130,40,"ADVANCE "," ?? MILES",0,0,0.8f); ^ menu.cpp:62:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:64:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS_BUTTON,70,400,130,40,"RETREAT "," ?? MILES",0,0,0.8f); ^ menu.cpp:64:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:69:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS_BUTTON,70,400,130,40,"SEARCH & "," DESTROY",0,0,0.8f); ^ menu.cpp:69:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:71:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET1_BUTTON,70,300,130,40,"ENEMY "," ROBOTS",0,0,0.8f); ^ menu.cpp:71:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:72:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET2_BUTTON,70,250,130,40,"ENEMY ","FACTORIES",0,0,0.8f); ^ menu.cpp:72:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:73:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET3_BUTTON,70,200,130,40,"ENEMY "," WARBASES",0,0,0.8f); ^ menu.cpp:73:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:78:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS_BUTTON,70,400,130,40,"SEARCH & "," CAPTURE",0,0,0.8f); ^ menu.cpp:78:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:80:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET1_BUTTON,70,300,130,40,"NEUTRAL ","FACTORIES",0,0,0.8f); ^ menu.cpp:80:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:81:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET2_BUTTON,70,250,130,40,"ENEMY ","FACTORIES",0,0,0.8f); ^ menu.cpp:81:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu.cpp:82:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET3_BUTTON,70,200,130,40,"ENEMY "," WARBASES",0,0,0.8f); ^ menu.cpp:82:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic myglutaux.cpp -o myglutaux.o myglutaux.cpp: In function 'float draw3Dtext(char*, float, float, float, float, float, float)': myglutaux.cpp:56:25: warning: array subscript has type 'char' [-Wchar-subscripts] if (characters[text[i]]==0) { ^ myglutaux.cpp:65:22: warning: array subscript has type 'char' [-Wchar-subscripts] characters[text[i]]=new C3DObject(filename,"textures/"); ^ myglutaux.cpp:65:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] characters[text[i]]=new C3DObject(filename,"textures/"); ^ myglutaux.cpp:66:22: warning: array subscript has type 'char' [-Wchar-subscripts] characters[text[i]]->normalize(); ^ myglutaux.cpp:68:25: warning: array subscript has type 'char' [-Wchar-subscripts] if (characters[text[i]]!=NULL) { ^ myglutaux.cpp:69:22: warning: array subscript has type 'char' [-Wchar-subscripts] characters[text[i]]->draw(r,g,b); ^ myglutaux.cpp: In function 'void DistributeVector(Vector, Vector, Vector*, Vector*)': myglutaux.cpp:308:9: warning: variable 'norma' set but not used [-Wunused-but-set-variable] double norma; ^~~~~ g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic nethercycle.cpp -o nethercycle.o nethercycle.cpp: In member function 'bool NETHER::cycle(unsigned char*)': nethercycle.cpp:1407:10: warning: unused variable 'damage' [-Wunused-variable] int damage=0; ^~~~~~ g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic netherdebug.cpp -o netherdebug.o netherdebug.cpp: In member function 'bool NETHER::save_debug_report(char*)': netherdebug.cpp:110:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *tractions[3]={"BIPOD","TRACKS","ANTIGRAV"}; ^ netherdebug.cpp:110:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] netherdebug.cpp:110:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] netherdebug.cpp:111:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *pieces[5]={"CANNONS","MISSILES","PHASERS","NUCLEAR","ELECTRONICS"}; ^ netherdebug.cpp:111:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] netherdebug.cpp:111:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] netherdebug.cpp:111:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] netherdebug.cpp:111:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic nethersave.cpp -o nethersave.o g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic particles.cpp -o particles.o g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic construction.cpp -o construction.o g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic quaternion.cpp -o quaternion.o g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic radar.cpp -o radar.o radar.cpp:106:7: warning: "/*" within comment [-Wcomment] } /* if */ g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic enemy_ai.cpp -o enemy_ai.o enemy_ai.cpp: In member function 'void NETHER::AI_enemy()': enemy_ai.cpp:33:6: warning: variable 'state' set but not used [-Wunused-but-set-variable] int state=AI_STATE_EXPANDING; ^~~~~ enemy_ai.cpp:172:39: warning: 'robot_distance_sum' may be used uninitialized in this function [-Wmaybe-uninitialized] if (less_robots_around_warbase==0 || robot_distance_sum_current>robot_distance_sum) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enemy_ai.cpp:132:38: warning: 'distance_to_enemy' may be used uninitialized in this function [-Wmaybe-uninitialized] closest_to_enemy_warbase->pos.ypos-b->pos).norma()costnewpos+Vector(0.5,0.5,0)-goalpos).norma()==closer && op->costdeadend && bestop->deadend && closer!=0)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ robot_ai.cpp:473:66: warning: 'mincost' may be used uninitialized in this function [-Wmaybe-uninitialized] ((op->newpos+Vector(0.5,0.5,0)-goalpos).norma()==closer && op->costdeadend && bestop->deadend && closer!=0)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ robot_ai.cpp:415:33: warning: 'mincost' may be used uninitialized in this function [-Wmaybe-uninitialized] (op->newpos.y==further && op->costnewpos.ynewpos.y==further && op->costnewpos.y==further && op->costnewpos.y>further || ~~~~~~~~~~~~~~~~~~~~~~^~~ (op->newpos.y==further && op->costROBOT::pos.Vector::x' from 'double' to 'float' inside { } [-Wnarrowing] r->pos.x,r->pos.y,r->pos.z,1}; ~~~~~~~^ robots.cpp:425:23: warning: narrowing conversion of 'r->ROBOT::pos.Vector::y' from 'double' to 'float' inside { } [-Wnarrowing] r->pos.x,r->pos.y,r->pos.z,1}; ~~~~~~~^ robots.cpp:425:32: warning: narrowing conversion of 'r->ROBOT::pos.Vector::z' from 'double' to 'float' inside { } [-Wnarrowing] r->pos.x,r->pos.y,r->pos.z,1}; ~~~~~~~^ robots.cpp:436:14: warning: narrowing conversion of '((NETHER*)this)->NETHER::shipp.Vector::x' from 'double' to 'float' inside { } [-Wnarrowing] shipp.x,shipp.y,shipp.z,1}; ~~~~~~^ robots.cpp:436:22: warning: narrowing conversion of '((NETHER*)this)->NETHER::shipp.Vector::y' from 'double' to 'float' inside { } [-Wnarrowing] shipp.x,shipp.y,shipp.z,1}; ~~~~~~^ robots.cpp:436:30: warning: narrowing conversion of '((NETHER*)this)->NETHER::shipp.Vector::z' from 'double' to 'float' inside { } [-Wnarrowing] shipp.x,shipp.y,shipp.z,1}; ~~~~~~^ robots.cpp: In member function 'bool ROBOT::bullethit(int)': robots.cpp:611:12: warning: 'damage' may be used uninitialized in this function [-Wmaybe-uninitialized] strength-=damage; ^~~~~~ g++ -c -pipe -Wall -g -O2 -march=i586 -mtune=generic shadow3dobject.cpp -o shadow3dobject.o shadow3dobject.cpp: In member function 'void Shadow3DObject::ComputeShadow(Vector)': shadow3dobject.cpp:73:17: warning: variable 'pry_ncaras' set but not used [-Wunused-but-set-variable] int *pry_caras,pry_ncaras; ^~~~~~~~~~ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic 3dobject-ase.o 3dobject.o cmc.o nether.o piece3dobject.o vector.o bitmap.o bullet.o glprintf.o main.o mainmenu.o maps.o menu.o myglutaux.o nethercycle.o netherdebug.o nethersave.o particles.o construction.o quaternion.o radar.o enemy_ai.o robot_ai.o robots.o shadow3dobject.o -o nether_earth -lGL -lGLU -lglut -lSDL -lSDL_mixer -lpthread make: Leaving directory `/usr/src/RPM/BUILD/netherearth-0.52' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.65966 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/netherearth-buildroot + : + /bin/rm -rf -- /usr/src/tmp/netherearth-buildroot + cd netherearth-0.52 + install -D -m755 nether_earth /usr/src/tmp/netherearth-buildroot/usr/bin/netherearth + install -D -m755 netherearth.run /usr/src/tmp/netherearth-buildroot/usr/bin/netherearth.run + install -D -m644 /usr/src/RPM/SOURCES/netherearth32.png /usr/src/tmp/netherearth-buildroot/usr/share/icons/hicolor/32x32/apps/netherearth.png + install -D -m644 /usr/src/RPM/SOURCES/netherearth48.png /usr/src/tmp/netherearth-buildroot/usr/share/icons/hicolor/48x48/apps/netherearth.png + mkdir -p /usr/src/tmp/netherearth-buildroot/usr/share/applications + cat + mkdir -p /usr/src/tmp/netherearth-buildroot/usr/share/netherearth + tar xf /usr/src/RPM/SOURCES/netherearth-0.52-data.tar -C /usr/src/tmp/netherearth-buildroot/usr/share/netherearth + desktop-file-install --dir /usr/src/tmp/netherearth-buildroot/usr/share/applications --add-category=StrategyGame /usr/src/tmp/netherearth-buildroot/usr/share/applications/netherearth.desktop /usr/src/tmp/netherearth-buildroot/usr/share/applications/netherearth.desktop: error: value "GameStrategyGame;" for key "Categories" in group "Desktop Entry" contains an unregistered value "GameStrategyGame"; values extending the format should start with "X-" Error on file "/usr/src/tmp/netherearth-buildroot/usr/share/applications/netherearth.desktop": Failed to validate the created desktop file error: Bad exit status from /usr/src/tmp/rpm-tmp.65966 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.65966 (%install) Command exited with non-zero status 1 15.94user 1.11system 0:16.61elapsed 102%CPU (0avgtext+0avgdata 72316maxresident)k 0inputs+0outputs (0major+265128minor)pagefaults 0swaps hsh-rebuild: rebuild of `netherearth-0.52-alt2.qa1.src.rpm' failed. Command exited with non-zero status 1 38.80user 6.75system 0:44.55elapsed 102%CPU (0avgtext+0avgdata 134168maxresident)k 16528inputs+0outputs (0major+615564minor)pagefaults 0swaps