LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-05-2005, 06:15 PM   #1
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,091
Blog Entries: 4

Rep: Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087
glibc 2.3.5 "make check" invalid multibyte sequence


During make check of a from-source build of glibc-2.3.5, I get the following:
Code:
...
translit.po:6:10: invalid multibyte sequence
translit.po:6:11: invalid multibyte sequence
translit.po:6:12: invalid multibyte sequence
translit.po:6:13: incomplete multibyte sequence at end of line
translit.po:6:14: incomplete multibyte sequence at end of line
msgfmt: too many errors, aborting


Configured with:
Code:
../glibc-2.3.5/configure --prefix=/usr
 --disable-profile --enable-add-ons --enable-kernel=2.6.12
 --with-headers=/usr/include/kernel-headers-2.6.12.4
Others have reported similar things before, on Google, but no one seemed to have a resolution for it.

Last edited by sundialsvcs; 09-07-2005 at 11:25 AM.
 
Old 09-07-2005, 03:56 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,091

Original Poster
Blog Entries: 4

Rep: Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087
The problem remains unresolved. And unfortunately, it stops make install at a rather awkward moment ... that is to say, unfinished!

Yes, it left me with a half-installed glibc. Not pretty. ... Recoverable, mind you, but not pretty!

Tested using {LANG=C, LC_ALL=C} and various other combinations. No effect.

I must say that I am quite puzzled why this would surface both on make check and make install.
 
Old 09-07-2005, 05:28 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i think the flag --enable-kernel=2.6.12
should be
--enable-kernel=2.6.0
and when you compile glibc 2.3.5 while running a kernel = or greater than 2.6.11
you need to use
glibc-2.3.5-fix_test-1.patch

http://www.linuxfromscratch.org/patc...x_test-1.patch
 
Old 09-07-2005, 06:43 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,091

Original Poster
Blog Entries: 4

Rep: Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087
Nice idea... didn't work.
 
Old 09-07-2005, 09:51 PM   #5
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
(directed here from an LFS post)

if possible repeat install of everything, exactly the same except have the only difference be glibc-2.3.4

This will at least help identify the problem down to glibc. if it fails identically with glibc-2.3.4, the problem is probably elsewhere considering how different those two glibc's are!
 
Old 09-07-2005, 10:14 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,091

Original Poster
Blog Entries: 4

Rep: Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087
The problem appears to be more pervasive than I originally thought ... surfacing in several other compiles ... and this seems to point away from glibc and toward another tool, gettext.

Close inspection reveals that there is a very old copy of gettext on the system, and it is the one being picked-up in the path. I am removing it to see if the problem clears up, and will keep you informed.
 
Old 09-08-2005, 02:37 PM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,091

Original Poster
Blog Entries: 4

Rep: Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087
Things are not going well. gettext-0.14.5 is failing its own test suite (make check) quite consistently, with many different language po's.

I'm going to presume that something must be wrong with the locale information (glibc) but right now I am seriously befoozled as to just what the source of this problem is. I do know that it seems to be highly pervasive, affecting many compiles of many different things, all with the same symptoms. I have removed the errant older copies of gettext and am reinstalling locales, but the problem is still open.

An example of the offending sequence is the two bytes: <B3><EA>. Hmmm... .. ..

Last edited by sundialsvcs; 09-08-2005 at 02:46 PM.
 
Old 09-08-2005, 04:37 PM   #8
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
what compiler are you doing this with ?
generally this stuff is working with gcc-3.4.4
 
Old 09-09-2005, 10:56 AM   #9
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,091

Original Poster
Blog Entries: 4

Rep: Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087
It's 3.4.4. A clean copy of gettext, configured --with-included-gettext, is failing every time along with everything else.

Obviously the problem can't be the compiler .. it compiles just fine. It must be something off-the-wall that I don't understand yet, because it's affecting many things at the same time. What I call a "screwball problem." The worst to diagnose, although usually the simplest to solve once identified.

I see an unfortunate crash-course in GNU internationalization in my future. Until I fully understand what the check is saying to me, I can't seem to trace it back to its source.

Oh, this system is none-too-stable right now .. .. in many respects, but of course, I put it there, using a sacrificial system just as I advise so often, just so that I could figure my way back out. ... But this problem is highly-pervasive, and curious.

Last edited by sundialsvcs; 09-09-2005 at 10:59 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Frame check sequence"-error (802.11b Ad hoc) rickthemick Linux - Wireless Networking 2 08-21-2008 11:04 AM
glibc/gettext/multibyte-sequence problem, resolved... sundialsvcs Linux - Software 0 09-17-2005 02:02 PM
Warning on running "make check", 2nd time satimis Linux From Scratch 8 07-11-2005 04:46 AM
LFS 6.0 error: glibc fails check with "g++: command not found" peristaltic Linux From Scratch 1 03-15-2005 08:52 PM
Problems with "make check" while compiling Glibc in Chapter 6.11 Spuckdung Linux From Scratch 2 02-13-2005 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration