From owner-freebsd-ports-bugs@freebsd.org Sun Sep 20 19:41:07 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2AFEA050E8 for ; Sun, 20 Sep 2015 19:41:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB81D1A50 for ; Sun, 20 Sep 2015 19:41:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8KJf65U086700 for ; Sun, 20 Sep 2015 19:41:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203224] lang/gcc49: unistd.h is busted (also lang/gcc5) Date: Sun, 20 Sep 2015 19:41:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gerald@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 19:41:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203224 Bug ID: 203224 Summary: lang/gcc49: unistd.h is busted (also lang/gcc5) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: cem@freebsd.org Assignee: gerald@FreeBSD.org Flags: maintainer-feedback?(gerald@FreeBSD.org) E.g.: $ cat test.c #include $ gcc49 -c test.c In file included from test.c:1:0: /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h: In function 'execl': /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:343:45: error: expected declaration specifiers before '__sentinel' int execl(const char *, const char *, ...) __sentinel; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:345:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__sentinel' int execlp(const char *, const char *, ...) __sentinel; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:392:14: error: storage class specified for parameter 'optarg' extern char *optarg; /* getopt(3) external variables */ ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:393:12: error: storage class specified for parameter 'optind' extern int optind, opterr, optopt; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:393:20: error: storage class specified for parameter 'opterr' extern int optind, opterr, optopt; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:393:28: error: storage class specified for parameter 'optopt' extern int optind, opterr, optopt; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:600:12: error: storage class specified for parameter 'optreset' extern int optreset; /* getopt(3) external variable */ ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:343:6: error: old-style parameter declarations in prototyped function definition int execl(const char *, const char *, ...) __sentinel; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:343:1: error: parameter name omitted int execl(const char *, const char *, ...) __sentinel; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:343:1: error: parameter name omitted test.c:1:0: error: expected '{' at end of input #include ^ -- You are receiving this mail because: You are the assignee for the bug.