Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738184 - media-libs/libjpeg-turbo-2.0.5 - CMake Error at CMakeLists.txt:1450 (install): install TARGETS given no RUNTIME DESTINATION for executable target "jpegexiforient".
Summary: media-libs/libjpeg-turbo-2.0.5 - CMake Error at CMakeLists.txt:1450 (install)...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
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: 2020-08-20 11:33 UTC by Kristaps Kaupe
Modified: 2020-08-20 20:41 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristaps Kaupe 2020-08-20 11:33:06 UTC
Can't upgrade libjpeg-turbo to 2.0.5 (GLSA 202003-23).

Reproducible: Always

Steps to Reproduce:
emerge --oneshot libjpeg-turbo
Actual Results:  
 * Package:    media-libs/libjpeg-turbo-2.0.5
 * Repository: gentoo
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libjpeg-turbo-2.0.5.tar.gz to /var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work
>>> Unpacking libjpeg8_8d-2.debian.tar.gz to /var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work
>>> Source unpacked in /var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work
>>> Preparing source in /var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5 ...
 * Working in BUILD_DIR: "/var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5_build"
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *    set(CMAKE_BUILD_TYPE Release)
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * Working in BUILD_DIR: "/var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5_build-abi_x86_64.amd64"
cmake -C /var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5_build-abi_x86_64.amd64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_DEFAULT_DOCDIR=/usr/share/doc/libjpeg-turbo-2.0.5 -DENABLE_STATIC=no -DWITH_JAVA=no -DWITH_MEM_SRCDST=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5_build-abi_x86_64.amd64/gentoo_toolchain.cmake  /var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5
loading initial cache file /var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5_build-abi_x86_64.amd64/gentoo_common_config.cmake
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- CMAKE_BUILD_TYPE = Gentoo
-- VERSION = 2.0.5, BUILD = 20200820
-- 64-bit build (x86_64)
-- CMAKE_INSTALL_PREFIX = /usr
-- CMAKE_INSTALL_BINDIR = bin (/usr/bin)
-- CMAKE_INSTALL_DATAROOTDIR = share (/usr/share)
-- CMAKE_INSTALL_DOCDIR = /usr/share/doc/libjpeg-turbo-2.0.5
-- CMAKE_INSTALL_INCLUDEDIR = include (/usr/include)
-- CMAKE_INSTALL_LIBDIR = lib64 (/usr/lib64)
-- CMAKE_INSTALL_MANDIR = /usr/share/man
-- Shared libraries enabled (ENABLE_SHARED = 1)
-- Static libraries disabled (ENABLE_STATIC = 0)
-- 12-bit JPEG support disabled (WITH_12BIT = 0)
-- Arithmetic decoding support enabled (WITH_ARITH_DEC = 1)
-- Arithmetic encoding support enabled (WITH_ARITH_ENC = 1)
-- TurboJPEG API library enabled (WITH_TURBOJPEG = 1)
-- TurboJPEG Java wrapper disabled (WITH_JAVA = 0)
-- In-memory source/destination managers enabled (WITH_MEM_SRCDST = 1)
-- Emulating libjpeg API/ABI v6.2 (WITH_JPEG7 = 0, WITH_JPEG8 = 0)
-- libjpeg API shared library version = 62.3.0
-- Compiler flags = -march=native -O2 -pipe 
-- Linker flags = -Wl,-O1 -Wl,--as-needed 
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Performing Test HAVE_BUILTIN_CTZL
-- Performing Test HAVE_BUILTIN_CTZL - Success
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for memset
-- Looking for memset - found
-- Looking for memcpy
-- Looking for memcpy - found
-- Check size of unsigned char
-- Check size of unsigned char - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Performing Test INCOMPLETE_TYPES
-- Performing Test INCOMPLETE_TYPES - Success
-- Compiler supports pointers to undefined structures.
-- Performing Test RIGHT_SHIFT_IS_UNSIGNED
-- Performing Test RIGHT_SHIFT_IS_UNSIGNED - Failed
-- Performing Test __CHAR_UNSIGNED__
-- Performing Test __CHAR_UNSIGNED__ - Failed
-- Performing Test INLINE_WORKS
-- Performing Test INLINE_WORKS - Success
-- INLINE = __inline__ __attribute__((always_inline)) (FORCE_INLINE = 1)
-- Performing Test HAVE_THREAD_LOCAL
-- Performing Test HAVE_THREAD_LOCAL - Success
-- THREAD_LOCAL = __thread
-- Performing Test HAVE_VERSION_SCRIPT
-- Performing Test HAVE_VERSION_SCRIPT - Success
-- Linker supports GNU-style version scripts
-- CMAKE_EXECUTABLE_SUFFIX = 
-- Looking for a ASM_NASM compiler
-- Looking for a ASM_NASM compiler - /usr/bin/nasm
-- The ASM_NASM compiler identification is NASM
-- Found assembler: /usr/bin/nasm
-- CMAKE_ASM_NASM_COMPILER = /usr/bin/nasm
-- CMAKE_ASM_NASM_OBJECT_FORMAT = elf64
-- CMAKE_ASM_NASM_FLAGS =  -DELF -D__x86_64__ -DPIC 
-- SIMD extensions: x86_64 (WITH_SIMD = 1)
-- FLOATTEST = sse
-- RPM architecture = x86_64, DEB architecture = amd64
CMake Error at CMakeLists.txt:1450 (install):
  install TARGETS given no RUNTIME DESTINATION for executable target
  "jpegexiforient".


-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe
C++             
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5_build-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5_build-abi_x86_64.amd64/CMakeFiles/CMakeError.log".
 * ERROR: media-libs/libjpeg-turbo-2.0.5::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 4032:  Called cmake-multilib_src_configure
 *   environment, line  600:  Called multilib-minimal_src_configure
 *   environment, line 3327:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 3560:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 3257:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 3255:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  463:  Called multilib-minimal_abi_src_configure
 *   environment, line 3321:  Called multilib_src_configure
 *   environment, line 3793:  Called cmake_src_configure
 *   environment, line  846:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=media-libs/libjpeg-turbo-2.0.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libjpeg-turbo-2.0.5::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =libjpeg-turbo-2.0.5
 * The complete build log is located at '/var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5_build-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-libs/libjpeg-turbo-2.0.5/work/libjpeg-turbo-2.0.5'



 # emerge --info
Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.0, gcc-8.3.0, glibc-2.30-r8, 4.19.37-gentoo x86_64)
=================================================================
System uname: Linux-4.19.37-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_0_@_2.00GHz-with-gentoo-2.6
KiB Mem:     4028944 total,    506620 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 20 Aug 2020 00:30:01 +0000
Head commit of repository gentoo: 77439a6401a71baa4f5531618182b52947c13708
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

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

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

internal_portage_overlay
    location: /var/lib/layman/internal_portage_overlay
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask --verbose-conflicts"
ENV_UNSET="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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/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="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm hardened iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode vim-syntax xattr xen zlib" 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="mmx mmxext sse sse2 sse3 sse4_1 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="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-20 17:55:42 UTC
Please upgrade dev-util/cmake and retry.
Comment 2 Kristaps Kaupe 2020-08-20 20:02:36 UTC
Upgrading CMake to 3.16.5 solved this issue for me.

Forgot to mention I previously tried also building manually from sources, without portage, with old CMake, then it succeeded, both 2.0.5 and git master. That's why I didn't tried upgrading CMake.
Comment 3 Larry the Git Cow gentoo-dev 2020-08-20 20:41:36 UTC
The bug has been closed via the following commit(s):

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

commit 3c544b87ab683b7b3f64035d73c543c1af53f914
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-08-20 20:30:34 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-08-20 20:35:28 +0000

    media-libs/libjpeg-turbo: avoid ancient dev-util/cmake
    
    Closes: https://bugs.gentoo.org/738184
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5.ebuild | 1 +
 1 file changed, 1 insertion(+)