Re: UTF-8 locale in RPM build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ian,

On 08/25/2013 04:17 PM, Ian Pilcher wrote:
> I'm trying to build a jpackage SRPM (jena-iri) on Fedora 19, and it's
> failing, because the locale (LANG) is apparently set to "C" during the
> build.  (javac and javadoc don't like non-ASCII characters in source
> files in an ASCII locale.)
> 
> What's the best way to set it to a UTF-8?  (Should I just add "export
> LANG=en_US.UTF-8" to the relevant sections of the SPEC file?)

I see that Mattias Ellert has already suggested fixing the encoding
being used by the java compiler to match the encoding used in actual
files. I just wanted to chime in and point out that there is a list of
common problems (and fixes) that you may run into when rebuilding older
packages against newer Java versions:

https://fedoraproject.org/wiki/Java7_Package_Rebuild_Status#Issues_descriptions_and_how_to_fix_them

Feel free to drop by #fedora-java if you run into more of these problems.

Cheers,
Omair
-- 
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux