pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53868: lang/python27: python 2.7.15nb1 fails to compile on Slackware Linux (possible other Linux)



>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


Home | Main Index | Thread Index | Old Index