NetBSD Problem Report #50510

From www@NetBSD.org  Thu Dec 10 19:18:51 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E1A5FA6662
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 10 Dec 2015 19:18:51 +0000 (UTC)
Message-Id: <20151210191850.A9B2EA667A@mollari.NetBSD.org>
Date: Thu, 10 Dec 2015 19:18:50 +0000 (UTC)
From: jba@sdf.lonestar.org
Reply-To: jba@sdf.lonestar.org
To: gnats-bugs@NetBSD.org
Subject: pkgsrc (current) bootstrap failing on Tru64
X-Send-Pr-Version: www-1.0

>Number:         50510
>Category:       pkg
>Synopsis:       pkgsrc (current) bootstrap failing on Tru64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 10 19:20:00 +0000 2015
>Originator:     Jeff Armstrong
>Release:        pkgsrc (current) 7 Dec 2015
>Organization:
>Environment:
OSF1 [hostname] V5.1 2650 alpha
>Description:
Running bootstrap using the prebuilt GCC Alpha binaries (from ftp://ftp.NetBSD.org/pub/pkgsrc/misc/tnn/) leads to an odd failure upon running bootstrap.  Following the included README.OSF1, I run the command:

# env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap --compiler gcc

After doing some work, I eventually end up with:


...
You can now run

        sh ./make-bootstrap.sh

to produce a fully functional bmake.

===> running: (cd /usr/pkg/pkgsrc/bootstrap/work/bmake && /sbin/sh make-bootstrap.sh)
/usr/local/gcc4/bin/gcc -c -O2 -I. -I/usr/pkg/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/usr/pkg/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023 -DMAKE_VERSION="20150505" -DMACHINE="alpha" -DMACHINE_ARCH="alpha" -D_PATH_DEFSYSPATH="/usr/pkg/pkgsrc/bootstrap/work/share/mk" -o main.o /usr/pkg/pkgsrc/bootstrap/work/bmake/main.c
inst emulated pid=4045 <cc1> va=0x14009ebc1 pc=0x1204d14fc inst=0x28410000
/usr/local/gcc4/bin/gcc -c -O2 -I. -I/usr/pkg/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/usr/pkg/pkgsrc/bootstrap/work/bmake/missing -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1023  -o arch.o /usr/pkg/pkgsrc/bootstrap/work/bmake/arch.c
gcc: : No such file or directory
inst emulated pid=4052 <cc1> va=0x14009ebc1 pc=0x1204d14fc inst=0x28410000
===> exited with status 1
aborted.
# 

>How-To-Repeat:
On Tru64, enter the pkgsrc bootstrap directory and run:

env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap --compiler gcc

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.