NetBSD Problem Report #56069

From dholland@netbsd.org  Tue Mar 23 17:03:29 2021
Return-Path: <dholland@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8C9D81A9217
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 23 Mar 2021 17:03:29 +0000 (UTC)
Message-Id: <20210323170328.E629484D66@mail.netbsd.org>
Date: Tue, 23 Mar 2021 17:03:28 +0000 (UTC)
From: dholland@NetBSD.org
Reply-To: dholland@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: games/pysolfc doesn't work with python38
X-Send-Pr-Version: 3.95

>Number:         56069
>Category:       pkg
>Synopsis:       games/pysolfc doesn't work with python38
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 23 17:05:00 +0000 2021
>Last-Modified:  Mon Mar 29 07:40:01 +0000 2021
>Originator:     David A. Holland
>Release:        NetBSD 9.99.49 (pkgsc 20210323)
>Organization:
>Environment:
System: NetBSD valkyrie 9.99.49 NetBSD 9.99.49 (VALKYRIE) #0: Fri Oct  2 15:00:22 EDT 2020  dholland@valkyrie:/y/objects/usrobj-amd64/sys/arch/amd64/compile/VALKYRIE amd64
Architecture: x86_64
Machine: amd64
>Description:

pysolfc doesn't start when built against python38, as follows. It
works with python37.

% pysol.py 
Traceback (most recent call last):
  File "/usr/pkg/bin/pysol.py", line 36, in <module>
    from pysollib.main import main  # noqa: E402,I202
  File "/usr/pkg/lib/python3.8/site-packages/pysollib/main.py", line 30, in <module>
    from pysollib.app import Application
  File "/usr/pkg/lib/python3.8/site-packages/pysollib/app.py", line 31, in <module>
    from pysollib.gamedb import GAME_DB, GI, loadGame
  File "/usr/pkg/lib/python3.8/site-packages/pysollib/gamedb.py", line 28, in <module>
    from pysollib.mfxutil import Struct, print_err
  File "/usr/pkg/lib/python3.8/site-packages/pysollib/mfxutil.py", line 146, in <module>
    uclock = time.clock
AttributeError: module 'time' has no attribute 'clock'

>How-To-Repeat:

	as above.

>Fix:

dunno

>Audit-Trail:
From: "Nia Alarie" <nia@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56069 CVS commit: pkgsrc/games/pysolfc
Date: Mon, 29 Mar 2021 07:38:52 +0000

 Module Name:	pkgsrc
 Committed By:	nia
 Date:		Mon Mar 29 07:38:52 UTC 2021

 Modified Files:
 	pkgsrc/games/pysolfc: Makefile

 Log Message:
 pysolfc: force use of python 3.7

 workaround until PR pkg/56069 can be fixed properly


 To generate a diff of this commit:
 cvs rdiff -u -r1.33 -r1.34 pkgsrc/games/pysolfc/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.