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

Bug 922512

Summary: media-gfx/waifu2x-ncnn-vulkan-20220728 - -- Configuring incomplete, errors occurred!
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Ionen Wolkens <ionen>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=922511
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
media-gfx:waifu2x-ncnn-vulkan-20220728:20240119-153426.log
qlist-info.txt.xz

Description Toralf Förster gentoo-dev 2024-01-19 17:03:23 UTC
CMake Error at CMakeLists.txt:84 (message):
  The submodules were not downloaded! Please update submodules with "git
  submodule update --init --recursive" and try again.


-- Configuring incomplete, errors occurred!
 * ERROR: media-gfx/waifu2x-ncnn-vulkan-20220728::gentoo failed (configure phase):
 *   cmake failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20240113-094505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
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.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

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

  HEAD of ::gentoo
commit 43105d6af7ab6220190e3498cec6c8ed36abcab8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jan 19 14:50:10 2024 +0000

    2024-01-19 14:50:09 UTC

emerge -qpvO media-gfx/waifu2x-ncnn-vulkan
[ebuild  N    ] media-gfx/waifu2x-ncnn-vulkan-20220728
Comment 1 Toralf Förster gentoo-dev 2024-01-19 17:03:24 UTC
Created attachment 882651 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-19 17:03:25 UTC
Created attachment 882652 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-01-19 17:03:26 UTC
Created attachment 882653 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-19 17:03:27 UTC
Created attachment 882654 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-19 17:03:28 UTC
Created attachment 882655 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-19 17:03:29 UTC
Created attachment 882656 [details]
media-gfx:waifu2x-ncnn-vulkan-20220728:20240119-153426.log
Comment 7 Toralf Förster gentoo-dev 2024-01-19 17:03:30 UTC
Created attachment 882657 [details]
qlist-info.txt.xz
Comment 8 Larry the Git Cow gentoo-dev 2024-01-19 19:07:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cac8d2fb3113a788016ca1f316d3c424444490a

commit 5cac8d2fb3113a788016ca1f316d3c424444490a
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-01-19 19:02:23 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-01-19 19:07:10 +0000

    media-gfx/waifu2x-ncnn-vulkan: fix build "with" glslang-1.3.275
    
    Do not quite see why this is even looking for glslang libraries
    at all with USE_SYSTEM_NCNN, there is nothing that use it that
    I can see. System ncnn *does* use glslang on the other hand
    (maybe it's trying to check if system ncnn has support? ...but
    then RDEPEND already ensures this).
    
    Meanwhile system ncnn itself (which is more recent) seems to
    be handling current glslang properly.
    
    Let's just yank out the entire block.
    
    That aside, this still looks for glslangValidator, so the
    dependency should instead be BDEPEND.
    
    Closes: https://bugs.gentoo.org/922512
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../waifu2x-ncnn-vulkan-20220728-no-glslang-libs.patch    | 15 +++++++++++++++
 .../waifu2x-ncnn-vulkan-20220728.ebuild                   |  8 +++++---
 2 files changed, 20 insertions(+), 3 deletions(-)