Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2007 12:04:57 +0800
From:      "Rong-en Fan" <grafan@gmail.com>
To:        freebsd-stable@freebsd.org
Cc:        re@freebsd.org
Subject:   Re: HEADSUP: don't upgrade to RELENG_6 now (7 is fine)
Message-ID:  <6eb82e0710242104m208f43f7u1b83de21ac398d4d@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
On 10/25/07, Rong-en Fan <grafan@gmail.com> wrote:
> On 10/25/07, Alson van der Meulen <alson+ml@alm.flutnet.org> wrote:
> > Hello,
> >
> > My installworld of RELENG_6 from a few hours ago failed with this error
> > (from memory):
> > /lib/libncurses.so.6: undefined symbol: __mb_sb_limit
> >
> > This broke everything that depended on libncurses, plus PAM. I had to
> > force a reboot via DDB and copy /usr/obj/lib/libc/libc.so.6 to /lib
> > using binaries from /rescue to fix it so I could run make installworld
> > again.
>
> I will take a look. before that do not upgrade your system.

I did some tests, it turns out that only RELENG_6 is affected. To be
more specific, as ncurses lib is installed before libc. It gets broken.
For 7 and above, it is fine because we install libc right after csu and
before everything.

One way to solve this is we install libc as early as possible, but I
think it may be too risky at release cycle, so I would like to back
out this change and add an UPDATING entry. Then check whether
we can change the installation order of libc later.

If you cvsup after 'Oct 24 14:32:33 2007 UTC', please do not
upgrade until I send out all clear message.

If you already broken your world, use this way in *single user*,

/rescue/chflags noschg /lib/libc.so.6
/rescue/cp /usr/obj/usr/src/lib/libc/libc.so.6 /lib/

then you need reboot, after that continue installworld (this is what I
just did).

Sorry for all the trouble.

Thanks,
Rong-En Fan

>
> Regards,
> Rong-En Fan
>
> >
> > I upgraded from RELENG_6 of October, 22. I believe I followed the
> > procedure from /usr/src/UPDATING fairly closely, except for the reboot
> > to single user part after installing the kernel:
> > mergemaster -p && make buildworld && make kernel && make installworld &&
> > mergemaster && make delete-old
> >
> > I would expect libc to be installed before other libs. The securelevel
> > was -1, so it should be no problem to overwrite libc.
> >
> > Did I do something wrong or is this a bug/missing entry in UPDATING?
> >
> > regards,
> > Alson
> >
> > The csup output since my last make world:
> > --------------------------------------------------------------
> > >>> Running /usr/bin/csup
> > --------------------------------------------------------------
> > Parsing supfile "/usr/share/examples/cvsup/stable-supfile"
> > Connecting to cvsup3.nl.freebsd.org
> > Connected to 62.250.3.15
> > Server software version: SNAP_16_1h
> > Negotiating file attribute support
> > Exchanging collection information
> > Establishing multiplexed-mode data connection
> > Running
> > Updating collection src-all/cvs
> >  Edit src/include/_ctype.h
> >   Add delta 1.30.2.1 2007.10.24.14.32.32 rafan
> >  Edit src/include/ctype.h
> >   Add delta 1.28.8.1 2007.10.24.14.32.32 rafan
> >  Edit src/lib/libc/locale/big5.c
> >   Add delta 1.17.2.1 2007.10.24.14.32.32 rafan
> >  Edit src/lib/libc/locale/euc.c
> >   Add delta 1.21.2.1 2007.10.24.14.32.32 rafan
> >  Edit src/lib/libc/locale/gb18030.c
> >   Add delta 1.7.2.1 2007.10.24.14.32.32 rafan
> >  Edit src/lib/libc/locale/gb2312.c
> >   Add delta 1.9.2.1 2007.10.24.14.32.33 rafan
> >  Edit src/lib/libc/locale/gbk.c
> >   Add delta 1.12.2.1 2007.10.24.14.32.33 rafan
> >  Edit src/lib/libc/locale/isctype.c
> >   Add delta 1.9.14.1 2007.10.24.14.32.33 rafan
> >  Edit src/lib/libc/locale/mskanji.c
> >   Add delta 1.17.2.1 2007.10.24.14.32.33 rafan
> >  Edit src/lib/libc/locale/none.c
> >   Add delta 1.13.2.1 2007.10.24.14.32.33 rafan
> >  Edit src/lib/libc/locale/setrunelocale.c
> >   Add delta 1.45.2.1 2007.10.24.14.32.33 rafan
> >  Edit src/lib/libc/locale/utf8.c
> >   Add delta 1.13.2.2 2007.10.24.14.32.33 rafan
> >  Edit src/lib/libstand/Makefile
> >   Add delta 1.54.2.1 2007.10.24.11.50.06 nyan
> >  Edit src/release/Makefile
> >   Add delta 1.887.2.21 2007.10.23.23.45.14 kensmith
> >  Edit src/sbin/mount_unionfs/mount_unionfs.8
> >   Add delta 1.20.2.2 2007.10.23.03.37.09 daichi
> >  Edit src/share/mklocale/UTF-8.src
> >   Add delta 1.1.8.2 2007.10.24.14.32.33 rafan
> >  Edit src/sys/alpha/pci/pcibus.c
> >   Add delta 1.36.2.2 2007.10.24.12.36.25 jhb
> >  Edit src/sys/boot/ficl/Makefile
> >   Add delta 1.41.2.2 2007.10.24.11.50.07 nyan
> >  Edit src/sys/boot/pc98/Makefile.inc
> >   Add delta 1.5.8.2 2007.10.24.11.50.07 nyan
> >  Edit src/sys/conf/newvers.sh
> >   Add delta 1.69.2.15 2007.10.23.23.41.24 kensmith
> >  Edit src/sys/ddb/db_command.c
> >   Add delta 1.60.2.4 2007.10.23.16.07.30 obrien
> >  Edit src/sys/fs/nullfs/null_subr.c
> >   Add delta 1.48.2.2 2007.10.23.03.38.31 daichi
> >  Edit src/sys/fs/nullfs/null_vnops.c
> >   Add delta 1.87.2.4 2007.10.23.03.38.32 daichi
> >  Edit src/sys/fs/unionfs/union.h
> >   Add delta 1.31.2.2 2007.10.23.03.28.22 daichi
> >   Add delta 1.31.2.3 2007.10.23.03.37.09 daichi
> >  Edit src/sys/fs/unionfs/union_subr.c
> >   Add delta 1.86.2.2 2007.10.23.03.22.48 daichi
> >   Add delta 1.86.2.3 2007.10.23.03.28.22 daichi
> >  Edit src/sys/fs/unionfs/union_vfsops.c
> >   Add delta 1.76.2.3 2007.10.23.03.32.17 daichi
> >   Add delta 1.76.2.4 2007.10.23.03.34.58 daichi
> >   Add delta 1.76.2.5 2007.10.23.03.37.09 daichi
> >  Edit src/sys/fs/unionfs/union_vnops.c
> >   Add delta 1.132.2.2 2007.10.23.03.24.37 daichi
> >   Add delta 1.132.2.3 2007.10.23.03.26.37 daichi
> >   Add delta 1.132.2.4 2007.10.23.03.28.22 daichi
> >   Add delta 1.132.2.5 2007.10.23.03.30.13 daichi
> >   Add delta 1.132.2.6 2007.10.23.03.32.17 daichi
> >   Add delta 1.132.2.7 2007.10.23.03.33.43 daichi
> >   Add delta 1.132.2.8 2007.10.23.03.37.10 daichi
> > Shutting down connection to server
> > Finished successfully
> > _______________________________________________
> > freebsd-stable@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> >
>



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