From nobody@FreeBSD.org  Fri Sep 28 07:10:11 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B56FD106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Sep 2012 07:10:11 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 875358FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Sep 2012 07:10:11 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8S7ABXI041667
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Sep 2012 07:10:11 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q8S7AB9R041666;
	Fri, 28 Sep 2012 07:10:11 GMT
	(envelope-from nobody)
Message-Id: <201209280710.q8S7AB9R041666@red.freebsd.org>
Date: Fri, 28 Sep 2012 07:10:11 GMT
From: KT Sin <ktsin@acm.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: unable to build chinese/mutt under recent 9.x
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         172132
>Category:       ports
>Synopsis:       unable to build chinese/mutt under recent 9.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 28 07:20:02 UTC 2012
>Closed-Date:    Sat Sep 29 06:35:51 UTC 2012
>Last-Modified:  Sat Sep 29 06:40:07 UTC 2012
>Originator:     KT Sin
>Release:        FreeBSD 9.1-RC2
>Organization:
>Environment:
FreeBSD passion.hsins.com 9.1-RC2 FreeBSD 9.1-RC2 #0: Fri Sep 28 11:35:17 MYT 2012     ktsin@passion.hsins.com:/tmp/obj/usr/src/sys/PASSION  amd64
>Description:
ports chinese/mutt fails to build when CFLAGS_ADD+=-D_DONT_USE_CTYPE_INLINE_ is defined in Makefile.

something must have changed in the compilers. please investigate and fix.

Making all in contrib
Making all in imap
cc -I/usr/local/include -DHAVE_CONFIG_H -I. -I..  -I.. -I../intl  -I/usr/include -I/usr/local/include/db43 -I/usr/local/include -I../intl  -O2 -pipe -Wl,-rpath,/usr/lib:/usr/local/lib -D_DONT_USE_CTYPE_INLINE_ -fno-strict-aliasing -MT auth.o -MD -MP -MF .deps/auth.Tpo -c -o auth.o auth.c
In file included from ../mutt.h:963,
                 from auth.c:27:
./protos.h:490: error: conflicting types for 'fprintf'
./protos.h:490: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
./protos.h:491: error: conflicting types for 'printf'
./protos.h:491: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
./protos.h:495: error: conflicting types for 'sscanf'
./protos.h:495: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
./protos.h:519: error: conflicting types for 'readlink'
/usr/include/unistd.h:404: error: previous declaration of 'readlink' was here
*** [auth.o] Error code 1

Stop in /tmp/obj/usr/ports/chinese/mutt/work/mutt-1.5.21/imap.
*** [all-recursive] Error code 1

Stop in /tmp/obj/usr/ports/chinese/mutt/work/mutt-1.5.21.
*** [all] Error code 1

Stop in /tmp/obj/usr/ports/chinese/mutt/work/mutt-1.5.21.
*** [do-build] Error code 1

Stop in /usr/ports/chinese/mutt.
*** [/tmp/obj/usr/ports/chinese/mutt/work/.build_done.mutt._usr_local] Error code 1

Stop in /usr/ports/chinese/mutt.

>How-To-Repeat:

>Fix:
remove CFLAGS_ADD+=-D_DONT_USE_CTYPE_INLINE_ from Makefile before building.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Sep 28 07:20:13 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172132 
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Sat Sep 29 06:35:49 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172132 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/172132: commit references a PR
Date: Sat, 29 Sep 2012 06:35:55 +0000 (UTC)

 Author: rafan
 Date: Sat Sep 29 06:35:42 2012
 New Revision: 305029
 URL: http://svn.freebsd.org/changeset/ports/305029
 
 Log:
   - Fix build on -CURRENT
   
   PR:		ports/172132
   Submitted by:	KT Sin <ktsin at acm.org>
 
 Modified:
   head/chinese/mutt/Makefile
 
 Modified: head/chinese/mutt/Makefile
 ==============================================================================
 --- head/chinese/mutt/Makefile	Sat Sep 29 06:27:33 2012	(r305028)
 +++ head/chinese/mutt/Makefile	Sat Sep 29 06:35:42 2012	(r305029)
 @@ -6,7 +6,7 @@
  # $FreeBSD$
  #
  
 -PORTREVISION=	2
 +PORTREVISION=	3
  CATEGORIES=	chinese
  
  MASTERDIR=	${.CURDIR}/../../mail/mutt
 @@ -23,7 +23,6 @@ CONFLICTS=	ja-mutt-[0-9]* ja-mutt-devel-
  
  LIB_DEPENDS+=	hz.0:${PORTSDIR}/chinese/autoconvert
  
 -CFLAGS_ADD+=	-D_DONT_USE_CTYPE_INLINE_
  LDFLAGS_ADD+=	-lhz
  
  WITH_MUTT_LOCALES_FIX=	yes
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
