From owner-freebsd-bugs Fri Nov 9 8:10:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 89A1937B41F for ; Fri, 9 Nov 2001 08:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA9GA1W94141; Fri, 9 Nov 2001 08:10:01 -0800 (PST) (envelope-from gnats) Received: from unlink.catpipe.net (unlink.catpipe.net [195.249.214.172]) by hub.freebsd.org (Postfix) with ESMTP id F346437B418 for ; Fri, 9 Nov 2001 08:04:32 -0800 (PST) Received: (from voland@localhost) by unlink.catpipe.net (8.11.6/8.11.6) id fA9G4Mg00878; Fri, 9 Nov 2001 17:04:22 +0100 (CET) (envelope-from voland) Message-Id: <200111091604.fA9G4Mg00878@unlink.catpipe.net> Date: Fri, 9 Nov 2001 17:04:22 +0100 (CET) From: Vadim Belman Reply-To: Vadim Belman To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/31877: Perl's Config.pm is broken with respect to system includes. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31877 >Category: bin >Synopsis: Perl's Config.pm is broken with respect to system includes. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 09 08:10:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Vadim Belman >Release: FreeBSD 5.0-CURRENT i386 >Organization: catpipe Systems ApS >Environment: System: FreeBSD ***** 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Mon Nov 5 00:44:24 CET 2001 root@*****:/usr/obj/usr/src/sys/PUPPY i386 >Description: The following line in Perl's Config.pm breaks compilation of multiple p5-ports and independent Perl modules: optimize='-nostdinc -O -pipe -DAPPLLIB_EXP="/usr/libdata/perl/BSDPAN" -I/usr/obj/usr/src/i386/usr/include ' Due to presence of -nostdinc any build of Perl XS fails if /usr/obj directory has been removed prior to compilation as compiler will look for includes in /usr/obj/usr/src/i386/usr/include instead of presumed /usr/include. >How-To-Repeat: Build and install world in order to get Perl updated and BSDPAN installed. # cd /usr/obj && rm -rf * cd /usr/ports/security/p5-Digest-MD5 make And make fails. >Fix: Immidiate workaround would be either removal of -nostdinc or changing the include path with proper one. I.e. one of the following will do: optimize='-O -pipe -DAPPLLIB_EXP="/usr/libdata/perl/BSDPAN" -I/usr/obj/usr/src/i386/usr/include ' optimize='-nostdinc -O -pipe -DAPPLLIB_EXP="/usr/libdata/perl/BSDPAN" -I/usr/include ' No fix for buildworld is known: Perl building is a mess, Anton must know better. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message