FS#51956 - [darktable] CommandLine Error: Option 'enable-value-profiling' registered more than once!

Attached to Project: Community Packages
Opened by Christoph (Chrissss) - Friday, 25 November 2016, 12:43 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 13 February 2017, 11:58 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Darktable fails to start on my system. The output show: "CommandLine Error: Option 'enable-value-profiling' registered more than once!"


Additional info:
$ pacman -Q darktable
darktable 2:2.0.7-1

$ darktable -d all
[memory] at startup
[memory] max address space (vmpeak): 311056 kB
[memory] cur address space (vmsize): 311056 kB
[memory] max used memory (vmhwm ): 18760 kB
[memory] cur used memory (vmrss ): 18760 kB
[sql] /build/darktable/src/darktable-2.0.7/src/common/database.c:1162, function dt_database_init(): exec "CREATE TABLE memory.color_labels_temp (imgid INTEGER PRIMARY KEY)"
[sql] /build/darktable/src/darktable-2.0.7/src/common/database.c:1166, function dt_database_init(): exec "CREATE TABLE memory.collected_images (rowid INTEGER PRIMARY KEY AUTOINCREMENT, imgid INTEGER)"
[sql] /build/darktable/src/darktable-2.0.7/src/common/database.c:1167, function dt_database_init(): exec "CREATE TABLE memory.tmp_selection (imgid INTEGER)"
[sql] /build/darktable/src/darktable-2.0.7/src/common/database.c:1169, function dt_database_init(): exec "CREATE TABLE memory.tagq (tmpid INTEGER PRIMARY KEY, id INTEGER)"
[sql] /build/darktable/src/darktable-2.0.7/src/common/database.c:1173, function dt_database_init(): exec "CREATE TABLE memory.taglist (tmpid INTEGER PRIMARY KEY, id INTEGER UNIQUE ON CONFLICT REPLACE, count INTEGER)"
[sql] /build/darktable/src/darktable-2.0.7/src/common/database.c:1179, function dt_database_init(): exec "CREATE TABLE memory.history (imgid INTEGER, num INTEGER, module INTEGER, operation VARCHAR(256) UNIQUE ON CONFLICT REPLACE, op_params BLOB, enabled INTEGER, blendop_params BLOB, blendop_version INTEGER, multi_priority INTEGER, multi_name VARCHAR(256))"
[sql] /build/darktable/src/darktable-2.0.7/src/common/database.c:1185, function dt_database_init(): exec "CREATE TABLE MEMORY.style_items (styleid INTEGER, num INTEGER, module INTEGER, operation VARCHAR(256), op_params BLOB, enabled INTEGER, blendop_params BLOB, blendop_version INTEGER, multi_priority INTEGER, multi_name VARCHAR(256))"
[fswatch_new] fswatch not supported on your platform
[sql] /build/darktable/src/darktable-2.0.7/src/common/collection.c:422, function _dt_collection_compute_count(): prepare "select count(distinct id) from images where (flags & 256) != 256 and ((film_id in (select id from film_rolls where folder like '/mnt/diskstation/ds-photo/2015-12_Beerdigung.Heiner.Weimar%'))) order by filename, version limit ?1, ?2"
[sql] /build/darktable/src/darktable-2.0.7/src/common/collection.c:446, function dt_collection_get_selected_count(): prepare "select count (distinct imgid) from selected_images"
[sql] /build/darktable/src/darktable-2.0.7/src/common/collection.c:983, function dt_collection_update_query(): prepare "delete from selected_images where imgid not in (select distinct id from images where (flags & 256) != 256 and ((film_id in (select id from film_rolls where folder like '/mnt/diskstation/ds-photo/2015-12_Beerdigung.Heiner.Weimar%'))) order by filename, version limit ?1, ?2)"
[sql] /build/darktable/src/darktable-2.0.7/src/common/collection.c:422, function _dt_collection_compute_count(): prepare "select count(distinct id) from images where (flags & 256) != 256 and ((film_id in (select id from film_rolls where folder like '/mnt/diskstation/ds-photo/2015-12_Beerdigung.Heiner.Weimar%'))) order by filename, version"
[sql] /build/darktable/src/darktable-2.0.7/src/common/collection.c:446, function dt_collection_get_selected_count(): prepare "select count (distinct imgid) from selected_images"
[pwstorage_new] Creating new context 0x2473410
[pwstorage_new] no storage backend. not storing username/password. please change in preferences, core tab.
[opencl_init] opencl related configuration options:
[opencl_init]
[opencl_init] opencl: 1
[opencl_init] opencl_library: ''
[opencl_init] opencl_memory_requirement: 768
[opencl_init] opencl_memory_headroom: 300
[opencl_init] opencl_device_priority: '*/!0,*/*/*'
[opencl_init] opencl_size_roundup: 16
[opencl_init] opencl_async_pixelpipe: 0
[opencl_init] opencl_synch_cache: 0
[opencl_init] opencl_number_event_handles: 25
[opencl_init] opencl_micro_nap: 1000
[opencl_init] opencl_use_pinned_memory: 0
[opencl_init] opencl_use_cpu_devices: 0
[opencl_init] opencl_avoid_atomics: 0
[opencl_init] opencl_omit_whitebalance: 0
[opencl_init]
[opencl_init] found opencl runtime library 'libOpenCL'
[opencl_init] opencl library 'libOpenCL' found on your system and loaded
: CommandLine Error: Option 'enable-value-profiling' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 13 February 2017, 11:58 GMT
Reason for closing:  No response
Comment by Christoph (Chrissss) - Friday, 25 November 2016, 14:55 GMT
Looks like it is connected to

https://llvm.org/bugs/show_bug.cgi?id=30587

Removing OpenCL...

$ pacman -Rss opencl-headers opencl-mesa beignet

...solves the problem.
Comment by Sergej Pupykin (sergej) - Friday, 23 December 2016, 13:57 GMT
I've installed
sudo pacman -S opencl-headers opencl-mesa
and cannot reproduce it.
Comment by Sergej Pupykin (sergej) - Monday, 26 December 2016, 10:57 GMT
can it be reproduced with 2.2.0?

Loading...