Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-libs/glibc-2.20 not installing /sbin/ldconfig
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
totony
n00b
n00b


Joined: 03 Dec 2014
Posts: 40

PostPosted: Sat Apr 04, 2015 8:01 pm    Post subject: sys-libs/glibc-2.20 not installing /sbin/ldconfig Reply with quote

Hi,

I have had all sorts of problems trying to rebuild packages I installed from another machine.

One of the system-breaking ones is glibc correctly building, but not installing /sbin/ldconfig

i.e. :
emerge glibc
[Success]

ls /sbin/ldconfig
no such file or directory

My build log: http://totony.gyc.ca/priv/sys-libs:glibc-2.20-r2:20150404-174138.log [The problem lies in /tmp/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20/sysdeps/unix/sysv/linux/configure:215: parse error near `user_version=$((`ech...' and all the "__LINUX_KERNEL_VERSION" is not defined [-Wundef] I believe]
My make.conf: http://totony.gyc.ca/priv/make.conf

I have also had a lot of problems with a file named confdefs.h (which is created by autoconf during installation to generate ./configure), but I rebuilded autoconf and nothing changed.

Would anyone know what goes wrong/had similar experiences?

Thanks in advance.

EDIT: I had a proposition that having the build directory on /tmp caused the error, I moved to a directory on my root folder (with options defaults) and same errors occured.
Back to top
View user's profile Send private message
totony
n00b
n00b


Joined: 03 Dec 2014
Posts: 40

PostPosted: Sun Apr 05, 2015 11:38 pm    Post subject: Reply with quote

Problem still present after complete rebuild of system (from another system), bump~

If you need any additional informations, feel free to ask.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Mon Apr 06, 2015 3:21 pm    Post subject: Reply with quote

Not all problems can be solve by users, more complex ones could be submit to bugs.gentoo.org to get real dev eyes on it.
If they are kind enough they will work on your issue, and if you have a real issue they have no choice to work on it.
Glad for you, you have a real issue there: errors in the build process should bailout and not gives a success build when it is obvious the build is not good.
So even if it is your action that trigger the issue, there's still an issue that the build process didn't catch the result is bad.

First instead of providing your make.conf that gave no info, provide emerge --info (as it will show how your system is setup because of your profile...).
You may also provide more explain on this part "I have had all sorts of problems trying to rebuild packages I installed from another machine. "
What problems? What machine? Why did you do that?
Back to top
View user's profile Send private message
totony
n00b
n00b


Joined: 03 Dec 2014
Posts: 40

PostPosted: Mon Apr 06, 2015 6:15 pm    Post subject: Reply with quote

krinn wrote:
First instead of providing your make.conf that gave no info, provide emerge --info (as it will show how your system is setup because of your profile...).
You may also provide more explain on this part "I have had all sorts of problems trying to rebuild packages I installed from another machine. "
What problems? What machine? Why did you do that?


Thanks, I'll open a bug report soon (I'm rebuilding it, because I deleted the logs)
EDIT: https://bugs.gentoo.org/show_bug.cgi?id=545762

An exemple of another problem is I can't build pth:
https://bpaste.net/show/d933f104ae9d (pth build log), and it also seems caused by a faulty configure script (confdefs.h is generated by configure or by autoconf)

I also have other build failures complaining about missing definitions/missing confdefs.h
BUT: Most of my programs do compile smoothly (i.e. gcc does, bash does, binutils, coreutils)

I installed the system I'm having a problem from an existing partition that had a working gentoo environment (using portage --root), because I am looking into installing a gentoo system using alternative methods (i.e. no stage3 uncompression)

My emerge --info:
https://bpaste.net/show/8d173aa20052

Sidenote: I am using hardened-sources-3.18.9 with a custom configuration, but I also tried with other (older) kernels with different configurations to no avail
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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