NetBSD Problem Report #56069

From  Tue Mar 23 17:03:29 2021
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 8C9D81A9217
	for <>; Tue, 23 Mar 2021 17:03:29 +0000 (UTC)
Message-Id: <>
Date: Tue, 23 Mar 2021 17:03:28 +0000 (UTC)
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)
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

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

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


	as above.



From: "Nia Alarie" <>
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:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.