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,
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,
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
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.
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 tftp.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 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 tftp.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
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
On 05.01.2016 00:00, Michael Tremer wrote:
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.
I disabled the 'ISC DHCP patch' and commented/uncommented:
... # COPTS = -DHAVE_ISC_READER -DNO_INOTIFY ...
It made no difference, same errors. Even the original '2.75test4' won't build, so I don't think that I have any ~typos in my patch-files.
I added the dnsmasq list already and tell them about this tomorrow.
Best, Matthias
Hi,
On 05.01.2016 00:00, Michael Tremer wrote:
please add the dnsmasq list and let Simon know.
Did that and made a small step forward - 'dnsmasq' is compiling now, but...
I don't know if you're reading the dnsmasq list - the only solution until now was to compile *with* dhcp-support by removing...
***SNIP*** "-e 's|#define HAVE_DHCP|//#define HAVE_DHCP|g' " ***SNAP***
Only warning during build:
***SNIP*** 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); ^ ***SNAP***
I hope this will make no big difference for testing, since as far as I know, 'dnsmasq' has dhcp-server disabled by default. To enable it you have to uncomment dhcp-related lines in '/etc/dnsmasq.conf'(e.g.), which doesn't exist. But this was the only chance by now.
What do you think?
Best, Matthias
Hi,
I do read the list. Simon uploaded a patch so that it builds.
I am not sure though if we should have a testing version like that in the distribution at this stage. Is there a chance that it will become stable until C97 will be released?
I see what issue you are trying to tackle here, but Simon considers this code as a bit wonkey (from what I saw in the commit messages). Can you maybe consult with him?
Best, -Michael
On Tue, 2016-01-05 at 20:53 +0100, Matthias Fischer wrote:
Hi,
On 05.01.2016 00:00, Michael Tremer wrote:
please add the dnsmasq list and let Simon know.
Did that and made a small step forward - 'dnsmasq' is compiling now, but...
I don't know if you're reading the dnsmasq list - the only solution until now was to compile *with* dhcp-support by removing...
***SNIP*** "-e 's|#define HAVE_DHCP|//#define HAVE_DHCP|g' " ***SNAP***
Only warning during build:
***SNIP*** 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); ^ ***SNAP***
I hope this will make no big difference for testing, since as far as I know, 'dnsmasq' has dhcp-server disabled by default. To enable it you have to uncomment dhcp-related lines in '/etc/dnsmasq.conf'(e.g.), which doesn't exist. But this was the only chance by now.
What do you think?
Best, Matthias
Hi,
On 06.01.2016 20:31, Michael Tremer wrote:
I do read the list. Simon uploaded a patch so that it builds.
Just saw it - and the "Devel" is running with patches 001-042 right now.
I am not sure though if we should have a testing version like that in the distribution at this stage. Is there a chance that it will become stable until C97 will be released?
I'm with you in this point => *I* wouldn't want such 'testing' version in *my* distribution. I would do this only if there is *really* no other way.
Will it be stable? I hope so. The problem is, I *don't have problems*... None of the 'dnsmasq'-crashes I heard of ever happened here.
I see what issue you are trying to tackle here, but Simon considers this code as a bit wonkey (from what I saw in the commit messages). Can you maybe consult with him?
You mean the 'dhcp_lease_new'-warning while compiling 'isc.c'? ;-)
I'll ask about it when the new patched version is ready and the problem still persists (which I fear will be the case...).
Best, Matthias