Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Nov 2019 05:14:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 241632] 12-STABLE (r354128) builds an unusable /bin/sh: Undefined symbol "stat@FBSD_1.5"
Message-ID:  <bug-241632-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 241632
           Summary: 12-STABLE (r354128) builds an unusable /bin/sh:
                    Undefined symbol "stat@FBSD_1.5"
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: bsdpr@phoe.frmug.org

While installing a freshly built 12-STABLE (svn rev 354128), errors related=
 to
an undefined symbol in /bin/sh began appearing during installworld  after t=
hat
new binary got installed:

=3D=3D=3D> bin/sh (install)
install  -s -o root -g wheel -m 555  -S sh //bin/sh
install  -o root -g wheel -m 444  sh.debug //usr/lib/debug/bin/sh.debug
installing DIRS CONFSDIR
install  -d -m 0755 -o root  -g wheel  //etc
installing DIRS CONFSDIR_dot.profile
install  -d -m 0755 -o root  -g wheel  //root
install  -o root -g wheel -m 444 sh.1.gz  //usr/share/man/man1/
=3D=3D=3D> bin/sh/tests (install)
ld-elf.so.1: /bin/sh: Undefined symbol "stat@FBSD_1.5"
make[6]: "/etc/make.conf" line 4: warning: "echo
/usr/home/elrond/syswork/FreeBSD-work/12-LOCAL/src/bin/sh/tests | sed
's|/usr/ports/.*|/usr/ports|'" returned non-zero status
installing DIRS testsFILESDIR
install  -d -m 0755 -o root  -g wheel  //usr/tests/bin/sh
install  -o root  -g wheel -m 444  Kyuafile //usr/tests/bin/sh/Kyuafile

It looks I'm not the only one affected as there are some calls for help in =
the
forums such as
https://forums.freebsd.org/threads/how-to-resolve-ld-elf-so-1-bin-sh-undefi=
ned-symbol-stat-fbsd_1-5.72611/

Strangely enough, /bin/sh looks usable after installation:

# make installworld
# csh
root@:/home/elrond/syswork/FreeBSD-work # /bin/sh
#=20

I've not yet rebooted and not attempted a mergemaster, I fear that some par=
ts
of the installation got borked. I have a pre-install snapshot that I can
rollback to in order to install another hopefully fixed build.

--=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-241632-227>