[Python-apps-team] Bug#729153: mercurial: fails to build from source on stable.

Faheem Mitha faheem at faheem.info
Sat Nov 9 16:33:40 UTC 2013


Package: mercurial
Version: 2.8-1
Severity: normal

Hi. I tried to rebuild 2.8 from source as stable as I usually do. I
comment out the

override_dh_auto_test:

stanza because the tests often fail, but otherwise don't change anything.

I got

# Move templates and help installed by setup.py to their FHS-correct location
mv /usr/local/src/mercurial/mercurial-2.8/debian/mercurial-common/usr/lib/python*/dist-packages/mercurial/templates /usr/local/src/mercurial/mercurial-2.8/debian/mercurial-common/usr/lib/python*/dist-packages/mercurial/help /usr/local/src/mercurial/mercurial-2.8/debian/mercurial-common/usr/share/mercurial
mv: cannot move `/usr/local/src/mercurial/mercurial-2.8/debian/mercurial-common/usr/lib/python2.7/dist-packages/mercurial/templates' to `/usr/local/src/mercurial/mercurial-2.8/debian/mercurial-common/usr/share/mercurial/templates': Directory not empty
mv: cannot move `/usr/local/src/mercurial/mercurial-2.8/debian/mercurial-common/usr/lib/python2.7/dist-packages/mercurial/help' to `/usr/local/src/mercurial/mercurial-2.8/debian/mercurial-common/usr/share/mercurial/help': Directory not empty
make[2]: *** [install-archindep] Error 1
make[2]: Leaving directory `/usr/local/src/mercurial/mercurial-2.8'
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory `/usr/local/src/mercurial/mercurial-2.8'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed

I'm not sure why this is happening, and haven't really investigated
it. Any ideas?

                                                    Regards, Faheem

-- System Information:
Debian Release: 7.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable'), (50, 'unstable'), (50, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Python-apps-team mailing list