Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2011 06:12:51 GMT
From:      Hon-Yu Lawrence Cheung <cheunghonyu@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163103: lang/gcc42 build fail on FreeBSD 9.0-RC2
Message-ID:  <201112070612.pB76CpKd097203@red.freebsd.org>
Resent-Message-ID: <201112070620.pB76K8Sv079535@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163103
>Category:       ports
>Synopsis:       lang/gcc42 build fail on FreeBSD 9.0-RC2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 07 06:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Hon-Yu Lawrence Cheung
>Release:        FreeBSD 9.0-RC2
>Organization:
>Environment:
FreeBSD acer5552.honyucheung.net 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #10 r228308: Tue Dec  6 20:59:31 HKT 2011     honyu@acer5552.honyucheung.net:/usr/obj/usr/src/sys/ACER5552  amd64

>Description:
build from ports tree and get the errors

The first error point
=====================

checking whether fprintf_unlocked is declared... .././../gcc-4.2-20090325/libcpp/charset.c:1307: error: conflicting types for 'cpp_interpret_string'
././../gcc-4.2-20090325/libcpp/include/cpplib.h:692: error: previous declaration of 'cpp_interpret_string' was here
././../gcc-4.2-20090325/libcpp/charset.c:1362: error: conflicting types for 'cpp_interpret_string_notranslate'
././../gcc-4.2-20090325/libcpp/include/cpplib.h:695: error: previous declaration of 'cpp_interpret_string_notranslate' was here
gmake[3]: *** [charset.o] Error 1
gmake[3]: Leaving directory `/usr/obj/usr/ports/lang/gcc42/work/build/libcpp'
gmake[2]: *** [all-stage1-libcpp] Error 2


The final error message
=======================
gmake[2]: Leaving directory `/usr/obj/usr/ports/lang/gcc42/work/build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/obj/usr/ports/lang/gcc42/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 1

>How-To-Repeat:
cd /usr/ports/lang/gcc42
make
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112070612.pB76CpKd097203>