Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

buildd localies

 
   Soft32 Home -> Linux -> Java RSS
Next:  Accepted readahead-list 1:1.20060421.1016-6 (sour..  
Author Message
Rail Aliev

External


Since: May 17, 2009
Posts: 13



(Msg. 1) Posted: Sat Jun 20, 2009 11:20 am
Post subject: buildd localies
Archived from groups: linux>debian>maint>java (more info?)

Hi,

I'm trying to package jwordsplitter and has encountered the following
trouble.

The package was almost done when I decided to run Junit test case while
building. Everything is OK when I run the test via debuild in usual
environment but them fail when I build the package in pbuilder.

After some investigations I found that the tests are locale dependent and
cannot be run with LANG=C. <javac encoding="utf-8"> is set. Seems like
pbuilder doesn't generate en_US.UTF-8 locale (and it is visible from
logs as well).

Do buildd machines have en_US.UTF-8 locale or should I add some trick to
run the tests properly?

--
Best regars,
Rail Aliev


--
To UNSUBSCRIBE, email to debian-java-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Matthias Klose

External


Since: Nov 17, 2003
Posts: 120



(Msg. 2) Posted: Sat Jun 20, 2009 11:20 am
Post subject: Re: buildd localies [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Rail Aliev schrieb:
> Hi,
>
> I'm trying to package jwordsplitter and has encountered the following
> trouble.
>
> The package was almost done when I decided to run Junit test case while
> building. Everything is OK when I run the test via debuild in usual
> environment but them fail when I build the package in pbuilder.
>
> After some investigations I found that the tests are locale dependent and
> cannot be run with LANG=C. <javac encoding="utf-8"> is set. Seems like
> pbuilder doesn't generate en_US.UTF-8 locale (and it is visible from
> logs as well).
>
> Do buildd machines have en_US.UTF-8 locale or should I add some trick to
> run the tests properly?

create the locales when they are missing. see the gcc-4.x source packages for an
example (debian/rules2, debian/locale-gen).

Matthias


--
To UNSUBSCRIBE, email to debian-java-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Rail Aliev

External


Since: May 17, 2009
Posts: 13



(Msg. 3) Posted: Sat Jun 20, 2009 3:20 pm
Post subject: Re: buildd localies [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>>>>> "MK" == Matthias Klose <doko.TakeThisOut@debian.org> writes:

MK> create the locales when they are missing. see the gcc-4.x source packages for an
MK> example (debian/rules2, debian/locale-gen).

Thanks a lot. "localedef -f UTF-8 -i en_US debian/locales/en_US.UTF-8"
and exporting LOCPATH env variable did the trick.

--
Best regars,
Rail Aliev


--
To UNSUBSCRIBE, email to debian-java-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Memory problems with gij-4.1 and glibc 2.6 - I have recently had problems building Java packages. The build would just eat memory, and occasionally show things like...

New buildd soon to be available - Guys: Tomorrow morning CST I will be installing a Thecus n2100 at my colo. I have purchased this machine with the..

Buildd queue - Hi, Is there for mips an equivalent web page as crest.debian.org for m68k? I am wondering why my plplot package is..

Buildd queue - There was lately the question for buildd stats as they are existing for the m68k port of Debian. ..

[buildd] - Hardinfo - Hi, on hardinfo 0.4-2 the upstream author removed s390 support, but after some requests we work together and add this..

netwinder buildd is misconfigured - This build report: http://buildd.debian.org/fetch.php?&pkg=therion&ver=0.3.5-1&arch=arm&stamp=110656269...
       Soft32 Home -> Linux -> Java All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]