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

Bug 701790

Summary: media-libs/opencv-4.1.2-r1 missing includes for contribs or testprograms
Product: Gentoo Linux Reporter: Alexandru N. Barloiu <axl>
Component: Current packagesAssignee: Amy Liffey <amynka>
Status: UNCONFIRMED ---    
Severity: normal CC: axl, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Alexandru N. Barloiu 2019-12-02 18:19:06 UTC
I have enabled all contrib useflags for opencv as follows. USE="contrib contribcvv contribdnn contribhdf contribsfm contribxfeatures2d cuda dnnsamples download eigen examples ffmpeg gdal gflags glog gphoto2 gstreamer gtk jpeg jpeg2k opencl opencvapps openexr opengl openmp pch png python qt5 tesseract testprograms threads tiff v4l vtk webp"

The build process fails because of missing includes. I won't mention all of them because they are too many to mention. But there is a logic to it. The includes exist, but they are in the wrong folder that is not pulled automatically. For instance this error:
/usr/lib/distcc/bin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__OPENCV_TESTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL2)" -DvtkRenderingOpenGL2_AUTOINIT="1(vtkRenderingGL2PSOpenGL2)" -I/usr/include/vtk-8.1 -I/usr/include/freetype2 -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv_contrib-4.1.2/modules/viz/src -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv_contrib-4.1.2/modules/viz/include -Imodules/viz -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv_contrib-4.1.2/modules/cudev/include -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/modules/core/include -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/modules/ts/include -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/modules/imgcodecs/include -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/modules/videoio/include -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/modules/imgproc/include -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/modules/highgui/include -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/modules/calib3d/include -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/modules/features2d/include -I/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/modules/flann/include -isystem . -isystem /usr/include/gdal -isystem /usr/include/eigen3  -DNDEBUG -mtune=skylake-avx512 -march=skylake-avx512 -O2 -pipe   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp  -Wno-suggest-override -fPIE   -std=c++11  -Winvalid-pch  -include "/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2-abi_x86_64.amd64/modules/viz/test_precomp.hpp" -MD -MT modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_common.cpp.o -MF modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_common.cpp.o.d -o modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_common.cpp.o -c /ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv_contrib-4.1.2/modules/viz/test/test_common.cpp
In file included from <command-line>:
/ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2-abi_x86_64.amd64/modules/viz/test_precomp.hpp:5:10: fatal error: test_common.hpp: No such file or directory
 #include "test_common.hpp"
          ^~~~~~~~~~~~~~~~~

The file is in PORTAGE_TMPDIR/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2-abi_x86_64.amd64/modules/viz/test/test_common.hpp

As you can see from the command, the path with test, is not included in includes. There are 2 simple solutions. Either copy the files from test to include, or fix the build scripts to also include paths to test directories where it is applicable. 

I went with a simple shell script. Navigates all paths and copies files from test to include. it will be loud and will output a lot of errors but none of them are fatal. However with includes copies the package merges ok after that.

cd /ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/modules; for a in `ls`; do cd /ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/modules/$a; cp -r test/* include/; done; cd /ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2-abi_x86_64.amd64/modules/; for a in `ls`; do cd /ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2-abi_x86_64.amd64/modules/$a; cp -r test/* include/; done; cd /ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv_contrib-4.1.2/modules/; for a in `ls`; do cd /ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv_contrib-4.1.2/modules/$a; cp -r test/* include/; done; mkdir -p /ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/3rdparty/include/opencl/; touch /ramfs/portage/media-libs/opencv-4.1.2-r1/work/opencv-4.1.2/3rdparty/include/opencl/LICENSE.txt

Reproducible: Always

Steps to Reproduce:
1.emerge opencv
2.
3.
Comment 1 Jonas Stein gentoo-dev 2019-12-03 00:25:42 UTC
I already assign the ticket, because it could be a useful hint. 
But please recompile and 
*attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Comment 2 Alexandru N. Barloiu 2019-12-03 00:49:53 UTC
Created attachment 598302 [details]
build.log

Portage 2.3.80 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.2.0, glibc-2.30-r3, 5.4.1-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.4.1-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i9-9980XE_CPU_@_3.00GHz-with-gentoo-2.6
KiB Mem:   131654012 total,  34454508 free
KiB Swap:  134217712 total, 134217712 free
Timestamp of repository gentoo: Mon, 02 Dec 2019 17:00:01 +0000
Head commit of repository gentoo: 70c16b524be76ea56a067bc1f40188ae01775f0a
Head commit of repository dxvk: f89c8eb3d216ff6015f7567ed685fbfc9b457ec7

sh bash 5.0_p11
ld GNU ld (Gentoo 2.33.1 p1) 2.33.1
distcc 3.3.3 x86_64-pc-linux-gnu [enabled]
ccache version 3.7.6 [disabled]
app-shells/bash:          5.0_p11::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo, 3.8.0::gentoo
dev-util/ccache:          3.7.6::gentoo
dev-util/cmake:           3.16.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r2::gentoo
sys-devel/binutils:       2.33.1::gentoo
sys-devel/gcc:            8.3.0-r3::gentoo, 9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://foiofia/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

crossdev
    location: /usr/local/portage
    masters: gentoo
    priority: 0

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

dxvk
    location: /var/db/repos/dxvk
    sync-type: git
    sync-uri: https://github.com/pchome/dxvk-gentoo-overlay
    masters: gentoo
    priority: 60

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* NVIDIA-r1 bh-luxi linux-fw-redistributable sun-jlfgr Atmel ipw2200-fw ipw2100-fw unRAR shmux Amazon intel-ucode no-source-code ISSL JSON man-pages-posix-2013 CC-PD myspell-en_CA-KevinAtkinson BAEKMUK man-pages LDP-1 LDP-1a quake1-textures CC-SA-1.0 man-pages-posix Unicode_Fonts_for_Ancient_Scripts vlgothic BitstreamVera UbuntuFontLicense-1.0 MaxMind2 Texinfo-manual CC-BY-SA-1.0 mplus-fonts wxWinFDL-3 FDL-1.3 FDL-1.2+ IPAfont CC-BY-2.0 GPL-3 FDL-1.3+ CC-BY-SA-3.0 FDL-1.1+ CC-BY-SA-4.0 GPL-1 Arphic FDL-1.2 FDL-1.1 OFL OPL CC-BY-4.0 CC-BY-SA-2.5 GPL-2 GPL-2+ CC-BY-2.5 OFL-1.1 GPL-3+ FreeArt CC-BY-3.0 CC-BY-SA-2.0 GPL-1+ PSF-2 HPND MPL-1.1 CPL-1.0 IPAfont MIT nethack LGPL-2.1+ BSD-2 GPL-3 Apache-1.1 Artistic-2 QPL LGPL-2+ IBM OSL-2.1 wxWinLL-3 APSL-2 LGPL-2.1 AGPL-3+ Boost-1.0 UoI-NCSA ZPL Artistic CDDL EUPL-1.1 LGPL-3 BSD AGPL-3 CNRI ISC LPPL-1.3c EPL-1.0 POSTGRESQL MPL-2.0 AFL-3.0 GPL-2 GPL-2+ Ms-PL Sleepycat W3C PHP-3 OFL-1.1 Apache-2.0 EPL-2.0 MPL-1.0 ECL-2.0 NOSA GPL-3+ LGPL-3+ ZLIB CPAL-1.0 PHP-3.01 APL-1.0 Watcom-1.0 GPL-1+ ipx-utils rwpng CNRI-QUIXOTE-2.4 FLEX File-MMagic SSLeay Khronos-CLHPP symlinks SNIA minpack Old-MIT the-Click-license xbatt LambdaMOO tcltk xvt rc TeX Snd LPPL-1.3b IDPL MIT-with-advertising gsm libtiff tm-align CeCILL-C matplotlib pngcrush xboing xtrs netcat Sendmail-Open-Source NCSA-HDF BSD-1 docbook LPPL-1.3 Mini-XML HTML-Tidy alternate tcp_wrappers_license tablelist freetts AIFFWriter.m scanlogd CDDL-Schily BSD-with-attribution Time-modules DES CAOSL libpng2 PCRE Xdebug Princeton x2x iASL w3m Subversion psutils VTK libpng torque-2.5 Emacs gd inner-net BZIP2 imagemagick shrimp Info-ZIP NEWLIB Flashpix PHP-2.02 ngrep CRACKLIB Ispell openafs-krb5-a AMPAS UCAR-Unidata icu CPL-0.5 Interbase-1.0 RSA perforce rdisc SMAIL flexmock BEER-WARE pngnq CDDL-1.1 buddy FLTK FastCGI bea.ri.jsr173 URT ErlPL-1.1 totd Mail-Sendmail photopc eGenixPublic-1.1 ElementTree LIBGLOSS Sendmail Openwall ipadic dom4j mpich2 Time-Format feh SVFL DUMB-0.9.3 XC JNIC FVWM libmng repoze JOVE Crypt-IDEA Toyoda LLVM-Grant TeX-other-free CMake lsof otter ZSH boehm-gc bufexplorer.vim mm htmlc regexp-UofT canfep JDOM Allegro MPL-1.1 CPL-1.0 Apache-1.1 LPPL-1.2 OSL-1.1 QPL Zend-2.0 AFL-2.1 gnuplot BSD-4 IBM OSL-2.1 APSL-2 CDDL NPL-1.1 EUPL-1.1 openssl CNRI EPL-1.0 AFL-3.0 Ms-PL EPL-2.0 MPL-1.0 QPL-1.0 CPAL-1.0 PHP-3.01 Apache-1.0 OSL-2.0 PSF-2 HPND GPL-3-with-openssl-exception IJG MIT LGPL-2.1+ BSD-2 GPL-3 Apache-2.0-with-LLVM-exceptions Artistic-2 GPL-2-with-font-exception Nokia-Qt-LGPL-Exception-1.1 LGPL-2+ vim OPENLDAP GPL-3+-with-opencl-openssl-exception GPL-1 GPL-2-with-linking-exception GPL-2-with-exceptions UoI-NCSA LGPL-2.1 AGPL-3+ Boost-1.0 ZPL wxWinLL-3.1 PSF-2.2 FTL tanuki-community LGPL-3 BSD libgcc Unlicense AGPL-3 GPL-3-with-font-exception GPL-3+-with-cuda-openssl-exception gcc-runtime-library-exception-3.1 Ruby W3C WTFPL-2 ISC GPL-2-with-MySQL-FLOSS-exception public-domain CC0-1.0 MPL-2.0 GPL-2 GPL-2+-with-openssl-exception GPL-2+ GPL-3+-with-opencl-exception Sleepycat qwt unicode Clarified-Artistic SGI-B-2.0 Clear-BSD UPX-exception LGPL-2.1-with-linking-exception Apache-2.0 LGPL-2-with-linking-exception LGPL-3-with-linking-exception ECL-2.0 PSF-2.3 GPL-3+ GPL-2-with-classpath-exception LGPL-3+ metapackage CeCILL-2 PYTHON Ruby-BSD Transmission-OpenSSL-exception ZLIB libstdc++ GPL-3+-with-cuda-exception PSF-2.4 LGPL-2 GPL-1+ LSI-tw_cli ipw3945 bonnie freedist qlogic-fibre-channel-firmware Broadcom SmartLabs MicroChip-SDCC"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=skylake-avx512 -march=skylake-avx512 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=skylake-avx512 -march=skylake-avx512 -O2 -pipe"
DISTDIR="/mnt/apps/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-mtune=skylake-avx512 -march=skylake-avx512 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
FFLAGS="-mtune=skylake-avx512 -march=skylake-avx512 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_en en_EN en_US en-US en_GB en-GB ro ro_RO en ro"
MAKEOPTS="-j72"
PKGDIR="/mnt/apps/packages/spark"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/ramfs"
USE="X a52 aac acl acpi aes aio airplay alsa amd64 apache2 api audit avx avx2 avx512bw avx512cd avx512dq avx512f avx512vl bash-completion bashlogger berkdb bittorrent bluetooth bluetooth-sound btpclient bzip2 cacert cairo caps cdda cdr cgroups chromecast chromium clang cli client colord compat conntrack console contrib corefonts cpudetection cpumining cracklib cron crossdev crt crypt cryptsetup cuda cups custom-cflags custom-cpuopts custom-optimization cxx d3d9 daemon dav1d dbus dc1394 dds declarative default-compiler-rt deflate designer device-mapper dga dkim dnn_samples dnssec dos dot double-precision dri dri3 drm dts dv dvb dvd dvdr eds egl eglfs elfutils emovix encode epoll escreen esync evdev exif experimental extras f16c f2fs faac faad facedetect fam farstream fat fdk ffmpeg fftw filecaps firefox firmware flac flash fma3 fontconfig fontforge fortran fortune freetype freetype2 ftp fuse gconf gcrypt gd gdal gdbm gdm geoclue geoip geolocation gflags ggi gif gimp gl glamor gles gles1 gles2 glib glide glog glusterfs gme gmp gnome gnome-keyring gnome-online-accounts gnutls gold googledrive gphoto2 gpm gps graph graphviz gsm gstaudio gstreamer gstvideo gtk gtk2 gtk3 haptic harfbuzz hash hdri hfs hid2hci highlight http http2 hybrid hyphen ibus icons iconv icu id3tag idea idn inspector introspection iproute2 ipv6 javascript jbig joystick jpeg jpeg2k junction kerberos kvm lame latency_timing layers lcms libaom libass libcanberra libdrm libevent libhack libilbc libinput libmpeg2 libnotify libotf libproxy librtmp libsecret libsoxr libtar libtiger libtirpc libusb libuv libv4l libvirt libvisual libxml2 linsys live llvm lm-sensors lm_sensors lqr lto lv2 lz4 lzma lzo macosx-notifications mad mariadb math matroska mclib md5sum mdadm mdnsresponder-compat melt messages metadata-analysis-api mhash mjpeg mms mmx mmxext mng mod modplug modules mono mp3 mp3rtp mp4 mpeg mpi mtp multicore multilib multitarget musepack mysql mysqli nat nautilus ncurses netlink nfacct nfs nfsdcld nfsv41 nftables nls nptl ntfs ntp numa nut nvenc ocaml ocr offensive office ogg omxil openal opencl opencv openexr opengl openh264 openmp openssl optimisememory opus osmesa otr pam pango pcap pch pclm pclmul pcntl pcre pcre16 pdf pdfimport perl pgo phonon physics pipelight plabel plymouth png pnm policykit popcnt posix postproc postscript ppds pulseaudio python qt5 rar raw razor rdp readline rendering replication rfkill romio rootston rpc rsyslog rtaudio rtc rtmp rtp rubberband run-as-root samba scanner schroedinger scim screen screencast script scripttools sdl sdl-image sdl2 sdlgfx seccomp sendto sensord server session sftp share shout sid sieve skins slang smp snappy sndfile snmp sockets sound soxr spamassassin speex spell spice spirv-tools split-usr sqlite srt sse sse2 sse3 sse4_1 sse4_2 ssh ssl ssse3 staging startup-notification stats steamfonts steamvr svg symlink sync-plugin-portage syntax-check syslog systemd sysvipc taglib tcpd terminal tesseract testprograms tevent text theora threads tiff timezone toolame tools tray trayicon tremor truetype tty-helpers twolame udev udisks unicode update_drivedb upnp upower urandom usb usbredir utils v4l vala valgrind vcd vdpau vdr vector-icons vim vim-syntax virgl vkd3d vlc vnc vorbis vtk vulkan wallpapers wavpack wayland webdav webp webserver widgets wifi winbind www wxwidgets x11-backend x264 x265 xa xattr xcb xcf xcomposite xdg xetex xfs xft xi2 xim xinerama xkb xml xnest xpm xpresent xv xvfb xvid zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fury fv18 garmin garmintxt geostar gpsclock isync itrax mtk3301 navcom nmea0183 nmea2000 ntrip oceanserver oncore passthrough rtcm104v2 rtcm104v3 sirf skytraq superstar2 tnt tripmate tsip ublox" INPUT_DEVICES="evdev libinput keyboard mouse" KERNEL="linux" L10N="en en_en en_EN en_US en-US en_GB en-GB ro ro_RO en ro" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF NVPTX X86 AArch64 ARM PowerPC" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm i386 ppc ppc64" QEMU_USER_TARGETS="x86_64 aarch64 aarch64_be arm armeb i386 ppc ppc64 ppc64abi32 ppc64le" RUBY_TARGETS="ruby24 ruby25" SANE_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp canon_pp hpsj5s kvs40xx mustek_pp mustek_usb2 pnm" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau modesetting vulkan virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS