[MacPorts] #58412: gexiv2 @0.10.9 +python27+python36: Failed to build -- possible type error 'Error'/'GError' in namespace 'Exiv2'

MacPorts noreply at macports.org
Sun Apr 28 22:29:05 UTC 2019


#58412: gexiv2 @0.10.9 +python27+python36: Failed to build -- possible type error
'Error'/'GError' in namespace 'Exiv2'
----------------------+----------------------
 Reporter:  willpush  |      Owner:  dbevans
     Type:  defect    |     Status:  assigned
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.5.4
 Keywords:            |       Port:  gexiv2
----------------------+----------------------
 I cannot build gimp-app due to gexiv2 not building.

 I tried all of:
 {{{
 # port clean gexiv2
 # port clean --dist gexiv2
 # port clean rdepof:gexiv2
 }}}

 But to no avail. It looks like there is an error in the type definitions
 that keeps recurring. main.log is attached.

 Here is a typical error:
 {{{
 :info:build gexiv2/gexiv2-metadata-exif.cpp:114:14: error: no type named
 'Error' in namespace 'Exiv2'; did you mean 'GError'?
 :info:build     } catch (Exiv2::Error& e) {
 :info:build              ^~~~~~~~~~~~
 :info:build              GError
 :info:build /opt/local/include/glib-2.0/glib/gerror.h:41:24: note:
 'GError' declared here
 :info:build typedef struct _GError GError;
 :info:build                        ^
 }}}

 I'm on Mojave (10.14.4).

-- 
Ticket URL: <https://trac.macports.org/ticket/58412>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list