Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675278 - net-dns/dnsmasq-2.80 compiles in src_install(), ignores CC
Summary: net-dns/dnsmasq-2.80 compiles in src_install(), ignores CC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly 672724
  Show dependency tree
 
Reported: 2019-01-12 16:48 UTC by Jeroen Roovers (RETIRED)
Modified: 2024-02-21 11:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2019-01-12 16:48:31 UTC
>>> Install dnsmasq-2.80 into /var/tmp/portage/net-dns/dnsmasq-2.80/image category net-dns
make -j3 PREFIX=/usr MANDIR=/usr/share/man 'COPTS= -DNO_AUTH  -DNO_CONNTRACK  -DHAVE_DBUS   -DHAVE_LIBIDN2     -DNO_ID  -DHAVE_LUASCRIPT   -DNO_TFTP  -DNO_DNS
SEC  -DNO_DNSSEC_STATIC ' DESTDIR=/var/tmp/portage/net-dns/dnsmasq-2.80/image install-i18n
malloc(): corrupted top size
install -d /var/tmp/portage/net-dns/dnsmasq-2.80/image/usr/sbin
install -d /var/tmp/portage/net-dns/dnsmasq-2.80/image/usr/share/man/man8
install -m 644 man/dnsmasq.8 /var/tmp/portage/net-dns/dnsmasq-2.80/image/usr/share/man/man8
install -m 755 src/dnsmasq /var/tmp/portage/net-dns/dnsmasq-2.80/image/usr/sbin
make[1]: Entering directory '/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80/src'
malloc(): corrupted top size
cc -Wall -W -O2 -DNO_AUTH  -DNO_CONNTRACK  -DHAVE_DBUS   -DHAVE_LIBIDN2     -DNO_ID  -DHAVE_LUASCRIPT   -DNO_TFTP  -DNO_DNSSEC  -DNO_DNSSEC_STATIC  -DLOCALEDI
R='"/usr/share/locale"' -DVERSION='"2.80"' -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include           -c cache.c
cc -Wall -W -O2 -DNO_AUTH  -DNO_CONNTRACK  -DHAVE_DBUS   -DHAVE_LIBIDN2     -DNO_ID  -DHAVE_LUASCRIPT   -DNO_TFTP  -DNO_DNSSEC  -DNO_DNSSEC_STATIC  -DLOCALEDI
R='"/usr/share/locale"' -DVERSION='"2.80"' -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include           -c rfc1035.c
malloc(): corrupted top size
cc -Wall -W -O2 -DNO_AUTH  -DNO_CONNTRACK  -DHAVE_DBUS   -DHAVE_LIBIDN2     -DNO_ID  -DHAVE_LUASCRIPT   -DNO_TFTP  -DNO_DNSSEC  -DNO_DNSSEC_STATIC  -DLOCALEDIR='"/usr/share/locale"' -DVERSION='"2.80"' -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include           -c util.c
make[1]: *** [/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80/Makefile:161: cache.o] Aborted
make[1]: *** Waiting for unfinished jobs....
malloc(): corrupted top size
malloc(): corrupted top size
make[1]: *** [/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80/Makefile:161: util.o] Aborted
make[1]: *** [/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80/Makefile:161: rfc1035.o] Aborted
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::gentoo failed (install phase):
 *   emake failed
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-01-12 19:22:46 UTC
Ah, when I switch to FEATURES=-distcc, it does not recompile in src_install() either. Weird.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-21 11:01:36 UTC
> malloc(): corrupted top size

You need to figure out what's going on there, it's probably one of the misc. distcc bugs fixed since.

Anyway, we should use matching args in src_install to be safe.
Comment 3 Larry the Git Cow gentoo-dev 2024-02-21 11:01:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e7e22b8a35b61837d8b8dcbbe5ed4da27df9d96

commit 6e7e22b8a35b61837d8b8dcbbe5ed4da27df9d96
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-21 10:59:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-21 11:00:50 +0000

    net-dns/dnsmasq: add 2.90
    
    Bug: https://bugs.gentoo.org/924448
    Closes: https://bugs.gentoo.org/675278
    Signed-off-by: Sam James <sam@gentoo.org>

 net-dns/dnsmasq/Manifest            |   1 +
 net-dns/dnsmasq/dnsmasq-2.90.ebuild | 231 ++++++++++++++++++++++++++++++++++++
 2 files changed, 232 insertions(+)