Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634178 - media-gfx/exiv2-0.26_p20171013 failed
Summary: media-gfx/exiv2-0.26_p20171013 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL: https://github.com/Exiv2/exiv2/pull/118
Whiteboard:
Keywords:
: 634236 634248 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-13 15:44 UTC by Michal Jakubowski
Modified: 2017-10-14 19:12 UTC (History)
9 users (show)

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


Attachments
emerge_info (emerge_info,7.51 KB, text/plain)
2017-10-13 15:44 UTC, Michal Jakubowski
Details
CMakeOutput.log (CMakeOutput.log,83.50 KB, text/x-log)
2017-10-13 16:51 UTC, Mark Nowiasz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jakubowski 2017-10-13 15:44:48 UTC
Created attachment 498514 [details]
emerge_info

>>> Emerging (8 of 9) media-gfx/exiv2-0.26_p20171013::gentoo
>>> Failed to emerge media-gfx/exiv2-0.26_p20171013, Log file:
>>>  '/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/temp/build.log'
>>> Jobs: 7 of 9 complete, 1 failed                 Load avg: 2.75, 2.72, 2.25
 * Package:    media-gfx/exiv2-0.26_p20171013
 * Repository: gentoo
 * Maintainer: graphics@gentoo.org kde@gentoo.org
 * USE:        abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux nls png userland_GNU xmp
 * FEATURES:   ccache preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work
>>> Preparing source in /var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013 ...
 * Converting doc/cmd.txt to UTF-8
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
>>> Working in BUILD_DIR: "/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013-abi_x86_32.x86"
cmake -C /var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013-abi_x86_32.x86/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DEXIV2_BUILD_SAMPLES=NO -DEXIV2_BUILD_PO=yes -DEXIV2_ENABLE_NLS=yes -DEXIV2_ENABLE_PNG=yes -DEXIV2_ENABLE_CURL=no -DEXIV2_ENABLE_SSH=no -DEXIV2_ENABLE_WEBREADY=no -DEXIV2_ENABLE_XMP=yes -DEXIV2_BUILD_EXIV2_COMMAND=NO -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013-abi_x86_32.x86/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013-abi_x86_32.x86/gentoo_toolchain.cmake  /var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013
loading initial cache file /var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013-abi_x86_32.x86/gentoo_common_config.cmake
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib64/ccache/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
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found ZLIB: /usr/lib32/libz.so (found version "1.2.11") 
-- Found EXPAT: /usr/lib32/libexpat.so (found version "2.2.4") 
-- Found Intl: /usr/include  
-- Looking for iconv_open
-- Looking for iconv_open - found
-- Performing Test ICONV_COMPILES
-- Performing Test ICONV_COMPILES - Success
-- Found ICONV: In glibc  
-- Performing Test ICONV_ACCEPTS_NONCONST_INPUT
-- Performing Test ICONV_ACCEPTS_NONCONST_INPUT - Success
-- Performing Test ICONV_ACCEPTS_CONST_INPUT
-- Performing Test ICONV_ACCEPTS_CONST_INPUT - Failed
-- ICONV_INCLUDE_DIR : /usr/include
-- ICONV_LIBRARIES : 
-- ICONV_ACCEPTS_CONST_INPUT : 
-- Program msgfmt found (/usr/bin/msgfmt)
-- Program ccache found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for memset
-- Looking for memset - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for munmap
-- Looking for munmap - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for libintl.h
-- Looking for libintl.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for process.h
-- Looking for process.h - not found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for regex.h
-- Looking for regex.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Performing Test EXV_HAVE_DECL_STRERROR_R
-- Performing Test EXV_HAVE_DECL_STRERROR_R - Success
CMake Error at src/CMakeLists.txt:298 (target_include_directories):
  Cannot specify include directories for target "exiv2" which is not built by
  this project.


-- Install prefix:    /usr
-- None:              -march=native -O2 -pipe -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -std=gnu++98
-- Debug:             -g
-- Release:           -O3 -DNDEBUG
-- RelWithDebInfo:    -O2 -g -DNDEBUG
-- MinSizeRel:        -Os -DNDEBUG
-- Compiler info: GNU (/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++) ; version: 7.2.0
-- ------------------------------------------------------------------
-- exiv2 0.26 configure results        <http://www.exiv2.org>
-- Building shared library:            YES
-- Building PNG support:               YES
-- XMP metadata support:               YES
-- Native language support:            YES
-- Conversion of Windows XP tags:      YES
-- Nikon lens database:                YES
-- Commercial build:                   NO
-- Building video support:             NO
-- Building webready support:          NO
-- Building exiv2 command:             NO
-- Building samples:                   NO
-- Building PO files:                  YES
-- ------------------------------------------------------------------
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe
C++             -march=native -O2 -pipe -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -std=gnu++98
Linker flags:
Executable      -Wl,--hash-style=gnu
Module          -Wl,--hash-style=gnu
Shared          -Wl,--hash-style=gnu

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013-abi_x86_32.x86/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013-abi_x86_32.x86/CMakeFiles/CMakeError.log".
 * ERROR: media-gfx/exiv2-0.26_p20171013::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 4506:  Called cmake-multilib_src_configure
 *   environment, line  962:  Called multilib-minimal_src_configure
 *   environment, line 2890:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 3104:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2751:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2749:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  544:  Called multilib-minimal_abi_src_configure
 *   environment, line 2884:  Called multilib_src_configure
 *   environment, line 3324:  Called cmake-utils_src_configure
 *   environment, line 1133:  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-gfx/exiv2-0.26_p20171013::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/exiv2-0.26_p20171013::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013'

 * Messages for package media-gfx/exiv2-0.26_p20171013:

 * ERROR: media-gfx/exiv2-0.26_p20171013::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 4506:  Called cmake-multilib_src_configure
 *   environment, line  962:  Called multilib-minimal_src_configure
 *   environment, line 2890:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 3104:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2751:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2749:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  544:  Called multilib-minimal_abi_src_configure
 *   environment, line 2884:  Called multilib_src_configure
 *   environment, line 3324:  Called cmake-utils_src_configure
 *   environment, line 1133:  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-gfx/exiv2-0.26_p20171013::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/exiv2-0.26_p20171013::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013'

 * Regenerating GNU info directory index...
 * Processed 159 info files.
Gentoo-i7 ~ #
Comment 1 Mark Nowiasz 2017-10-13 16:51:29 UTC
Created attachment 498550 [details]
CMakeOutput.log

CMakeOutput.log
Comment 2 Mark Nowiasz 2017-10-13 16:52:35 UTC
Same here - I've attached CmakeOutput.log. Something strange is going on there:

/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013-abi_x86_32.x86/CMakeFiles/CMakeTmp/src.c:4:3: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
 c = strerror_r(0,c,0);
   ^
Linking C executable cmTC_ce65b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ce65b.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -m32 -march=native -O2 -pipe -DEXV_HAVE_DECL_STRERROR_R  -Wl,-O1 -Wl,--as-needed  -rdynamic CMakeFiles/cmTC_ce65b.dir/src.c.o  -o cmTC_ce65b 
gmake[1]: Leaving directory '/var/tmp/portage/media-gfx/exiv2-0.26_p20171013/work/exiv2-0.26_p20171013-abi_x86_32.x86/CMakeFiles/CMakeTmp'

Source file was:
#include <string.h>
int main() {
char * c;
c = strerror_r(0,c,0);
return 0;
}
Comment 3 Andreas Sturmlechner gentoo-dev 2017-10-13 17:00:09 UTC
Issue can be reproduced with multilib build.
Comment 4 Andreas Sturmlechner gentoo-dev 2017-10-13 17:03:34 UTC
(In reply to Mark Nowiasz from comment #2)
> Same here - I've attached CmakeOutput.log. Something strange is going on
> there:

Different problem, please open a separate bug with full information.
Comment 5 email200202 2017-10-14 06:00:00 UTC
I got the same error:
CMake Error at src/CMakeLists.txt:298 (target_include_directories):
  Cannot specify include directories for target "exiv2" which is not built by
  this project.
Comment 6 Andreas Sturmlechner gentoo-dev 2017-10-14 07:58:48 UTC
Thanks, fixed in advance of upstream approval, git commit 3d87a84e9efadd125720c7caf8b5045948353547
Comment 7 Andreas Sturmlechner gentoo-dev 2017-10-14 12:36:44 UTC
*** Bug 634236 has been marked as a duplicate of this bug. ***
Comment 8 Andreas Sturmlechner gentoo-dev 2017-10-14 17:20:25 UTC
*** Bug 634248 has been marked as a duplicate of this bug. ***