From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer 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:00:40 +0000 Message-ID: <1451948440.31655.275.camel@ipfire.org> In-Reply-To: <568AF93E.3040904@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3539991271990876962==" List-Id: --===============3539991271990876962== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Mon, 2016-01-04 at 23:59 +0100, Matthias Fischer wrote: > 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 next 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 even > the latest '2.76test4'-sources won't compile. No worries about the list. Did you try to disable our ISC DHCP patch? If it won't compile, please add the dnsmasq list and let Simon know. > > 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=/usr/src install > ====================================== 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-Add-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="-O2 -pipe -Wall -Wp, > -D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack-protector-all - > -param=ssp-buffer-size=4 -march=i586 -mtune=generic -fomit-frame > -pointer" COPTS="-DHAVE_ISC_READER -DNO_INOTIFY" \ > PREFIX=/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=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c cache.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c rfc1035.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c util.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c option.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c forward.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c network.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c dnsmasq.c > 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 = 0; > ^ > dnsmasq.c:54:9: warning: unused variable 'bound_device' [-Wunused > -variable] > char *bound_device = NULL; > ^ > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c dhcp.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c lease.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c rfc2131.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c netlink.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c dbus.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c bpf.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c helper.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c t > ftp.c class="Apple-tab-span" style="white-space:pre"> > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c log.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c conntrack.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c dhcp6.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c rfc3315.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c dhcp-common.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c outpacket.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c radv.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c slaac.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c auth.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c ipset.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c domain.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c dnssec.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c blockdata.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c tables.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c loop.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c inotify.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c poll.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c rrfilter.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c edns0.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c arp.c > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack > -protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic > -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION='"2.76test4"' -c isc.c > isc.c: In function 'dhcp_lease_new': > isc.c:40:3: warning: ignoring return value of 'asprintf', declared > with attribute 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 t > ftp.o log.o conntrack.o dhcp6.o rfc3315.o dhcp-common.o outpacket.o > radv.o slaac.o auth.o ipset.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 > --===============3539991271990876962== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEKCmlRSWNCQUFC Q2dBR0JRSldpdm1ZQUFvSkVJQjU4UDl2a0FrSDBQc1AvaVJxa1FwUThxRmpYLzNScENwSWVGdE4K a2ZVenJ4MGtXdWFVWnBIcVBwS0Z6SG9KVEF5dzFMRXlCVTRJU0xkcmU4QmlCZ1dmcnErbnAzcTFo SzlWSWRHZwpnekFrK3hPM2xlaXJHWFc0cVpCUXk0cnIvNVFuUk9LTEF6bThxS1hRVmIwUW1oMjlW TDRtck5oeVNXR1dRU0R3CktkYytPcFJ0Q2xobDAyOXRXWFNjblVFMnVwZXRGeFNFcWxQK29TTWYw VXRrTXd6eURFaUVKUUt2OWVTRlUzNEIKclZodUliUm1Wa2laUTNwa0pGVFpmUWpLSEpZdWozVkRl YWtGQjAzVUE2L0I3T2trTWhTcXVpTFJsRlVBUGxDbwpya1BBd0FWRklFakNHUDZ3WHZrYmQxTVhP MEVERy9zbHlnQUpwb2JzdXkvNGhWSStpa0dMV0ErSlN3eXNaZmwzCi91VDVDVkMrMVBKWEE5TC9n ZXQ1S0M5T1NxdjVWQVEwNmttNkE4UzR1QkMvQ1poM3hiK0RNb0JkQS94VjRqK00KM3pXWDZxWmVx TXUwaklERS9ZMmFrZmVBVHlnM2luMUNLSS83alNEVUZ2UXdZcncxRVJBa2UxVmR0ZVpIa0o4WQpa SU1pRkpIUWtlaTVVb0xpR2JsUjFGSXk3RmVCaDRya0cvQ2xUeHlFSE1QUGZUZlJCRmxOVlUrazFm QS85ZUI1Cno5d3NQTlhLOHlJdCtlTkoxejREcVF3Q3RwNURJcUJsVTIvUDZxdmt4RURsYkNTZVc3 a1hzOEpJbzd4dVZkemIKeC9lalptd2NJVWZTeGdsK29UUHhiWE5LQXp1cVF5dUhpVDRmV0hsQ1pi dG9OVEMvVndBWWFKVVR5QUdwM3M3ZQpZaXdiUGpHVWMwTmpaSXFDNWkrdwo9dS9LRAotLS0tLUVO RCBQR1AgU0lHTkFUVVJFLS0tLS0K --===============3539991271990876962==--