Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704742 - media-gfx/gmic-2.8.1: QA Notice: Pre-stripped files found: /usr/bin/gmic_qt
Summary: media-gfx/gmic-2.8.1: QA Notice: Pre-stripped files found: /usr/bin/gmic_qt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-04 04:06 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2020-01-14 14:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2020-01-04 04:06:17 UTC
* QA Notice: Pre-stripped files found:
 * /usr/bin/gmic_qt


It is with:
USE="X curl ffmpeg fftw jpeg openmp png qt5 tiff zlib -cli -gimp -graphicsmagick -krita -opencv -openexr -static-libs"
So maybe there would be more affected files with more enabled USE flags.
Comment 1 urcindalo 2020-01-04 08:03:57 UTC
This is what I get with every USE flag enabled except for static-libs:
=====
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U ~] media-gfx/gmic-2.8.1::gentoo [2.7.2::gentoo] USE="X cli curl ffmpeg fftw gimp graphicsmagick jpeg krita opencv openexr openmp png qt5 tiff zlib -static-libs" 5.856 KiB

Total: 1 package (1 upgrade), Size of downloads: 5.856 KiB

Would you like to merge these packages? [Yes/No] Y

>>> Verifying ebuild manifests
>>> Running pre-merge checks for media-gfx/gmic-2.8.1

>>> Emerging (1 of 1) media-gfx/gmic-2.8.1::gentoo
Refetching... File renamed to '/usr/portage/distfiles/.layout.conf.distfiles.gentoo.org._checksum_failure_.t5otcwbq'

>>> Downloading 'http://distfiles.gentoo.org/distfiles/layout.conf'
--2020-01-04 00:04:19--  http://distfiles.gentoo.org/distfiles/layout.conf
Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 140.211.166.134, 156.56.247.195, 216.165.129.135, ...
Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45 [text/plain]
Saving to: ‘/usr/portage/distfiles/.layout.conf.distfiles.gentoo.org.__download__’

/usr/portage/distfi 100%[===================>]      45  --.-KB/s    in 0s      

2020-01-04 00:04:20 (4,55 MB/s) - ‘/usr/portage/distfiles/.layout.conf.distfiles.gentoo.org.__download__’ saved [45/45]

>>> Downloading 'http://distfiles.gentoo.org/distfiles/48/gmic_2.8.1.tar.gz'
--2020-01-04 00:04:20--  http://distfiles.gentoo.org/distfiles/48/gmic_2.8.1.tar.gz
Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 156.56.247.195, 216.165.129.135, 64.50.233.100, ...
Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|156.56.247.195|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5995556 (5,7M) [application/x-gzip]
Saving to: ‘/usr/portage/distfiles/gmic_2.8.1.tar.gz.__download__’

/usr/portage/distfi 100%[===================>]   5,72M  2,96MB/s    in 1,9s    

2020-01-04 00:04:22 (2,96 MB/s) - ‘/usr/portage/distfiles/gmic_2.8.1.tar.gz.__download__’ saved [5995556/5995556]

 * gmic_2.8.1.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking gmic_2.8.1.tar.gz to /var/tmp/portage/media-gfx/gmic-2.8.1/work
>>> Source unpacked in /var/tmp/portage/media-gfx/gmic-2.8.1/work
>>> Preparing source in /var/tmp/portage/media-gfx/gmic-2.8.1/work/gmic-2.8.1 ...
 * Applying gmic-2.4.3-curl.patch ...                                                                                                   [ ok ]
 * Working in BUILD_DIR: "/var/tmp/portage/media-gfx/gmic-2.8.1/work/gmic-2.8.1_build"
 * Hardcoded definition(s) removed in gmic-qt/CMakeLists.txt:
 *      set(CMAKE_BUILD_TYPE "Release")
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *    set(CMAKE_BUILD_TYPE Release)
 * Applying gmic-2.7.1-qt-cmake.patch ...
3 out of 3 hunks FAILED -- saving rejects to file CMakeLists.txt.rej                                                                    [ !! ]
 * ERROR: media-gfx/gmic-2.8.1::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/media-gfx/gmic-2.8.1/files/gmic-2.7.1-qt-cmake.patch
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_prepare
 *             environment, line 2140:  Called cmake_src_prepare
 *             environment, line  976:  Called default_src_prepare
 *      phase-functions.sh, line  937:  Called __eapi6_src_prepare
 *             environment, line  335:  Called eapply '/var/tmp/portage/media-gfx/gmic-2.8.1/files/gmic-2.7.1-qt-cmake.patch'
 *             environment, line 1130:  Called _eapply_patch '/var/tmp/portage/media-gfx/gmic-2.8.1/files/gmic-2.7.1-qt-cmake.patch'
 *             environment, line 1068:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/media-gfx/gmic-2.8.1/files/gmic-2.7.1-qt-cmake.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/gmic-2.8.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/gmic-2.8.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/gmic-2.8.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/gmic-2.8.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/gmic-2.8.1/work/gmic-2.8.1'
 * S: '/var/tmp/portage/media-gfx/gmic-2.8.1/work/gmic-2.8.1'

>>> Failed to emerge media-gfx/gmic-2.8.1, Log file:

>>>  '/var/tmp/portage/media-gfx/gmic-2.8.1/temp/build.log'
Comment 2 milan hodoscek 2020-01-04 08:50:39 UTC
The same problem here. Just comment out both patches in the ebuild file and it compiles then and at least "gmic demos" works...
Comment 3 Larry the Git Cow gentoo-dev 2020-01-14 14:11:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85351d9f260b771eebc13c0033b1b61866a1aed8

commit 85351d9f260b771eebc13c0033b1b61866a1aed8
Author:     Tim Harder <radhermit@gentoo.org>
AuthorDate: 2020-01-14 14:07:50 +0000
Commit:     Tim Harder <radhermit@gentoo.org>
CommitDate: 2020-01-14 14:10:50 +0000

    media-gfx/gmic: version bump to 2.8.2
    
    Closes: https://bugs.gentoo.org/704742
    Signed-off-by: Tim Harder <radhermit@gentoo.org>

 media-gfx/gmic/Manifest          |   1 +
 media-gfx/gmic/gmic-2.8.2.ebuild | 170 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 171 insertions(+)