Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715870

Summary: dev-python/pypy3-7.3.0 : /.../environment:line <snip>: ./pypy3-c: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED OBSOLETE    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-python:pypy3-7.3.0:20200402-031252.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-02 07:27:18 UTC
>>> Compiling source in /var/tmp/portage/dev-python/pypy3-7.3.0/work/pypy3.6-v7.3.0-src ...
 * Generating caches and CFFI modules ...
/var/tmp/portage/dev-python/pypy3-7.3.0/temp/environment: line 2172: ./pypy3-c: No such file or directory
 * ERROR: dev-python/pypy3-7.3.0::gentoo failed (compile phase):
 *   Generation of Grammar and PatternGrammar pickles failed
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200328-141627

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr  2 02:37:47 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO dev-python/pypy3
[ebuild  N    ] dev-python/pypy3-7.3.0  USE="bzip2 jit ncurses -gdbm -libressl -sqlite -test -tk"
Comment 1 Toralf Förster gentoo-dev 2020-04-02 07:27:22 UTC
Created attachment 628866 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-02 07:27:26 UTC
Created attachment 628868 [details]
dev-python:pypy3-7.3.0:20200402-031252.log
Comment 3 Toralf Förster gentoo-dev 2020-04-02 07:27:32 UTC
Created attachment 628870 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-02 07:27:36 UTC
Created attachment 628872 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-02 07:27:39 UTC
Created attachment 628874 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-02 07:27:43 UTC
Created attachment 628876 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-02 07:27:46 UTC
Created attachment 628878 [details]
temp.tbz2
Comment 8 Oleh 2021-01-10 07:00:11 UTC
the problem is:
you will need to bootstrap pypy locally. it is not clear from the log, but it is likely that pypy-exe-bin ( or pypy3-exe-bin ) is used for pypy3 bootstrap
*-exe-bin packages are precompiled on glibc box and will not work on musl.
Other possibility is to make musl-based *-exe-bin, however this is now stuck due to:
https://bugs.gentoo.org/show_bug.cgi?id=721656