pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54596: cinepaint build broken with latest OpenEXR



>Number:         54596
>Category:       pkg
>Synopsis:       cinepaint build broken with latest OpenEXR
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 03 18:10:00 +0000 2019
>Originator:     John D. Baker
>Release:        NetBSD/amd64-9.0_BETA (and -current), pkgsrc-2019Q3
>Organization:
>Environment:
NetBSD plex760.technoskunk.fur 9.0_BETA NetBSD 9.0_BETA (PLEX760) #20: Wed Oct  2 04:14:47 CDT 2019  sysop%plex760.technoskunk.fur@localhost:/r0/build/netbsd-9/obj/amd64/sys/arch/amd64/compile/PLEX760 amd64

>Description:
The recent update of ilmbase and openexr to v2.4.0 breaks the build of
"graphics/cinepaint":

[...]
In file included from /tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/ImfXdr.h:108:0,
                 from /tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/ImfAttribute.h:48,
                 from /tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/ImfBoxAttribute.h:49,
                 from /tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/ImfStandardAttributes.h:58,
                 from chroma_icc.cxx:24:
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:99:15: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
     half () = default;   // no initialization
               ^~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:102:16: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
     ~half () = default;
                ^~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:103:27: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
     half (const half &) = default;
                           ^~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:104:16: error: expected ',' or '...' before '&&' token
     half (half &&) noexcept = default;
                ^~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:104:18: error: invalid constructor; you probably meant 'half (const half&)'
     half (half &&) noexcept = default;
                  ^
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:104:18: error: expected ';' at end of member declaration
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:104:20: error: 'noexcept' does not name a type
     half (half &&) noexcept = default;
                    ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:104:20: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:124:43: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
     half &  operator = (const half  &h) = default;
                                           ^~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:31: error: expected ',' or '...' before '&&' token
     half &  operator = (half  &&h) noexcept = default;
                               ^~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:34: error: expected ';' at end of member declaration
     half &  operator = (half  &&h) noexcept = default;
                                  ^
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:36: error: 'noexcept' does not name a type
     half &  operator = (half  &&h) noexcept = default;
                                    ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:36: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h: In member function 'half& half::operator=(float)':
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:574:20: error: ambiguous overload for 'operator=' (operand types are 'half' and 'half')
     *this = half (f);
                    ^
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:124:13: note: candidate: half& half::operator=(const half&)
     half &  operator = (const half  &h) = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:13: note: candidate: half& half::operator=(half)
     half &  operator = (half  &&h) noexcept = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:572:1: note: candidate: half& half::operator=(float)
 half::operator = (float f)
 ^~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h: In member function 'half& half::operator+=(half)':
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:582:44: error: ambiguous overload for 'operator=' (operand types are 'half' and 'half')
     *this = half (float (*this) + float (h));
                                            ^
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:124:13: note: candidate: half& half::operator=(const half&)
     half &  operator = (const half  &h) = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:13: note: candidate: half& half::operator=(half)
     half &  operator = (half  &&h) noexcept = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:572:1: note: candidate: half& half::operator=(float)
 half::operator = (float f)
 ^~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h: In member function 'half& half::operator+=(float)':
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:590:36: error: ambiguous overload for 'operator=' (operand types are 'half' and 'half')
     *this = half (float (*this) + f);
                                    ^
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:124:13: note: candidate: half& half::operator=(const half&)
     half &  operator = (const half  &h) = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:13: note: candidate: half& half::operator=(half)
     half &  operator = (half  &&h) noexcept = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:572:1: note: candidate: half& half::operator=(float)
 half::operator = (float f)
 ^~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h: In member function 'half& half::operator-=(half)':
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:598:44: error: ambiguous overload for 'operator=' (operand types are 'half' and 'half')
     *this = half (float (*this) - float (h));
                                            ^
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:124:13: note: candidate: half& half::operator=(const half&)
     half &  operator = (const half  &h) = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:13: note: candidate: half& half::operator=(half)
     half &  operator = (half  &&h) noexcept = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:572:1: note: candidate: half& half::operator=(float)
 half::operator = (float f)
 ^~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h: In member function 'half& half::operator-=(float)':
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:606:36: error: ambiguous overload for 'operator=' (operand types are 'half' and 'half')
     *this = half (float (*this) - f);
                                    ^
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:124:13: note: candidate: half& half::operator=(const half&)
     half &  operator = (const half  &h) = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:13: note: candidate: half& half::operator=(half)
     half &  operator = (half  &&h) noexcept = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:572:1: note: candidate: half& half::operator=(float)
 half::operator = (float f)
 ^~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h: In member function 'half& half::operator*=(half)':
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:614:44: error: ambiguous overload for 'operator=' (operand types are 'half' and 'half')
     *this = half (float (*this) * float (h));
                                            ^
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:124:13: note: candidate: half& half::operator=(const half&)
     half &  operator = (const half  &h) = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:13: note: candidate: half& half::operator=(half)
     half &  operator = (half  &&h) noexcept = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:572:1: note: candidate: half& half::operator=(float)
 half::operator = (float f)
 ^~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h: In member function 'half& half::operator*=(float)':
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:622:36: error: ambiguous overload for 'operator=' (operand types are 'half' and 'half')
     *this = half (float (*this) * f);
                                    ^
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:124:13: note: candidate: half& half::operator=(const half&)
     half &  operator = (const half  &h) = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:13: note: candidate: half& half::operator=(half)
     half &  operator = (half  &&h) noexcept = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:572:1: note: candidate: half& half::operator=(float)
 half::operator = (float f)
 ^~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h: In member function 'half& half::operator/=(half)':
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:630:44: error: ambiguous overload for 'operator=' (operand types are 'half' and 'half')
     *this = half (float (*this) / float (h));
                                            ^
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:124:13: note: candidate: half& half::operator=(const half&)
     half &  operator = (const half  &h) = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:13: note: candidate: half& half::operator=(half)
     half &  operator = (half  &&h) noexcept = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:572:1: note: candidate: half& half::operator=(float)
 half::operator = (float f)
 ^~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h: In member function 'half& half::operator/=(float)':
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:638:36: error: ambiguous overload for 'operator=' (operand types are 'half' and 'half')
     *this = half (float (*this) / f);
                                    ^
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:124:13: note: candidate: half& half::operator=(const half&)
     half &  operator = (const half  &h) = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:125:13: note: candidate: half& half::operator=(half)
     half &  operator = (half  &&h) noexcept = default;
             ^~~~~~~~
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/OpenEXR/half.h:572:1: note: candidate: half& half::operator=(float)
 half::operator = (float f)
 ^~~~
gmake[2]: *** [Makefile:413: chroma_icc.o] Error 1
gmake[2]: Leaving directory '/tmp/pkgsrc/graphics/cinepaint/work/cinepaint-1.0-4/plug-ins/openexr'
gmake[1]: *** [Makefile:408: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/pkgsrc/graphics/cinepaint/work/cinepaint-1.0-4/plug-ins'
gmake: *** [Makefile:662: all-recursive] Error 1
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/graphics/cinepaint
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/graphics/cinepaint

>How-To-Repeat:
Attempt to build "graphics/cinepaint" from any time after this commit:

  http://mail-index.netbsd.org/pkgsrc-changes/2019/09/21/msg197902.html
>Fix:



Home | Main Index | Thread Index | Old Index