Re: gtk-doc build failure
Am 01.12.2016 um 23:51 schrieb Marius Bakke: > I've committed a workaround in 3cc0342b45406f97d675266cc9ac7877be855122. > […] > -package_base = > r"gnu/store/k6211w9hlqyxvzhrsmh2a113rnzdqlkc-dblatex-0.3.5/share/dblatex" > +package_base = > r"/gnu/store/qx7wx5vhpjs5kgy876xdh2dqr1v5zd39-dblatex-0.3.5/share/dblatex" Thanks for spotting this. I did not see it when looking there. The core reasons is that the code for creating the "dblatex" script strips the root path, which in our case is "/". (dblatex's setup.py still uses distutils and thus has to create the script by itself. The feature for creating scripts os one of setuptools' features.) So possible solutions are disable setuptools (like you did) of hacking setup.py. Since dblatex is a program and not a package to be imported, disabling setuptools is absolutely okay and I would not call it a workaround but a solution :-) Are you going to update the comment? -- Regards Hartmut Goebel | Hartmut Goebel | h.goe...@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |
Re: gtk-doc build failure
Marius Bakkewrites: > gtk-doc is not building in current 'master'. It seems to stem from > python-build-system merge. I've committed a workaround in 3cc0342b45406f97d675266cc9ac7877be855122. There is a bug in the 'dblatex' setup.py manifesting when using the new python-build-system. I don't know what causes it, but the problem seems to be that the store paths in out/bin/.dblatex-real are wrong: --- /gnu/store/k6211w9hlqyxvzhrsmh2a113rnzdqlkc-dblatex-0.3.5/bin/.dblatex-real 1970-01-01 01:00:01.0 +0100 +++ /gnu/store/qx7wx5vhpjs5kgy876xdh2dqr1v5zd39-dblatex-0.3.5/bin/.dblatex-real 1970-01-01 01:00:01.0 +0100 @@ -2,9 +2,9 @@ import sys import os -package_base = r"gnu/store/k6211w9hlqyxvzhrsmh2a113rnzdqlkc-dblatex-0.3.5/share/dblatex" +package_base = r"/gnu/store/qx7wx5vhpjs5kgy876xdh2dqr1v5zd39-dblatex-0.3.5/share/dblatex" -sys.path.append(r"gnu/store/k6211w9hlqyxvzhrsmh2a113rnzdqlkc-dblatex-0.3.5/lib/python2.7/site-packages") +sys.path.append(r"/gnu/store/qx7wx5vhpjs5kgy876xdh2dqr1v5zd39-dblatex-0.3.5/lib/python2.7/site-packages") signature.asc Description: PGP signature