Path: csiph.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Stuart Prescott Newsgroups: linux.debian.maint.python Subject: Re: change in the extention importation with 3.11 Date: Tue, 06 Dec 2022 16:00:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Dec 6 14:52:06 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.753 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .nanonanonano. - helo: .mail-pg1-f175.google. - helo-domain: .google.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -3.5 X-Gm-Message-State: ANoB5pntp+H9TAe9uaAacTxKqLvIGHxO757BBPIbo7X6kDbnu0BWb+GY l9ac4ADnILvlF8YpdHMdQETlvVr+xCwVGxux X-Google-SMTP-Source: AA0mqf4IMqZ4KPODKNhvepFwzq7ERjk7r5/7GWZHiLDZZACroX8ARl94weK692XVvf6XmgzxI+jmIQ== X-Received: by 2002:a62:3245:0:b0:575:4413:308a with SMTP id y66-20020a623245000000b005754413308amr40863837pfy.32.1670338295288; Tue, 06 Dec 2022 06:51:35 -0800 (PST) MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/20557 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1ccaec39-f23f-7a0d-d1ac-0e663ca63b8f@debian.org Approved: robomod@news.nic.it Lines: 44 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 7 Dec 2022 01:51:31 +1100 X-Original-Message-ID: <1ccaec39-f23f-7a0d-d1ac-0e663ca63b8f@debian.org> X-Original-References: <8f2c43987f5976b5749eb545a86ba0e7@debian.org> Xref: csiph.com linux.debian.maint.python:14695 Hi! On 07/12/2022 00:47, picca wrote: > Hello, I am trying to fix this bug > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024859 > > I find the error message not very informative... > > :~/$ python3.11 > Python 3.11.0+ (main, Nov 4 2022, 09:23:33) [GCC 12.2.0] on linux > Type "help", "copyright", "credits" or "license" for more information. >>>> import scitbx_linalg_ext > Traceback (most recent call last): > File "", line 1, in > SystemError: initialization of scitbx_linalg_ext raised unreported > exception >>>> > > I would like your opinion and some help in order to fix this or at least > understand what is going on. > > ther extension was build with boost_python, maybe something is wrong > also with boost_python and Python3.11. > > I do not know if other packages using boost_python are affected like > this. I briefly looked at #1023909 (python-pgmagick FTBFS with Python 3.11 as supported version) and found the same error. I spent some time trying to step through loading the extension with gdb and found that the failure is somewhere in amongst some boost macros associated with initialising the extension. I didn't actually manage to isolate the issue, however. Is there a wider problem with boost python that needs addressing perhaps? regards Stuart -- Stuart Prescott http://www.nanonanonano.net/ stuart@nanonanonano.net Debian Developer http://www.debian.org/ stuart@debian.org GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7