Hi On 24-04-15 06:02, Amul Shah wrote: > While this fix works, it strikes me as not completely correct because > 21 # Set up locale support in the pbuilder environment > 22 override_dh_auto_build: > 23 mkdir -p debian/tmp/locale/ > 24 localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/ > 25 export LOCPATH=$(CURDIR)/debian/tmp/locale/ && \ > 26 export LC_ALL=en_US.UTF-8 && \ > 27 dh_auto_build > > I played around with attempting to use the LOCPATH and LC_ALL settings > from override_dh_auto_build in override_dh_auto_install, but > $(CURDIR)/debian/tmp/locale does not exist at override_dh_auto_install. > > I can either repeat the steps from override_dh_auto_build to generate > the locale in override_dh_auto_build or I can use my fix as is because > all fis-gtm needs is a valid Unicode locale to proceed with compilation. > > Thoughts? Do I need to go read the manual(s) again? I may be completely wrong, but I think the exports need to happen before any of the targets in the general section of the makefile (debian/rules is a plain makefile). Of course you have to make sure that the localedef command is done in the right target, as it seems to me that that should NOT be in the general section. Paul
Attachment:
signature.asc
Description: OpenPGP digital signature