NetBSD Problem Report #49048

From www@NetBSD.org  Mon Jul 28 20:07:28 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(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 2BBE2A803D
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 28 Jul 2014 20:07:28 +0000 (UTC)
Message-Id: <20140728200726.506F6A8044@mollari.NetBSD.org>
Date: Mon, 28 Jul 2014 20:07:26 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: shells/ast-ksh build fails on netbsd-5/i386
X-Send-Pr-Version: www-1.0

>Number:         49048
>Category:       pkg
>Synopsis:       shells/ast-ksh build fails on netbsd-5/i386
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 28 20:10:00 +0000 2014
>Closed-Date:    Sat Dec 19 00:29:42 +0000 2015
>Last-Modified:  Sat Dec 19 00:29:42 +0000 2015
>Originator:     John D. Baker
>Release:        NetBSD/i386-5.2_STABLE, pkgsrc-2014Q2
>Organization:
>Environment:
NetBSD verthandi.technoskunk.fur 5.2_STABLE NetBSD 5.2_STABLE (VERTHANDI) #18: Tue Jul 15 08:12:12 CDT 2014  sysop@verthandi.technoskunk.fur:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/VERTHANDI i386

>Description:
Attempting to build "shells/ast-ksh" (dependency of wip/cde) fails on
netbsd-5/i386 as follows:

[...]
+ cc -O2 -L. -L/d0/build/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib -o suid_exec suid_exec.o /d0/build/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/libast.a /d0/build/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/libast.a
/d0/build/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/libast.a(fs3d.o): In function `fs3d_mount':
fs3d.c:(.text+0x20): warning: warning: reference to compatibility mount(); include <sys/mount.h> to generate correct reference
/d0/build/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/libast.a(aso.o): In function `asocas16':
aso.c:(.text+0x400): undefined reference to `atomic_cas_16'
/d0/build/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/libast.a(aso.o): In function `asocas8':
aso.c:(.text+0x4c5): undefined reference to `atomic_cas_8'
/d0/build/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/libast.a(aso.o): In function `asodec16':
aso.c:(.text+0x77b): undefined reference to `atomic_add_16_nv'
/d0/build/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/libast.a(aso.o): In function `asoinc16':
aso.c:(.text+0x7eb): undefined reference to `atomic_add_16_nv'
/d0/build/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/libast.a(aso.o): In function `asodec8':
aso.c:(.text+0x85f): undefined reference to `atomic_add_8_nv'
/d0/build/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/libast.a(aso.o): In function `asoinc8':
aso.c:(.text+0x8d3): undefined reference to `atomic_add_8_nv'
mamake [cmd/ksh93]: *** exit code 1 making suid_exec
[...]

It doesn't actually fail until the installation phase is attempted:

[...]
=> Unwrapping files-to-be-installed.
===> Installing for ast-ksh-20120801
WARNING: Your umask is ``0002''.
WARNING: If this is not desired, set it to an appropriate value (0022) and install
WARNING: this package again by ``/usr/bin/make deinstall reinstall''.
=> Creating installation directories
install: /d0/build/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/bin/ksh: stat: No such file or directory
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/shells/ast-ksh

>How-To-Repeat:
Attempt to build "shells/ast-ksh" from pkgsrc-2014Q2 on netbsd-5/i386.
>Fix:

>Release-Note:

>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49048 (shells/ast-ksh build fails on netbsd-5/i386)
Date: Fri, 18 Dec 2015 16:37:13 -0600 (CST)

 As netbsd-5 is EOL, this PR is no-longer relevant and may be closed.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 19 Dec 2015 00:29:42 +0000
State-Changed-Why:
NetBSD 5 is EOL. Thanks for the update!


>Unformatted:

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.