Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766321 - media-gfx/zbar-0.23-r1 : x86_64-pc-linux-gnu-g++: fatal error: no input files
Summary: media-gfx/zbar-0.23-r1 : x86_64-pc-linux-gnu-g++: fatal error: no input files
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-20 21:03 UTC by Toralf Förster
Modified: 2023-03-08 12:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.57 KB, text/plain)
2021-01-20 21:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,632.60 KB, text/plain)
2021-01-20 21:03 UTC, Toralf Förster
Details
environment (environment,204.36 KB, text/plain)
2021-01-20 21:03 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,35.72 KB, application/x-bzip)
2021-01-20 21:04 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,16.77 KB, application/x-bzip)
2021-01-20 21:04 UTC, Toralf Förster
Details
media-gfx:zbar-0.23-r1:20210120-201833.log (media-gfx:zbar-0.23-r1:20210120-201833.log,78.64 KB, text/plain)
2021-01-20 21:04 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,53.35 KB, application/x-bzip)
2021-01-20 21:04 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 2021-01-20 21:03:54 UTC
x86_64-pc-linux-gnu-g++: error: /var/tmp/portage/media-gfx/zbar-0.23-r1/work/zbar-0.23/qt/moc_QZBar.cpp: No such file or directory
x86_64-pc-linux-gnu-g++: fatal error: no input files
compilation terminated.
make[2]: *** [Makefile:1647: qt/libzbarqt_la-moc_QZBar.lo] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/zbar-0.23-r1/work/zbar-0.23-abi_x86_64.amd64'

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python2.7
  [3]   python3.9 (fallback)
  [4]   python3.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.17.0 [icedtea-8]
2)	OpenJDK 8.272_p10 [openjdk-8]
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   openjdk-8 
  [3]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Jan 20 07:33:10 PM UTC 2021

emerge -qpvO media-gfx/zbar
[ebuild  N    ] media-gfx/zbar-0.23-r1  USE="X dbus gtk imagemagick jpeg qt5 threads xv -graphicsmagick -introspection -java -python -static-libs -test -v4l" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_8 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2021-01-20 21:03:55 UTC
Created attachment 683908 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-01-20 21:03:57 UTC
Created attachment 683911 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-01-20 21:03:59 UTC
Created attachment 683914 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-01-20 21:04:01 UTC
Created attachment 683917 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-01-20 21:04:02 UTC
Created attachment 683920 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-01-20 21:04:04 UTC
Created attachment 683923 [details]
media-gfx:zbar-0.23-r1:20210120-201833.log
Comment 7 Toralf Förster gentoo-dev 2021-01-20 21:04:05 UTC
Created attachment 683926 [details]
temp.tar.bz2
Comment 8 Petr Vaněk gentoo-dev 2023-03-08 12:44:35 UTC
This issue was fixed in upstream in commit https://github.com/mchehab/zbar/commit/d6578fc54bebf93a7dd463da2030593588b8445e which is part of 0.23.90 release.

The problem was that configure did not detect moc utility

checking for Qt5Core >= 5 Qt5Gui >= 5 Qt5Widgets >= 5.0 Qt5X11Extras >= 5.0... yes
checking for moc-qt5... no
checking for moc... no
configure: using moc from 
configure: using Qt version 5.15.2

which was missing in commands creating qt/moc_%.cpp files. Iqt is first argument, the command should be called like `moc Iqt ...`.

Iqt -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/var/tmp/portage/media-gfx/zbar-0.23-r1/work/zbar-0.23/include /var/tmp/portage/media-gfx/zbar-0.23-r1/work/zbar-0.23/include/zbar/QZBar.h -o qt/moc_QZBar.cpp
make: Iqt: No such file or directory
make: [Makefile:2456: qt/moc_QZBar.cpp] Error 127 (ignored)
Iqt -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/var/tmp/portage/media-gfx/zbar-0.23-r1/work/zbar-0.23/include /var/tmp/portage/media-gfx/zbar-0.23-r1/work/zbar-0.23/qt/QZBarThread.h -o qt/moc_QZBarThread.cpp
make: Iqt: No such file or directory
make: [Makefile:2453: qt/moc_QZBarThread.cpp] Error 127 (ignored)