Build libc6-2.28 from source: ld-2.28.so cause errors when installing deb package

Mike Frysinger vapier@gentoo.org
Thu Jul 1 15:52:32 GMT 2021


On 01 Jul 2021 08:42, Florian Weimer via Libc-help wrote:
> * Kenny Bian via Libc-help:
> 
> > We try to build libc6-2.28 from source code. Our board runs Ubuntu
> > 18.04 in armhf architecture. We downloaded the source code from
> > https://launchpad.net/ubuntu/+source/glibc/2.28-0ubuntu1.
> > Here is what we did to create the deb package:
> > 1. We build it by using these bash commands:
> > /usr/bin/dpkg-source -x glibc_2.28-0ubuntu1.dsc libc6-2.28
> > pushd libc6-2.28/
> > mkdir build
> > pushd build/
> > ../configure \
> >     --host=arm-linux-gnueabihf \
> >     --prefix=/tmp/armhf/libc6/usr \
> >     --enable-obsolete-nsl
> > make
> > make install
> 
> make install without a temporary DESTDIR is not supported.
> Unfortunately the instructions do not make this clear.

should we add an $(error) in this case ?  shouldn't be too hard to do ...
-mike


More information about the Libc-help mailing list