LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 02-18-2010, 06:51 PM   #1
dbbolton
LQ Newbie
 
Registered: Sep 2009
Location: WV
Distribution: Debian
Posts: 28

Rep: Reputation: 15
libc6 debian build fails


I am using my athlon64 machine running Debian squeeze i386 to build some packages optimized for a K6-2 machine. I decided to start with libc6 since most packages depend on it.

I installed the build dependencies via
Code:
apt-get build-dep eglibc
Then, as an unprivileged user, I downloaded the debianized source via
Code:
apt-get source eglibc
I changed to the source directory and ran
Code:
dpkg-buildpackage -rfakeroot -us -us
About 6 hours later, the build failed:
http://xs.to/image-944A_4B7DDD0E.jpg

There were four config.log files:
Code:
./build-tree/i386-xen/config.log
./build-tree/i386-i686/config.log
./build-tree/i386-libc/config.log
./build-tree/i386-amd64/config.log
All of which end with exit status 0. They are also about 1600 lines each so I haven't read them entirely. If someone can tell me which one/ones is/are relevant, I will post it/them to a pastebin.

I would appreciate any input on this issue.

Last edited by dbbolton; 02-18-2010 at 07:00 PM.
 
Old 02-19-2010, 01:17 PM   #2
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Rep: Reputation: 94
i think your compiler is having problems,

check the end of the ./build-tree/i386-amd64/config.log (i think, if it does not have an error at the end check others, too. GNU error messages tent to be very obscure).
 
Old 02-19-2010, 03:04 PM   #3
dbbolton
LQ Newbie
 
Registered: Sep 2009
Location: WV
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
Well, I grepped the file for 'error':
Code:
99:conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
112:conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
128:conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
187:conftest.cc:13: error: 'exit' was not declared in this scope
207:conftest.cc:9: error: 'void std::exit(int)' should have been declared inside 'std'
228:conftest.cc:9: error: 'void std::exit(int)' should have been declared inside 'std'
230:/usr/include/stdlib.h:543: error: declaration of 'void std::exit(int) throw ()' throws different exceptions
231:conftest.cc:9: error: from previous declaration 'void std::exit(int)'
403:configure:5615: gcc-4.3 -Werror -S conftest.c -o conftest.s 1>&5
407:configure:5651: gcc-4.3 -Werror -S conftest.c -o conftest.s1>&5
411:configure:5687: gcc-4.3 -Werror -S conftest.c -o conftest.s 1>&5
503:configure:6173: gcc-4.3 -march=k6-2 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -m3dnow -isystem /share/builder/tiger/libc6/eglibc-2.10.2/debian/include  -Werror -fstack-protector
554:configure:6807: gcc-4.3 -march=k6-2 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -m3dnow -isystem /share/builder/tiger/libc6/eglibc-2.10.2/debian/include -S -Werror conftest.c >&5
559:conftest.c:31:16: error: gd.h: No such file or directory
712:conftest.c:78: error: size of array 'test_array' is negative
800:conftest.c:78: error: size of array 'test_array' is negative
888:conftest.c:78: error: size of array 'test_array' is negative
976:conftest.c:78: error: size of array 'test_array' is negative
1071:conftest.c:78: error: size of array 'test_array' is negative
Here is the whole file: http://sprunge.us/YFNS

It does end with exit status 0.
 
  


Reply

Tags
deb, debian, libc6


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
self build rpm fails with missing dependencies on build host zhjim Linux - Software 1 09-24-2009 08:47 AM
Need libc6-2.4, considering ditching debian JBull Debian 7 01-15-2007 07:34 AM
libstdc++-libc6.2-2.so.3 debian.. snip128 Linux - Newbie 1 07-09-2005 02:09 PM
Knoppix, Debian, and libc6 ferreter Debian 8 07-19-2004 11:42 AM
libc6 on Debian flowerlin Debian 2 06-24-2004 06:45 AM


All times are GMT -5. The time now is 01:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration