From owner-freebsd-ports Sat Mar 30 17: 0:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A23BC37B41D for ; Sat, 30 Mar 2002 17:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2V102T23408; Sat, 30 Mar 2002 17:00:02 -0800 (PST) (envelope-from gnats) Received: from homeip.net (r96-12.bas1.srl.dublin.eircom.net [159.134.96.12]) by hub.freebsd.org (Postfix) with ESMTP id 592A137B420 for ; Sat, 30 Mar 2002 16:51:32 -0800 (PST) Received: (from root@localhost) by flapjack.netability.ie (8.11.6/8.11.6) id g2V0nfk01441; Sun, 31 Mar 2002 00:49:41 GMT (envelope-from nick) Message-Id: <200203310049.g2V0nfk01441@flapjack.netability.ie> Date: Sun, 31 Mar 2002 00:49:41 GMT From: Nick Hilliard Reply-To: Nick Hilliard To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36554: ports/lang/icc requires linux_devtools to compile c++ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36554 >Category: ports >Synopsis: ports/lang/icc requires linux_devtools to compile c++ >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 17:00:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Nick Hilliard >Release: FreeBSD 4.5-RELEASE-p1 i386 >Organization: Network Ability Ltd >Environment: System: FreeBSD flapjack.netability.ie 4.5-RELEASE-p1 FreeBSD 4.5-RELEASE-p1 #0: Mon Feb 25 13:52:31 GMT 2002 nick@flapjack.netability.ie:/data/usr.obj/data/usr.src/sys/FLAPJACK i386 >Description: The Intel C++ compiler requires the linux_devtools in order to compile c++ packages. If this package is not present, compilation will fail with some errors like this whenever the compiler sees a c++ file: > foo.cc: > "/usr/include/stdlib.h", line 57: error: invalid combination of type specifiers > typedef _BSD_WCHAR_T_ wchar_t; > ^ > "/usr/local/intel/compiler50/ia32/include/cwchar", line 16: error: the global scope has no "tm" > using ::mbstate_t; using ::size_t; using ::tm; using ::wint_t; + lots more errors. The compilation process then bombs out. >How-To-Repeat: >Fix: Apply the following patch to /usr/ports/lang/Makefile: --- lang/icc/Makefile.orig Tue Mar 26 17:01:02 2002 +++ lang/icc/Makefile Sun Mar 31 00:13:55 2002 @@ -16,7 +16,8 @@ BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio RUN_DEPENDS= \ - ${LINUXBASE}/lib/libc-2.2.2.so:${PORTSDIR}/emulators/linux_base-7 + ${LINUXBASE}/lib/libc-2.2.2.so:${PORTSDIR}/emulators/linux_base-7 \ + ${LINUXBASE}/usr/bin/gcc:${PORTSDIR}/devel/linux_devtools RESTRICTED= Intel forbids any redistribution >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message