Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657586 - media-gfx/darktable-2.4.3 stabilization
Summary: media-gfx/darktable-2.4.3 stabilization
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2018-06-08 09:24 UTC by Markus Meier
Modified: 2019-03-22 08:00 UTC (History)
1 user (show)

See Also:
Package list:
=media-gfx/darktable-2.4.3
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2018-06-08 09:24:50 UTC
In tree for a while, no reported regressions.
Thanks in advance!
Comment 1 Agostino Sarubbo gentoo-dev 2018-06-11 08:14:20 UTC
amd64 stable
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2018-07-08 20:54:38 UTC
I don't know how to stabilize this:

> !!! The ebuild selected to satisfy "media-gfx/darktable" has unmet requirements.
> - media-gfx/darktable-2.4.3::gentoo USE="nls openmp -colord -cups -doc -flickr -geolocation -gnome-keyring -gphoto2 -graphicsmagick -jpeg2k -kwallet -opencl -openexr -pax_kernel -webp" CPU_FLAGS_X86="-sse3" L10N="de -ca -cs -da -es -fr -he -hu -it -ja -nl -pl -ru -sk -sl -sv -uk"
> 
>   The following REQUIRED_USE flag constraints are unsatisfied:
>     cpu_flags_x86_sse3
> 

...a _real_ x86 system has _no_ SSE3.
Comment 3 Nico Baggus 2019-02-23 11:11:48 UTC
Compilation failure:

cd /var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3_build/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DGDK_DISABLE_DEPRECATED -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_14 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_MIN_REQUIRED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -DHAVE_BUILTIN_CPU_SUPPORTS -DHAVE_CONFIG_H -DHAVE_GPHOTO2 -DHAVE_GPHOTO_25_OR_NEWER -DHAVE_HTTP_SERVER -DHAVE_ISO_CODES -DHAVE_KWALLET -DHAVE_LENSFUN -DHAVE_OPENEXR -DHAVE_OPENJPEG -DHAVE_PRINT -D_RELEASE -D_XOPEN_SOURCE=700 -D__GDK_KEYSYMS_COMPAT_H__ -Dlib_darktable_EXPORTS -I/var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src -isystem /var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/external -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/gtk-3.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib64/dbus-1.0/include -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/cairo -isystem /usr/include/pango-1.0 -isystem /usr/include/fribidi -isystem /usr/include/atk-1.0 -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/libdrm -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libpng16 -isystem /usr/include/libxml2 -isystem /usr/include/libsoup-2.4 -isystem /usr/include/OpenEXR -isystem /usr/include/lensfun -isystem /usr/include/librsvg-2.0 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/openjpeg-2.3 -I/var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3_build/src -I/var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3_build/src/external/rawspeed/src -isystem /var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/external/rawspeed/src/external -I/var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/external/rawspeed/src/librawspeed   -O2 -pipe -mno-tls-direct-seg-refs -msse3 -Wall -fno-strict-aliasing -Wformat -Wformat-security -Wshadow -Wtype-limits -Wvla -Wold-style-declaration -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -std=c99 -fopenmp -fPIC   -o CMakeFiles/lib_darktable.dir/common/gpx.c.o -c /var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/gpx.c
/var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc: In function ‘char* dt_exif_xmp_read_string(int)’:
/var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc:2558:71: error: no matching function for call to ‘Exiv2::BasicError<char>::BasicError(int, const char [41])’
       throw Exiv2::Error(1, "[xmp_write] failed to serialize xmp data");
                                                                       ^
In file included from /usr/include/exiv2/iptc.hpp:34:0,
                 from /usr/include/exiv2/bmpimage.hpp:33,
                 from /usr/include/exiv2/exiv2.hpp:35,
                 from /var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc:44:
/usr/include/exiv2/error.hpp:280:9: note: candidate: template<class A, class B, class C> Exiv2::BasicError<charT>::BasicError(Exiv2::ErrorCode, const A&, const B&, const C&)
         BasicError(ErrorCode code, const A& arg1, const B& arg2, const C& arg3);
         ^~~~~~~~~~
/usr/include/exiv2/error.hpp:280:9: note:   template argument deduction/substitution failed:
/var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc:2558:71: note:   candidate expects 4 arguments, 2 provided
       throw Exiv2::Error(1, "[xmp_write] failed to serialize xmp data");
                                                                       ^
In file included from /usr/include/exiv2/iptc.hpp:34:0,
                 from /usr/include/exiv2/bmpimage.hpp:33,
                 from /usr/include/exiv2/exiv2.hpp:35,
                 from /var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc:44:
/usr/include/exiv2/error.hpp:276:9: note: candidate: template<class A, class B> Exiv2::BasicError<charT>::BasicError(Exiv2::ErrorCode, const A&, const B&)
         BasicError(ErrorCode code, const A& arg1, const B& arg2);
         ^~~~~~~~~~
/usr/include/exiv2/error.hpp:276:9: note:   template argument deduction/substitution failed:
/var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc:2558:71: note:   candidate expects 3 arguments, 2 provided
       throw Exiv2::Error(1, "[xmp_write] failed to serialize xmp data");
                                                                       ^
In file included from /usr/include/exiv2/iptc.hpp:34:0,
                 from /usr/include/exiv2/bmpimage.hpp:33,
                 from /usr/include/exiv2/exiv2.hpp:35,
                 from /var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc:44:
/usr/include/exiv2/error.hpp:272:9: note: candidate: template<class A> Exiv2::BasicError<charT>::BasicError(Exiv2::ErrorCode, const A&)
         BasicError(ErrorCode code, const A& arg1);
         ^~~~~~~~~~
/usr/include/exiv2/error.hpp:272:9: note:   template argument deduction/substitution failed:
/var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc:2558:71: note:   cannot convert ‘1’ (type ‘int’) to type ‘Exiv2::ErrorCode’
       throw Exiv2::Error(1, "[xmp_write] failed to serialize xmp data");
                                                                       ^
In file included from /usr/include/exiv2/iptc.hpp:34:0,
                 from /usr/include/exiv2/bmpimage.hpp:33,
                 from /usr/include/exiv2/exiv2.hpp:35,
                 from /var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc:44:
/usr/include/exiv2/error.hpp:336:5: note: candidate: Exiv2::BasicError<charT>::BasicError(Exiv2::ErrorCode) [with charT = char]
     BasicError<charT>::BasicError(ErrorCode code)
     ^~~~~~~~~~~~~~~~~
/usr/include/exiv2/error.hpp:336:5: note:   candidate expects 1 argument, 2 provided
/usr/include/exiv2/error.hpp:263:11: note: candidate: Exiv2::BasicError<char>::BasicError(const Exiv2::BasicError<char>&)
     class BasicError : public AnyError {
           ^~~~~~~~~~
/usr/include/exiv2/error.hpp:263:11: note:   candidate expects 1 argument, 2 provided
/var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc: In function ‘int dt_exif_xmp_write(int, const char*)’:
/var/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc:2683:71: error: no matching function for call to ‘Exiv2::BasicError<char>::BasicError(int, const char [41])’
       throw Exiv2::Error(1, "[xmp_write] failed to serialize xmp data");
Comment 4 Nico Baggus 2019-02-23 11:13:23 UTC
This might be the cause as i already had darktable-2.4.3 

[I] media-gfx/darktable
     Available versions:  2.2.5 2.4.3 ~2.4.4 ~2.6.0 **9999 {colord cups doc flickr geolocation gnome-keyring gphoto2 graphicsmagick jpeg2k kwallet nls opencl openexr openmp pax_kernel webp CPU_FLAGS_X86="sse3" L10N="ca cs da de es fi fr he hu it ja nb nl pl pt-BR ru sk sl sv uk"}
     Installed versions:  2.4.3(18:45:28 12-06-18)(cups gphoto2 jpeg2k kwallet nls openexr openmp -colord -doc -flickr -geolocation -gnome-keyring -graphicsmagick -opencl -pax_kernel -webp CPU_FLAGS_X86="sse3" L10N="nl -ca -cs -da -de -es -fr -he -hu -it -ja -pl -ru -sk -sl -sv -uk")
     Homepage:            https://www.darktable.org/
     Description:         A virtual lighttable and darkroom for photographers
Comment 5 Nico Baggus 2019-02-23 11:14:48 UTC
Rebuild triggered through EXIV2:

The following packages are causing rebuilds:

  (media-gfx/imagemagick-7.0.8.27:0/7.0.8.27::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (media-gfx/uniconvertor-2.0_pre379-r2:0/0::gentoo, ebuild scheduled for merge)
    (sci-mathematics/octave-4.4.1:0/4.4.1::gentoo, ebuild scheduled for merge)
    (media-video/dvdauthor-0.7.2-r2:0/0::gentoo, ebuild scheduled for merge)
    (media-video/transcode-1.1.7-r3:0/0::gentoo, ebuild scheduled for merge)
  (media-gfx/exiv2-0.27.0-r2:0/27::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (kde-frameworks/kfilemetadata-5.54.0:5/5.54::gentoo, ebuild scheduled for merge)
    (media-gfx/hugin-2018.0.0:0/0::gentoo, ebuild scheduled for merge)
    (media-gfx/darktable-2.4.3:0/0::gentoo, ebuild scheduled for merge)
    (media-gfx/kphotoalbum-5.4.2:5/5::gentoo, ebuild scheduled for merge)
    (kde-misc/krename-5.0.0-r1:5/5::gentoo, ebuild scheduled for merge)
Comment 6 Alex Orange 2019-02-23 19:20:05 UTC
I've found the same problem. I tried masking 2.4.3, but 2.2.5 fails with:

/var/tmp/portage/media-gfx/darktable-2.2.5/work/darktable-2.2.5/src/common/exif.cc:49:10: fatal error: exiv2/xmp.hpp: No such file or directory
 #include <exiv2/xmp.hpp>
          ^~~~~~~~~~~~~~~

I'm guessing something's wrong with the combination of exiv2 and darktable.
Comment 7 Andreas Sturmlechner gentoo-dev 2019-02-23 19:42:54 UTC
This is obsolete by bug 678426.
Comment 8 Andreas Sturmlechner gentoo-dev 2019-02-23 21:09:00 UTC
(In reply to Thomas Deutschmann from comment #2)
> ...a _real_ x86 system has _no_ SSE3.
I see the same line in 2.2.5, how was that version stabilised on x86 (-> bug 642140)
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2019-02-24 16:58:22 UTC
(In reply to Andreas Sturmlechner from comment #8)
> (In reply to Thomas Deutschmann from comment #2)
> > ...a _real_ x86 system has _no_ SSE3.
> I see the same line in 2.2.5, how was that version stabilised on x86 (-> bug
> 642140)

Wasn't stabilized on a real x86 system.
Comment 10 Andreas Sturmlechner gentoo-dev 2019-02-26 07:11:59 UTC
Should x86 keyword be dropped then?
Comment 11 Markus Meier gentoo-dev 2019-02-26 18:57:40 UTC
I've dropped the SSE3 check in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=947e26249e05deee98e983a294bb0fe5ec6dfcf7
It seems no longer needed... But please continue in bug #678426.