From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 2/3] dhcp: update lfs file after gzip update to fix build fail Date: Tue, 08 Mar 2016 22:39:45 +0000 Message-ID: <1457476785.6973.145.camel@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1248049948441464971==" List-Id: --===============1248049948441464971== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hmm, this is not giving away much. I will have a look myself and get back to you. This might take a few days though... -Michael On Tue, 2016-03-08 at 18:18 +0100, Marcel Lorenz wrote: > :) as you wish: > > ***** > Now you can type make to build ISC DHCP > > cd /usr/src/dhcp-4.3.1 && make -j5 > make[1]: Entering directory '/usr/src/dhcp-4.3.1' > Making all in bind > make[2]: Entering directory '/usr/src/dhcp-4.3.1/bind' > tar: Archive is compressed. Use -z option > tar: Error is not recoverable: exiting now > Makefile:33: recipe for target 'all' failed > **** > > Marcel > > > > Am 2016-03-08 18:06, schrieb Michael Tremer: > > I think this *should not* break. This might be a regression in gzip > > then. > > > > Do you have a snippet of the build log of the error? > > > > -Michael > > > > On Tue, 2016-03-08 at 18:03 +0100, Marcel Lorenz wrote: > > > Am 2016-03-08 15:26, schrieb Michael Tremer: > > > > Hi, > > > > > > > > what is the build issue you are trying to solve here? > > > > > > > > Copying in a highly outdated version of the bind libs is from > > > > my > > > > point > > > > of view a big security risk. > > > > > > > > -Michael > > > > > > > > On Tue, 2016-03-08 at 11:09 +0100, Marcel Lorenz wrote: > > > > > Signed-off-by: Marcel Lorenz > > > Hi, > > > > > > you have right, the old bind is a security risk! > > > > > > This is the current lfs file without patch: > > > ***** > > > cd $(DIR_APP) && patch -Np1 <  > > > $(DIR_SRC)/src/patches/dhcp/dhcp-stateless-DUID-LLT.patch > > > > > > # Remove bundled BIND stuff. > > > # (requires newer autoconf) > > > #rm -rfv $(DIR_APP)/bind/bind.tar.gz > > > #cd $(DIR_APP) && autoreconf --verbose --force --install > > > > > > cd $(DIR_APP) && \ > > > ***** > > > > > > The error in log is "use tar axf to extract..." > > > > > > The old bind is extracted while make runs. After gzip update this > > > not  > > > working more automatic. > > > They only need some files from bind archive to built the isc- > > > dhcp  > > > package. Bind itself is not used. > > > (When i understood this correct) > > > > > > The: "cd $(DIR_APP)/bind && tar -axf bind.tar.gz" extract this > > > before  > > > make runs.. That's all.. > > > > > > Greetings, > > > Marcel > > > > > > > > > > > > > > > > --- > > > > >  lfs/dhcp | 10 ++-------- > > > > >  1 file changed, 2 insertions(+), 8 deletions(-) > > > > > > > > > > diff --git a/lfs/dhcp b/lfs/dhcp > > > > > index 9a89d40..cec8628 100644 > > > > > --- a/lfs/dhcp > > > > > +++ b/lfs/dhcp > > > > > @@ -99,17 +99,11 @@ $(TARGET) : $(patsubst > > > > > %,$(DIR_DL)/%,$(objects)) > > > > >   cd $(DIR_APP) && patch -Np1 < > > > > > $(DIR_SRC)/src/patches/dhcp/dhcp-gpxe-cid.patch > > > > >   cd $(DIR_APP) && patch -Np1 < > > > > > $(DIR_SRC)/src/patches/dhcp/dhcp-stateless-DUID-LLT.patch > > > > >   > > > > > - # Remove bundled BIND stuff. > > > > > - # (requires newer autoconf) > > > > > - #rm -rfv $(DIR_APP)/bind/bind.tar.gz > > > > > - #cd $(DIR_APP) && autoreconf --verbose --force -- > > > > > install > > > > > - > > > > > - cd $(DIR_APP) && \ > > > > > - ./configure \ > > > > > + cd $(DIR_APP)/bind && tar -axf bind.tar.gz > > > > > + cd $(DIR_APP) && ./configure \ > > > > >   --prefix=/usr \ > > > > >   --sysconfdir=/etc/dhcp \ > > > > >   --with-srv-lease- > > > > > file=/var/state/dhcp/dhcpd.leases \ > > > > > - --disable-static \ > > > > >   --enable-paranoia \ > > > > >   --enable-early-chroot \ > > > > >   --disable-dhcpv6 > > > > --===============1248049948441464971== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiB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