| Summary: | media-libs/opencv-4.5.4: version bump | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sam James <sam> |
| Component: | Current packages | Assignee: | Amy Liffey <amynka> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | fordfrog, phantom4, sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Sam James
2021-10-29 22:46:35 UTC
Just FYI : Bumping from opencv-4.5.3 to opencv-4.5.4 breaks at least gst-plugins-opencv and frei0r-plugins . abi_x86_32.x86 compiles fine here but with abi_x86_64.amd64 i get this error:
* abi_x86_64.amd64: running multilib-minimal_abi_src_compile
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4"
* Build directory (BUILD_DIR): "/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64"
ninja -v -j1 -l0
[1/1180] cd /var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64 && /usr/bin/cmake -DCMAKE_HELPER_SCRIPT=/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/OpenCVGenPkgConfig.info.cmake -P /var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4/cmake/Op
enCVGenPkgconfig.cmake
[2/1180] /usr/bin/x86_64-pc-linux-gnu-g++ -DCVAPI_EXPORTS -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv_contrib-4.5.4/modules/cudev/include -I/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5
.4_build-abi_x86_64.amd64/modules/cudev -I/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4/modules/core/include -isystem /var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64 -isystem /usr/include/eigen3 -march=native -O2 -pipe -frecord-gcc-switches -fsigned-char -W -Wall -W
error=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-l
ong -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -mavx512f -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-undef -Wno-missing-declarations -Wno-unused-function -Wno-unused-variable -Wno-enum-compare
-Wno-shadow -fPIC -std=c++11 -MD -MT modules/cudev/CMakeFiles/opencv_cudev.dir/src/stub.cpp.o -MF modules/cudev/CMakeFiles/opencv_cudev.dir/src/stub.cpp.o.d -o modules/cudev/CMakeFiles/opencv_cudev.dir/src/stub.cpp.o -c /var/tmp/portage/media-libs/opencv-4.5.4/work/opencv_contrib-4.5.4/modules/cudev/src/stub.cpp
[3/1180] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -frecord-gcc-switches -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Wsuggest-override
-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 -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -mavx512f -fvisibility=hidden -fvisibi
lity-inlines-hidden -fopenmp -Wno-undef -Wno-missing-declarations -Wno-unused-function -Wno-unused-variable -Wno-enum-compare -Wno-shadow -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--as-needed -shared -Wl,-soname,libopencv_cudev.so.4.5 -o lib/libopencv_cudev.so.4.5.4 modules/cudev/CMakeFiles/opencv_cudev.dir/s
rc/stub.cpp.o -L/opt/cuda/lib64 -ldl -lm -lpthread -lrt /usr/lib64/libGL.so /usr/lib64/libGLU.so -lcudart_static -ldl -lrt -lnppc -lnppial -lnppicc -lnppidei -lnppif -lnppig -lnppim -lnppist -lnppisu -lnppitc -lnpps -lcublas -lcufft -L/opt/cuda/lib64 -L/usr/lib64 -lcudart_static -ldl -lrt
-lnppc -lnppial -lnppicc -lnppidei -lnppif -lnppig -lnppim -lnppist -lnppisu -lnppitc -lnpps -lm -lpthread /usr/lib64/libGL.so /usr/lib64/libGLU.so -lcublas -lcufft -Wl,-rpath-link,"\$ORIGIN" && :
[4/1180] /usr/bin/cmake -E cmake_symlink_library lib/libopencv_cudev.so.4.5.4 lib/libopencv_cudev.so.4.5 lib/libopencv_cudev.so && :
[5/1180] cd /var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda && /usr/bin/cmake -E make_directory /var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_gpu_mat.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_gpu_mat.cu.o.cubin.txt -P /var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_gpu_mat.cu.o.Gentoo.cmake
FAILED: modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_gpu_mat.cu.o /var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_gpu_mat.cu.o
cd /var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda && /usr/bin/cmake -E make_directory /var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_gpu_mat.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_gpu_mat.cu.o.cubin.txt -P /var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_gpu_mat.cu.o.Gentoo.cmake
/usr/include/stdio.h(183): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(195): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(217): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(254): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(279): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(288): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(297): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(303): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(309): error: attribute "__malloc__" does not take arguments
/usr/include/stdio.h(824): error: attribute "__malloc__" does not take arguments
/usr/include/stdlib.h(565): error: attribute "__malloc__" does not take arguments
/usr/include/stdlib.h(569): error: attribute "__malloc__" does not take arguments
/usr/include/stdlib.h(797): error: attribute "__malloc__" does not take arguments
/usr/include/wchar.h(155): error: attribute "__malloc__" does not take arguments
/usr/include/wchar.h(582): error: attribute "__malloc__" does not take arguments
/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4/modules/core/src/cuda/gpu_mat.cu(67): warning #177-D: parameter "numBytes" was declared but never referenced
/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4/modules/core/src/cuda/gpu_mat.cu(77): warning #177-D: parameter "ptr" was declared but never referenced
15 errors detected in the compilation of "/var/tmp/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4/modules/core/src/cuda/gpu_mat.cu".
# emerge --info =opencv-4.5.4
Portage 3.0.28 (python 3.10.0-final-0, default/linux/amd64/17.1/hardened, gcc-11.2.0, glibc-2.34-r2, 5.15.4-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.15.4-gentoo-x86_64-11th_Gen_Intel-R-_Core-TM-_i9-11900K_@_3.50GHz-with-glibc2.34
KiB Mem: 131749268 total, 2111376 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Tue, 23 Nov 2021 07:00:01 +0000
Head commit of repository gentoo: be5b9f5cffb7518cad62fe41d1df1faa0ffd7748
sh bash 5.1_p12
ld GNU ld (Gentoo 2.37_p1 p1) 2.37
app-shells/bash: 5.1_p12::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.34.0-r5::gentoo
dev-lang/python: 2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo
dev-lang/rust: 1.56.1::gentoo
dev-util/cmake: 3.22.0::gentoo
sys-apps/baselayout: 2.8::gentoo
sys-apps/openrc: 0.44.8::gentoo
sys-apps/sandbox: 2.29::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake: 1.16.5::gentoo
sys-devel/binutils: 2.37_p1-r1::gentoo
sys-devel/gcc: 11.2.0::gentoo
sys-devel/gcc-config: 2.5-r1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.15::gentoo (virtual/os-headers)
sys-libs/glibc: 2.34-r2::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
fordfrog
location: /usr/src/fordfrog.git
masters: gentoo
priority: 0
local
location: /usr/local/portage
masters: gentoo
brother-overlay
location: /var/lib/layman/brother-overlay
masters: gentoo
priority: 50
ceamac
location: /var/lib/layman/ceamac
masters: gentoo
priority: 50
flavour
location: /var/lib/layman/flavour
masters: gentoo
priority: 50
waebbl
location: /var/lib/layman/waebbl
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -frecord-gcc-switches"
DISTDIR="/var/db/repos/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--misspell-suggestions n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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="-march=native -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs cs_CZ en en_US en_UK"
MAKEOPTS="-j17"
PKGDIR="/var/db/repos/gentoo/packages"
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="/var/tmp"
USE="X a52 aac aacplus acl alsa amd64 aubio bluetooth bzip2 cdda cddb cdr color-management colord crypt cuda cups dbus dia dssi dvb dvd elogind exif ffmpeg flac gegl gif gphoto2 gsm gtk gtk3 hardened hddtemp http2 ibus iconv icu id3tag ipv6 jack jack-dbus jacksession javafx jpeg ladspa lastfm latex lcms libass libglvnd libnotify libproxy libsamplerate libtirpc lilypond lm-sensors lv2 mad modplug mp3 mpeg mpi mtp multilib musepack ncurses nls nptl ocr ogg openexr opengl openmp opus osc pam pcre pdf pie png policykit pulseaudio qt5 raw readline rubberband samba scanner screencast seccomp sf2 sndfile soundio speex spell split-usr ssl ssp startup-notification svg svg2 taglib theora tiff timidity tk tray truetype udev unicode usb vamp visio vorbis vpx vst vulkan wavpack webp widevine wmf x264 x265 xattr xinerama xmp xtpax xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2019" APACHE2_MODULES="alias auth_basic authn_core authn_file authz_core authz_host authz_user cgi cgid deflate dir expires filter headers http2 include info log_config mime mime_magic negotiation proxy proxy_ajp rewrite setenvif socache_shmcb status unixd vhost_alias" APACHE2_MPMS="event" 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 avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev libinput synaptics wacom" KERNEL="linux" L10N="cs cs-CZ en en-US en-UK" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_7 python3_8 python3_9 python3_10" RUBY_TARGETS="ruby26 ruby27 ruby30" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="intel i915 i965 nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
[ebuild r U ] media-libs/opencv-4.5.4:0/4.5.4::gentoo [4.5.2-r5:0/4.5.2::gentoo] USE="contrib contribdnn cuda eigen features2d ffmpeg gphoto2 jpeg openexr opengl openmp png python qt5 tiff webp -contribcvv -contribfreetype -contribhdf (-contribovis) -contribsfm -contribxfeatures2d -debug -dnnsamples -download -examples -gdal -gflags -glog -gstreamer -gtk3 -ieee1394 -java -jpeg2k -lapack -lto -opencl -opencvapps -tesseract -testprograms -threads -v4l -vaapi -vtk -xine" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx avx2 avx512f f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" PYTHON_TARGETS="python3_8 python3_9 python3_10"
(In reply to Miroslav Šulc from comment #2) > abi_x86_32.x86 compiles fine here but with abi_x86_64.amd64 i get this error: > Could you file a new bug with the full log? (I'll close this one as 4.5.4 is now in tree.) |