Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yquake2: init at 7.20 #38864

Merged
merged 1 commit into from Apr 15, 2018
Merged

yquake2: init at 7.20 #38864

merged 1 commit into from Apr 15, 2018

Conversation

tadfisher
Copy link
Contributor

Motivation for this change

Package the Yamagi Quake II client and its related add-on game libraries.

I nested this under pkgs/games/quake2 to accommodate other Quake II engines and hopefully game/demo asset packages in the future.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@tadfisher
Copy link
Contributor Author

@GrahamcOfBorg build yquake2 yquake2-ctf yquake2-ground-zero yquake2-the-reckoning yquake2-all-games

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: yquake2

The following builds were skipped because they don't evaluate on x86_64-linux: yquake2-ctf, yquake2-ground-zero, yquake2-the-reckoning, yquake2-all-games

Partial log (click to expand)

shrinking /nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20/lib/yquake2/baseq2/game.so
shrinking /nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20/lib/yquake2/ref_soft.so
shrinking /nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20/lib/yquake2/quake2
shrinking /nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20/lib/yquake2/ref_gl1.so
shrinking /nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20/lib/yquake2/q2ded
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20/lib  /nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20/bin
patching script interpreter paths in /nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20
checking for references to /tmp/nix-build-yquake2-7.20.drv-0 in /nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20...
/nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: yquake2

The following builds were skipped because they don't evaluate on aarch64-linux: yquake2-ctf, yquake2-ground-zero, yquake2-the-reckoning, yquake2-all-games

Partial log (click to expand)

shrinking /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib/yquake2/ref_gl3.so
shrinking /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib/yquake2/ref_gl1.so
shrinking /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib/yquake2/quake2
shrinking /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib/yquake2/q2ded
shrinking /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib/yquake2/baseq2/game.so
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib  /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/bin
patching script interpreter paths in /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20
checking for references to /build in /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20...
/nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: yquake2

Partial log (click to expand)

/nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: yquake2

Partial log (click to expand)

/nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20

@Mic92
Copy link
Member

Mic92 commented Apr 15, 2018

@GrahamcOfBorg build yquake2 yquake2-ctf yquake2-ground-zero yquake2-the-reckoning yquake2-all-games

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: yquake2

The following builds were skipped because they don't evaluate on aarch64-linux: yquake2-ctf, yquake2-ground-zero, yquake2-the-reckoning, yquake2-all-games

Partial log (click to expand)

shrinking /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib/yquake2/ref_gl3.so
shrinking /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib/yquake2/ref_gl1.so
shrinking /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib/yquake2/quake2
shrinking /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib/yquake2/q2ded
shrinking /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib/yquake2/baseq2/game.so
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/lib  /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20/bin
patching script interpreter paths in /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20
checking for references to /build in /nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20...
/nix/store/lk3sgdbnq94ix6hyp0jkxs7q11d5d9y0-yquake2-7.20

@Mic92 Mic92 merged commit 59cf37f into NixOS:master Apr 15, 2018
@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: yquake2

The following builds were skipped because they don't evaluate on x86_64-darwin: yquake2-ctf, yquake2-ground-zero, yquake2-the-reckoning, yquake2-all-games

Partial log (click to expand)

clang-5.0: warning: argument unused during compilation: '-fno-strict-overflow' [-Wunused-command-line-argument]
[ 68%] Building C object CMakeFiles/game.dir/src/game/player/weapon.c.o
clang-5.0: warning: argument unused during compilation: '-fno-strict-overflow' [-Wunused-command-line-argument]
[ 68%] Building C object CMakeFiles/game.dir/src/game/savegame/savegame.c.o
clang-5.0: warning: argument unused during compilation: '-fno-strict-overflow' [-Wunused-command-line-argument]
[ 69%] Linking C shared module release/baseq2/game.dylib
[ 69%] Built target game
make: *** [Makefile:84: all] Error 2
builder for '/nix/store/rj4dm6cqvb71f58h73yw1mdz7qabfxfv-yquake2-7.20.drv' failed with exit code 2
error: build of '/nix/store/rj4dm6cqvb71f58h73yw1mdz7qabfxfv-yquake2-7.20.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: yquake2

The following builds were skipped because they don't evaluate on x86_64-linux: yquake2-ctf, yquake2-ground-zero, yquake2-the-reckoning, yquake2-all-games

Partial log (click to expand)

copying path '/nix/store/ra2lngp19j822ll5m80z45qvnczq2yb5-libXrandr-1.5.1' from 'https://cache.nixos.org'...
copying path '/nix/store/731aa3qy6v1v6awc24c0frza5d13k7ki-dbus-1.12.6-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/fk455c81dijrbmqirfkngy5y5p5q7i02-libXxf86vm-1.1.4' from 'https://cache.nixos.org'...
copying path '/nix/store/z1awd0gkjajkvc4n2wpdld90hn89llg4-libglvnd-1.0.0' from 'https://cache.nixos.org'...
copying path '/nix/store/r5fdmgpxfsidpgclimp4ykqmh5kakrm5-libpulseaudio-11.1' from 'https://cache.nixos.org'...
copying path '/nix/store/p5j2c7ldxpj9dibz9psm3kswagrpzpd8-libGL-1.0.0' from 'https://cache.nixos.org'...
copying path '/nix/store/580y11zq14xag6ybrvzcbr7k93naman4-SDL2-2.0.8' from 'https://cache.nixos.org'...
copying path '/nix/store/fvmjhyw3gbk73zvrsa24m7v5xvp60hn4-openal-soft-1.18.2' from 'https://cache.nixos.org'...
copying path '/nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20' from 'https://cache.nixos.org'...
/nix/store/id82a5709nmcc74jpk97riv2gwj6adbj-yquake2-7.20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants