Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Feb 2019 23:57:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235632] Build failure in rescue if MAKEOBJDIRPREFIX is set
Message-ID:  <bug-235632-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235632

            Bug ID: 235632
           Summary: Build failure in rescue if MAKEOBJDIRPREFIX is set
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: kp@freebsd.org

I'm unable to build world when MAKEOBJDIRPREFIX is set. For example
"make buildworld buildkernel MAKEOBJDIRPREFIX=3D/home/kp/objdir" fails.

This build was with r343930.

The build failure occurs in rescue, for cat:

cc -target x86_64-unknown-freebsd13.0 --sysroot=3D/home/kp/objdir/usr/src/t=
mp
-B/home/kp/objdir/usr/src/tmp/usr/bin -O2 -pipe   -std=3Dgnu99=20=20=20
-Qunused-arguments   -static  -nostdlib -Wl,-dc -r -o cat.lo cat_stub.o
/home/kp/objdir/usr/src/rescue/rescue//usr/src/bin/cat/cat.o
cc: error: no such file or directory:
'/home/kp/objdir/usr/src/rescue/rescue//usr/src/bin/cat/cat.o'
*** Error code 1

Stop.
make[5]: stopped in /usr/home/kp/objdir/usr/src/rescue/rescue
*** Error code 1

Stop.
make[4]: stopped in /usr/src/rescue/rescue
*** Error code 1

Stop.
make[3]: stopped in /usr/src/rescue
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235632-227>