Project

General

Profile

Bug #11098

Master branch does not compile: error: shadowed declaration is here

Added by Bogdan Hlevca almost 3 years ago. Updated over 2 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Buildsystem
Target version:
Start date:
07/28/2016
Due date:
% Done:

100%

Affected Version:
git development version
System:
openSUSE
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Release 2.1.0 compiles fine (git checkout -b release-2.1.0), however the master branch does not compile and stops with an error as shown below.

[ 39%] Building CXX object src/CMakeFiles/lib_darktable.dir/common/imageio_exr.cc.o
/software/software/Graphics/Photo/darktable/src/views/view.c: In function ‘dt_view_image_expose’:
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
       float x, y;
             ^
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1309:19: error: shadowed declaration is here [-Werror=shadow]
       const float x = zoom == 1 ? (0.07) * fscale : .21 * width;
                   ^
/software/software/Graphics/Photo/darktable/src/views/view.c:1309:19: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1309:19: error: shadowed declaration is here [-Werror=shadow]
cc1: all warnings being treated as errors
src/CMakeFiles/lib_darktable.dir/build.make:2188: recipe for target 'src/CMakeFiles/lib_darktable.dir/views/view.c.o' failed
gmake[2]: *** [src/CMakeFiles/lib_darktable.dir/views/view.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 39%] Building C object src/CMakeFiles/lib_darktable.dir/common/imageio_j2k.c.o
CMakeFiles/Makefile2:1374: recipe for target 'src/CMakeFiles/lib_darktable.dir/all' failed
gmake[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
gmake: *** [all] Error 2
bogdan@high:/software/software/Graphics/Photo/darktable> 

Associated revisions

Revision dc7839b9
Added by Roman Lebedev almost 3 years ago

CMake: -Wshadow: check each compiler(C,C++) version. Fixes #11098

Cmake does not care if c and c++ compilers are of different versions...

History

#1 Updated by Roman Lebedev almost 3 years ago

  • Status changed from New to Incomplete
  • % Done changed from 0 to 20

There is no Release 2.1.0, that tag points to the same commit as 2.0.0.
Also, git master is absolutely not "git stable branch".

Which commit does not compile? Which compiler? I have fixed that some time ago

#2 Updated by Roman Lebedev almost 3 years ago

  • Affected Version changed from git stable branch to git development version

#3 Updated by Bogdan Hlevca almost 3 years ago

There is no Release 2.1.0, that tag points to the same commit as 2.0.0.

I did "git checkout -b release-2.1.0" ad that one compiles

Also, git master is absolutely not "git stable branch".

I was not sure what it was, it is the development branch then

Which commit does not compile? Which compiler? I have fixed that some time ago

I use gcc 5.3.1

#4 Updated by Roman Lebedev almost 3 years ago

Bogdan Hlevca wrote:

There is no Release 2.1.0, that tag points to the same commit as 2.0.0.

I did "git checkout -b release-2.1.0" ad that one compiles

Does commit 534030217d310703afe98c3d1b30affec2880bd6 compile?
If not, remove build dir, and provide the full console output starting with checking out the current git master.

Also, git master is absolutely not "git stable branch".

I was not sure what it was, it is the development branch then

Which commit does not compile? Which compiler? I have fixed that some time ago

I use gcc 5.3.1

Hm, that is really strange.

#5 Updated by Bogdan Hlevca almost 3 years ago

bogdan@high:/software/software/Graphics/Photo> git clone https://github.com/darktable-org/darktable.git
Cloning into 'darktable'...
remote: Counting objects: 134418, done.
remote: Compressing objects: 100% (63/63), done.
remote: Total 134418 (delta 37), reused 0 (delta 0), pack-reused 134355
Receiving objects: 100% (134418/134418), 220.28 MiB | 2.88 MiB/s, done.
Resolving deltas: 100% (104993/104993), done.
Checking connectivity... done.
bogdan@high:/software/software/Graphics/Photo> 


-----------
BUILD
-----------
bogdan@high:/software/software/Graphics/Photo/darktable> ./build.sh 
Darktable build script

Building directory:  /software/software/Graphics/Photo/darktable/build
Installation prefix: /opt/darktable
Build type:          RelWithDebInfo
Build generator:     Unix Makefiles
Build tasks:         12

-- Building SSE2-optimized codepaths: ON
-- Found little endian system. Good.
-- Looking for external programs
-- Found perl
-- Found intltool-merge
-- Found desktop-file-validate
-- Found xsltproc
-- Found xmllint
-- All external programs found
-- Found Gettext 
-- Found msgfmt to convert language file. Translation enabled
-- Found Glib 2.44.1
-- Found LibXml2: /usr/lib64/libxml2.so (found suitable version "2.9.1", minimum required is "2.6") 
-- Checking for one of the modules 'libsoup-2.2;libsoup2'
-- Found GIO 
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1") 
-- Found JsonGlib 
-- Internationalization: Enabled
-- Found OpenJPEG 
-- Found GraphicsMagick 
-- Does the compiler support __builtin_cpu_supports(): 1
-- Checking for -march=native support
-- Lua support: Enabled
-- Map mode: enabled
-- Print mode: enabled
-- building darktable-cmstest with colord support. nice.
-- 
-- Configuring done
-- Generating done
-- Build files have been written to: /software/software/Graphics/Photo/darktable/build
[  0%] Built target locale_el
[  1%] Built target locale_sv
[  1%] Built target locale_he
[  1%] Built target locale_fr
[  1%] Built target locale_gl
[  1%] Built target locale_zh_CN
[  1%] Built target locale_uk
[  1%] Built target locale_th
[  1%] Built target locale_ru
[  1%] Built target locale_pt_BR
[  1%] Updating version string
[  1%] Built target locale_cs
[  3%] Built target locale_de
[  3%] Built target locale_fi
[  3%] Built target locale_da
[  3%] Built target locale_af
[  3%] Built target locale_hu
[  3%] Built target locale_pt_PT
[  3%] Built target locale_ca
[  3%] Built target locale_ro
[  3%] Built target locale_it
[  3%] Built target locale_sq
[  3%] Built target locale_es
[  4%] Built target locale_ja
[  4%] Built target locale_nl
[  4%] Built target locale_pl
[  4%] Built target locale_sk
[  4%] Checking validity of external/rawspeed/data/cameras.xml
[  4%] Built target lautoc
[  4%] Checking validity of data/darktableconfig.xml
[  4%] Built target locale_sl
[  4%] Built target generate_metadata
[  4%] Checking validity of darktable.desktop
[  4%] Built target darktable-cmstest
[  4%] Built target manpage-es-darktable-cltest.1
[  4%] Built target darktable.appdata_file
[  4%] Built target manpage-es-darktable-viewer.1
[  4%] Built target validate_darktable_desktop
[  4%] Built target validate_darktableconfig_xml
[  6%] Built target manpage-es-darktable.1
[  6%] Built target manpage-es-darktable-generate-cache.1
[  6%] Built target manpage-es-darktable-cli.1
[  6%] Built target manpage_darktable-generate-cache.1
[  6%] Built target manpage-de-darktable-cmstest.1
[  6%] Built target manpage-de-darktable-cli.1
[  6%] Built target manpage-de-darktable.1
[  6%] Built target manpage-de-darktable-cltest.1
[  6%] Built target manpage-de-darktable-generate-cache.1
[  7%] Built target manpage-de-darktable-viewer.1
[  7%] Built target validate_cameras_xml
[  7%] Built target manpage_darktable-cmstest.1
[  7%] Built target create_version_gen
[  9%] Built target manpage-es-darktable-cmstest.1
[  9%] Built target manpage_darktable.1
[  9%] Built target manpage_darktable-cli.1
[  9%] Built target manpage_darktable-cltest.1
[ 10%] Built target manpage-fr-darktable-cmstest.1
[ 10%] Built target manpage-fr-darktable-generate-cache.1
[ 10%] Built target manpage-fr-darktable-cli.1
[ 10%] Built target manpage-fr-darktable-viewer.1
[ 10%] Built target manpage_darktable-viewer.1
[ 10%] Built target manpage-fr-darktable-cltest.1
[ 12%] Built target manpage-fr-darktable.1
[ 12%] Built target generate_preferences
[ 12%] Built target darktable.desktop_file
[ 12%] Built target generate_version
[ 12%] Built target darktablerc_file
[ 12%] Built target darktablerc.html_file
[ 12%] Built target manpage-de
[ 12%] Built target manpage-es
[ 12%] Built target manpage-fr
[ 12%] Built target manpages
[ 23%] Built target rawspeed
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/views/view.c.o
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/lua/format.c.o
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/lua/glist.c.o
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/gui/camera_import_dialog.c.o
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/lua/cairo.c.o
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/lua/call.c.o
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/lua/gui.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/lua/database.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/lua/film.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/lua/configuration.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/lua/gettext.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/lua/events.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/lua/guides.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/lua/image.c.o
/software/software/Graphics/Photo/darktable/src/views/view.c: In function ‘dt_view_image_expose’:
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
       float x, y;
             ^
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1309:19: error: shadowed declaration is here [-Werror=shadow]
       const float x = zoom == 1 ? (0.07) * fscale : .21 * width;
                   ^
/software/software/Graphics/Photo/darktable/src/views/view.c:1309:19: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1309:19: error: shadowed declaration is here [-Werror=shadow]
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/lua/init.c.o
cc1: all warnings being treated as errors
src/CMakeFiles/lib_darktable.dir/build.make:2188: recipe for target 'src/CMakeFiles/lib_darktable.dir/views/view.c.o' failed
gmake[2]: *** [src/CMakeFiles/lib_darktable.dir/views/view.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:1374: recipe for target 'src/CMakeFiles/lib_darktable.dir/all' failed
gmake[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
gmake: *** [all] Error 2

#6 Updated by Roman Lebedev almost 3 years ago

Bogdan Hlevca wrote:

[...]
-----------
BUILD
-----------

[...]

You forgot rm -rf build/, so cmake output is incomplete.
What does `tools/get_git_version_string.sh` say?

#7 Updated by Bogdan Hlevca almost 3 years ago

I tried your commit as well but fails too. See below:

bogdan@high:/software/software/Graphics/Photo/darktable> git checkout -b 534030217d310703afe98c3d1b30affec2880bd6
Switched to a new branch '534030217d310703afe98c3d1b30affec2880bd6'
bogdan@high:/software/software/Graphics/Photo/darktable> git status
On branch 534030217d310703afe98c3d1b30affec2880bd6
Untracked files:
  (use "git add <file>..." to include in what will be committed)

        build.log

nothing added to commit but untracked files present (use "git add" to track)
bogdan@high:/software/software/Graphics/Photo/darktable> rm -rf build
bogdan@high:/software/software/Graphics/Photo/darktable> ./build.sh 
Darktable build script

Building directory:  /software/software/Graphics/Photo/darktable/build
Installation prefix: /opt/darktable
Build type:          RelWithDebInfo
Build generator:     Unix Makefiles
Build tasks:         12

-- The CXX compiler identification is GNU 5.3.1
-- The C compiler identification is GNU 4.8.5
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test _MSSE2
-- Performing Test _MSSE2 - Success
-- Building SSE2-optimized codepaths: ON
-- Check if the system is big endian
-- Searching 16 bit integer
-- 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 unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found little endian system. Good.
-- Looking for external programs
-- Found perl
-- Found intltool-merge
-- Found desktop-file-validate
-- Found xsltproc
-- Found xmllint
-- All external programs found
-- Found Gettext 
-- Found msgfmt to convert language file. Translation enabled
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp  
-- Found Glib 2.44.1
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.16.7
-- Found GTK3: /usr/include/gtk-3.0;/usr/include/at-spi2-atk/2.0;/usr/include/at-spi-2.0;/usr/include/dbus-1.0;/usr/lib64/dbus-1.0/include;/usr/include/gtk-3.0;/usr/include/gio-unix-2.0/;/usr/include/cairo;/usr/include/pango-1.0;/usr/include/harfbuzz;/usr/include/pango-1.0;/usr/include/atk-1.0;/usr/include/cairo;/usr/include/pixman-1;/usr/include/freetype2;/usr/include/libdrm;/usr/include/libpng16;/usr/include/gdk-pixbuf-2.0;/usr/include/libpng16;/usr/include/glib-2.0;/usr/lib64/glib-2.0/include (Required is at least version "3.14") 
-- Found LibXml2: /usr/lib64/libxml2.so (found suitable version "2.9.1", minimum required is "2.6") 
-- Checking for one of the modules 'libsoup-2.4;libsoup2'
-- Checking for one of the modules 'libsoup-2.2;libsoup2'
-- Found GPHOTO2: /usr/lib64/libgphoto2.so  
-- Found OPENEXR: /usr/lib64/libIlmImf.so;/usr/lib64/libImath.so;/usr/lib64/libIex.so;/usr/lib64/libIlmThread.so  
-- Found WEBP: /usr/lib64/libwebp.so (Required is at least version "0.3.0") 
-- Found LENSFUN: /usr/lib64/liblensfun.so  
-- Found GIO 
-- Found GThread: /usr/lib64/libgthread-2.0.so  
-- Found GModule: /usr/lib64/libgmodule-2.0.so  
-- Found PANGOCAIRO: /usr/lib64/libpangocairo-1.0.so  
-- Found PThread: /usr/lib64/libpthread.so  
-- Found RSVG2: /usr/lib64/librsvg-2.so  
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1") 
-- Found SQLITE3: /usr/lib64/libsqlite3.so  
-- Found CURL: /usr/lib64/libcurl.so (found version "7.37.0") 
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") 
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.8") 
-- Found JPEG: /usr/lib64/libjpeg.so  
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.0.6") 
-- Found LCMS2: /usr/lib64/liblcms2.so  
-- Found JsonGlib 
-- Found EXIV2: /usr/lib64/libexiv2.so  
-- Internationalization: Enabled
-- Found FLICKCURL: /usr/lib64/libflickcurl.so  
-- Found OpenJPEG 
-- Found LIBSECRET: /usr/include/libsecret-1;/usr/include/glib-2.0;/usr/lib64/glib-2.0/include  
-- Found GraphicsMagick 
-- Performing Test HAVE_BUILTIN_CPU_SUPPORTS
-- Performing Test HAVE_BUILTIN_CPU_SUPPORTS - Success
-- Does the compiler support __builtin_cpu_supports(): 1
-- Checking for -march=native support
-- Performing Test MARCHNATIVE
-- Performing Test MARCHNATIVE - Success
-- Checking for one of the modules 'lua52;lua5.2;lua-5.2;lua'
-- Lua support: Enabled
-- Found Pugixml: /usr/lib64/libpugixml.so (Required is at least version "1.2") 
-- Map mode: enabled
-- Found CUPS: /usr/lib64/libcups.so  
-- Print mode: enabled
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- building darktable-cmstest with colord support. nice.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found SDL: /usr/lib64/libSDLmain.a;/usr/lib64/libSDL.so (found version "1.2.15") 
-- Found OpenGL: /usr/lib64/libGL.so  
-- 
-- Found Java: /usr/lib64/jvm/java/bin/java (found version "1.8.0.91") 
-- Configuring done
-- Generating done
-- Build files have been written to: /software/software/Graphics/Photo/darktable/build
Scanning dependencies of target locale_ru
Scanning dependencies of target locale_he
Scanning dependencies of target locale_fr
Scanning dependencies of target locale_uk
Scanning dependencies of target locale_th
Scanning dependencies of target locale_cs
Scanning dependencies of target locale_pt_BR
Scanning dependencies of target locale_el
Scanning dependencies of target locale_sv
Scanning dependencies of target locale_zh_CN
Scanning dependencies of target locale_gl
Scanning dependencies of target create_version_gen
[  0%] Building he locale
[  0%] Building uk locale
[  0%] Building ru locale
[  0%] Building fr locale
[  0%] Building th locale
[  0%] Building el locale
[  0%] Building pt_BR locale
[  1%] Building sv locale
[  1%] Building gl locale
[  1%] Updating version string
[  1%] Building zh_CN locale
[  1%] Building cs locale
530 translated messages, 2 fuzzy translations, 1098 untranslated messages.
1876 translated messages, 73 fuzzy translations, 88 untranslated messages.
1838 translated messages, 3 fuzzy translations.
[  1%] Built target locale_th
[  1%] Built target locale_ru
[  1%] Built target locale_uk
398 translated messages, 591 fuzzy translations, 629 untranslated messages.
Scanning dependencies of target locale_de
Scanning dependencies of target locale_fi
1752 translated messages.
2151 translated messages.
[  1%] Built target locale_gl
[  3%] Building de locale
Scanning dependencies of target locale_af
1518 translated messages, 74 fuzzy translations, 26 untranslated messages.
[  3%] Built target locale_he
[  3%] Building fi locale
[  3%] Built target locale_pt_BR
[  3%] Built target locale_zh_CN
2006 translated messages, 1 fuzzy translation, 29 untranslated messages.
Scanning dependencies of target locale_da
Scanning dependencies of target locale_hu
[  3%] Building af locale
Scanning dependencies of target locale_ca
Scanning dependencies of target locale_ro
[  3%] Built target locale_el
2150 translated messages, 1 untranslated message.
[  3%] Building da locale
2132 translated messages, 7 untranslated messages.
[  3%] Building ca locale
[  3%] Building hu locale
[  3%] Built target locale_fr
Scanning dependencies of target locale_it
[  3%] Built target locale_sv
[  3%] Building ro locale
[  3%] Building it locale
Scanning dependencies of target locale_pt_PT
[  3%] Built target create_version_gen
2136 translated messages.
613 translated messages, 551 fuzzy translations, 454 untranslated messages.
[  3%] Built target locale_cs
2053 translated messages, 59 fuzzy translations, 46 untranslated messages.
[  3%] Building pt_PT locale
Scanning dependencies of target locale_es
[  3%] Built target locale_fi
Scanning dependencies of target locale_ja
166 translated messages, 2093 untranslated messages.
[  3%] Built target locale_de
2140 translated messages.
[  3%] Building es locale
[  3%] Built target locale_af
Scanning dependencies of target locale_nl
[  4%] Building ja locale
Scanning dependencies of target locale_pl
[  4%] Built target locale_da
Scanning dependencies of target locale_sq
[  4%] Building nl locale
Scanning dependencies of target locale_sk
713 translated messages, 490 fuzzy translations, 415 untranslated messages.
Scanning dependencies of target locale_sl
[  4%] Building pl locale
[  4%] Building sq locale
2158 translated messages.
[  4%] Building sk locale
2029 translated messages, 9 fuzzy translations.
[  4%] Building sl locale
[  4%] Built target locale_ro
[  4%] Built target locale_hu
[  4%] Built target locale_ca
1739 translated messages, 1 fuzzy translation, 4 untranslated messages.
2034 translated messages.
Scanning dependencies of target generate_metadata
Scanning dependencies of target lautoc
[  4%] Built target locale_pt_PT
Scanning dependencies of target validate_darktableconfig_xml
[  4%] Built target locale_it
[  4%] Checking validity of data/darktableconfig.xml
Scanning dependencies of target validate_cameras_xml
2036 translated messages.
Scanning dependencies of target darktable-cmstest
2140 translated messages.
[  4%] Building C object src/external/LuaAutoC/CMakeFiles/lautoc.dir/lautoc.c.o
[  4%] Built target locale_ja
[  4%] Built target validate_darktableconfig_xml
[  4%] Generating metadata .c/.h
1824 translated messages, 7 fuzzy translations, 10 untranslated messages.
[  4%] Built target locale_es
1744 translated messages.
2140 translated messages.
[  4%] Checking validity of external/rawspeed/data/cameras.xml
2048 translated messages.
[  4%] Built target locale_sq
Scanning dependencies of target darktable.appdata_file
Scanning dependencies of target darktablerc_file
Scanning dependencies of target validate_darktable_desktop
2093 translated messages, 7 fuzzy translations, 11 untranslated messages.
[  4%] Built target locale_pl
[  4%] Built target locale_sl
[  4%] Built target locale_nl
[  4%] Built target locale_sk
Scanning dependencies of target darktablerc.html_file
[  4%] Generating darktable.appdata.xml
[  4%] Generating darktablerc
[  4%] Generating darktable.desktop
Scanning dependencies of target manpage-es-darktable-viewer.1
Scanning dependencies of target manpage-es-darktable.1
Scanning dependencies of target manpage-es-darktable-cltest.1
[  4%] Generating darktablerc.html
Scanning dependencies of target manpage-es-darktable-generate-cache.1
[  6%] Generating es/darktable.pod
[  6%] Built target darktablerc_file
[  6%] Generating es/darktable-viewer.pod
[  6%] Generating es/darktable-cltest.pod
[  6%] Built target validate_cameras_xml
[  6%] Generating es/darktable-generate-cache.pod
[  6%] Generating de/darktable-generate-cache.pod
[  6%] Generating de/darktable-cltest.pod
[  6%] Built target darktablerc.html_file
[  6%] Building C object src/cmstest/CMakeFiles/darktable-cmstest.dir/main.c.o
[  6%] Generating de/darktable.pod
[  6%] Built target generate_metadata
Scanning dependencies of target manpage-es-darktable-cli.1
[  6%] Generating es/darktable-cltest.1
[  6%] Generating es/darktable-generate-cache.1
[  6%] Generating de/darktable-viewer.pod
[  6%] Generating es/darktable-cli.pod
[  6%] Generating de/darktable-cli.pod
Scanning dependencies of target manpage_darktable-generate-cache.1
[  6%] Generating darktable-generate-cache.1
[  6%] Generating es/darktable.1
Scanning dependencies of target manpage-de-darktable.1
[  6%] Generating de/darktable.1
[  6%] Built target manpage-es-darktable-generate-cache.1
Scanning dependencies of target manpage-de-darktable-cli.1
[  6%] Generating de/darktable-cli.pod
[  6%] Generating es/darktable-viewer.1
[  6%] Built target manpage-es-darktable-cltest.1
[  6%] Built target manpage_darktable-generate-cache.1
Scanning dependencies of target manpage-de-darktable-cmstest.1
[  6%] Linking C executable darktable-cmstest
Scanning dependencies of target manpage-de-darktable-viewer.1
[  6%] Generating es/darktable-cli.1
Scanning dependencies of target manpage-de-darktable-generate-cache.1
[  6%] Generating de/darktable-cmstest.pod
[  7%] Generating de/darktable-viewer.1
[  7%] Generating de/darktable-generate-cache.1
[  7%] Built target darktable-cmstest
[  7%] Built target manpage-es-darktable.1
Scanning dependencies of target manpage-de-darktable-cltest.1
Scanning dependencies of target manpage_darktable-cmstest.1
[  7%] Built target manpage-es-darktable-viewer.1
[  7%] Generating de/darktable-cltest.1
[  7%] Linking C static library liblautoc.a
[  7%] Built target manpage-de-darktable.1
[  7%] Generating darktable-cmstest.1
Scanning dependencies of target manpage_darktable-cltest.1
[  7%] Generating de/darktable-cli.1
[  7%] Built target manpage-es-darktable-cli.1
Scanning dependencies of target manpage-es-darktable-cmstest.1
[  7%] Generating darktable-cltest.1
Scanning dependencies of target manpage_darktable.1
[  7%] Generating de/darktable-cmstest.1
[  7%] Built target lautoc
[  7%] Generating es/darktable-cmstest.pod
Scanning dependencies of target manpage_darktable-cli.1
[  7%] Generating darktable.1
[  7%] Built target manpage-de-darktable-generate-cache.1
Scanning dependencies of target manpage-fr-darktable-cli.1
[  7%] Generating fr/darktable-cli.pod
[  7%] Generating darktable-cli.1
[  7%] Built target manpage-de-darktable-viewer.1
[  7%] Built target manpage_darktable-cmstest.1
Scanning dependencies of target manpage-fr-darktable-cmstest.1
Scanning dependencies of target manpage-fr-darktable-cltest.1
[  7%] Generating fr/darktable-cltest.pod
[  7%] Built target manpage-de-darktable-cltest.1
[  7%] Built target manpage-de-darktable-cli.1
Scanning dependencies of target manpage-fr-darktable-generate-cache.1
Scanning dependencies of target manpage-fr-darktable-viewer.1
[  7%] Generating fr/darktable-cmstest.pod
[  7%] Built target manpage_darktable-cltest.1
[  7%] Generating fr/darktable-generate-cache.pod
[  9%] Generating es/darktable-cmstest.1
Scanning dependencies of target manpage-fr-darktable.1
[  9%] Generating fr/darktable-viewer.pod
[  9%] Generating fr/darktable.pod
[  9%] Built target manpage-de-darktable-cmstest.1
Scanning dependencies of target manpage_darktable-viewer.1
[  9%] Generating fr/darktable-cli.1
[  9%] Generating darktable-viewer.1
[  9%] Built target manpage_darktable-cli.1
Scanning dependencies of target generate_version
[  9%] Built target generate_version
Scanning dependencies of target generate_preferences
[  9%] Generating preferences
[  9%] Generating fr/darktable-cltest.1
[  9%] Built target manpage_darktable.1
[  9%] Built target generate_preferences
Scanning dependencies of target manpage-de
Scanning dependencies of target rawspeed
[  9%] Built target manpage-de
[  9%] Built target manpage-es-darktable-cmstest.1
[  9%] Generating fr/darktable-generate-cache.1
[  9%] Generating fr/darktable-cmstest.1
[  9%] Generating fr/darktable-viewer.1
Scanning dependencies of target manpage-es
[  9%] Built target manpage-es
[  9%] Built target manpage-fr-darktable-cli.1
[  9%] Built target manpage_darktable-viewer.1
[  9%] Built target manpage-fr-darktable-cltest.1
[  9%] Generating fr/darktable.1
[ 10%] Built target manpage-fr-darktable-cmstest.1
[ 10%] Built target manpage-fr-darktable-generate-cache.1
[ 10%] Built target manpage-fr-darktable-viewer.1
[ 12%] Built target manpage-fr-darktable.1
Scanning dependencies of target manpage-fr
[ 12%] Built target manpage-fr
Scanning dependencies of target manpages
[ 12%] Built target manpages
Merging translations into /software/software/Graphics/Photo/darktable/build/data/darktable.desktop.
[ 12%] Checking validity of darktable.desktop
[ 12%] Built target validate_darktable_desktop
Merging translations into /software/software/Graphics/Photo/darktable/build/data/darktable.appdata.xml.
[ 12%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/BitPumpMSB16.cpp.o
[ 14%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/ArwDecoder.cpp.o
[ 14%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/AriDecoder.cpp.o
[ 14%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/BitPumpJPEG.cpp.o
[ 14%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/BitPumpPlain.cpp.o
[ 14%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/BlackArea.cpp.o
[ 14%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/BitPumpMSB32.cpp.o
[ 14%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/BitPumpMSB.cpp.o
[ 14%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/ByteStreamSwap.cpp.o
[ 14%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/ByteStream.cpp.o
Scanning dependencies of target darktable.desktop_file
[ 14%] Built target darktable.desktop_file
CREATED /software/software/Graphics/Photo/darktable/build/data/darktable.appdata.xml
[ 14%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/Camera.cpp.o
[ 14%] Built target darktable.appdata_file
[ 15%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/CameraMetaData.cpp.o
[ 15%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/CameraMetadataException.cpp.o
[ 15%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/CameraSensorInfo.cpp.o
[ 15%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/CiffEntry.cpp.o
[ 15%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/CiffIFD.cpp.o
[ 15%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/CiffParser.cpp.o
[ 15%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/CiffParserException.cpp.o
[ 15%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/ColorFilterArray.cpp.o
[ 15%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/Common.cpp.o
[ 17%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/Cr2Decoder.cpp.o
[ 17%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/CrwDecoder.cpp.o
[ 17%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/DcrDecoder.cpp.o
[ 17%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/DcsDecoder.cpp.o
[ 17%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/DngDecoder.cpp.o
[ 17%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/DngOpcodes.cpp.o
[ 17%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/DngDecoderSlices.cpp.o
[ 17%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/ErfDecoder.cpp.o
[ 17%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/FileIOException.cpp.o
[ 17%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/FileMap.cpp.o
[ 18%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/FileReader.cpp.o
[ 18%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/FileWriter.cpp.o
[ 18%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/HasselbladDecompressor.cpp.o
[ 18%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/IOException.cpp.o
[ 18%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/KdcDecoder.cpp.o
[ 18%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/LJpegDecompressor.cpp.o
[ 18%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/LJpegPlain.cpp.o
[ 18%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/MefDecoder.cpp.o
[ 18%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/MosDecoder.cpp.o
[ 18%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/MrwDecoder.cpp.o
[ 20%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/NakedDecoder.cpp.o
[ 20%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/NefDecoder.cpp.o
[ 20%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/NikonDecompressor.cpp.o
[ 20%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/OrfDecoder.cpp.o
[ 20%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/PefDecoder.cpp.o
[ 20%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/PentaxDecompressor.cpp.o
[ 20%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/RafDecoder.cpp.o
[ 20%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/RawDecoder.cpp.o
[ 20%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/RawDecoderException.cpp.o
[ 20%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/RawImage.cpp.o
[ 21%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/RawImageDataFloat.cpp.o
[ 21%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/RawImageDataU16.cpp.o
[ 21%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/Rw2Decoder.cpp.o
[ 21%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/RawParser.cpp.o
[ 21%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/SrwDecoder.cpp.o
[ 21%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/StdAfx.cpp.o
[ 21%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/ThreefrDecoder.cpp.o
[ 21%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/TiffEntry.cpp.o
[ 21%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/TiffEntryBE.cpp.o
[ 21%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/TiffIFD.cpp.o
[ 23%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/TiffIFDBE.cpp.o
[ 23%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/TiffParser.cpp.o
[ 23%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/TiffParserException.cpp.o
[ 23%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/X3fParser.cpp.o
[ 23%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/X3fDecoder.cpp.o
[ 23%] Linking CXX static library librawspeed.a
[ 23%] Built target rawspeed
Scanning dependencies of target lib_darktable
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/metadata_gen.c.o
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/common/calculator.c.o
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/common/bilateralcl.c.o
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/common/curve_tools.c.o
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/common/cache.c.o
[ 23%] Building C object src/CMakeFiles/lib_darktable.dir/bauhaus/bauhaus.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/common/bilateral.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/common/collection.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/common/cpuid.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/common/colorspaces.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/common/colorlabels.c.o
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/common/darktable.c.o
[ 26%] Building C object src/CMakeFiles/lib_darktable.dir/common/database.c.o
[ 26%] Building C object src/CMakeFiles/lib_darktable.dir/common/dbus.c.o
[ 26%] Building CXX object src/CMakeFiles/lib_darktable.dir/common/exif.cc.o
[ 26%] Building C object src/CMakeFiles/lib_darktable.dir/common/film.c.o
[ 26%] Building C object src/CMakeFiles/lib_darktable.dir/common/file_location.c.o
[ 26%] Building C object src/CMakeFiles/lib_darktable.dir/common/fswatch.c.o
[ 26%] Building C object src/CMakeFiles/lib_darktable.dir/common/gaussian.c.o
[ 26%] Building C object src/CMakeFiles/lib_darktable.dir/common/grouping.c.o
[ 26%] Building C object src/CMakeFiles/lib_darktable.dir/common/history.c.o
[ 28%] Building C object src/CMakeFiles/lib_darktable.dir/common/gpx.c.o
[ 28%] Building C object src/CMakeFiles/lib_darktable.dir/common/image.c.o
[ 28%] Building C object src/CMakeFiles/lib_darktable.dir/common/image_cache.c.o
[ 28%] Building C object src/CMakeFiles/lib_darktable.dir/common/image_compression.c.o
[ 28%] Building C object src/CMakeFiles/lib_darktable.dir/common/imageio.c.o
[ 28%] Building C object src/CMakeFiles/lib_darktable.dir/common/imageio_jpeg.c.o
[ 28%] Building C object src/CMakeFiles/lib_darktable.dir/common/imageio_png.c.o
[ 28%] Building C object src/CMakeFiles/lib_darktable.dir/common/imageio_module.c.o
[ 28%] Building C object src/CMakeFiles/lib_darktable.dir/common/imageio_pfm.c.o
[ 28%] Building C object src/CMakeFiles/lib_darktable.dir/common/imageio_rgbe.c.o
[ 29%] Building C object src/CMakeFiles/lib_darktable.dir/common/imageio_tiff.c.o
[ 29%] Building C object src/CMakeFiles/lib_darktable.dir/common/imageio_gm.c.o
[ 29%] Building CXX object src/CMakeFiles/lib_darktable.dir/common/imageio_rawspeed.cc.o
[ 29%] Building C object src/CMakeFiles/lib_darktable.dir/common/import_session.c.o
[ 29%] Building C object src/CMakeFiles/lib_darktable.dir/common/interpolation.c.o
[ 29%] Building C object src/CMakeFiles/lib_darktable.dir/common/metadata.c.o
[ 29%] Building C object src/CMakeFiles/lib_darktable.dir/common/mipmap_cache.c.o
[ 29%] Building C object src/CMakeFiles/lib_darktable.dir/common/noiseprofiles.c.o
[ 29%] Building C object src/CMakeFiles/lib_darktable.dir/common/pdf.c.o
[ 29%] Building C object src/CMakeFiles/lib_darktable.dir/common/styles.c.o
[ 31%] Building C object src/CMakeFiles/lib_darktable.dir/common/selection.c.o
[ 31%] Building C object src/CMakeFiles/lib_darktable.dir/common/tags.c.o
[ 31%] Building C object src/CMakeFiles/lib_darktable.dir/common/utility.c.o
[ 31%] Building C object src/CMakeFiles/lib_darktable.dir/common/variables.c.o
[ 31%] Building C object src/CMakeFiles/lib_darktable.dir/common/pwstorage/backend_kwallet.c.o
[ 31%] Building C object src/CMakeFiles/lib_darktable.dir/common/pwstorage/pwstorage.c.o
[ 31%] Building C object src/CMakeFiles/lib_darktable.dir/common/opencl.c.o
[ 31%] Building C object src/CMakeFiles/lib_darktable.dir/common/dynload.c.o
[ 31%] Building C object src/CMakeFiles/lib_darktable.dir/common/dlopencl.c.o
[ 31%] Building C object src/CMakeFiles/lib_darktable.dir/common/ratings.c.o
[ 32%] Building C object src/CMakeFiles/lib_darktable.dir/common/histogram.c.o
[ 32%] Building C object src/CMakeFiles/lib_darktable.dir/control/control.c.o
[ 32%] Building C object src/CMakeFiles/lib_darktable.dir/control/crawler.c.o
[ 32%] Building C object src/CMakeFiles/lib_darktable.dir/control/jobs.c.o
[ 32%] Building C object src/CMakeFiles/lib_darktable.dir/control/jobs/control_jobs.c.o
[ 32%] Building C object src/CMakeFiles/lib_darktable.dir/control/jobs/develop_jobs.c.o
[ 32%] Building C object src/CMakeFiles/lib_darktable.dir/control/jobs/film_jobs.c.o
[ 32%] Building C object src/CMakeFiles/lib_darktable.dir/control/progress.c.o
[ 32%] Building C object src/CMakeFiles/lib_darktable.dir/control/jobs/image_jobs.c.o
[ 32%] Building C object src/CMakeFiles/lib_darktable.dir/control/signal.c.o
[ 34%] Building C object src/CMakeFiles/lib_darktable.dir/develop/develop.c.o
[ 34%] Building C object src/CMakeFiles/lib_darktable.dir/develop/imageop.c.o
[ 34%] Building C object src/CMakeFiles/lib_darktable.dir/develop/lightroom.c.o
[ 34%] Building C object src/CMakeFiles/lib_darktable.dir/develop/imageop_math.c.o
[ 34%] Building C object src/CMakeFiles/lib_darktable.dir/develop/pixelpipe.c.o
[ 34%] Building C object src/CMakeFiles/lib_darktable.dir/develop/blend_gui.c.o
[ 34%] Building C object src/CMakeFiles/lib_darktable.dir/develop/blend.c.o
[ 34%] Building C object src/CMakeFiles/lib_darktable.dir/develop/tiling.c.o
[ 34%] Building C object src/CMakeFiles/lib_darktable.dir/develop/masks/masks.c.o
[ 34%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/button.c.o
[ 35%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/drawingarea.c.o
[ 35%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/expander.c.o
[ 35%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/gradientslider.c.o
[ 35%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/icon.c.o
[ 35%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/paint.c.o
[ 35%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/resetlabel.c.o
[ 35%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/sidepanel.c.o
[ 35%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/togglebutton.c.o
[ 35%] Building C object src/CMakeFiles/lib_darktable.dir/gui/accelerators.c.o
[ 35%] Building C object src/CMakeFiles/lib_darktable.dir/gui/gtkentry.c.o
[ 37%] Building C object src/CMakeFiles/lib_darktable.dir/gui/guides.c.o
[ 37%] Building C object src/CMakeFiles/lib_darktable.dir/gui/gtk.c.o
[ 37%] Building C object src/CMakeFiles/lib_darktable.dir/gui/preferences.c.o
[ 37%] Building C object src/CMakeFiles/lib_darktable.dir/gui/hist_dialog.c.o
[ 37%] Building C object src/CMakeFiles/lib_darktable.dir/gui/presets.c.o
[ 37%] Building C object src/CMakeFiles/lib_darktable.dir/gui/styles_dialog.c.o
[ 37%] Building C object src/CMakeFiles/lib_darktable.dir/libs/lib.c.o
[ 37%] Building C object src/CMakeFiles/lib_darktable.dir/views/view.c.o
[ 37%] Building C object src/CMakeFiles/lib_darktable.dir/views/undo.c.o
[ 39%] Building C object src/CMakeFiles/lib_darktable.dir/common/http_server.c.o
[ 39%] Building CXX object src/CMakeFiles/lib_darktable.dir/common/imageio_exr.cc.o
/software/software/Graphics/Photo/darktable/src/views/view.c: In function ‘dt_view_image_expose’:
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
       float x, y;
             ^
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1147:13: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1309:19: error: shadowed declaration is here [-Werror=shadow]
       const float x = zoom == 1 ? (0.07) * fscale : .21 * width;
                   ^
/software/software/Graphics/Photo/darktable/src/views/view.c:1309:19: error: shadowed declaration is here [-Werror=shadow]
/software/software/Graphics/Photo/darktable/src/views/view.c:1309:19: error: shadowed declaration is here [-Werror=shadow]
cc1: all warnings being treated as errors
src/CMakeFiles/lib_darktable.dir/build.make:2188: recipe for target 'src/CMakeFiles/lib_darktable.dir/views/view.c.o' failed
gmake[2]: *** [src/CMakeFiles/lib_darktable.dir/views/view.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:1374: recipe for target 'src/CMakeFiles/lib_darktable.dir/all' failed
gmake[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
gmake: *** [all] Error

#8 Updated by Roman Lebedev almost 3 years ago

Bogdan Hlevca wrote:

I tried your commit as well but fails too. See below:

[...]

-- The CXX compiler identification is GNU 5.3.1
-- The C compiler identification is GNU 4.8.5

Why are you using different versions of C and C++ compilers?

#9 Updated by Bogdan Hlevca almost 3 years ago

I am not sure what your build script does but I have both installed and the default is gcc 5.3.1 see below:

high:/software/software/Graphics/Photo/darktable # which gcc
/usr/bin/gcc

high:/software/software/Graphics/Photo/darktable # gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/5/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,fortran,ada,go --enable-checking=release --with-gxx-include-dir=/usr/include/c++/5 --enable-ssp --disable-libssp --disable-libvtv --enable-libmpx --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --with-default-libstdcxx-abi=gcc4-compatible --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-5 --without-system-libunwind --enable-multilib --with-arch-32=x86-64 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 5.3.1 20160301 [gcc-5-branch revision 233849] (SUSE Linux)

#10 Updated by Roman Lebedev almost 3 years ago

Bogdan Hlevca wrote:

I am not sure what your build script does but I have both installed and the default is gcc 5.3.1 see below:

[...]
[...]

That does not show `g++ -v` output

#11 Updated by Roman Lebedev almost 3 years ago

And while there, also show output of `/usr/bin/c++ -v` and `/usr/bin/cc -v`

#12 Updated by Bogdan Hlevca almost 3 years ago

And while there, also show output of `/usr/bin/c++ -v` and `/usr/bin/cc -v`

OK I understand now. You use cc in the makefiles instead of gcc.

I found the problem. The default CC has pointing to the olded 4.8.5 version while gcc was pointing to 5.3.1. Since your scrips use "cc" the older compiler was used and it failed.

After updating the cc link to the latest compiler it compiles fine. Thanks for the help

#13 Updated by Roman Lebedev almost 3 years ago

Bogdan Hlevca wrote:

And while there, also show output of `/usr/bin/c++ -v` and `/usr/bin/cc -v`

OK I understand now. You use cc in the makefiles instead of gcc.

We use cmake, i guess that is what cmake does.

I found the problem. The default CC has pointing to the olded 4.8.5 version while gcc was pointing to 5.3.1. Since your scrips use "cc" the older compiler was used and it failed.

Yep, that was the configuration issue.

After updating the cc link to the latest compiler it compiles fine. Thanks for the help

I also pushed a fix that will prevent similar -Wshadow issues in the future.

#14 Updated by Roman Lebedev almost 3 years ago

  • % Done changed from 20 to 100
  • Status changed from Incomplete to Fixed

#15 Updated by Roman Lebedev over 2 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF