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

Bug 917018

Summary: dev-python/pdfrw-0.4_p1-r1 - patch -p1 failed with /var/tmp/portage/dev-python/pdfrw-0.4_p1-r1/files/pdfrw-static-fix-import-collections-warning.patch
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, parona
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/33720
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-python:pdfrw-0.4_p1-r1:20231107-222633.log
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-11-07 22:34:06 UTC
|+++ b/tests/static_pdfs/__main__.py
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
 [ !! ]
 * ERROR: dev-python/pdfrw-0.4_p1-r1::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/dev-python/pdfrw-0.4_p1-r1/files/pdfrw-static-fix-import-collections-warning.patch
 * 
 * Call stack:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20231031-044510

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.4
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0
  [2]   rust-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.3 linux/amd64

  HEAD of ::gentoo
commit cbc6d65e3c98a6ab4644b3bd14d6d3c34981e6a2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 7 21:46:59 2023 +0000

    2023-11-07 21:46:59 UTC

emerge -qpvO dev-python/pdfrw
[ebuild  N    ] dev-python/pdfrw-0.4_p1-r1  USE="crypt -test" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-11-07 22:34:07 UTC
Created attachment 874291 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-07 22:34:08 UTC
Created attachment 874292 [details]
dev-python:pdfrw-0.4_p1-r1:20231107-222633.log
Comment 3 Toralf Förster gentoo-dev 2023-11-07 22:34:09 UTC
Created attachment 874293 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-11-07 22:34:10 UTC
Created attachment 874294 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-07 22:34:11 UTC
Created attachment 874295 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-07 22:34:12 UTC
Created attachment 874296 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-07 22:34:13 UTC
Created attachment 874297 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-07 22:34:15 UTC
Created attachment 874298 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-11-07 22:34:16 UTC
Created attachment 874299 [details]
temp.tar.xz
Comment 10 Alfred Wingate 2023-11-08 01:47:48 UTC
"use test &&" dropped in the new revision

https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-python/pdfrw?id=f214406f165628a2872f41d7ade9f227aea12971
Comment 11 Larry the Git Cow gentoo-dev 2023-11-08 01:50:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899f79374d6b1b030b8153e56ab416ddd5220fa3

commit 899f79374d6b1b030b8153e56ab416ddd5220fa3
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-11-08 01:45:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-08 01:49:42 +0000

    dev-python/pdfrw: apply test patch only if tests are included
    
    Closes: https://bugs.gentoo.org/917018
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/33720
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pdfrw/pdfrw-0.4_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)