Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 214865

Summary: net-dns/dnsmasq-2.41: small install issue
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: trivial CC: vapier
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2008-03-26 13:15:20 UTC
In the emerge logfile I have :

...
>>> Install dnsmasq-2.41 into /var/tmp/portage/net-dns/dnsmasq-2.41/image/ category net-dns
cd src && make \
 DBUS_MINOR=" `echo  | ../bld/pkg-wrapper pkg-config --modversion dbus-1 | nawk -F . -- '{ if ($(NF-1)) print \"-DDBUS_MINOR=\"$(NF-1) }'`"  \
 DBUS_CFLAGS="`echo  | ../bld/pkg-wrapper pkg-config --cflags dbus-1`"  \
 DBUS_LIBS="  `echo  | ../bld/pkg-wrapper pkg-config --libs dbus-1`"  \
 SUNOS_LIBS=" `if uname | grep SunOS 2>&1 >/dev/null; then echo -lsocket -lnsl -lposix4; fi `" \
 SUNOS_VER="  `if uname | grep SunOS 2>&1 >/dev/null; then uname -r | nawk -F . -- '{ print \"-DSUNOS_VER=\"$2 }'; fi`" \
 -f ../bld/Makefile dnsmasq
/bin/sh: line 1: nawk: command not found

IMHO nawk isn't available at all Gentoo systems.


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-26 13:56:53 UTC
You are on SunOS that it matters, or what's exactly the issue here?
Comment 2 Toralf Förster gentoo-dev 2008-03-26 14:05:43 UTC
(In reply to comment #1)
> You are on SunOS that it matters, or what's exactly the issue here?
> 

Oh no, I've a rather straight Gentoo. I think, that the nawk error comes rather from the line  DBUS_MINOR=" than from  SUNOS_VER isn't it ?

BTW the error occurs twice.

I'm only wondering whether the failed checks does harm sth. or not.
Comment 3 Toralf Förster gentoo-dev 2008-03-28 10:10:49 UTC
This is the culprit:

n22 /var/tmp/portage/net-dns/dnsmasq-2.41/work/dnsmasq-2.41 # grep nawk *
Makefile:AWK = nawk
Comment 4 SpanKY gentoo-dev 2008-04-03 22:29:34 UTC
it's harmless for us, but i've fixed it in cvs

http://sources.gentoo.org/net-dns/dnsmasq/dnsmasq-2.41.ebuild?r1=1.4&r2=1.5