Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623516 - app-emulation/libguestfs-1.28.5-r2 : * QA: File or directory "/var/tmp/portage/app-emulation/libguestfs-1.28.5-r2/files/1.28/*.patch" does not exist.
Summary: app-emulation/libguestfs-1.28.5-r2 : * QA: File or directory "/var/tmp/porta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-02 09:15 UTC by Toralf Förster
Modified: 2017-07-19 20:10 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.24 KB, text/plain)
2017-07-02 09:15 UTC, Toralf Förster
Details
app-emulation:libguestfs-1.28.5-r2:20170702-090814.log (app-emulation:libguestfs-1.28.5-r2:20170702-090814.log,2.48 KB, text/plain)
2017-07-02 09:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,310.32 KB, text/plain)
2017-07-02 09:16 UTC, Toralf Förster
Details
environment (environment,210.05 KB, text/plain)
2017-07-02 09:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,26.41 KB, application/x-bzip)
2017-07-02 09:16 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,44.36 KB, application/x-bzip)
2017-07-02 09:16 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 2017-07-02 09:15:52 UTC
>>> Source unpacked in /var/tmp/portage/app-emulation/libguestfs-1.28.5-r2/work
>>> Preparing source in /var/tmp/portage/app-emulation/libguestfs-1.28.5-r2/work/libguestfs-1.28.5 ...
 * QA: File or directory "/var/tmp/portage/app-emulation/libguestfs-1.28.5-r2/files/1.28/*.patch" does not exist.
 * QA: Check your PATCHES array or add missing file/directory.
 * ERROR: app-emulation/libguestfs-1.28.5-r2::gentoo failed (prepare phase):
 *   Some patches failed. See above messages.

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
  [2]   ruby22 (with Rubygems)
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.10 [icedtea-bin-7]
*)	IcedTea JDK 3.4.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-7 
  [2]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-07-02 09:15:55 UTC
Created attachment 479854 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-02 09:15:58 UTC
Created attachment 479856 [details]
app-emulation:libguestfs-1.28.5-r2:20170702-090814.log
Comment 3 Toralf Förster gentoo-dev 2017-07-02 09:16:01 UTC
Created attachment 479858 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-07-02 09:16:04 UTC
Created attachment 479860 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-07-02 09:16:07 UTC
Created attachment 479862 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-02 09:16:10 UTC
Created attachment 479864 [details]
temp.tbz2
Comment 7 Andreas Proteus 2017-07-16 10:20:44 UTC
I added the line:

FILESDIR="${PORTDIR}/${CATEGORY}/${PN}/files"

To the ebuild and it compiled as it should.
Comment 8 Ian Stakenvicius (RETIRED) gentoo-dev 2017-07-19 20:10:11 UTC
FILESDIR is iirc not available in global scope, which is why this fails.

Simple fix is to bump EAPI to 6 and then just specify the directory to eapply.



commit c9fd0749b402a36a08bded3c613cb6f2fa992ab0 (HEAD -> master)
Author: Ian Stakenvicius <axs@gentoo.org>
Date:   Wed Jul 19 16:08:42 2017 -0400

    app-emulation/libguestfs: bump to EAPI6
    
    The EAPI bump also happens to address the globbing of patches that caused
    bug 623516
    
    Bug: http://bugs.gentoo.org/623516
    
    Package-Manager: Portage-2.3.6, Repoman-2.3.1