[Bug 243669] lang/python37 : Fails to upgrade 'python37-3.7.5_1' to 'python37-3.7.6' on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: Grammar3.7.6.final.0.pickle:No such file or directory

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243669

            Bug ID: 243669
           Summary: lang/python37 : Fails to upgrade 'python37-3.7.5_1' to
                    'python37-3.7.6' on FreeBSD 12.1-RELEASE-p1 powerpc 32
                    bit: Grammar3.7.6.final.0.pickle:No such file or
                    directory
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
                CC: [email protected]

Problem found with lang/python37 when Upgrading Upgrading 'python37-3.7.5_1' to
'python37-3.7.6' on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit, running on Apple
Powerbook 17".


# portupgrade -R --batch python37
[Reading data from pkg(8) ... - 1209 packages found - done]
[Gathering depends for lang/python37 .................. done]
[Exclude up-to-date packages ......... done]
--->  Upgrading 'python37-3.7.5_1' to 'python37-3.7.6' (lang/python37)
--->  Building '/usr/ports/lang/python37'
===>  Cleaning for python37-3.7.6
===>  License PSFL accepted by the user
===>   python37-3.7.6 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by python37-3.7.6 for building
===>  Extracting for python37-3.7.6
=> SHA256 Checksum OK for python/Python-3.7.6.tar.xz.
===>  Patching for python37-3.7.6
===>  Applying FreeBSD patches for python37-3.7.6
===>   python37-3.7.6 depends on file: /usr/local/lib/libncurses.so.6 - found
===>   python37-3.7.6 depends on package: pkgconf>=1.3.0_1 - found
===>   python37-3.7.6 depends on executable: msgfmt - found
===>   python37-3.7.6 depends on shared library: libffi.so - found
(/usr/local/lib/libffi.so)
===>   python37-3.7.6 depends on shared library: libreadline.so.8 - found
(/usr/local/lib/libreadline.so.8)
===>   python37-3.7.6 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===>  Configuring for python37-3.7.6
configure: loading site script /usr/ports/Templates/config.site
checking build system type... powerpc-portbld-freebsd12.1
.....
.....
.....
PYTHONPATH=/usr/ports/lang/python37/work/stage/usr/local/lib/python3.7
LD_LIBRARY_PATH=/usr/ports/lang/python37/work/Python-3.7.6  ./python -E -m
lib2to3.pgen2.driver
/usr/ports/lang/python37/work/stage/usr/local/lib/python3.7/lib2to3/Grammar.txt
Generating grammar tables from
/usr/ports/lang/python37/work/stage/usr/local/lib/python3.7/lib2to3/Grammar.txt
Writing grammar tables to
/usr/ports/lang/python37/work/stage/usr/local/lib/python3.7/lib2to3/Grammar3.7.5.final.0.pickle
PYTHONPATH=/usr/ports/lang/python37/work/stage/usr/local/lib/python3.7
LD_LIBRARY_PATH=/usr/ports/lang/python37/work/Python-3.7.6  ./python -E -m
lib2to3.pgen2.driver
/usr/ports/lang/python37/work/stage/usr/local/lib/python3.7/lib2to3/PatternGrammar.txt
Generating grammar tables from
/usr/ports/lang/python37/work/stage/usr/local/lib/python3.7/lib2to3/PatternGrammar.txt
Writing grammar tables to
/usr/ports/lang/python37/work/stage/usr/local/lib/python3.7/lib2to3/PatternGrammar3.7.5.final.0.pickle
Creating directory /usr/local/include/python3.7m
.....
.....
.....
--->  Deinstalling 'python37-3.7.5_1'
--->  Preserving /usr/local/lib/libpython3.7m.so.1.0 as
/usr/local/lib/compat/pkg/libpython3.7m.so.1.0
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages
in the universe):

Installed packages to be REMOVED:
        python37-3.7.5_1

Number of packages to be removed: 1

The operation will free 108 MiB.
[1/1] Deinstalling python37-3.7.5_1...
[1/1] Deleting files for python37-3.7.5_1: 100%
[Reading data from pkg(8) ... - 1208 packages found - done]
--->  Installing the new version via the port
===>  Deinstalling for python37
===>   python37 not installed, skipping
===>  Installing for python37-3.7.6
===>  Checking if python37 is already installed
===>   Registering installation for python37-3.7.6 as automatic
pkg-static: Unable to access file
/usr/ports/lang/python37/work/stage/usr/local/lib/python3.7/lib2to3/Grammar3.7.6.final.0.pickle:No
such file or directory
pkg-static: Unable to access file
/usr/ports/lang/python37/work/stage/usr/local/lib/python3.7/lib2to3/PatternGrammar3.7.6.final.0.pickle:No
such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/lang/python37
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/python37
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20200128-37053-66udaa env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=python37-3.7.5_1 UPGRADE_PORT_VER=3.7.5_1 make BATCH=yes
-DINSTALLS_DEPENDS reinstall
--->  Restoring the old version
Installing python37-3.7.5_1...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.