Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682972 - dev-python/msgpack-0.6.1 : rm: cannot remove msgpack/_packer.cpp : No such file or directory
Summary: dev-python/msgpack-0.6.1 : rm: cannot remove msgpack/_packer.cpp : No such fi...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 682936 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-09 19:20 UTC by Toralf Förster
Modified: 2019-04-11 20:40 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.53 KB, text/plain)
2019-04-09 19:20 UTC, Toralf Förster
Details
dev-python:msgpack-0.6.1:20190409-125834.log (dev-python:msgpack-0.6.1:20190409-125834.log,1.75 KB, text/plain)
2019-04-09 19:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,210.74 KB, text/plain)
2019-04-09 19:21 UTC, Toralf Förster
Details
environment (environment,109.45 KB, text/plain)
2019-04-09 19:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.56 KB, application/x-bzip)
2019-04-09 19:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.95 KB, application/x-bzip)
2019-04-09 19:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-04-09 19:20:52 UTC
>>> Source unpacked in /var/tmp/portage/dev-python/msgpack-0.6.1/work
>>> Preparing source in /var/tmp/portage/dev-python/msgpack-0.6.1/work/msgpack-0.6.1 ...
rm: cannot remove 'msgpack/_packer.cpp': No such file or directory
rm: cannot remove 'msgpack/_unpacker.cpp': No such file or directory
 * ERROR: dev-python/msgpack-0.6.1::gentoo failed (prepare phase):
 *   (no error message)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_libressl_20190403-233926

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems)
Available Rust versions:
  [1]   rust-1.33.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.10.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO dev-python/msgpack
[ebuild  N    ] dev-python/msgpack-0.6.1  USE="native-extensions -test" PYTHON_TARGETS="python2_7 python3_6 -pypy -python3_5 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2019-04-09 19:20:55 UTC
Created attachment 572324 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-09 19:20:58 UTC
Created attachment 572326 [details]
dev-python:msgpack-0.6.1:20190409-125834.log
Comment 3 Toralf Förster gentoo-dev 2019-04-09 19:21:01 UTC
Created attachment 572328 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-04-09 19:21:04 UTC
Created attachment 572330 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-04-09 19:21:07 UTC
Created attachment 572332 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-09 19:21:10 UTC
Created attachment 572334 [details]
temp.tbz2
Comment 7 Helmut Jarausch 2019-04-10 09:26:38 UTC
The following patch seems to fix it:

--- /usr/portage/dev-python/msgpack/msgpack-0.6.1.ebuild
+++ /usr/local/portage/dev-python/msgpack/msgpack-0.6.1.ebuild
@@ -30,7 +30,6 @@
 
 python_prepare_all() {
 	# Remove pre-generated cython files
-	rm msgpack/{_packer,_unpacker,_cmsgpack}.pyx || die
 
 	if ! use native-extensions ; then
 		sed -i -e "/have_cython/s:True:False:" ./setup.py || die
Comment 8 Attila Tóth 2019-04-10 09:45:35 UTC
--- /usr/portage/dev-python/msgpack/msgpack-0.6.1.ebuild        2019-04-09 09:39:40.000000000 +0200
+++ /usr/local/portage/dev-python/msgpack/msgpack-0.6.1-r1.ebuild       2019-04-10 11:40:03.794472591 +0200
@@ -30,7 +30,7 @@ DEPEND="

 python_prepare_all() {
        # Remove pre-generated cython files
-       rm msgpack/{_packer,_unpacker}.cpp || die
+       rm msgpack/_cmsgpack.cpp || die

        if ! use native-extensions ; then
                sed -i -e "/have_cython/s:True:False:" ./setup.py || die
Comment 9 Alexey Shvetsov archtester gentoo-dev 2019-04-10 12:12:32 UTC
*** Bug 682936 has been marked as a duplicate of this bug. ***
Comment 10 Maxim Koltsov (RETIRED) gentoo-dev 2019-04-11 20:40:59 UTC
This seems to have been already fixed:

https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-python/msgpack?id=162b0e220dacce6d76c7db581bae715f02b94851