Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875509 - app-admin/testdisk-7.1-r1 - make[2]: [Makefile:<snip>: moc_qphotorec.cpp] Error 127
Summary: app-admin/testdisk-7.1-r1 - make[2]: [Makefile:<snip>: moc_qphotorec.cpp] Err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard: fixed in 7.1-r2
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-05 18:16 UTC by Toralf Förster
Modified: 2024-10-28 19:09 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.91 KB, text/plain)
2022-10-05 18:16 UTC, Toralf Förster
Details
app-admin:testdisk-7.1-r1:20221005-174649.log.bz2 (app-admin:testdisk-7.1-r1:20221005-174649.log.bz2,28.12 KB, application/x-bzip)
2022-10-05 18:16 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,4.35 KB, application/x-bzip)
2022-10-05 18:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,57.99 KB, text/plain)
2022-10-05 18:16 UTC, Toralf Förster
Details
environment (environment,85.24 KB, text/plain)
2022-10-05 18:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,7.02 KB, application/x-bzip)
2022-10-05 18:16 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,16.32 KB, application/x-bzip)
2022-10-05 18:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,55.63 KB, application/x-bzip)
2022-10-05 18:16 UTC, Toralf Förster
Details
emerge --info '=app-admin/testdisk-7.1-r1::gentoo' (emerge_info.txt,215 bytes, text/plain)
2022-12-07 03:47 UTC, Oskari Pirhonen
Details
emerge --info '=app-admin/testdisk-7.1-r1::gentoo' (emerge_info.txt,16.78 KB, text/plain)
2022-12-07 03:55 UTC, Oskari Pirhonen
Details
emerge -pqv '=app-admin/testdisk-7.1-r1::gentoo' (emerge_pqv.txt,91 bytes, text/plain)
2022-12-07 03:56 UTC, Oskari Pirhonen
Details
build.log (build.log,100.65 KB, text/plain)
2022-12-07 03:56 UTC, Oskari Pirhonen
Details
portage env (environment,79.74 KB, text/plain)
2022-12-07 03:57 UTC, Oskari Pirhonen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-05 18:16:08 UTC
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
QT_SELECT=qt5 moc qphotorec.h -o moc_qphotorec.cpp
/bin/sh: line 1: moc: command not found
make[2]: *** [Makefile:3453: moc_qphotorec.cpp] Error 127
make[2]: *** Waiting for unfinished jobs....
qphbs.cpp:87:24: warning: cast from 'char *' to 'alloc_data_t *' increases

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221005-090232

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit 2fac9a785c287b84c5a13135858beaebae41771e
Merge: 9caca1455c97 2734a3edf149
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 17:11:16 2022 +0000

    Merge updates from master

emerge -qpvO app-admin/testdisk
[ebuild  N    ] app-admin/testdisk-7.1-r1  USE="jpeg qt5 zlib -ewf -ntfs -reiserfs -static"
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:16:10 UTC
Created attachment 821587 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:16:11 UTC
Created attachment 821590 [details]
app-admin:testdisk-7.1-r1:20221005-174649.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:16:12 UTC
Created attachment 821593 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:16:13 UTC
Created attachment 821596 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:16:14 UTC
Created attachment 821599 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:16:15 UTC
Created attachment 821602 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-05 18:16:16 UTC
Created attachment 821605 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-05 18:16:18 UTC
Created attachment 821608 [details]
temp.tar.bz2
Comment 9 Oskari Pirhonen 2022-12-07 03:46:29 UTC
This error appears to be due to "command not found: moc", but I've got a different set of errors.
Comment 10 Oskari Pirhonen 2022-12-07 03:47:31 UTC
Created attachment 840577 [details]
emerge --info '=app-admin/testdisk-7.1-r1::gentoo'
Comment 11 Oskari Pirhonen 2022-12-07 03:55:24 UTC
Created attachment 840579 [details]
emerge --info '=app-admin/testdisk-7.1-r1::gentoo'

Typo, whoops.
Comment 12 Oskari Pirhonen 2022-12-07 03:56:19 UTC
Created attachment 840581 [details]
emerge -pqv '=app-admin/testdisk-7.1-r1::gentoo'
Comment 13 Oskari Pirhonen 2022-12-07 03:56:50 UTC
Created attachment 840583 [details]
build.log
Comment 14 Oskari Pirhonen 2022-12-07 03:57:15 UTC
Created attachment 840585 [details]
portage env
Comment 15 Larry the Git Cow gentoo-dev 2022-12-14 05:07:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79464f898360a2fdec7b55b020c3fdb70c3657d7

commit 79464f898360a2fdec7b55b020c3fdb70c3657d7
Author:     Oskari Pirhonen <xxc3ncoredxx@gmail.com>
AuthorDate: 2022-12-07 05:05:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-14 05:07:40 +0000

    app-admin/testdisk: fix clang build
    
    Backport the ntfs-3g ioctl prototype fixes from upstream master.
    
    Upstream: https://git.cgsecurity.org/cgit/testdisk/commit/?id=2b0a0fcde875a89e2beffbe5c43c7518f682b482
    
    Closes: https://bugs.gentoo.org/875509
    Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/28582
    Signed-off-by: Sam James <sam@gentoo.org>

 ...disk-7.1-backport-ntfs-3g-ioctl-prototype.patch | 46 +++++++++++
 app-admin/testdisk/testdisk-7.1-r2.ebuild          | 95 ++++++++++++++++++++++
 2 files changed, 141 insertions(+)
Comment 16 Larry the Git Cow gentoo-dev 2022-12-14 05:18:28 UTC
The bug has been referenced in the following commit(s):

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

commit c2a3f08d67f9c49c4c9ec83110ef618efd8bff09
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-14 05:15:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-14 05:15:34 +0000

    app-admin/testdisk: set MOC explicitly
    
    The PATH line has been there for a while but let's explicitly set MOC to be safe as
    toralf filed it after.
    
    Bug: https://bugs.gentoo.org/875509
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/testdisk/testdisk-7.1-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)