I've just updated to release 1.4 and the only package that will not build when doing an "emerge -auND world" is dnsmasq.
x86_64-pc-linux-gnu-gcc -O2 -fomit-frame-pointer -march=bonnell -pipe -DNO_AUTH -DNO_CONNTRACK -DNO_DBUS -DNO_IDN -DNO_LIBIDN2 -DNO_ID -DNO_LUASCRIPT -DNO_SCRIPT -DNO_TFTP -DHAVE_DNSSEC -DNO_DNSSEC_STATIC -DLOCALEDIR='"/usr/share/locale"' -DVERSION='"2.80"' -c ubus.c
crypto.c: In function ‘dnsmasq_ecdsa_verify’:
crypto.c:297:36: error: ‘nettle_secp_256r1’ undeclared (first use in this function); did you mean ‘nettle_get_secp_256r1’?
297 | nettle_ecc_point_init(key_256, &nettle_secp_256r1);
| ^~~~~~~~~~~~~~~~~
| nettle_get_secp_256r1
crypto.c:297:36: note: each undeclared identifier is reported only once for each function it appears in
crypto.c:310:36: error: ‘nettle_secp_384r1’ undeclared (first use in this function); did you mean ‘nettle_get_secp_384r1’?
310 | nettle_ecc_point_init(key_384, &nettle_secp_384r1);
| ^~~~~~~~~~~~~~~~~
| nettle_get_secp_384r1
make[1]: *** [/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80/Makefile:161: crypto.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80/src'
make: *** [Makefile:110: all-i18n] Error 2
* ERROR: net-dns/dnsmasq-2.80::net-kit failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-dns/dnsmasq-2.80::net-kit'`,
* the complete build log and the output of `emerge -pqv '=net-dns/dnsmasq-2.80::net-kit'`.
* The complete build log is located at '/var/tmp/portage/net-dns/dnsmasq-2.80/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-dns/dnsmasq-2.80/temp/environment'.
* Working directory: '/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80'
* S: '/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80'
>>> Failed to emerge net-dns/dnsmasq-2.80, Log file:
>>> '/var/tmp/portage/net-dns/dnsmasq-2.80/temp/build.log'
Question
leeflemingster
I've just updated to release 1.4 and the only package that will not build when doing an "emerge -auND world" is dnsmasq.
x86_64-pc-linux-gnu-gcc -O2 -fomit-frame-pointer -march=bonnell -pipe -DNO_AUTH -DNO_CONNTRACK -DNO_DBUS -DNO_IDN -DNO_LIBIDN2 -DNO_ID -DNO_LUASCRIPT -DNO_SCRIPT -DNO_TFTP -DHAVE_DNSSEC -DNO_DNSSEC_STATIC -DLOCALEDIR='"/usr/share/locale"' -DVERSION='"2.80"' -c ubus.c crypto.c: In function ‘dnsmasq_ecdsa_verify’: crypto.c:297:36: error: ‘nettle_secp_256r1’ undeclared (first use in this function); did you mean ‘nettle_get_secp_256r1’? 297 | nettle_ecc_point_init(key_256, &nettle_secp_256r1); | ^~~~~~~~~~~~~~~~~ | nettle_get_secp_256r1 crypto.c:297:36: note: each undeclared identifier is reported only once for each function it appears in crypto.c:310:36: error: ‘nettle_secp_384r1’ undeclared (first use in this function); did you mean ‘nettle_get_secp_384r1’? 310 | nettle_ecc_point_init(key_384, &nettle_secp_384r1); | ^~~~~~~~~~~~~~~~~ | nettle_get_secp_384r1 make[1]: *** [/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80/Makefile:161: crypto.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80/src' make: *** [Makefile:110: all-i18n] Error 2 * ERROR: net-dns/dnsmasq-2.80::net-kit failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-dns/dnsmasq-2.80::net-kit'`, * the complete build log and the output of `emerge -pqv '=net-dns/dnsmasq-2.80::net-kit'`. * The complete build log is located at '/var/tmp/portage/net-dns/dnsmasq-2.80/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dns/dnsmasq-2.80/temp/environment'. * Working directory: '/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80' * S: '/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80' >>> Failed to emerge net-dns/dnsmasq-2.80, Log file: >>> '/var/tmp/portage/net-dns/dnsmasq-2.80/temp/build.log'
# emerge --info '=net-dns/dnsmasq-2.80::net-kit Portage 2.3.78 (python 3.7.6-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-9.2.0, glibc-2.29-r3, 4.19.27-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.19.27-gentoo-r1-x86_64-Intel-R-_Atom-TM-_CPU_D510_@_1.66GHz-with-gentoo-1.4 KiB Mem: 999604 total, 278356 free KiB Swap: 5242876 total, 5226484 free sh bash 5.0_p7 ld GNU ld (Gentoo 2.32 p2) 2.32.0 app-shells/bash: 5.0_p7::core-kit dev-lang/perl: 5.28.2-r1::perl-kit dev-lang/python: 2.7.17::python-kit, 3.7.6::python-kit dev-util/cmake: 3.14.5::core-kit sys-apps/baselayout: 2.6.1-r1::core-kit sys-apps/openrc: 0.41.2-r2::core-kit sys-apps/sandbox: 2.17::core-kit sys-devel/autoconf: 2.69-r4::core-kit sys-devel/automake: 1.11.6-r3::core-kit, 1.15.1-r2::core-kit, 1.16.1-r1::core-kit sys-devel/binutils: 2.31.1-r1::core-kit, 2.32-r1::core-kit sys-devel/gcc: 7.4.1-r8::core-kit, 9.2.0::core-kit sys-devel/gcc-config: 2.0::core-kit sys-devel/libtool: 2.4.6-r5::core-kit sys-devel/make: 4.2.1-r4::core-kit sys-kernel/linux-headers: 4.14::core-kit (virtual/os-headers) sys-libs/glibc: 2.29-r3::core-kit Repositories: nokit location: /var/git/meta-repo/kits/nokit masters: core-kit priority: -500 browser-kit location: /var/git/meta-repo/kits/browser-kit masters: core-kit priority: 1 core-gl-kit location: /var/git/meta-repo/kits/core-gl-kit masters: core-kit priority: 1 core-hw-kit location: /var/git/meta-repo/kits/core-hw-kit masters: core-kit priority: 1 core-kit location: /var/git/meta-repo/kits/core-kit priority: 1 aliases: gentoo core-server-kit location: /var/git/meta-repo/kits/core-server-kit masters: core-kit priority: 1 desktop-kit location: /var/git/meta-repo/kits/desktop-kit masters: core-kit priority: 1 dev-kit location: /var/git/meta-repo/kits/dev-kit masters: core-kit priority: 1 editors-kit location: /var/git/meta-repo/kits/editors-kit masters: core-kit priority: 1 games-kit location: /var/git/meta-repo/kits/games-kit masters: core-kit priority: 1 gnome-kit location: /var/git/meta-repo/kits/gnome-kit masters: core-kit priority: 1 haskell-kit location: /var/git/meta-repo/kits/haskell-kit masters: core-kit priority: 1 java-kit location: /var/git/meta-repo/kits/java-kit masters: core-kit priority: 1 kde-kit location: /var/git/meta-repo/kits/kde-kit masters: core-kit priority: 1 lang-kit location: /var/git/meta-repo/kits/lang-kit masters: core-kit priority: 1 lisp-scheme-kit location: /var/git/meta-repo/kits/lisp-scheme-kit masters: core-kit priority: 1 llvm-kit location: /var/git/meta-repo/kits/llvm-kit masters: core-kit priority: 1 media-kit location: /var/git/meta-repo/kits/media-kit masters: core-kit priority: 1 ml-lang-kit location: /var/git/meta-repo/kits/ml-lang-kit masters: core-kit priority: 1 net-kit location: /var/git/meta-repo/kits/net-kit masters: core-kit priority: 1 perl-kit location: /var/git/meta-repo/kits/perl-kit masters: core-kit priority: 1 python-kit location: /var/git/meta-repo/kits/python-kit masters: core-kit priority: 1 python-modules-kit location: /var/git/meta-repo/kits/python-modules-kit masters: core-kit priority: 1 qt-kit location: /var/git/meta-repo/kits/qt-kit masters: core-kit priority: 1 ruby-kit location: /var/git/meta-repo/kits/ruby-kit masters: core-kit priority: 1 rust-kit location: /var/git/meta-repo/kits/rust-kit masters: core-kit priority: 1 science-kit location: /var/git/meta-repo/kits/science-kit masters: core-kit priority: 1 security-kit location: /var/git/meta-repo/kits/security-kit masters: core-kit priority: 1 text-kit location: /var/git/meta-repo/kits/text-kit masters: core-kit priority: 1 xfce-kit location: /var/git/meta-repo/kits/xfce-kit masters: core-kit priority: 1 xorg-kit location: /var/git/meta-repo/kits/xorg-kit masters: core-kit priority: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -fomit-frame-pointer -march=bonnell -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -fomit-frame-pointer -march=bonnell -pipe" DISTDIR="/var/cache/portage/distfiles" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -fomit-frame-pointer -march=bonnell -pipe" GENTOO_MIRRORS="https://fastpull-us.funtoo.org" LANG="POSIX" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="en-GB" MAKEOPTS="-j5" PKGDIR="/var/cache/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cracklib crypt curl cxx gdbm glvnd iconv icu ipv6 logrotate mmx modules mudflap ncurses nls nptl openmp pam pcre python readline resolvconf sse sse2 ssl tcpd unicode upnp vaapi vdpau xa xattr xml xvmc zlib" ABI_X86="64" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel vulkan-intel dri3 i965 i915 osmesa swrast" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS ================================================================= Package Settings ================================================================= net-dns/dnsmasq-2.80::net-kit was built with the following: USE="dhcp dnssec dumpfile inotify ipv6 nls -auth-dns -conntrack -dbus -dhcp-tools -id -idn -libidn2 -lua -script (-selinux) -static -tftp" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
emerge -pqv '=net-dns/dnsmasq-2.80::net-kit' [ebuild R ] net-dns/dnsmasq-2.80 USE="dhcp dnssec dumpfile inotify ipv6 nls -auth-dns -conntrack -dbus -dhcp-tools -id -idn -libidn2 -lua -script (-selinux) -static -tftp"
Does anyone know how to fix this?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts