Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian packaging process does not build locale files #60

Open
fgrsnau opened this issue Jun 11, 2017 · 1 comment
Open

Debian packaging process does not build locale files #60

fgrsnau opened this issue Jun 11, 2017 · 1 comment
Assignees
Labels
bug minor Minor task
Milestone

Comments

@fgrsnau
Copy link
Member

fgrsnau commented Jun 11, 2017

When dpkg-buildpackage is called in a completely clean build tree the following happens:

# Move console scripts to /usr/bin                        
mkdir -p debian/hades/usr/bin                     
mv debian/hades/usr/lib/hades/bin/hades-* debian/hades/usr/bin
make[1]: Leaving directory '/build/hades'      
   dh_install -O--buildsystem=dh_virtualenv                      
dh_install: Cannot find (any matches for) "locales/de/LC_MESSAGES/hades.mo" (tried in "." and "debian/tmp")
dh_install: hades missing files: locales/de/LC_MESSAGES/hades.mo
dh_install: missing files, aborting

A manual python3 setup.py build before running dpkg-buildpackage is a workaround.

@fgrsnau fgrsnau added the bug label Jun 11, 2017
@sebschrader
Copy link
Member

I want to add, that this issue only occurs when dh-virtualenv ist used. The following works fine:

builder@01234567890a:~/hades$ USE_DH_VIRTUALENV=0 dpkg-buildpackage -uc -us -b

@sebschrader sebschrader added this to the 0.4 milestone Feb 7, 2018
@sebschrader sebschrader self-assigned this Feb 7, 2018
sebschrader added a commit that referenced this issue Feb 7, 2018
The plain package without a virtualenv works fine, so let's switch defaults.
See also #60.
sebschrader added a commit that referenced this issue Aug 4, 2018
The plain package without a virtualenv works fine, so let's switch defaults.
See also #60.
@sebschrader sebschrader added the minor Minor task label May 12, 2019
sebschrader added a commit that referenced this issue Jan 11, 2020
The plain package without a virtualenv works fine, so let's switch defaults.
See also #60.
@sebschrader sebschrader modified the milestones: 0.4, 0.6 Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug minor Minor task
Projects
None yet
Development

No branches or pull requests

2 participants