* With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore @ 2016-01-02 11:55 Matthias Fischer 2016-01-04 16:42 ` Michael Tremer 0 siblings, 1 reply; 9+ messages in thread From: Matthias Fischer @ 2016-01-02 11:55 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 328 bytes --] 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 [-- Attachment #2: excerpt_build_ipfire.log --] [-- Type: text/plain, Size: 19119 bytes --] Jan 2 11:03:53: Building dnsmasq dnsmasq-2.75.tar.xz checksum OK + cd /usr/src/lfs + make -f dnsmasq LFS_BASEDIR=/usr/src install ====================================== Installing dnsmasq-2.75 ... Install started; saving file list to /usr/src/lsalr ... cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/001-include_0_0_0_0_8_in_DNS_rebind_checks.patch patching file CHANGELOG patching file src/rfc1035.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/002-enhance_add_subnet_to_allow_arbitary_subnet_addresses.patch patching file CHANGELOG patching file man/dnsmasq.8 patching file src/dnsmasq.h patching file src/option.c patching file src/rfc1035.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/003-dont_answer_non_auth_queries_for_auth_zones_locally_when_localise_queries_set.patch patching file src/forward.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/004-fix_behaviour_of_empty_dhcp-option.patch patching file src/rfc3315.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/005-suggest_solution_to_ENOMEM_error_with_IPv6_multicast.patch patching file src/network.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/006-clarify_man_page_on_RDNSS_set_in_router_advertisement.patch patching file man/dnsmasq.8 cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/007-handle_signed_dangling_CNAME_replies_to_DS_queries.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/008-DHCPv6_option_56_does_not_hold_an_address_list.patch patching file src/dhcp-common.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/009-Respect_the_--no_resolv_flag_in_inotify_code.patch patching file CHANGELOG patching file src/inotify.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/010-Rationalise_5e3e464ac4022ee0b3794513abe510817e2cf3ca.patch patching file src/rfc3315.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/011-Catch_errors_from_sendmsg_in_DHCP_code.patch patching file src/dhcp.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/012-Update_list_of_subnet_for_--bogus-priv.patch patching file src/rfc1035.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/013-Fix_crash_when_empty_address_from_DNS_overlays_A_record_from.patch patching file CHANGELOG patching file src/cache.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/014-Handle_unknown_DS_hash_algos_correctly.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/015-Fix_crash_at_start_up_with_conf-dir.patch patching file src/option.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/016-Major_rationalisation_of_DNSSEC_validation.patch patching file src/dnsmasq.h patching file src/dnssec.c patching file src/forward.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/017-Abandon_caching_RRSIGs_and_returning_them_from_cache.patch patching file src/cache.c patching file src/dnsmasq.h patching file src/dnssec.c patching file src/rfc1035.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/018-Move_code_which_caches_DS_records_to_a_more_logical_place.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/019-Generalise_RR-filtering_code_for_use_with_EDNS0.patch patching file Makefile patching file bld/Android.mk patching file src/dnsmasq.h patching file src/dnssec.c patching file src/forward.c patching file src/rrfilter.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/020-DNSSEC_validation_tweak.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/021-Tweaks_to_EDNS0_handling_in_DNS_replies.patch patching file src/dnssec.c patching file src/rfc1035.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/022-Tidy_up_DNSSEC_non-existence_code_Check_zone_status_is_NSEC_proof_bad.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/023-Fix_brace_botch_in_dnssec_validate_ds.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/024-Do_a_better_job_of_determining_which_DNSSEC_sig_algos_are_supported.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/025-Major_tidy_up_of_EDNS0_handling_and_computation_use_of_udp.patch patching file src/auth.c patching file src/dnsmasq.h patching file src/dnssec.c patching file src/forward.c patching file src/netlink.c patching file src/rfc1035.c patching file src/rrfilter.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/026-More_tweaks_in_handling_unknown_DNSSEC_algorithms.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/027-Nasty_rare_and_obscure_off-by-one_in_DNSSEC_hostname_cmp.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/028-Minor_tweak_to_previous_commit.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/029-NSEC3_check_RFC5155_para_8_2.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/030-Split_EDNS0_stuff_into_its_own_source_file.patch patching file Makefile patching file bld/Android.mk patching file src/dnsmasq.h patching file src/edns0.c patching file src/rfc1035.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/031-Handle_extending_EDNS0_OPT_RR.patch patching file src/dnsmasq.h patching file src/dnssec.c patching file src/edns0.c patching file src/forward.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/032-Truncate_DNS_replies_bigger_512_bytes_that_the_client_isnt_expecting.patch patching file src/edns0.c patching file src/forward.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/033-Fix_build_failure_when_DNSSEC_code_omitted.patch patching file src/dnsmasq.h patching file src/edns0.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/034-Log_signature_algo_with_DNSKEY_and_DS_also_digest_with_DS.patch patching file src/cache.c patching file src/dnsmasq.h patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/035-More_EDNS0_packet_size_tweaks.patch patching file src/dnsmasq.c patching file src/dnsmasq.h patching file src/forward.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/036-Cache_access_to_the_kernels_ARP_table.patch patching file Makefile patching file bld/Android.mk patching file src/arp.c patching file src/dhcp6.c patching file src/dnsmasq.h patching file src/edns0.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/037-First_complete_version_of_DNS-client-id_EDNS0_and_ARP_tracking_code.patch patching file src/arp.c patching file src/config.h patching file src/dhcp6.c patching file src/dns-protocol.h patching file src/dnsmasq.c patching file src/dnsmasq.h patching file src/dnssec.c patching file src/edns0.c patching file src/forward.c patching file src/helper.c patching file src/option.c patching file src/rfc3315.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/038-Correct_logic_for_when_to_start_helper.patch patching file src/dnsmasq.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/039-Trivial_code_tweak.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/040-Extra_check_in_NSEC3_processing.patch patching file src/dnssec.c cd /usr/src/dnsmasq-2.75 && patch -Np1 -i /usr/src/src/patches/dnsmasq/041-Fix_linked-list_botch_in_new_ARP-cache_code.patch patching file src/arp.c cd /usr/src/dnsmasq-2.75 && 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.75 && 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.75 && 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.75' make[2]: Entering directory '/usr/src/dnsmasq-2.75/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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75"' -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.75/Makefile:160: recipe for target 'dnsmasq' failed make[2]: *** [dnsmasq] Error 1 make[2]: Leaving directory '/usr/src/dnsmasq-2.75/src' Makefile:83: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/usr/src/dnsmasq-2.75' dnsmasq:74: recipe for target '/usr/src/log/dnsmasq-2.75' failed make: *** [/usr/src/log/dnsmasq-2.75] Error 2 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore 2016-01-02 11:55 With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore Matthias Fischer @ 2016-01-04 16:42 ` Michael Tremer 2016-01-04 19:04 ` Matthias Fischer 0 siblings, 1 reply; 9+ messages in thread From: Michael Tremer @ 2016-01-04 16:42 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 527 bytes --] 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 > > [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore 2016-01-04 16:42 ` Michael Tremer @ 2016-01-04 19:04 ` Matthias Fischer 2016-01-04 22:59 ` Matthias Fischer 0 siblings, 1 reply; 9+ messages in thread From: Matthias Fischer @ 2016-01-04 19:04 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 797 bytes --] 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 >> >> > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore 2016-01-04 19:04 ` Matthias Fischer @ 2016-01-04 22:59 ` Matthias Fischer 2016-01-04 23:00 ` Michael Tremer 0 siblings, 1 reply; 9+ messages in thread From: Matthias Fischer @ 2016-01-04 22:59 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 12974 bytes --] 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore 2016-01-04 22:59 ` Matthias Fischer @ 2016-01-04 23:00 ` Michael Tremer 2016-01-04 23:30 ` Matthias Fischer 2016-01-05 19:53 ` Matthias Fischer 0 siblings, 2 replies; 9+ messages in thread From: Michael Tremer @ 2016-01-04 23:00 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 13816 bytes --] 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 > [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore 2016-01-04 23:00 ` Michael Tremer @ 2016-01-04 23:30 ` Matthias Fischer 2016-01-05 19:53 ` Matthias Fischer 1 sibling, 0 replies; 9+ messages in thread From: Matthias Fischer @ 2016-01-04 23:30 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 550 bytes --] 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore 2016-01-04 23:00 ` Michael Tremer 2016-01-04 23:30 ` Matthias Fischer @ 2016-01-05 19:53 ` Matthias Fischer 2016-01-06 19:31 ` Michael Tremer 1 sibling, 1 reply; 9+ messages in thread From: Matthias Fischer @ 2016-01-05 19:53 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 996 bytes --] 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore 2016-01-05 19:53 ` Matthias Fischer @ 2016-01-06 19:31 ` Michael Tremer 2016-01-06 19:55 ` Matthias Fischer 0 siblings, 1 reply; 9+ messages in thread From: Michael Tremer @ 2016-01-06 19:31 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 1528 bytes --] 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 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore 2016-01-06 19:31 ` Michael Tremer @ 2016-01-06 19:55 ` Matthias Fischer 0 siblings, 0 replies; 9+ messages in thread From: Matthias Fischer @ 2016-01-06 19:55 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 1039 bytes --] 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-01-06 19:55 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-01-02 11:55 With new Patches 030-041 'dnsmasq' 2.75 won't compile anymore Matthias Fischer 2016-01-04 16:42 ` Michael Tremer 2016-01-04 19:04 ` Matthias Fischer 2016-01-04 22:59 ` Matthias Fischer 2016-01-04 23:00 ` Michael Tremer 2016-01-04 23:30 ` Matthias Fischer 2016-01-05 19:53 ` Matthias Fischer 2016-01-06 19:31 ` Michael Tremer 2016-01-06 19:55 ` Matthias Fischer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox