Re: [darktable-user] Compile fails (librawspeed)

2016-12-30 Thread Kristian Niemi
On Fri, 30 Dec 2016 at 13:55 Roman Lebedev  wrote:

> **With the broken env**, please try current git master or darktable-2.2.x
> branch
> Does it work now?
>

No. It fails as follows (current git master):

[  9%] Generating es/darktable-generate-cache.1
data/CMakeFiles/validate_noiseprofiles_json.dir/build.make:58: recipe for
target 'data/CMakeFiles/validate_noiseprofiles_json' failed
gmake[2]: *** [data/CMakeFiles/validate_noiseprofiles_json] Error 2
CMakeFiles/Makefile2:7247: recipe for target
'data/CMakeFiles/validate_noiseprofiles_json.dir/all' failed
gmake[1]: *** [data/CMakeFiles/validate_noiseprofiles_json.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs
[  9%] Built target manpage-fr-darktable-cli.1
[ 11%] Generating es/darktable.1
[ 11%] Built target manpage-fr-darktable-cmstest.1
[ 11%] Built target manpage-es-darktable-generate-cache.1
[ 11%] Generating es/darktable-cli.1
[ 11%] Built target manpage-es-darktable.1
[ 11%] Built target manpage-es-darktable-cli.1
Merging translations into
/home/krisse/dev/darktable/build/data/darktable.appdata.xml.
Merging translations into
/home/krisse/dev/darktable/build/data/darktable.desktop.
[ 11%] Checking validity of darktable.desktop
[ 11%] Built target validate_darktable_desktop
CREATED /home/krisse/dev/darktable/build/data/darktable.appdata.xml
[ 11%] Built target darktable.appdata_file
Makefile:149: recipe for target 'all' failed
gmake: *** [all] Error 2


Actually, now it fails **even when I set LC_ALL** as previously mentioned.


Not sure why it makes manpages es and fr? (Those locales are not installed
on the system. En, sv, and fi are.)

Kind regards,
Kristian


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Compile fails (librawspeed)

2016-12-30 Thread Roman Lebedev
On Fri, Dec 30, 2016 at 1:40 PM, Kristian Niemi
 wrote:
> On Fri, 30 Dec 2016 at 09:45 Roman Lebedev  wrote:
>>
>>
>> Is  sv_SE.utf8  and  sv_SE.UTF-8 the same thing?
>>
>
> Both 'export LC_ALL="sv_SE.utf8"' and 'export LC_ALL="sv_SE.UTF-8"' works.
> But leaving locale as previously mentioned (all set to "sv_SE.UTF-8" except
> LC_ALL) does not; then build fails.
Ok.

**With the broken env**, please try current git master or darktable-2.2.x branch
Does it work now?

> In all three cases (LC_ALL unset; and "sv_SE.utf8"; and "sv_SE.UTF-8") I've
> done "rm -rf build && ./build.sh".
>
>
> Kind regards,
> Kristian
Roman.

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Compile fails (librawspeed)

2016-12-30 Thread Kristian Niemi
On Fri, 30 Dec 2016 at 09:45 Roman Lebedev  wrote:

>
> Is  sv_SE.utf8  and  sv_SE.UTF-8 the same thing?
>
>
Both 'export LC_ALL="sv_SE.utf8"' and 'export LC_ALL="sv_SE.UTF-8"' works.
But leaving locale as previously mentioned (all set to "sv_SE.UTF-8" except
LC_ALL) does not; then build fails.

In all three cases (LC_ALL unset; and "sv_SE.utf8"; and "sv_SE.UTF-8") I've
done "rm -rf build && ./build.sh".


Kind regards,
Kristian


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Compile fails (librawspeed)

2016-12-30 Thread Roman Lebedev
On Thu, Dec 29, 2016 at 1:12 AM, Kristian Niemi
 wrote:
> Sorry, I only set LANG previously. When I also set LC_ALL to sv_SE.utf8 it
> worked.
Is  sv_SE.utf8  and  sv_SE.UTF-8 the same thing?

> So, doing "cmake ../ && make" works. Great.
>
> ...
>
> And, oddly enough? So, now, does "rm -rf build && ./build.sh" too. :-S
>
> ...
>
> Huh. Started with a fresh terminal, locale then set as follows:
>
> LANG=sv_SE.UTF-8
> LC_CTYPE="sv_SE.UTF-8"
> LC_NUMERIC="sv_SE.UTF-8"
> LC_TIME="sv_SE.UTF-8"
> LC_COLLATE="sv_SE.UTF-8"
> LC_MONETARY="sv_SE.UTF-8"
> LC_MESSAGES="sv_SE.UTF-8"
> LC_PAPER="sv_SE.UTF-8"
> LC_NAME="sv_SE.UTF-8"
> LC_ADDRESS="sv_SE.UTF-8"
> LC_TELEPHONE="sv_SE.UTF-8"
> LC_MEASUREMENT="sv_SE.UTF-8"
> LC_IDENTIFICATION="sv_SE.UTF-8"
> LC_ALL=
>
> Then build.sh fails. If I export LC_ALL="sv_SE.UTF-8" it works. Great! Case
> closed.
But all the LC_* are already set to sv_SE.UTF-8, so setting LC_ALL
should not matter?

I know that it is
https://github.com/Julian/jsonschema/issues/299#issuecomment-254045209,
but i'm not sure what is going on here...

> Thank you for taking the time to help out, Roman!
>
> Kind regards,
> Kristian
Roman.

> On Wed, 28 Dec 2016 at 22:59 Roman Lebedev  wrote:
>>
>> On Thu, Dec 29, 2016 at 12:56 AM, Kristian Niemi
>>  wrote:
>> >
>> >
>> > On Wed, 28 Dec 2016 at 22:53 Kristian Niemi 
>> > wrote:
>> >>
>> >>
>> >>  I'll set it back to sv_SE.utf8 now and see if it matters.
>> >
>> >
>> > Nah, failed the same way.
>>
>> Can you please try setting LANG=C.UTF-8  specifically.
>> And, such locale does exist on your machine?
>>
>> > Kind regards,
>> > Kristian
>> Roman.

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Compile fails (librawspeed)

2016-12-28 Thread Kristian Niemi
Sorry, I only set LANG previously. When I also set LC_ALL to sv_SE.utf8 it
worked.

So, doing "cmake ../ && make" works. Great.

...

And, oddly enough? So, now, does "rm -rf build && ./build.sh" too. :-S

...

Huh. Started with a fresh terminal, locale then set as follows:

LANG=sv_SE.UTF-8
LC_CTYPE="sv_SE.UTF-8"
LC_NUMERIC="sv_SE.UTF-8"
LC_TIME="sv_SE.UTF-8"
LC_COLLATE="sv_SE.UTF-8"
LC_MONETARY="sv_SE.UTF-8"
LC_MESSAGES="sv_SE.UTF-8"
LC_PAPER="sv_SE.UTF-8"
LC_NAME="sv_SE.UTF-8"
LC_ADDRESS="sv_SE.UTF-8"
LC_TELEPHONE="sv_SE.UTF-8"
LC_MEASUREMENT="sv_SE.UTF-8"
LC_IDENTIFICATION="sv_SE.UTF-8"
LC_ALL=

Then build.sh fails. If I export LC_ALL="sv_SE.UTF-8" it works. Great! Case
closed.

Thank you for taking the time to help out, Roman!

Kind regards,
Kristian


On Wed, 28 Dec 2016 at 22:59 Roman Lebedev  wrote:

> On Thu, Dec 29, 2016 at 12:56 AM, Kristian Niemi
>  wrote:
> >
> >
> > On Wed, 28 Dec 2016 at 22:53 Kristian Niemi 
> > wrote:
> >>
> >>
> >>  I'll set it back to sv_SE.utf8 now and see if it matters.
> >
> >
> > Nah, failed the same way.
>
> Can you please try setting LANG=C.UTF-8  specifically.
> And, such locale does exist on your machine?
>
> > Kind regards,
> > Kristian
> Roman.
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Compile fails (librawspeed)

2016-12-28 Thread Kristian Niemi
On Wed, 28 Dec 2016 at 22:53 Kristian Niemi 
wrote:

>
>  I'll set it back to sv_SE.utf8 now and see if it matters.
>

Nah, failed the same way.

Kind regards,
Kristian


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Compile fails (librawspeed)

2016-12-28 Thread Kristian Niemi
Hi,

It's jsonschema 2.5.1.

Hmm. I set LANG to C for debugging purposes, previously. I'll set it back
to sv_SE.utf8 now and see if it matters.

Kind regards,
Kristian


On Wed, 28 Dec 2016 at 22:49 Roman Lebedev  wrote:

> On Thu, Dec 29, 2016 at 12:31 AM, Kristian Niemi
>  wrote:
> > Hi Roman,
> >
> > Thank you for your, as always, swift help.
> >
> > Doing as you suggested actually gets me a bit further than a "rm -rf
> build
> > && ./build.sh" (which led to the previous last lines I emailed about).
> >
> > A "cmake ../" and "make" gets me as far as 92%, but then fails with
> > ---
> > [ 92%] Checking validity of noiseprofiles.json
> > usage: jsonschema [-h] [-i INSTANCES] [-F ERROR_FORMAT] [-V VALIDATOR]
> > schema
> > jsonschema: error: argument -i/--instance: invalid _json_file value:
> > '/home/krisse/dev/darktable/data/noiseprofiles.json'
> > data/CMakeFiles/validate_noiseprofiles_json.dir/build.make:58: recipe for
> > target 'data/CMakeFiles/validate_noiseprofiles_json' failed
> > make[2]: *** [data/CMakeFiles/validate_noiseprofiles_json] Error 2
> > CMakeFiles/Makefile2:7247: recipe for target
> > 'data/CMakeFiles/validate_noiseprofiles_json.dir/all' failed
> > make[1]: *** [data/CMakeFiles/validate_noiseprofiles_json.dir/all] Error
> 2
> > Makefile:149: recipe for target 'all' failed
> > make: *** [all] Error 2
> > ---
> >
> > Full output @ http://pastebin.com/gwD1Y9bt
>
> Which version of jsonschema is that?
> Also, is is LANG env variable set appropriately?
> See
> https://github.com/darktable-org/darktable/commit/450a5da31a1ed0d3004e813bc5ea986c307b9e9d
>
> > Kind regards,
> > Kristian
> Roman.
>
> > On Wed, 28 Dec 2016 at 20:30 Roman Lebedev  wrote:
> >>
> >> On Wed, Dec 28, 2016 at 10:24 PM, Kristian Niemi
> >>  wrote:
> >> > Hi,
> >> >
> >> > Since a couple of months or so back, I've been getting this when
> trying
> >> > to
> >> > compile darktable from git, current master:
> >> >
> >> > --
> >> > [ 22%] Building CXX object
> >> >
> src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/X3fDecoder.cpp.o
> >> > [ 22%] Building CXX object
> >> > src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/X3fParser.cpp.o
> >> > [ 22%] Linking CXX static library librawspeed.a
> >> > [ 22%] Built target rawspeed
> >> > Makefile:149: recipe for target 'all' failed
> >> > gmake: *** [all] Error 2
> >> > --
> >> >
> >> > Any ideas what I could try?
> >>
> >> Please do
> >> $ rm -rf build
> >> $ mkdir build && cd build
> >> $ cmake ../
> >> $ make
> >>
> >> And show all the output starting with the $ rm -rf build
> >>
> >> > Thanks.
> >> >
> >> > Kind regards,
> >> > Kristian
> >> Roman.
> >>
> >> >
> >> >
> 
> >> > darktable user mailing list to unsubscribe send a mail to
> >> > darktable-user+unsubscr...@lists.darktable.org
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Compile fails (librawspeed)

2016-12-28 Thread Roman Lebedev
On Thu, Dec 29, 2016 at 12:31 AM, Kristian Niemi
 wrote:
> Hi Roman,
>
> Thank you for your, as always, swift help.
>
> Doing as you suggested actually gets me a bit further than a "rm -rf build
> && ./build.sh" (which led to the previous last lines I emailed about).
>
> A "cmake ../" and "make" gets me as far as 92%, but then fails with
> ---
> [ 92%] Checking validity of noiseprofiles.json
> usage: jsonschema [-h] [-i INSTANCES] [-F ERROR_FORMAT] [-V VALIDATOR]
> schema
> jsonschema: error: argument -i/--instance: invalid _json_file value:
> '/home/krisse/dev/darktable/data/noiseprofiles.json'
> data/CMakeFiles/validate_noiseprofiles_json.dir/build.make:58: recipe for
> target 'data/CMakeFiles/validate_noiseprofiles_json' failed
> make[2]: *** [data/CMakeFiles/validate_noiseprofiles_json] Error 2
> CMakeFiles/Makefile2:7247: recipe for target
> 'data/CMakeFiles/validate_noiseprofiles_json.dir/all' failed
> make[1]: *** [data/CMakeFiles/validate_noiseprofiles_json.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
> ---
>
> Full output @ http://pastebin.com/gwD1Y9bt

Which version of jsonschema is that?
Also, is is LANG env variable set appropriately?
See 
https://github.com/darktable-org/darktable/commit/450a5da31a1ed0d3004e813bc5ea986c307b9e9d

> Kind regards,
> Kristian
Roman.

> On Wed, 28 Dec 2016 at 20:30 Roman Lebedev  wrote:
>>
>> On Wed, Dec 28, 2016 at 10:24 PM, Kristian Niemi
>>  wrote:
>> > Hi,
>> >
>> > Since a couple of months or so back, I've been getting this when trying
>> > to
>> > compile darktable from git, current master:
>> >
>> > --
>> > [ 22%] Building CXX object
>> > src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/X3fDecoder.cpp.o
>> > [ 22%] Building CXX object
>> > src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/X3fParser.cpp.o
>> > [ 22%] Linking CXX static library librawspeed.a
>> > [ 22%] Built target rawspeed
>> > Makefile:149: recipe for target 'all' failed
>> > gmake: *** [all] Error 2
>> > --
>> >
>> > Any ideas what I could try?
>>
>> Please do
>> $ rm -rf build
>> $ mkdir build && cd build
>> $ cmake ../
>> $ make
>>
>> And show all the output starting with the $ rm -rf build
>>
>> > Thanks.
>> >
>> > Kind regards,
>> > Kristian
>> Roman.
>>
>> >
>> > 
>> > darktable user mailing list to unsubscribe send a mail to
>> > darktable-user+unsubscr...@lists.darktable.org

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Compile fails (librawspeed)

2016-12-28 Thread Kristian Niemi
Hi Roman,

Thank you for your, as always, swift help.

Doing as you suggested actually gets me a bit further than a "rm -rf build
&& ./build.sh" (which led to the previous last lines I emailed about).

A "cmake ../" and "make" gets me as far as 92%, but then fails with
---
[ 92%] Checking validity of noiseprofiles.json
usage: jsonschema [-h] [-i INSTANCES] [-F ERROR_FORMAT] [-V VALIDATOR]
schema
jsonschema: error: argument -i/--instance: invalid _json_file value:
'/home/krisse/dev/darktable/data/noiseprofiles.json'
data/CMakeFiles/validate_noiseprofiles_json.dir/build.make:58: recipe for
target 'data/CMakeFiles/validate_noiseprofiles_json' failed
make[2]: *** [data/CMakeFiles/validate_noiseprofiles_json] Error 2
CMakeFiles/Makefile2:7247: recipe for target
'data/CMakeFiles/validate_noiseprofiles_json.dir/all' failed
make[1]: *** [data/CMakeFiles/validate_noiseprofiles_json.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
---

Full output @ http://pastebin.com/gwD1Y9bt


Kind regards,
Kristian



On Wed, 28 Dec 2016 at 20:30 Roman Lebedev  wrote:

> On Wed, Dec 28, 2016 at 10:24 PM, Kristian Niemi
>  wrote:
> > Hi,
> >
> > Since a couple of months or so back, I've been getting this when trying
> to
> > compile darktable from git, current master:
> >
> > --
> > [ 22%] Building CXX object
> > src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/X3fDecoder.cpp.o
> > [ 22%] Building CXX object
> > src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/X3fParser.cpp.o
> > [ 22%] Linking CXX static library librawspeed.a
> > [ 22%] Built target rawspeed
> > Makefile:149: recipe for target 'all' failed
> > gmake: *** [all] Error 2
> > --
> >
> > Any ideas what I could try?
>
> Please do
> $ rm -rf build
> $ mkdir build && cd build
> $ cmake ../
> $ make
>
> And show all the output starting with the $ rm -rf build
>
> > Thanks.
> >
> > Kind regards,
> > Kristian
> Roman.
>
> >
> 
> > darktable user mailing list to unsubscribe send a mail to
> > darktable-user+unsubscr...@lists.darktable.org
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org