From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: Re: With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore Date: Mon, 04 Jan 2016 23:59:10 +0100 Message-ID: <568AF93E.3040904@ipfire.org> In-Reply-To: <568AC240.7080200@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2382453730109040851==" List-Id: --===============2382453730109040851== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 04.01.2016 20:04, Matthias Fischer wrote: > Hi, > > just for the records: > > I'm building 2.75 with latest patches 030-043 now. Devel is running. The ne= xt two patches No.042 and 043 came up just a few hours/minutes ago. We'll see= ... > > Best, > Matthias > > On 04.01.2016 17:42, Michael Tremer wrote: >> Hi, >> >> is this still an issue? The nightly builds seem to build fine: >> >> http://nightly.ipfire.org/next/ >> >> -Michael >> >> On Sat, 2016-01-02 at 12:55 +0100, Matthias Fischer wrote: >>> Hi List, >>> >>> Happy new year, I hope everyone had no problems arriving in 2016. ;-) >>> >>> While compiling 'dnsmasq' with the last new patches ("030-..." and >>> above), I'm always running into some serious errors (see attachment >>> 'excerpt_build_ipfire'). >>> >>> Anyone has a hint or should I simply wait for the next patches? >>> >>> Best, >>> Matthias Hi, Sorry for making so much noise on the list, but I stop it for now, because ev= en the latest '2.76test4'-sources won't compile. It always stops with the exact same errors, regardless if I use '2.75' with a= total of 41 patches by now, or the original '2.75test4'-source from 'thekelleys': ***SNIP*** Jan 4 22:46:25: Building dnsmasq dnsmasq-2.76test4.tar.xz checksum OK + cd /usr/src/lfs + make -f dnsmasq LFS_BASEDIR=3D/usr/src install =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Installing dnsmasq-2.76test4 ... Install started; saving file list to /usr/src/lsalr ... cd /usr/src/dnsmasq-2.76test4 && patch -Np1 -i /usr/src/src/patches/dnsmasq-A= dd-support-to-read-ISC-DHCP-lease-file.patch patching file src/cache.c patching file src/dnsmasq.c Hunk #1 succeeded at 990 (offset 8 lines). patching file src/dnsmasq.h patching file src/isc.c patching file src/option.c Hunk #1 succeeded at 1757 (offset 3 lines). patching file Makefile cd /usr/src/dnsmasq-2.76test4 && sed -i src/config.h \ -e 's|/\* #define HAVE_IDN \*/|#define HAVE_IDN|g' \ -e 's|/\* #define HAVE_DNSSEC \*/|#define HAVE_DNSSEC|g' \ -e 's|#define HAVE_DHCP|//#define HAVE_DHCP|g' \ -e 's|#define HAVE_DHCP6|//#define HAVE_DHCP6|g' \ -e 's|#define HAVE_TFTP|//#define HAVE_TFTP|g' cd /usr/src/dnsmasq-2.76test4 && make CFLAGS=3D"-O2 -pipe -Wall -Wp,-D_FORTIF= Y_SOURCE=3D2 -fexceptions -fPIC -fstack-protector-all --param=3Dssp-buffer-si= ze=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-frame-pointer" COPTS=3D"-DHAVE_I= SC_READER -DNO_INOTIFY" \ PREFIX=3D/usr all install make[1]: Entering directory '/usr/src/dnsmasq-2.76test4' make[2]: Entering directory '/usr/src/dnsmasq-2.76test4/src' cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c cache.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c rfc1035.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c util.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c option.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c forward.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c network.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c dnsmasq.c=09 dnsmasq.c: In function 'main': dnsmasq.c:922:7: warning: implicit declaration of function 'do_script_run' [-= Wimplicit-function-declaration] while (helper_buf_empty() && do_script_run(now)); ^ dnsmasq.c:55:7: warning: unused variable 'did_bind' [-Wunused-variable] int did_bind =3D 0; ^ dnsmasq.c:54:9: warning: unused variable 'bound_device' [-Wunused-variable] char *bound_device =3D NULL; ^ cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c dhcp.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c lease.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c rfc2131.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c netlink.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c dbus.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c bpf.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c helper.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c tftp.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c log.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c conntrack.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c dhcp6.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c rfc3315.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c dhcp-common.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c outpacket.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c radv.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c slaac.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c auth.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c ipset.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c domain.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c dnssec.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c blockdata.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c tables.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c loop.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c inotify.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c poll.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c rrfilter.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c edns0.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c arp.c=09 cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC -fstack-prote= ctor-all --param=3Dssp-buffer-size=3D4 -march=3Di586 -mtune=3Dgeneric -fomit-= frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY -DVERSION=3D'"2.76test4"' = -c isc.c=09 isc.c: In function 'dhcp_lease_new': isc.c:40:3: warning: ignoring return value of 'asprintf', declared with attri= bute warn_unused_result [-Wunused-result] asprintf(&lease->fqdn, "%s.%s", hostname, daemon->domain_suffix); ^ cc -o dnsmasq cache.o rfc1035.o util.o option.o forward.o network.o dnsmasq.= o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o helper.o tftp.o log.o connt= rack.o dhcp6.o rfc3315.o dhcp-common.o outpacket.o radv.o slaac.o auth.o ipse= t.o domain.o dnssec.o blockdata.o tables.o loop.o inotify.o poll.o rrfilter.o= edns0.o arp.o isc.o -lidn -lnettle -lhogweed -lgmp dnsmasq.o: In function `main': dnsmasq.c:(.text.startup+0xa55): undefined reference to `do_script_run' dnsmasq.o: In function `.L273': dnsmasq.c:(.text.startup+0x12e8): undefined reference to `do_script_run' collect2: error: ld returned 1 exit status /usr/src/dnsmasq-2.76test4/Makefile:160: recipe for target 'dnsmasq' failed make[2]: *** [dnsmasq] Error 1 make[2]: Leaving directory '/usr/src/dnsmasq-2.76test4/src' Makefile:83: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/usr/src/dnsmasq-2.76test4' dnsmasq:74: recipe for target '/usr/src/log/dnsmasq-2.76test4' failed make: *** [/usr/src/log/dnsmasq-2.76test4] Error 2 ***SNAP*** If anyone got a hint, I would be grateful... Best, Matthias --===============2382453730109040851==--