Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Insufficient facts always invite danger. -- Spock, "Space Seed", stardate 3141.9


devel / comp.lang.python / Question about building Python-3.9.12 on OpenBSD 7.1

SubjectAuthor
o Question about building Python-3.9.12 on OpenBSD 7.1Tim Brazil

1
Question about building Python-3.9.12 on OpenBSD 7.1

<mailman.529.1654217159.20749.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=18443&group=comp.lang.python#18443

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: timbra...@sbcglobal.net (Tim Brazil)
Newsgroups: comp.lang.python
Subject: Question about building Python-3.9.12 on OpenBSD 7.1
Date: Thu, 2 Jun 2022 17:44:35 -0700
Lines: 54
Message-ID: <mailman.529.1654217159.20749.python-list@python.org>
References: <68e168ec-f2e6-754e-701a-f5b6a60ffb3f@sbcglobal.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de +y2zcnUs/Q9e0ak2xTsMKgY/OqRhyv0wWAHQpJmY7Dbw==
Return-Path: <timbrazil@sbcglobal.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.003
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'traceback': 0.04; '(most':
0.05; 'last):': 0.05; 'ports': 0.09; 'regex': 0.09; 'reporting':
0.09; 'skip:[ 20': 0.09; 'skip:_ 20': 0.09; 'subject:Python':
0.12; 'log': 0.12; 'received:173': 0.13; '***': 0.16; '7.1': 0.16;
'picking': 0.16; 'pointers': 0.16; 'researching': 0.16; 'skip:"
60': 0.16; 'skip:. 80': 0.16; 'url-ip:96/8': 0.16; 'url:cgi':
0.16; 'problem': 0.16; 'bug': 0.19; 'subject:Question': 0.19;
'to:addr:python-list': 0.20; 'skip:_ 10': 0.22; 'version': 0.23;
'skip:p 30': 0.23; 'seems': 0.26; 'port': 0.26; 'suspect': 0.26;
'tim': 0.26; 'url:bugs': 0.28; 'error': 0.29; 'header:User-
Agent:1': 0.30; 'seem': 0.31; 'skip:_ 40': 0.31; 'module': 0.31;
"doesn't": 0.32; "skip:' 40": 0.32; 'received:192.168.1': 0.32;
'but': 0.32; 'package': 0.34; 'trying': 0.35; 'following': 0.35;
"skip:' 10": 0.37; "it's": 0.37; 'class': 0.37;
'received:192.168': 0.37; 'file': 0.38; 'thanks': 0.38; 'sending':
0.39; 'exact': 0.40; 'should': 0.40; 'to:': 0.62; 'skip:m 20':
0.63; 'full': 0.64; 'similar': 0.65; 'named': 0.65; 'fixing':
0.69; 'relate': 0.69; 'breaking': 0.78; 'out.': 0.80; 'kindly':
0.80; 'discovered': 0.80; 'figuring': 0.84; 'skip:" 50': 0.84;
'thing?': 0.84
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0)
Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.12
X-Mailman-Approved-At: Thu, 02 Jun 2022 20:45:58 -0400
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <68e168ec-f2e6-754e-701a-f5b6a60ffb3f@sbcglobal.net>
 by: Tim Brazil - Fri, 3 Jun 2022 00:44 UTC

Hello

I hope I am not breaking protocol sending this message to the list.
This is my first posting to python-list.

I am trying to build Python-3.9.12 from the ports distribution on
on a new OpenBSD 7.1 installation.
It is failing with the following error.

Traceback (most recent call last):
  File "/usr/obj/ports/Python-3.9.12/Python-3.9.12/./setup.py", line
2509, in <module>
    class PyBuildInstallLib(install_lib):
  File "/usr/obj/ports/Python-3.9.12/Python-3.9.12/./setup.py", line
2516, in PyBuildInstallLib
    shlib_suffix = sysconfig.get_config_var("SHLIB_SUFFIX")
  File "/usr/obj/ports/Python-3.9.12/Python-3.9.12/Lib/sysconfig.py",
line 616, in get_config_var
    return get_config_vars().get(name)
  File "/usr/obj/ports/Python-3.9.12/Python-3.9.12/Lib/sysconfig.py",
line 565, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/obj/ports/Python-3.9.12/Python-3.9.12/Lib/sysconfig.py",
line 430, in _init_posix
    _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named
'_sysconfigdata__openbsd7_amd64-unknown-openbsd7'
*** Error 1 in /usr/obj/ports/Python-3.9.12/Python-3.9.12 (Makefile:649
'sharedmods': @case "`echo X $MAKEFLAGS | sed 's/^X //;s/ -- .*//'`"...)

In researching this on the internet I discovered a similar reporting on
FreeBSD that seems to relate to regex and MULTIARZCH in the FreeBSD
Makefile but it doesn't seem to apply to the port of my
Makefile/environment.

This is the report I am referring to:

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259896

My exact problem is...

I do not have z _sysconfigdata__openbsd7_amd64-unknown-openbsd7 module
but I do have a _sysconfigdata__openbsd7_amd64-unknown-openbsd7.1.py module
under:

../build/lib.openbsd-7.1-amd64-3.9/_sysconfigdata__openbsd7_amd64-unknown-openbsd7.1.py

I suspect somewhere, it's not picking up the full 7.1 version string.
I am having a problem figuring it out. I kindly ask if you have any
pointers on fixing
it. Should I log a bug or is it a OpenBSD package thing?

Thanks in Advance
Tim

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor