From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 5581A3861936 for ; Thu, 1 Jul 2021 15:52:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5581A3861936 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 63E1B33BEAC; Thu, 1 Jul 2021 15:52:33 +0000 (UTC) Date: Thu, 1 Jul 2021 11:52:32 -0400 From: Mike Frysinger To: Florian Weimer Cc: Kenny Bian via Libc-help Subject: Re: Build libc6-2.28 from source: ld-2.28.so cause errors when installing deb package Message-ID: Mail-Followup-To: Florian Weimer , Kenny Bian via Libc-help References: <87wnqah6vu.fsf@oldenburg.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87wnqah6vu.fsf@oldenburg.str.redhat.com> X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2021 15:52:36 -0000 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