Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2018 17:20:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233668] graphics/gexiv2: fix build with GCC-based architectures
Message-ID:  <bug-233668-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233668

            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@freebsd.org
          Reporter: pkubaj@anongoth.pl
             Flags: maintainer-feedback?(cmt@freebsd.org)
          Assignee: cmt@freebsd.org

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

Building with GCC7 (which is necessary on GCC platforms) currently fails wi=
th:
g++7  -o gexiv2/libgexiv2.so.2.0.0
'gexiv2/gexiv2@@gexiv2@sha/meson-generated_.._gexiv2-enums.cpp.o'
'gexiv2/gexiv2@@gexiv2@sha/gexiv2-metadata.cpp.o
' 'gexiv2/gexiv2@@gexiv2@sha/gexiv2-metadata-exif.cpp.o'
'gexiv2/gexiv2@@gexiv2@sha/gexiv2-metadata-gps.cpp.o'
'gexiv2/gexiv2@@gexiv2@sha/gexiv2-metadata-iptc.cpp.o'
'gexiv2/gexiv2@@gexiv2@sha/gexiv2-metadata-xmp.cpp.o'
'gexiv2/gexiv2@@gexiv2@sha/gexiv2-stream-io.cpp.o'
'gexiv2/gexiv2@@gexiv2@sha/gexiv2-preview-properties.cpp.o'
'gexiv2/gexiv2@@gexiv2@sha/gexiv2-preview-image.cpp.o'
'gexiv2/gexiv2@@gexiv2@sha/gexiv2-log.cpp.o'
'gexiv2/gexiv2@@gexiv2@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=3D/usr/local/lib/gcc7
-Wl,-rpath=3D/usr/local/lib/gcc7 -Wl,-rpath=3D/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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233668-7788>