Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469764 - sys-libs/uclibc-9999 fails to build/install ldconfig
Summary: sys-libs/uclibc-9999 fails to build/install ldconfig
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 01:05 UTC by pmn
Modified: 2013-12-22 16:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nested Makefile for utils is broken (uclibc-9999.ebuild.ugly.diff,367 bytes, patch)
2013-05-14 01:07 UTC, pmn
Details | Diff
ldconfig missing (uclibc-9999:.log,113.29 KB, text/plain)
2013-05-27 15:08 UTC, pmn
Details
emerge.info (emerge.info,12.40 KB, text/plain)
2013-05-27 15:10 UTC, pmn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pmn 2013-05-14 01:05:39 UTC
make utils skips building ldconfig and ldd eventhough HAS_SHARED is set to 'y' in config file.

Reproducible: Always

Actual Results:  
ldconfig is not built

Expected Results:  
ldconfig is built

i'm attaching a diff output to show an ugly thing i did to get uclibc's make to explicitly cd into ./utils and run 'make utils_install' there.
Comment 1 pmn 2013-05-14 01:07:06 UTC
Created attachment 348196 [details, diff]
nested Makefile for utils is broken
Comment 2 Anthony Basile gentoo-dev 2013-05-14 14:25:31 UTC
Yeah, this is known and I meant to fix it and tell vapier, but it fell of my radar.
Comment 3 SpanKY gentoo-dev 2013-05-14 16:17:55 UTC
Comment on attachment 348196 [details, diff]
nested Makefile for utils is broken

the point of using "install_utils" is to install the tools ... running it twice doesn't make sense

you should also use the -C flag rather than manual `cd`
Comment 4 pmn 2013-05-14 16:54:37 UTC
(In reply to comment #3)
> Comment on attachment 348196 [details, diff] [details, diff]
> nested Makefile for utils is broken
> 
> the point of using "install_utils" is to install the tools ... running it
> twice doesn't make sense
> 
> you should also use the -C flag rather than manual `cd`

they do use -C flag, if i understood you correctly (i.e. -C within Makefile to run make on a nested Makefile):

<http://git.uclibc.org/uClibc/tree/Makefile.in#n426>

then problem is possibly here:
<http://git.uclibc.org/uClibc/tree/utils/Makefile.in#n86>
or here:
<http://git.uclibc.org/uClibc/tree/utils/Makefile.in#n126>

most probably the former, from what i remember because it doesn't even build ldd and ldconfig let alone installing them.

that's despite the fact that $(HAVE_SHARED) resolves to 'y', btw.
Comment 5 SpanKY gentoo-dev 2013-05-19 05:25:03 UTC
(In reply to comment #4)

i'm talking about your patch, not the uClibc code

that said, building uclibc-0.9.33.2-r3 builds+installs ldconfig/ldd just fine for me.  you must post your `emerge --info` and the full build log with every bug report.
Comment 6 pmn 2013-05-27 15:08:30 UTC
Created attachment 349356 [details]
ldconfig missing
Comment 7 pmn 2013-05-27 15:10:06 UTC
Created attachment 349358 [details]
emerge.info
Comment 8 SpanKY gentoo-dev 2013-12-22 14:59:57 UTC
can you post the config file you're using ?  i just tried the 9999 version and it worked for me (w/default config).
Comment 9 Anthony Basile gentoo-dev 2013-12-22 16:16:39 UTC
(In reply to SpanKY from comment #8)
> can you post the config file you're using ?  i just tried the 9999 version
> and it worked for me (w/default config).

I'm not sure what's going on here (parallel build error?) but I just tried and it worked for me too.
Comment 10 Anthony Basile gentoo-dev 2013-12-22 16:17:13 UTC
(In reply to Anthony Basile from comment #9)
> (In reply to SpanKY from comment #8)
> > can you post the config file you're using ?  i just tried the 9999 version
> > and it worked for me (w/default config).
> 
> I'm not sure what's going on here (parallel build error?) but I just tried
> and it worked for me too.

Oops let me add that it didn't work before, so maybe some git blame analysis will show what's going on.