[Bug 242134] graphics/openimageio: fix build on powerpc64 elfv2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 26 11:26:45 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242134

--- Comment #4 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
(In reply to Shane from comment #3)
Now I get those errors:
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:805:8:
error: redefinition of enumerator 'libcpp_string__long_mask'
enum { libcpp_string__long_mask = 0x1ul };
       ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:332:8:
note: previous definition is here
enum { libcpp_string__long_mask = 0x1ul };
       ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:805:1:
warning: declaration does not declare anything [-Wmissing-declarations]
enum { libcpp_string__long_mask = 0x1ul };
^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:810:5:
error: redefinition of enumerator 'libcpp_string__min_cap'
    libcpp_string__min_cap
    ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:337:5:
note: previous definition is here
    libcpp_string__min_cap
    ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:809:1:
warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:820:20:
error: redefinition of 'TableRep'
ustring::TableRep::TableRep(string_view strref, size_t hash)
                   ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:348:20:
note: previous definition is here
ustring::TableRep::TableRep(string_view strref, size_t hash)
                   ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:888:20:
error: redefinition of '~TableRep'
ustring::TableRep::~TableRep()
                   ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:416:20:
note: previous definition is here
ustring::TableRep::~TableRep()
                   ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:899:10:
error: redefinition of 'make_unique'
ustring::make_unique(string_view strref)
         ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:427:10:
note: previous definition is here
ustring::make_unique(string_view strref)
         ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:916:10:
error: redefinition of 'getstats'
ustring::getstats(bool verbose)
         ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:444:10:
note: previous definition is here
ustring::getstats(bool verbose)
         ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:940:10:
error: redefinition of 'memory'
ustring::memory()
         ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:468:10:
note: previous definition is here
ustring::memory()
         ^
/tmp/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:184:29:
error: no matching constructor for initialization of 'ustring::TableRep'
        return new (repmem) ustring::TableRep(str, hash);
                            ^                 ~~~~~~~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list