Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 19, 2021 00:35
Show Gist options
  • Save r-rmcgibbo/b0955baf6f1de04ca621954b5651ddc6 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/b0955baf6f1de04ca621954b5651ddc6 to your computer and use it in GitHub Desktop.
system: x86_64-linux | build_time: a moment | https://github.com/NixOS/nixpkgs/pull/116805
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/0jybwbdgx0lhshrrfd3h0b2jxrw5p444-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: SHELL=/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash
g++ -Wall -Wextra -O3 -shared -fPIC -static-libgcc -lX11 -DSONAME="spotifywm.so" -o spotifywm.so spotifywm.cpp
spotifywm.cpp: In function 'int XMapWindow(Display*, Window)':
spotifywm.cpp:56:25: warning: ISO C++ forbids converting a string constant to 'char*' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wwrite-strings-Wwrite-strings8;;]
56 | classHint->res_name = "spotify";
| ^~~~~~~~~
spotifywm.cpp:57:26: warning: ISO C++ forbids converting a string constant to 'char*' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wwrite-strings-Wwrite-strings8;;]
57 | classHint->res_class = "Spotify";
| ^~~~~~~~~
g++ -Wall -Wextra -O3 -shared -fPIC -static-libgcc -lX11 spotifywm.cpp spotifywm.so -o spotifywm
spotifywm.cpp: In function 'int XMapWindow(Display*, Window)':
spotifywm.cpp:56:25: warning: ISO C++ forbids converting a string constant to 'char*' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wwrite-strings-Wwrite-strings8;;]
56 | classHint->res_name = "spotify";
| ^~~~~~~~~
spotifywm.cpp:57:26: warning: ISO C++ forbids converting a string constant to 'char*' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wwrite-strings-Wwrite-strings8;;]
57 | classHint->res_class = "Spotify";
| ^~~~~~~~~
@nix { "action": "setPhase", "phase": "installPhase" }
installing
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/4g200m036vw1qq8r20vfbmrbgp02mmaz-spotifywm-unstable-2016-11-28
shrinking /nix/store/4g200m036vw1qq8r20vfbmrbgp02mmaz-spotifywm-unstable-2016-11-28/lib/spotifywm.so
strip is /nix/store/cp1sa3xxvl71cypiinw2c62i5s33chlr-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/4g200m036vw1qq8r20vfbmrbgp02mmaz-spotifywm-unstable-2016-11-28/lib /nix/store/4g200m036vw1qq8r20vfbmrbgp02mmaz-spotifywm-unstable-2016-11-28/bin
patching script interpreter paths in /nix/store/4g200m036vw1qq8r20vfbmrbgp02mmaz-spotifywm-unstable-2016-11-28
checking for references to /build/ in /nix/store/4g200m036vw1qq8r20vfbmrbgp02mmaz-spotifywm-unstable-2016-11-28...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment