NetBSD Problem Report #49301
From bjjl@netvm.pocketservices.de Tue Oct 21 21:47:53 2014
Return-Path: <bjjl@netvm.pocketservices.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 61EECA65F7
for <gnats-bugs@gnats.NetBSD.org>; Tue, 21 Oct 2014 21:47:53 +0000 (UTC)
Message-Id: <20141021214750.4A74418BD5F@netvm.pocketservices.de>
Date: Tue, 21 Oct 2014 23:47:50 +0200 (CEST)
From: bl@pocketservices.de
To: gnats-bugs@gnats.NetBSD.org
Subject: Cannot compile nmap with gcc 4.9.1
X-Send-Pr-Version: 3.95
>Number: 49301
>Category: pkg
>Synopsis: Cannot compile nmap with gcc 4.9.1 (ssp.h not found)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: maya
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 21 21:50:00 +0000 2014
>Closed-Date: Sun Sep 25 20:38:06 +0000 2016
>Last-Modified: Sun Sep 25 20:38:06 +0000 2016
>Originator: Benjamin Lorenz
>Release: NetBSD 6.1_STABLE
>Organization:
>Environment:
System: NetBSD netvm.pocketservices.de 6.1_STABLE NetBSD 6.1_STABLE (GENERIC) #0: Mon Jul 28 17:58:37 CEST 2014 root@netvm.pocketservices.de:/usr/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
gmake[1]: Entering directory '/usr/pkg/src/net/nmap/work/nmap-6.47/nbase'
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -c -o snprintf.o snprintf.c
In file included from /usr/pkg/gcc49/lib/gcc/i486--netbsdelf/4.9.1/include-fixed/stdio.h:540:0,
from snprintf.c:55:
/usr/pkg/gcc49/lib/gcc/i486--netbsdelf/4.9.1/include/ssp/stdio.h:38:17: fatal error: ssp.h: No such file or directory
#include <ssp.h>
^
compilation terminated.
<builtin>: recipe for target 'snprintf.o' failed
gmake[1]: *** [snprintf.o] Error 1
gmake[1]: Leaving directory '/usr/pkg/src/net/nmap/work/nmap-6.47/nbase'
Makefile:135: recipe for target 'nbase_build' failed
gmake: *** [nbase_build] Error 2
*** Error code 2
>How-To-Repeat:
Set GCC_REQD=4.9 in /etc/mk.conf and compile net/nmap.
...no problem to compile with gcc 4.5.3.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->pettai
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 21 Oct 2014 22:20:07 +0000
Responsible-Changed-Why:
Over to maintainer.
Responsible-Changed-From-To: pettai->maya
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Sun, 11 Sep 2016 18:59:34 +0000
Responsible-Changed-Why:
lang/gcc49 problem, not nmap problem.
State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 11 Sep 2016 18:59:34 +0000
State-Changed-Why:
I fixed this (same problem as PR 47213)
From: Maya Rashish <maya@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/49301
Date: Sun, 11 Sep 2016 19:08:54 +0000
nmap does not have GCC_REQD now, so it should not matter.
I'm able to build it in a netbsd6/amd64 chroot.
let me know if you have any additional trouble building it
State-Changed-From-To: feedback->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 25 Sep 2016 20:38:06 +0000
State-Changed-Why:
mail bouncing. I assume it is fixed because I can build it, and the gcc49 ssp problem was fixed too.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.