* Package:    media-gfx/zbar-0.20.1
 * Repository: gentoo
 * USE:        X abi_x86_64 amd64 elibc_glibc gtk imagemagick java jpeg kernel_linux python python_targets_python2_7 qt5 threads userland_GNU v4l xv
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Using: icedtea-bin-8
>>> Unpacking source...
>>> Unpacking zbar-0.20.1.tar.gz to /var/tmp/portage/media-gfx/zbar-0.20.1/work
>>> Source unpacked in /var/tmp/portage/media-gfx/zbar-0.20.1/work
>>> Preparing source in /var/tmp/portage/media-gfx/zbar-0.20.1/work/zbar-0.20.1 ...
 * Applying zbar-0.10-errors.patch ...
 [ ok ]
 * Applying zbar-0.10_p20121015-ImageMagick-7.patch ...
 [ ok ]
 * Fixing shebang in examples/upcrpc.py.
 * Fixing shebang in test/barcodetest.py.
 * Fixing shebang in test/test_pygtk.py.
 * Running eautoreconf in '/var/tmp/portage/media-gfx/zbar-0.20.1/work/zbar-0.20.1' ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I config ...
 [ ok ]
 * Running autoconf --force ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...
 [ ok ]
 * Running elibtoolize in: zbar-0.20.1/
 * Running elibtoolize in: zbar-0.20.1/config/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/zbar-0.20.1/work/zbar-0.20.1 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * econf: updating zbar-0.20.1/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating zbar-0.20.1/config/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/media-gfx/zbar-0.20.1/work/zbar-0.20.1/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/zbar-0.20.1 --htmldir=/usr/share/doc/zbar-0.20.1/html --libdir=/usr/lib64 --with-gtk --without-graphicsmagick --with-imagemagick --with-java --with-jpeg --with-python2 --disable-static --enable-pthread --enable-video --with-x --with-xshm --with-xv --with-qt --with-qt5
configure: loading site script /usr/share/config.site
checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-pc-linux-gnu-windres... no
checking for windres... no
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for xmlto... xmlto
checking for javac... /opt/icedtea-bin-3.9.0/bin/javac
checking for javah... /opt/icedtea-bin-3.9.0/bin/javah
checking for jar... /opt/icedtea-bin-3.9.0/bin/jar
checking for java... /opt/icedtea-bin-3.9.0/bin/java
checking whether to build EAN symbologies... yes
checking whether to build DataBar symbology... yes
checking whether to build Code 128 symbology... yes
checking whether to build Code 93 symbology... yes
checking whether to build Code 39 symbology... yes
checking whether to build Codabar symbology... yes
checking whether to build Interleaved 2 of 5 symbology... yes
checking whether to build QR Code... yes
checking whether to build PDF417 symbology... no
checking for library containing clock_gettime... none required
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking linux/videodev.h usability... no
checking linux/videodev.h presence... no
checking for linux/videodev.h... no
checking linux/videodev2.h usability... yes
checking linux/videodev2.h presence... yes
checking for linux/videodev2.h... yes
checking libv4l2.h usability... yes
checking libv4l2.h presence... yes
checking for libv4l2.h... yes
checking for v4l2_open in -lv4l2... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for X11/extensions/XShm.h... yes
checking for XShmQueryVersion in -lXext... yes
checking for X11/extensions/Xvlib.h... yes
checking for XvQueryExtension in -lXv... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for jpeg_read_header in -ljpeg... yes
checking for MagickWand >= 6.2.6... yes
configure: trying ImageMagick version 7.0.8
checking MagickWand/MagickWand.h usability... yes
checking MagickWand/MagickWand.h presence... yes
checking for MagickWand/MagickWand.h... yes
configure: using ImageMagick version 7.0.8
checking for gtk+-2.0 gthread-2.0... yes
configure: using GTK+ version 2.24.32
configure: using gthread-2.0 version 2.56.2
checking whether /usr/bin/python2.7 version is >= 2.7.0... yes
checking for /usr/bin/python2.7 version... 2.7
checking for /usr/bin/python2.7 platform... linux2
checking for /usr/bin/python2.7 script directory... ${prefix}/lib64/python2.7/site-packages
checking for /usr/bin/python2.7 extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for pygtk-2.0... yes
checking for pygobject-codegen-2.0... pygobject-codegen-2.0
/var/tmp/portage/media-gfx/zbar-0.20.1/work/zbar-0.20.1/configure: line 21578: QT_CFLAGS: command not found
/var/tmp/portage/media-gfx/zbar-0.20.1/work/zbar-0.20.1/configure: line 21579: QT_LIBS: command not found
checking for Qt5Core >= 5 Qt5Gui >= 5 Qt5Widgets >= 5.0 Qt5X11Extras >= 5.0... yes
checking for moc-qt5... no
checking for moc... moc
configure: using moc from moc
configure: using Qt version 5.11.2
checking jni.h usability... yes
checking jni.h presence... yes
checking for jni.h... yes
checking whether to enable assertions... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking for inttypes.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for uintptr_t... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for memset... yes
checking for atexit... yes
checking for setenv... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating java/Makefile
config.status: creating zbar.pc
config.status: creating zbar-gtk.pc
config.status: creating zbar-qt.pc
config.status: creating doc/doxygen.conf
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing doc/version.xml commands
writing new doc/version.xml
config.status: executing doc/reldate.xml commands
writing new doc/reldate.xml

please verify that the detected configuration matches your expectations:
------------------------------------------------------------------------
X                 --with-x=yes
pthreads          --enable-pthread=yes
v4l               --enable-video=yes
jpeg              --with-jpeg=yes
ImageMagick       --with-imagemagick=yes
Python 2.7        --with-python2=yes
GTK+2.24.32       --with-gtk=yes
Qt5.11.2           --with-qt=yes
Java              --with-java=yes

>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-gfx/zbar-0.20.1/work/zbar-0.20.1 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
make -j1 
moc -i -Izbarcam -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.20.1/work/zbar-0.20.1/include /var/tmp/portage/media-gfx/zbar-0.20.1/work/zbar-0.20.1/zbarcam/zbarcam-qt.cpp -o zbarcam/moc_zbarcam_qt.h
moc: Cannot create zbarcam/moc_zbarcam_qt.h
make: *** [Makefile:3207: zbarcam/moc_zbarcam_qt.h] Error 1
 * ERROR: media-gfx/zbar-0.20.1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/zbar-0.20.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/zbar-0.20.1::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-gfx:zbar-0.20.1:20181128-134608.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/zbar-0.20.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/zbar-0.20.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/zbar-0.20.1/work/zbar-0.20.1-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-gfx/zbar-0.20.1/work/zbar-0.20.1'
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-8  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.9.0"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
and of course, the output of emerge --info =zbar-0.20.1