[Bug 233668] graphics/gexiv2: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 30 17:20:19 UTC 2018


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

            Bug ID: 233668
           Summary: graphics/gexiv2: fix build with GCC-based
                    architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cmt at freebsd.org
          Reporter: pkubaj at anongoth.pl
             Flags: maintainer-feedback?(cmt at freebsd.org)
          Assignee: cmt at freebsd.org

Created attachment 199689
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199689&action=edit
patch

Building with GCC7 (which is necessary on GCC platforms) currently fails with:
g++7  -o gexiv2/libgexiv2.so.2.0.0
'gexiv2/gexiv2@@gexiv2 at sha/meson-generated_.._gexiv2-enums.cpp.o'
'gexiv2/gexiv2@@gexiv2 at sha/gexiv2-metadata.cpp.o
' 'gexiv2/gexiv2@@gexiv2 at sha/gexiv2-metadata-exif.cpp.o'
'gexiv2/gexiv2@@gexiv2 at sha/gexiv2-metadata-gps.cpp.o'
'gexiv2/gexiv2@@gexiv2 at sha/gexiv2-metadata-iptc.cpp.o'
'gexiv2/gexiv2@@gexiv2 at sha/gexiv2-metadata-xmp.cpp.o'
'gexiv2/gexiv2@@gexiv2 at sha/gexiv2-stream-io.cpp.o'
'gexiv2/gexiv2@@gexiv2 at sha/gexiv2-preview-properties.cpp.o'
'gexiv2/gexiv2@@gexiv2 at sha/gexiv2-preview-image.cpp.o'
'gexiv2/gexiv2@@gexiv2 at sha/gexiv2-log.cpp.o'
'gexiv2/gexiv2@@gexiv2 at sha/gexiv2-startup.cpp.o' -L/usr/local/lib/gcc7
-Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -shared -fPIC -Wl,--start-group
-Wl,-soname,libgexiv2.so.2 -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc7
-Wl,-rpath=/usr/local/lib/gcc7 -Wl,-rpath=/usr/local/lib/gcc7 ''
/usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so
/usr/local/lib/libintl.so /usr/local/lib/libexiv2.so -Wl,--end-group
g++7: error: : No such file or directory

Our local patch, introduced in the last update, causes this issue. I attach the
patch to apply our local patch conditionally only when using Clang.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.

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


More information about the freebsd-ports-bugs mailing list