Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 19, 2021 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r-rmcgibbo/7408c52a6404e471d5ae83949a01f302 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/7408c52a6404e471d5ae83949a01f302 to your computer and use it in GitHub Desktop.
system: x86_64-linux | build_time: 2 seconds | https://github.com/NixOS/nixpkgs/pull/116831
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing setuptools-check-hook
Using setuptoolsCheckPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/rb2c3ba43hs5bkra7jz3llcglvwhmnrj-rainbowstream-1.5.2.tar.gz
source root is rainbowstream-1.5.2
setting SOURCE_DATE_EPOCH to timestamp 1574778843 of file rainbowstream-1.5.2/setup.cfg
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/08bw65a0zjhlh86bmfc0z28bw24adr38-image.patch
patching file rainbowstream/c_image.py
Hunk #1 succeeded at 13 (offset 1 line).
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Executing setuptoolsBuildPhase
cp: cannot create regular file '/homeless-shelter/.rainbow_config.json': No such file or directory
chmod: cannot access '/homeless-shelter/.rainbow_config.json': No such file or directory
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/rainbowstream
copying rainbowstream/interactive.py -> build/lib/rainbowstream
copying rainbowstream/consumer.py -> build/lib/rainbowstream
copying rainbowstream/emoji.py -> build/lib/rainbowstream
copying rainbowstream/pure_image.py -> build/lib/rainbowstream
copying rainbowstream/__init__.py -> build/lib/rainbowstream
copying rainbowstream/colors.py -> build/lib/rainbowstream
copying rainbowstream/rainbow.py -> build/lib/rainbowstream
copying rainbowstream/c_image.py -> build/lib/rainbowstream
copying rainbowstream/py3patch.py -> build/lib/rainbowstream
copying rainbowstream/draw.py -> build/lib/rainbowstream
copying rainbowstream/util.py -> build/lib/rainbowstream
copying rainbowstream/config.py -> build/lib/rainbowstream
running egg_info
writing rainbowstream.egg-info/PKG-INFO
writing dependency_links to rainbowstream.egg-info/dependency_links.txt
writing entry points to rainbowstream.egg-info/entry_points.txt
writing requirements to rainbowstream.egg-info/requires.txt
writing top-level names to rainbowstream.egg-info/top_level.txt
reading manifest file 'rainbowstream.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'rainbowstream.egg-info/SOURCES.txt'
copying rainbowstream/image.c -> build/lib/rainbowstream
creating build/lib/rainbowstream/colorset
copying rainbowstream/colorset/base16.json -> build/lib/rainbowstream/colorset
copying rainbowstream/colorset/config -> build/lib/rainbowstream/colorset
copying rainbowstream/colorset/larapaste.json -> build/lib/rainbowstream/colorset
copying rainbowstream/colorset/monokai.json -> build/lib/rainbowstream/colorset
copying rainbowstream/colorset/solarized.json -> build/lib/rainbowstream/colorset
copying rainbowstream/colorset/tomorrow_night.json -> build/lib/rainbowstream/colorset
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/image.c -> build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/interactive.py -> build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/consumer.py -> build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/emoji.py -> build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/pure_image.py -> build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/__init__.py -> build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/colors.py -> build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/rainbow.py -> build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/c_image.py -> build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/py3patch.py -> build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/draw.py -> build/bdist.linux-x86_64/wheel/rainbowstream
creating build/bdist.linux-x86_64/wheel/rainbowstream/colorset
copying build/lib/rainbowstream/colorset/base16.json -> build/bdist.linux-x86_64/wheel/rainbowstream/colorset
copying build/lib/rainbowstream/colorset/config -> build/bdist.linux-x86_64/wheel/rainbowstream/colorset
copying build/lib/rainbowstream/colorset/monokai.json -> build/bdist.linux-x86_64/wheel/rainbowstream/colorset
copying build/lib/rainbowstream/colorset/solarized.json -> build/bdist.linux-x86_64/wheel/rainbowstream/colorset
copying build/lib/rainbowstream/colorset/tomorrow_night.json -> build/bdist.linux-x86_64/wheel/rainbowstream/colorset
copying build/lib/rainbowstream/colorset/larapaste.json -> build/bdist.linux-x86_64/wheel/rainbowstream/colorset
copying build/lib/rainbowstream/util.py -> build/bdist.linux-x86_64/wheel/rainbowstream
copying build/lib/rainbowstream/config.py -> build/bdist.linux-x86_64/wheel/rainbowstream
running install_egg_info
Copying rainbowstream.egg-info to build/bdist.linux-x86_64/wheel/rainbowstream-1.5.2-py3.9.egg-info
running install_scripts
adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/rainbowstream-1.5.2.dist-info/WHEEL
creating 'dist/rainbowstream-1.5.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'rainbowstream/__init__.py'
adding 'rainbowstream/c_image.py'
adding 'rainbowstream/colors.py'
adding 'rainbowstream/config.py'
adding 'rainbowstream/consumer.py'
adding 'rainbowstream/draw.py'
adding 'rainbowstream/emoji.py'
adding 'rainbowstream/image.c'
adding 'rainbowstream/interactive.py'
adding 'rainbowstream/pure_image.py'
adding 'rainbowstream/py3patch.py'
adding 'rainbowstream/rainbow.py'
adding 'rainbowstream/util.py'
adding 'rainbowstream/colorset/base16.json'
adding 'rainbowstream/colorset/config'
adding 'rainbowstream/colorset/larapaste.json'
adding 'rainbowstream/colorset/monokai.json'
adding 'rainbowstream/colorset/solarized.json'
adding 'rainbowstream/colorset/tomorrow_night.json'
adding 'rainbowstream-1.5.2.dist-info/LICENSE.txt'
adding 'rainbowstream-1.5.2.dist-info/METADATA'
adding 'rainbowstream-1.5.2.dist-info/WHEEL'
adding 'rainbowstream-1.5.2.dist-info/entry_points.txt'
adding 'rainbowstream-1.5.2.dist-info/top_level.txt'
adding 'rainbowstream-1.5.2.dist-info/zip-safe'
adding 'rainbowstream-1.5.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Finished executing setuptoolsBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/build/rainbowstream-1.5.2/dist /build/rainbowstream-1.5.2
Processing ./rainbowstream-1.5.2-py3-none-any.whl
Requirement already satisfied: python-dateutil in /nix/store/08y0bjf2n0rw14vz2lig1c6l317kgddr-python3.9-python-dateutil-2.8.1/lib/python3.9/site-packages (from rainbowstream==1.5.2) (2.8.1)
Requirement already satisfied: requests in /nix/store/lcg64hldqlbr6z173abwm4snncrfkz0s-python3.9-requests-2.25.1/lib/python3.9/site-packages (from rainbowstream==1.5.2) (2.25.1)
Requirement already satisfied: twitter in /nix/store/halg9fmvdnhhvxvqkdkhcgqn66mfq6nv-python3.9-twitter-1.18.0/lib/python3.9/site-packages (from rainbowstream==1.5.2) (1.18.0)
Requirement already satisfied: pyfiglet in /nix/store/kw1mm4jk9p4fp8nzvj8vv17953g2515n-python3.9-pyfiglet-0.8.post1/lib/python3.9/site-packages (from rainbowstream==1.5.2) (0.8.post1)
Requirement already satisfied: arrow in /nix/store/3skk13rpfvcaq4cdma3ky10jacq39ycv-python3.9-arrow-1.0.3/lib/python3.9/site-packages (from rainbowstream==1.5.2) (1.0.3)
Requirement already satisfied: pocket in /nix/store/mhf5wgwwyl4b3q0zzc28dqagw1ndk0ji-python3.9-pocket-0.3.6/lib/python3.9/site-packages (from rainbowstream==1.5.2) (0.3.6)
Requirement already satisfied: PySocks in /nix/store/gya746am08lfny3rryqn6a81vn5nyckz-python3.9-pysocks-1.7.1/lib/python3.9/site-packages (from rainbowstream==1.5.2) (1.7.1)
Requirement already satisfied: Pillow in /nix/store/1q7cz51w4pww9by7fws9aifwidj4nkl9-python3.9-Pillow-8.1.1/lib/python3.9/site-packages (from rainbowstream==1.5.2) (8.1.1)
Requirement already satisfied: six>=1.5 in /nix/store/462xzyq2qnjgcv9hywbqz6dfbxrzw2cw-python3.9-six-1.15.0/lib/python3.9/site-packages (from python-dateutil->rainbowstream==1.5.2) (1.15.0)
Requirement already satisfied: chardet<5,>=3.0.2 in /nix/store/kybxy7m1xjk4nhah1p4z8pjyga6bb78q-python3.9-chardet-3.0.4/lib/python3.9/site-packages (from requests->rainbowstream==1.5.2) (3.0.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /nix/store/v8hryfbvv3vyql1ja2j5x5l3iga86aqg-python3.9-urllib3-1.26.3/lib/python3.9/site-packages (from requests->rainbowstream==1.5.2) (1.26.3)
Requirement already satisfied: idna<3,>=2.5 in /nix/store/6glgr8arjlnymli84m9ghd0w0k7rdk8r-python3.9-idna-2.10/lib/python3.9/site-packages (from requests->rainbowstream==1.5.2) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /nix/store/z02n73fcim9d5j86p25iliydbf3b27mv-python3.9-certifi-2020.12.5/lib/python3.9/site-packages (from requests->rainbowstream==1.5.2) (2020.12.5)
Installing collected packages: rainbowstream
Successfully installed rainbowstream-1.5.2
/build/rainbowstream-1.5.2
Finished executing pipInstallPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/b367ddbd6ihyg2iiviwk65k63p47yx9q-python3.9-rainbowstream-1.5.2
shrinking /nix/store/b367ddbd6ihyg2iiviwk65k63p47yx9q-python3.9-rainbowstream-1.5.2/lib/python3.9/site-packages/rainbowstream/image.so
strip is /nix/store/cp1sa3xxvl71cypiinw2c62i5s33chlr-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/b367ddbd6ihyg2iiviwk65k63p47yx9q-python3.9-rainbowstream-1.5.2/lib /nix/store/b367ddbd6ihyg2iiviwk65k63p47yx9q-python3.9-rainbowstream-1.5.2/bin
patching script interpreter paths in /nix/store/b367ddbd6ihyg2iiviwk65k63p47yx9q-python3.9-rainbowstream-1.5.2
checking for references to /build/ in /nix/store/b367ddbd6ihyg2iiviwk65k63p47yx9q-python3.9-rainbowstream-1.5.2...
Rewriting #!/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/bin/python3.9 to #!/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2
wrapping `/nix/store/b367ddbd6ihyg2iiviwk65k63p47yx9q-python3.9-rainbowstream-1.5.2/bin/.rainbowstream-wrapped'...
Rewriting #! /nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash -e to #!/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
running install tests
no Makefile or custom installCheckPhase, doing nothing
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
@nix { "action": "setPhase", "phase": "setuptoolsCheckPhase" }
setuptoolsCheckPhase
Executing setuptoolsCheckPhase
cp: cannot create regular file '/homeless-shelter/.rainbow_config.json': No such file or directory
chmod: cannot access '/homeless-shelter/.rainbow_config.json': No such file or directory
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing rainbowstream.egg-info/PKG-INFO
writing dependency_links to rainbowstream.egg-info/dependency_links.txt
writing entry points to rainbowstream.egg-info/entry_points.txt
writing requirements to rainbowstream.egg-info/requires.txt
writing top-level names to rainbowstream.egg-info/top_level.txt
reading manifest file 'rainbowstream.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'rainbowstream.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
File "/build/rainbowstream-1.5.2/nix_run_setup", line 8, in <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 41, in <module>
setup(name='rainbowstream',
File "/nix/store/y9wbjcnaiy9d0y4mdfy2djydnbl8v2b3-python3.9-setuptools-50.3.1/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/nix/store/y9wbjcnaiy9d0y4mdfy2djydnbl8v2b3-python3.9-setuptools-50.3.1/lib/python3.9/site-packages/setuptools/command/test.py", line 232, in run
self.run_tests()
File "/nix/store/y9wbjcnaiy9d0y4mdfy2djydnbl8v2b3-python3.9-setuptools-50.3.1/lib/python3.9/site-packages/setuptools/command/test.py", line 250, in run_tests
test = unittest.main(
File "/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/lib/python3.9/unittest/main.py", line 100, in __init__
self.parseArgs(argv)
File "/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/lib/python3.9/unittest/main.py", line 124, in parseArgs
self._do_discovery(argv[2:])
File "/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/lib/python3.9/unittest/main.py", line 244, in _do_discovery
self.createTests(from_discovery=True, Loader=Loader)
File "/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/lib/python3.9/unittest/main.py", line 154, in createTests
self.test = loader.discover(self.start, self.pattern, self.top)
File "/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/lib/python3.9/unittest/loader.py", line 349, in discover
tests = list(self._find_tests(start_dir, pattern))
File "/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/lib/python3.9/unittest/loader.py", line 405, in _find_tests
tests, should_recurse = self._find_test_path(
File "/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/lib/python3.9/unittest/loader.py", line 483, in _find_test_path
tests = self.loadTestsFromModule(package, pattern=pattern)
File "/nix/store/y9wbjcnaiy9d0y4mdfy2djydnbl8v2b3-python3.9-setuptools-50.3.1/lib/python3.9/site-packages/setuptools/command/test.py", line 50, in loadTestsFromModule
tests.append(self.loadTestsFromName(submodule))
File "/nix/store/p4hb5lmji1djg5k074yngk7vai92nx6n-python3-3.9.2/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "/build/rainbowstream-1.5.2/rainbowstream/pure_image.py", line 4, in <module>
from .py3patch import *
File "/build/rainbowstream-1.5.2/rainbowstream/py3patch.py", line 11, in <module>
unescape = HTMLParser().unescape
AttributeError: 'HTMLParser' object has no attribute 'unescape'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment