NetBSD Problem Report #53868
From www@NetBSD.org Tue Jan 15 10:55:22 2019
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 C46017A158
for <gnats-bugs@gnats.NetBSD.org>; Tue, 15 Jan 2019 10:55:21 +0000 (UTC)
Message-Id: <20190115105520.BAAE77A1F8@mollari.NetBSD.org>
Date: Tue, 15 Jan 2019 10:55:20 +0000 (UTC)
From: carsten@strotmann.de
Reply-To: carsten@strotmann.de
To: gnats-bugs@NetBSD.org
Subject: lang/python27: python 2.7.15nb1 fails to compile on Slackware Linux (possible other Linux)
X-Send-Pr-Version: www-1.0
>Number: 53868
>Category: pkg
>Synopsis: lang/python27: python 2.7.15nb1 fails to compile on Slackware Linux (possible other Linux)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 15 11:00:00 +0000 2019
>Originator: Carsten Strotmann
>Release: pkgsrc-2018Q4 (branch: 1.11.4)
>Organization:
>Environment:
Linux csmobile 4.4.157-smp #2 SMP Fri Sep 21 02:37:23 CDT 2018 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
>Description:
building lang/python27 fails with error
ImportError: No module named _sysconfigdata
(similar error as in https://mail-index.netbsd.org/pkgsrc-bugs/2013/07/19/msg052039.html)
previous version of python installed during compile time was
python27-2.7.3nb2
once python-2.7.15nb1 had been installed, the issue went away
>How-To-Repeat:
enter /usr/pkgsrc/lang/python24 and issue "bmake" while python27-2.7.3nb2 is still installed
>Fix:
I found this problem report
https://trac.sagemath.org/ticket/24605
and the solution suggested there worked
bmake LDFLAGS="-L. $LDFLAGS" replace clean
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.