Skip to content

Instantly share code, notes, and snippets.

@plumps
Created February 3, 2018 14: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 plumps/ba9769430e10ab5570bd658549b6ff83 to your computer and use it in GitHub Desktop.
Save plumps/ba9769430e10ab5570bd658549b6ff83 to your computer and use it in GitHub Desktop.
build-fail odfpy
nix-build https://github.com/NixOS/nixpkgs/archive/c1d9aff56e0ae52ee4705440fe09291a51e91977.tar.gz -A python2.pkgs.odfpy
downloading ‘https://github.com/NixOS/nixpkgs/archive/c1d9aff56e0ae52ee4705440fe09291a51e91977.tar.gz’... [11088/0 KiB, 1367.1 KiB/s]
unpacking ‘https://github.com/NixOS/nixpkgs/archive/c1d9aff56e0ae52ee4705440fe09291a51e91977.tar.gz’...
these derivations will be built:
/nix/store/ngk8cycspwja1hwk3g4z73gwpnhwapy5-python2.7-odfpy-1.3.6.drv
building path(s) ‘/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6’
unpacking sources
unpacking source archive /nix/store/dp2wzgll46v8h6avl9fwdp4s544qybj1-odfpy-1.3.6.tar.gz
source root is odfpy-1.3.6
setting SOURCE_DATE_EPOCH to timestamp 1513011335 of file odfpy-1.3.6/setup.cfg
patching sources
configuring
building
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/odf
copying odf/easyliststyle.py -> build/lib/odf
copying odf/chart.py -> build/lib/odf
copying odf/namespaces.py -> build/lib/odf
copying odf/number.py -> build/lib/odf
copying odf/element.py -> build/lib/odf
copying odf/style.py -> build/lib/odf
copying odf/office.py -> build/lib/odf
copying odf/odf2xhtml.py -> build/lib/odf
copying odf/config.py -> build/lib/odf
copying odf/presentation.py -> build/lib/odf
copying odf/math.py -> build/lib/odf
copying odf/svg.py -> build/lib/odf
copying odf/meta.py -> build/lib/odf
copying odf/manifest.py -> build/lib/odf
copying odf/draw.py -> build/lib/odf
copying odf/elementtypes.py -> build/lib/odf
copying odf/dc.py -> build/lib/odf
copying odf/teletype.py -> build/lib/odf
copying odf/text.py -> build/lib/odf
copying odf/userfield.py -> build/lib/odf
copying odf/thumbnail.py -> build/lib/odf
copying odf/xforms.py -> build/lib/odf
copying odf/odfmanifest.py -> build/lib/odf
copying odf/grammar.py -> build/lib/odf
copying odf/form.py -> build/lib/odf
copying odf/script.py -> build/lib/odf
copying odf/table.py -> build/lib/odf
copying odf/opendocument.py -> build/lib/odf
copying odf/anim.py -> build/lib/odf
copying odf/load.py -> build/lib/odf
copying odf/odf2moinmoin.py -> build/lib/odf
copying odf/attrconverters.py -> build/lib/odf
copying odf/dr3d.py -> build/lib/odf
copying odf/__init__.py -> build/lib/odf
running build_scripts
creating build/scripts-2.7
copying and adjusting csv2ods/csv2ods -> build/scripts-2.7
copying and adjusting mailodf/mailodf -> build/scripts-2.7
copying and adjusting odf2xhtml/odf2xhtml -> build/scripts-2.7
copying and adjusting odf2mht/odf2mht -> build/scripts-2.7
copying and adjusting odf2xml/odf2xml -> build/scripts-2.7
copying and adjusting odfimgimport/odfimgimport -> build/scripts-2.7
copying and adjusting odflint/odflint -> build/scripts-2.7
copying and adjusting odfmeta/odfmeta -> build/scripts-2.7
copying and adjusting odfoutline/odfoutline -> build/scripts-2.7
copying and adjusting odfuserfield/odfuserfield -> build/scripts-2.7
copying and adjusting xml2odf/xml2odf -> build/scripts-2.7
changing mode of build/scripts-2.7/csv2ods from 644 to 755
changing mode of build/scripts-2.7/mailodf from 644 to 755
changing mode of build/scripts-2.7/odf2xhtml from 644 to 755
changing mode of build/scripts-2.7/odf2mht from 644 to 755
changing mode of build/scripts-2.7/odf2xml from 644 to 755
changing mode of build/scripts-2.7/odfimgimport from 644 to 755
changing mode of build/scripts-2.7/odflint from 644 to 755
changing mode of build/scripts-2.7/odfmeta from 644 to 755
changing mode of build/scripts-2.7/odfoutline from 644 to 755
changing mode of build/scripts-2.7/odfuserfield from 644 to 755
changing mode of build/scripts-2.7/xml2odf from 644 to 755
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/odf
copying build/lib/odf/easyliststyle.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/chart.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/namespaces.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/number.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/element.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/style.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/office.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/odf2xhtml.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/config.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/presentation.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/math.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/svg.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/meta.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/manifest.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/draw.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/elementtypes.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/dc.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/teletype.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/text.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/userfield.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/thumbnail.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/xforms.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/odfmanifest.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/grammar.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/form.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/script.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/table.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/opendocument.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/anim.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/load.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/odf2moinmoin.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/attrconverters.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/dr3d.py -> build/bdist.linux-x86_64/wheel/odf
copying build/lib/odf/__init__.py -> build/bdist.linux-x86_64/wheel/odf
running install_data
creating build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data
creating build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data
creating build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share
creating build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man
creating build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
copying csv2ods/csv2ods.1 -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
copying mailodf/mailodf.1 -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
copying odf2xhtml/odf2xhtml.1 -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
copying odf2mht/odf2mht.1 -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
copying odf2xml/odf2xml.1 -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
copying odfimgimport/odfimgimport.1 -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
copying odflint/odflint.1 -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
copying odfmeta/odfmeta.1 -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
copying odfoutline/odfoutline.1 -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
copying odfuserfield/odfuserfield.1 -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
copying xml2odf/xml2odf.1 -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/data/share/man/man1
running install_egg_info
running egg_info
writing odfpy.egg-info/PKG-INFO
writing top-level names to odfpy.egg-info/top_level.txt
writing dependency_links to odfpy.egg-info/dependency_links.txt
reading manifest file 'odfpy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'runtests' under directory 'tests'
warning: no files found matching '*.txt' under directory 'examples'
writing manifest file 'odfpy.egg-info/SOURCES.txt'
Copying odfpy.egg-info to build/bdist.linux-x86_64/wheel/odfpy-1.3.6-py2.7.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
copying build/scripts-2.7/odf2xml -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
copying build/scripts-2.7/odfmeta -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
copying build/scripts-2.7/odflint -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
copying build/scripts-2.7/odf2mht -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
copying build/scripts-2.7/odfimgimport -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
copying build/scripts-2.7/odf2xhtml -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
copying build/scripts-2.7/xml2odf -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
copying build/scripts-2.7/mailodf -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
copying build/scripts-2.7/odfuserfield -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
copying build/scripts-2.7/odfoutline -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
copying build/scripts-2.7/csv2ods -> build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts/odf2xml to 755
changing mode of build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts/odfmeta to 755
changing mode of build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts/odflint to 755
changing mode of build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts/odf2mht to 755
changing mode of build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts/odfimgimport to 755
changing mode of build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts/odf2xhtml to 755
changing mode of build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts/xml2odf to 755
changing mode of build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts/mailodf to 755
changing mode of build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts/odfuserfield to 755
changing mode of build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts/odfoutline to 755
changing mode of build/bdist.linux-x86_64/wheel/odfpy-1.3.6.data/scripts/csv2ods to 755
creating build/bdist.linux-x86_64/wheel/odfpy-1.3.6.dist-info/WHEEL
creating '/tmp/nix-build-python2.7-odfpy-1.3.6.drv-0/odfpy-1.3.6/dist/odfpy-1.3.6-py2.py3-none-any.whl' and adding '.' to it
adding 'odf/__init__.py'
adding 'odf/anim.py'
adding 'odf/attrconverters.py'
adding 'odf/chart.py'
adding 'odf/config.py'
adding 'odf/dc.py'
adding 'odf/dr3d.py'
adding 'odf/draw.py'
adding 'odf/easyliststyle.py'
adding 'odf/element.py'
adding 'odf/elementtypes.py'
adding 'odf/form.py'
adding 'odf/grammar.py'
adding 'odf/load.py'
adding 'odf/manifest.py'
adding 'odf/math.py'
adding 'odf/meta.py'
adding 'odf/namespaces.py'
adding 'odf/number.py'
adding 'odf/odf2moinmoin.py'
adding 'odf/odf2xhtml.py'
adding 'odf/odfmanifest.py'
adding 'odf/office.py'
adding 'odf/opendocument.py'
adding 'odf/presentation.py'
adding 'odf/script.py'
adding 'odf/style.py'
adding 'odf/svg.py'
adding 'odf/table.py'
adding 'odf/teletype.py'
adding 'odf/text.py'
adding 'odf/thumbnail.py'
adding 'odf/userfield.py'
adding 'odf/xforms.py'
adding 'odfpy-1.3.6.data/data/share/man/man1/csv2ods.1'
adding 'odfpy-1.3.6.data/data/share/man/man1/mailodf.1'
adding 'odfpy-1.3.6.data/data/share/man/man1/odf2mht.1'
adding 'odfpy-1.3.6.data/data/share/man/man1/odf2xhtml.1'
adding 'odfpy-1.3.6.data/data/share/man/man1/odf2xml.1'
adding 'odfpy-1.3.6.data/data/share/man/man1/odfimgimport.1'
adding 'odfpy-1.3.6.data/data/share/man/man1/odflint.1'
adding 'odfpy-1.3.6.data/data/share/man/man1/odfmeta.1'
adding 'odfpy-1.3.6.data/data/share/man/man1/odfoutline.1'
adding 'odfpy-1.3.6.data/data/share/man/man1/odfuserfield.1'
adding 'odfpy-1.3.6.data/data/share/man/man1/xml2odf.1'
adding 'odfpy-1.3.6.data/scripts/csv2ods'
adding 'odfpy-1.3.6.data/scripts/mailodf'
adding 'odfpy-1.3.6.data/scripts/odf2mht'
adding 'odfpy-1.3.6.data/scripts/odf2xhtml'
adding 'odfpy-1.3.6.data/scripts/odf2xml'
adding 'odfpy-1.3.6.data/scripts/odfimgimport'
adding 'odfpy-1.3.6.data/scripts/odflint'
adding 'odfpy-1.3.6.data/scripts/odfmeta'
adding 'odfpy-1.3.6.data/scripts/odfoutline'
adding 'odfpy-1.3.6.data/scripts/odfuserfield'
adding 'odfpy-1.3.6.data/scripts/xml2odf'
adding 'odfpy-1.3.6.dist-info/DESCRIPTION.rst'
adding 'odfpy-1.3.6.dist-info/metadata.json'
adding 'odfpy-1.3.6.dist-info/top_level.txt'
adding 'odfpy-1.3.6.dist-info/WHEEL'
adding 'odfpy-1.3.6.dist-info/METADATA'
adding 'odfpy-1.3.6.dist-info/RECORD'
installing
/tmp/nix-build-python2.7-odfpy-1.3.6.drv-0/odfpy-1.3.6/dist /tmp/nix-build-python2.7-odfpy-1.3.6.drv-0/odfpy-1.3.6
Processing ./odfpy-1.3.6-py2.py3-none-any.whl
Installing collected packages: odfpy
Successfully installed odfpy-1.3.6
/tmp/nix-build-python2.7-odfpy-1.3.6.drv-0/odfpy-1.3.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6
gzipping man pages under /nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/share/man/
stripping (with flags -S) in /nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/lib /nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin
patching script interpreter paths in /nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6
checking for references to /tmp/nix-build-python2.7-odfpy-1.3.6.drv-0 in /nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6...
wrapping `/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin/odf2xml'...
wrapping `/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin/odfmeta'...
wrapping `/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin/odflint'...
wrapping `/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin/odf2mht'...
wrapping `/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin/odfimgimport'...
wrapping `/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin/odf2xhtml'...
wrapping `/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin/xml2odf'...
wrapping `/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin/mailodf'...
wrapping `/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin/odfuserfield'...
wrapping `/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin/odfoutline'...
wrapping `/nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6/bin/csv2ods'...
running install tests
.........................................................................E......................
======================================================================
ERROR: testAttributeForeign (teststyles.TestQattributes)
Test that you can add foreign attributes
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python2.7-odfpy-1.3.6.drv-0/odfpy-1.3.6/tests/teststyles.py", line 91, in testAttributeForeign
s.index(u'xmlns:ns44="http://foreignuri.com"')
ValueError: substring not found
----------------------------------------------------------------------
Ran 96 tests in 1.366s
FAILED (errors=1)
builder for ‘/nix/store/ngk8cycspwja1hwk3g4z73gwpnhwapy5-python2.7-odfpy-1.3.6.drv’ failed with exit code 1
error: build of ‘/nix/store/ngk8cycspwja1hwk3g4z73gwpnhwapy5-python2.7-odfpy-1.3.6.drv’ failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment