Hello,
Thank you for the reply.

I removed ccache package. But it did not solve the problem :( .


Part of console output.

=========================================================================
-- The CXX compiler identification is GNU 4.8.3
-- The C compiler identification is GNU 4.8.3
-- 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
-- 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
===========================================================================


Error
=========================================================================
/media/M-Drive/Software/Source/darktable/src/common/darktable.c: In
function ‘dt_init’:
/media/M-Drive/Software/Source/darktable/src/common/darktable.c:462:9:
error: variable ‘lua_command’ set but not used
[-Werror=unused-but-set-variable]
   char *lua_command  __attribute__((unused))= NULL;
         ^
cc1: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/darktable.c.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
make: *** [all] Error 2
[kasun@localhost darktable]$ which cc
/bin/cc
[kasun@localhost ~]# rpm -qf /bin/cc
gcc-4.8.3-1.fc20.x86_64

=========================================================================


On Tue, 2014-07-15 at 10:01 +0400, Roman Lebedev wrote:
> Hi.
> Try building without ccache.
> 
> 
> On Tue, Jul 15, 2014 at 8:53 AM, Kasun Chathuranga <kas...@gmx.com>
> wrote:
>         Hello,
>         I am using Fedora 20 with ccache-3.1.9 and gcc-4.8.3.
>         DT build fails with following errors.
>         
>         [ 31%
>         ] /media/M-Drive/Software/Source/darktable/src/common/darktable.c:
>         In function ‘dt_init’:
>         /media/M-Drive/Software/Source/darktable/src/common/darktable.c:462:9:
>         error: variable ‘lua_command’ set but not used
>         [-Werror=unused-but-set-variable]
>            char *lua_command  __attribute__((unused))= NULL;
>                  ^
>         cc1: all warnings being treated as errors
>         make[2]: ***
>         [src/CMakeFiles/lib_darktable.dir/common/darktable.c.o]
>         Error 1
>         make[2]: *** Waiting for unfinished jobs....
>         Building CXX object
>         src/CMakeFiles/lib_darktable.dir/common/exif.cc.o
>         In file included from /usr/include/exiv2/metadatum.hpp:39:0,
>                          from /usr/include/exiv2/exif.hpp:34,
>                          from /usr/include/exiv2/easyaccess.hpp:33,
>         
>         from /media/M-Drive/Software/Source/darktable/src/common/exif.cc:40:
>         /usr/include/exiv2/value.hpp:984:56: note: attribute for
>         ‘struct
>         Exiv2::DateValue::Date’ must follow the ‘struct’ keyword
>                  EXIV2API struct Date
>                                                                 ^
>         make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
>         make: *** [all] Error 2
>         [kasun@localhost darktable]$
>         
>         
>         
>         Here I attached complete output. Is there way to built it?
>         
>         --
>         Best Regards,
>         Kasun Chathuranga
>         http://kasunc.blogspot.com
>         
>         
>         "What you are is
>         what you have been.
>         What you'll be is
>         what you do now."
>         
>         
> ------------------------------------------------------------------------------
>         Want fast and easy access to all the code in your enterprise?
>         Index and
>         search up to 200,000 lines of code with a free copy of Black
>         Duck
>         Code Sight - the same software that powers the world's largest
>         code
>         search on Ohloh, the Black Duck Open Hub! Try it now.
>         http://p.sf.net/sfu/bds
>         _______________________________________________
>         darktable-devel mailing list
>         darktable-devel@lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/darktable-devel
>         
> 
> 

-- 
Best Regards,
Kasun Chathuranga
http://kasunc.blogspot.com


"What you are is
what you have been.
What you'll be is
what you do now."

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to