NetBSD Problem Report #53312
From john@hlin.zia.io Thu May 24 22:21:35 2018
Return-Path: <john@hlin.zia.io>
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 759F67A1B6
for <gnats-bugs@gnats.NetBSD.org>; Thu, 24 May 2018 22:21:35 +0000 (UTC)
Message-Id: <201805242221.w4OMLTSR023211@hlin.zia.io>
Date: Thu, 24 May 2018 22:21:29 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: lang/python27 is broken on up to date Ubuntu
X-Send-Pr-Version: 3.95
>Number: 53312
>Category: pkg
>Synopsis: lang/python27 is broken on up to date Ubuntu
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: linux-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 24 22:25:00 +0000 2018
>Closed-Date: Sat Aug 15 09:51:29 +0000 2020
>Last-Modified: Sat Aug 15 09:51:29 +0000 2020
>Originator: John Klos
>Release: Ubuntu 16.04.4 LTS
>Organization:
>Environment:
Linux oscar 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
System:
Architecture: x86_64
Machine: x86_64
>Description:
lang/python27 is broken on up to date Ubuntu:
=> Generating post-install file lists
pkg_create: can't stat
`/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload/Python-2.7.15-py2.7.egg-info'
pkg_create: can't stat
`/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib2to3/Grammar2.7.15.final.0.pickle'
pkg_create: can't stat
`/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib2to3/PatternGrammar2.7.15.final.0.pickle'
=> Checking file-check results for python27-2.7.15
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg:
ERROR:
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib2to3/Grammar2.7.15.final.0.pickle
ERROR:
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib2to3/PatternGrammar2.7.15.final.0.pickle
ERROR:
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload/Python-2.7.15-py2.7.egg-info
ERROR: ************************************************************
ERROR: The following files are in
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg but not in the PLIST:
ERROR:
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib2to3/Grammar2.7.14.final.0.pickle
ERROR:
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib2to3/PatternGrammar2.7.14.final.0.pickle
ERROR:
/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload/Python-2.7.14-py2.7.egg-info
*** Error code 1
Stop.
bmake[1]: stopped in /usr/pkgsrc/lang/python27
*** Error code 1
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->linux-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 24 May 2018 22:45:21 +0000
Responsible-Changed-Why:
Linux pkgsrc problem
State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 24 May 2018 22:45:21 +0000
State-Changed-Why:
This looks weird. Does it go away with 'cvs update; make clean; make'?
From: John Klos <john@ziaspace.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53312 (lang/python27 is broken on up to date Ubuntu)
Date: Thu, 24 May 2018 23:22:19 +0000 (UTC)
> This looks weird. Does it go away with 'cvs update; make clean; make'?
No, unfortunately. I even tried on a completely different amd64 (x86_64)
system, on a ppc64le system, and on an aarch64 system and got the same
three files missing from destdir.
John
State-Changed-From-To: feedback->open
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Fri, 25 May 2018 06:48:05 +0000
State-Changed-Why:
This looks like some internal version number was not bumped.
However, the same files work on other OPSYS, e.g. NetBSD.
From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53312 (lang/python27 is broken on up to date Ubuntu)
Date: Thu, 04 Apr 2019 12:01:40 +0200
JFTR this is very similar to PR pkg/52766
(except for the _cytpes.so, _multiprocessing.so, array.so and mmap.so
missing files - but this is a question for PR pkg/52766!)
(At least the mismatching version is probably still a problem on some
systems and probably extended to other versions of lang/python*.)
State-Changed-From-To: open->feedback
State-Changed-By: leot@NetBSD.org
State-Changed-When: Thu, 04 Apr 2019 20:31:07 +0000
State-Changed-Why:
Dr. Thomas Orgis shared a patch for lang/python37 on tech-pkg@:
https://mail-index.netbsd.org/tech-pkg/2019/04/04/msg021066.html
Can you please apply it and let us know if that fixed the problem?
Thank you!
From: "David H. Gutteridge" <david@gutteridge.ca>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/53312 (lang/python27 is broken on up to date Ubuntu)
Date: Thu, 04 Apr 2019 21:58:19 -0400
> State-Changed-From-To: open->feedback
> State-Changed-By: leot%NetBSD.org@localhost
> State-Changed-When: Thu, 04 Apr 2019 20:31:07 +0000
> State-Changed-Why:
> Dr. Thomas Orgis shared a patch for lang/python37 on tech-pkg@:
>
> https://mail-index.netbsd.org/tech-pkg/2019/04/04/msg021066.html
>
> Can you please apply it and let us know if that fixed the problem?
This fixed the build of Python 2.7 and 3.7 for me on Fedora 29.
Dave
From: John Klos <john@ziaspace.com>
To: gnats-bugs@netbsd.org
Cc: linux-pkg-people@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/53312 (lang/python27 is broken on up to date Ubuntu)
Date: Fri, 5 Apr 2019 18:25:38 +0000 (UTC)
> This fixed the build of Python 2.7 and 3.7 for me on Fedora 29.
I will defer to Dave since I do not have any spun up Ubuntu systems at the
moment.
John Klos
State-Changed-From-To: feedback->analyzed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Fri, 05 Apr 2019 19:11:47 +0000
State-Changed-Why:
Feedback provided, candidate patch shared on tech-pkg@ and
probably in a shape to be committed in the next days if
no further feedbacks/comments will be provided.
State-Changed-From-To: analyzed->closed
State-Changed-By: schmonz@NetBSD.org
State-Changed-When: Sat, 15 Aug 2020 09:51:29 +0000
State-Changed-Why:
Fixed, for all pkgsrc Pythons, with this commit yesterday:
http://mail-index.netbsd.org/pkgsrc-changes/2020/08/14/msg218942.html
Sorry I was unaware of your PR when committing. Thank you for sending it.
If the problem somehow persists, please reopen or otherwise let us know.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.