NetBSD Problem Report #37472
From jmcneill@black.invisible.ca Tue Dec 4 02:53:35 2007
Return-Path: <jmcneill@black.invisible.ca>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 5A98A63B867
for <gnats-bugs@gnats.NetBSD.org>; Tue, 4 Dec 2007 02:53:35 +0000 (UTC)
Message-Id: <20071204025335.E54597D8A8F@black.invisible.ca>
Date: Mon, 3 Dec 2007 21:53:35 -0500 (EST)
From: jmcneill@invisible.ca
Reply-To: jmcneill@invisible.ca
To: gnats-bugs@NetBSD.org
Subject: emulators/snes9x fails to build on non-i386
X-Send-Pr-Version: 3.95
>Number: 37472
>Category: pkg
>Synopsis: emulators/snes9x fails to build on non-i386
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 04 02:55:00 +0000 2007
>Closed-Date: Thu Jan 14 12:15:59 +0000 2021
>Last-Modified: Thu Jan 14 12:15:59 +0000 2021
>Originator: Jared D. McNeill
>Release: NetBSD 4.99.39
>Organization:
>Environment:
System: NetBSD black.invisible.ca 4.99.39 NetBSD 4.99.39 (GENERIC) #79: Mon Dec 3 18:58:20 EST 2007 jmcneill@black.invisible.ca:/export/home/jmcneill/branches/jmcneill-pm/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Trying to build emulators/snes9x on amd64:
$ sudo make install
=> Bootstrap dependency digest>=20010302: found digest-20070803
ERROR: This package has set PKG_FAIL_REASON:
ERROR: [bsd.options.mk] The package has no options, but includes this file.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/emulators/snes9x
It appears that PKG_OPTIONS_VAR and bsd.options.mk are unconditionally
used, but PKG_SUPPORTED_OPTIONS is only set if MACHINE_ARCH == i386.
>How-To-Repeat:
Attempt to build emulators/snes9x on something other than i386.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Tue, 04 Dec 2007 11:49:23 +0000
Responsible-Changed-Why:
Fix should be commited.
I've commited the fix.
State-Changed-From-To: open->feedback
State-Changed-By: obache@netbsd.org
State-Changed-When: Tue, 04 Dec 2007 11:49:23 +0000
State-Changed-Why:
Fix should be commited.
Is your problem fixed on your environment?
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/37472 CVS commit: pkgsrc/emulators/snes9x
Date: Tue, 4 Dec 2007 11:38:56 +0000 (UTC)
Module Name: pkgsrc
Committed By: obache
Date: Tue Dec 4 11:38:56 UTC 2007
Modified Files:
pkgsrc/emulators/snes9x: Makefile
Log Message:
Need PKG_SUPPORTED_OPTIONS definition before include "bsd.options.mk".
Noticed by Jared D. McNeill in PR 37472.
To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 pkgsrc/emulators/snes9x/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: obache@NetBSD.org, pkg-manager@netbsd.org,
pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, obache@netbsd.org
Subject: Re: pkg/37472 (emulators/snes9x fails to build on non-i386)
Date: Tue, 4 Dec 2007 08:01:10 -0500 (EST)
On Tue, 4 Dec 2007, obache@netbsd.org wrote:
> State-Changed-From-To: open->feedback
> State-Changed-By: obache@netbsd.org
> State-Changed-When: Tue, 04 Dec 2007 11:49:23 +0000
> State-Changed-Why:
> Fix should be commited.
> Is your problem fixed on your environment?
The original problem is fixed, but it fails during the actual build stage,
lots of:
/usr/pkgsrc/emulators/snes9x/work/snes9x-1.43-src/snes9x/offsets.cpp:418:
error: cast from 'uint16*' to 'int' loses precision
Cheers,
Jared
Responsible-Changed-From-To: obache->pkg-manager
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Tue, 04 Dec 2007 13:42:58 +0000
Responsible-Changed-Why:
I can't handle anymore.
State-Changed-From-To: feedback->open
State-Changed-By: obache@netbsd.org
State-Changed-When: Tue, 04 Dec 2007 13:42:58 +0000
State-Changed-Why:
Build failed on amd64.
Probably updateing to 1.51 fixes this problem.
In 1.5 release news, "Ported Snes9x to AMD64".
State-Changed-From-To: open->closed
State-Changed-By: nia@NetBSD.org
State-Changed-When: Thu, 14 Jan 2021 12:15:59 +0000
State-Changed-Why:
definitely fixed by now - it even works on aarch64 ;)
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.