Re: [283136]: buildworld failure: usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lproc

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 20 May 2015 19:54:08 +0200
On Wed, May 20, 2015 at 06:09:16AM -0700, Garrett Cooper wrote:
> On May 20, 2015, at 5:49, David Wolfskill <david_at_catwhisker.org> wrote:
> 
> > On Wed, May 20, 2015 at 06:50:24AM +0200, O. Hartmann wrote:
> >> Current sources (r283136) die on buildworld with the following error:
> >> 
> >> [...]
> >> --- cddl/lib__L ---
> >> /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lproc
> >> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> >> *** [libdtrace.so.2] Error code 1
> >> ....
> > 
> > I was able to perform a source update from:
> > 
> > FreeBSD g1-254.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #67  r283104M/283104:1100073: Tue May 19 05:02:57 PDT 2015     root_at_g1-254.catwhisker.org:/common/S3/obj/usr/src/sys/CANARY  amd64
> > 
> > to:
> > 
> > FreeBSD g1-254.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #68  r283142M/283142:1100073: Wed May 20 05:02:58 PDT 2015     root_at_g1-254.catwhisker.org:/common/S3/obj/usr/src/sys/CANARY  amd64
> > 
> > without incident.
> > 
> > Checking <https://docs.freebsd.org/mail/current/svn-src-head.html>,
> > it looks as if r283139 is intended to address what you saw, and
> > r283143  - 283145 are additional clean-up.
> 
> 	The build *should* be fixed (for now, until someone changes LIBADD/LDADD for these libraries ._. ...) in r283152. Just to be doubly/triply sure I’ve kicked off a clean tinderbox on ref11-amd64 (I kind of rushed through an amd64/sparc64 buildworld and verified a few things manually when I was fixing things up).
> Thank you for the report,
> -NGie

Thank you Garrett You have been way faster than I was to fix. Sorry for having
broken the build...


I was planning to do the same work on zfs but I think I will abstain as the zfs
libs are even more messy than dtrace (circular dependencies etc) I have been
beaten once I'll wait before putting my hand there again :)

Best regards,
Bapt

Received on Wed May 20 2015 - 15:54:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:57 UTC