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 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-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 <lebedev...@gmail.com> wrote:

> On Thu, Dec 29, 2016 at 12:56 AM, Kristian Niemi
> <kristian.ni...@gmail.com> wrote:
> >
> >
> > On Wed, 28 Dec 2016 at 22:53 Kristian Niemi <kristian.ni...@gmail.com>
> > 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 <kristian.ni...@gmail.com>
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 <lebedev...@gmail.com> wrote:

> On Thu, Dec 29, 2016 at 12:31 AM, Kristian Niemi
> <kristian.ni...@gmail.com> 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 <lebedev...@gmail.com> wrote:
> >>
> >> On Wed, Dec 28, 2016 at 10:24 PM, Kristian Niemi
> >> <kristian.ni...@gmail.com> 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 <lebedev...@gmail.com> wrote:

> On Wed, Dec 28, 2016 at 10:24 PM, Kristian Niemi
> <kristian.ni...@gmail.com> 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

[darktable-user] Re: Crash on OSX at dialogue

2016-04-16 Thread Kristian Niemi
In order for the var to be set so darktable can be launched from GUI
(spotlight etc.), the following may be added to .bash_profile or some such:

export GSETTINGS_SCHEMA_DIR=/opt/local/share/glib-2.0/schemas
launchctl setenv GSETTINGS_SCHEMA_DIR $GSETTINGS_SCHEMA_DIR

Line one being for the var to be set in the terminal. The directory above
being where macports stores glib schemas by default; adjust to suit your
setup.
Line two to set the env var for "GUI".

Perhaps the GSETTINGS_SCHEMA_DIR information might be added to some dt-OSX
readme/documentation of sorts, as it's kind of vital, darktable crashing,
at least for me, without it? So future users trying out the dev version on
OSX wouldn't have to keep hitting their head against the wall.

In its current status, perhaps build configuration failing on gtk >=3.20
wouldn't be a bad idea either? Or at least a mention somewhere (in a OSX
section of a readme/documentation?).

Wouldn't mind adding it myself, instead of just suggesting someone else to
do it, but unsure where the proper place for it would be.

Kind regards,
Kristian


On Sat, 16 Apr 2016 at 22:49 Kristian Niemi <kristian.ni...@gmail.com>
wrote:

> OK, solved it.
>
> Need to set GSETTINGS_SCHEMA_DIR for the glib-2.0 schemas --- then DT will
> open file dialogues without crashing.
>
> Kind regards,
> Kristian
>
>
> On Sat, 16 Apr 2016 at 22:02 Kristian Niemi <kristian.ni...@gmail.com>
> wrote:
>
>> False positive news. Even though I downgraded to GTK 3.18.9 dt still
>> crashes on OSX when opening file dialogue.
>>
>> What else could I try?
>>
>> Really, any tips would be greatly appreciated.
>>
>> Kind regards,
>> Kristian
>>
>>
>> On Fri, 15 Apr 2016 at 17:16 Kristian Niemi <kristian.ni...@gmail.com>
>> wrote:
>>
>>> So it seems my crash was also due to GTK3 3.20. Downgraded to 3.18.9 and
>>> now current git version works well.
>>>
>>> Kind regards,
>>> Kristian
>>>
>>> PS. Still spouts the same / ostensively similar GTK errors as
>>> previously, but now without crashing.
>>>
>>>
>>> On Fri, 15 Apr 2016 at 09:18 Kristian Niemi <kristian.ni...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> So finally managed to build latest dev version on OSX, but alas, it
>>>> crashes almost immediately. Starts up (looking at bit strange, very large
>>>> fonts at places), but immediately when opening up a dialogue (for instance
>>>> file picker or configuration) it crashes.
>>>>
>>>> darktable -d all output here: http://pastebin.com/NsV22sgC
>>>> OSX crash report here: http://pastebin.com/SCUay2gE
>>>>
>>>> GTK is found when compiling, but looking at the output, things like
>>>> themes (hicolor) aren't found at runtime though they are installed.
>>>>
>>>> Any thoughts?
>>>>
>>>> Kind regards,
>>>> Kristian
>>>>
>>>>


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

[darktable-user] Re: Crash on OSX at dialogue

2016-04-16 Thread Kristian Niemi
OK, solved it.

Need to set GSETTINGS_SCHEMA_DIR for the glib-2.0 schemas --- then DT will
open file dialogues without crashing.

Kind regards,
Kristian


On Sat, 16 Apr 2016 at 22:02 Kristian Niemi <kristian.ni...@gmail.com>
wrote:

> False positive news. Even though I downgraded to GTK 3.18.9 dt still
> crashes on OSX when opening file dialogue.
>
> What else could I try?
>
> Really, any tips would be greatly appreciated.
>
> Kind regards,
> Kristian
>
>
> On Fri, 15 Apr 2016 at 17:16 Kristian Niemi <kristian.ni...@gmail.com>
> wrote:
>
>> So it seems my crash was also due to GTK3 3.20. Downgraded to 3.18.9 and
>> now current git version works well.
>>
>> Kind regards,
>> Kristian
>>
>> PS. Still spouts the same / ostensively similar GTK errors as previously,
>> but now without crashing.
>>
>>
>> On Fri, 15 Apr 2016 at 09:18 Kristian Niemi <kristian.ni...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> So finally managed to build latest dev version on OSX, but alas, it
>>> crashes almost immediately. Starts up (looking at bit strange, very large
>>> fonts at places), but immediately when opening up a dialogue (for instance
>>> file picker or configuration) it crashes.
>>>
>>> darktable -d all output here: http://pastebin.com/NsV22sgC
>>> OSX crash report here: http://pastebin.com/SCUay2gE
>>>
>>> GTK is found when compiling, but looking at the output, things like
>>> themes (hicolor) aren't found at runtime though they are installed.
>>>
>>> Any thoughts?
>>>
>>> Kind regards,
>>> Kristian
>>>
>>>


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

[darktable-user] Re: Crash on OSX at dialogue

2016-04-16 Thread Kristian Niemi
False positive news. Even though I downgraded to GTK 3.18.9 dt still
crashes on OSX when opening file dialogue.

What else could I try?

Really, any tips would be greatly appreciated.

Kind regards,
Kristian


On Fri, 15 Apr 2016 at 17:16 Kristian Niemi <kristian.ni...@gmail.com>
wrote:

> So it seems my crash was also due to GTK3 3.20. Downgraded to 3.18.9 and
> now current git version works well.
>
> Kind regards,
> Kristian
>
> PS. Still spouts the same / ostensively similar GTK errors as previously,
> but now without crashing.
>
>
> On Fri, 15 Apr 2016 at 09:18 Kristian Niemi <kristian.ni...@gmail.com>
> wrote:
>
>> Hi,
>>
>> So finally managed to build latest dev version on OSX, but alas, it
>> crashes almost immediately. Starts up (looking at bit strange, very large
>> fonts at places), but immediately when opening up a dialogue (for instance
>> file picker or configuration) it crashes.
>>
>> darktable -d all output here: http://pastebin.com/NsV22sgC
>> OSX crash report here: http://pastebin.com/SCUay2gE
>>
>> GTK is found when compiling, but looking at the output, things like
>> themes (hicolor) aren't found at runtime though they are installed.
>>
>> Any thoughts?
>>
>> Kind regards,
>> Kristian
>>
>>


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

[darktable-user] Crash on OSX at dialogue

2016-04-14 Thread Kristian Niemi
Hi,

So finally managed to build latest dev version on OSX, but alas, it crashes
almost immediately. Starts up (looking at bit strange, very large fonts at
places), but immediately when opening up a dialogue (for instance file
picker or configuration) it crashes.

darktable -d all output here: http://pastebin.com/NsV22sgC
OSX crash report here: http://pastebin.com/SCUay2gE

GTK is found when compiling, but looking at the output, things like themes
(hicolor) aren't found at runtime though they are installed.

Any thoughts?

Kind regards,
Kristian


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

[darktable-user] Build still fails at RawSpeed on OSX

2016-04-14 Thread Kristian Niemi
Hi,

For the past week or so, I haven't been able to build darktable on OSX.

It fails when compiling RawSpeed-files:


   1. Deprecated.h:1242:34: error: expected '}' before '__attribute__'
   2.kLSHandlerOptionsDefault
   __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_4, __MAC_10_11, __IPHO
   3. NE_4_0, __IPHONE_9_0, "Creator codes are deprecated on OS X.") = 0,



See  http://pastebin.com/TeLLGQ1z

On git d6a3758a59632afa11616175082b630c1530a2d3.

Any tips?

Kind regards,
Kristian


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

Re: [darktable-user] Re: Latest dev version crashes on OSX

2016-04-10 Thread Kristian Niemi
Thank you for your suggestion!

As far as I can recall, it's always nagged about missing theme -- though
perhaps not this particular error --, but it hasn't caused hiccups like
this before. Hicolor was already installed (v0.15 through macports) (but,
as you point out, evidently not recognized to be so by dt). Adwaita was not
installed, but installing it (v3.20 through macports) did nothing to change
the error.

Kind regards,
Kristian


On Sun, 10 Apr 2016 at 19:09 <para...@paraf.in> wrote:

> try installing hicolor and/or adwaita icon theme (error message about
> missing theme is present in first log and is quite clear)
>
> On 10 Apr 2016, at 07:47, Kristian Niemi <kristian.ni...@gmail.com> wrote:
>
> >Am Mittwoch, 6. April 2016, 10:38:37 schrieb Kristian Niemi:
> >> Hi,
> >>
> >> Built latest dev-version (f37c22c84d7b4e51c705a3256016f02e56406182) OK,
> but
> >> crashes immediately on start on OSX.
> >>
> >> Abort trap: 6
> >> Output (darktable -d all) on pastebin: >>http://pastebin.com/yUSAKrh6
> >>
> >> Any thoughts?
> >
> >Do you have a backtrace? "-d all" is as useless as it gets.
> >
> >> Kind regards,
> >> Kristian
> >
> >Tobias
>
> Would the following be of any help?
>
> http://pastebin.com/vjsibFm6
>
>
> If not, please advice how I can go about acquiring information that would
> help.
>
>
> Kind regards,
> Kristian
>
>
> 
> 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
>


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

[darktable-user] Latest dev version crashes on OSX

2016-04-06 Thread Kristian Niemi
Hi,

Built latest dev-version (f37c22c84d7b4e51c705a3256016f02e56406182) OK, but
crashes immediately on start on OSX.

Abort trap: 6
Output (darktable -d all) on pastebin: http://pastebin.com/yUSAKrh6

Any thoughts?

Kind regards,
Kristian


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