#54932 closed defect (fixed)
gegl @0.2.0: glib-mkenums: KeyError: u'nick'
Reported by: | captainproton1971 (Captain Proton) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), EdHarry, vrurg (Vadim Belman), ichbindannmalwegmann (Roger Wegmann), ENOTTY, machsna (J. ‘mach’ Wust), michaellass (Michael Lass) | |
Port: | gegl |
Description
I've been following the ports migration after upgrading to macOS 10.13. gegl is refusing to build.
I'm not sure if this is a gegl issue or a glib issue (sorry, not a developer) from the log file. This looks like the important part of said log.
:info:build Traceback (most recent call last): :info:build File "/opt/local/bin/glib-mkenums", line 688, in <module> :info:build process_file(fname) :info:build File "/opt/local/bin/glib-mkenums", line 484, in process_file :info:build parse_entries(curfile, curfilename) :info:build File "/opt/local/bin/glib-mkenums", line 205, in parse_entries :info:build entries.append((name, value, options['nick'])) :info:build KeyError: u'nick'
Attachments (1)
Change History (10)
Changed 7 years ago by captainproton1971 (Captain Proton)
Attachment: | gegl_main.log added |
---|
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | glib2 added; gegl @0.2.0_24 removed |
---|---|
Summary: | gegl @0.2.0_24 not building after migration to macOS 10.13 → glib2: glib-mkenums: KeyError: u'nick' |
I've seen this before, but I can't find the previous ticket about it right now.
comment:2 Changed 7 years ago by EdHarry
Cc: | EdHarry added |
---|
comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | vrurg ichbindannmalwegmann added; dbevans removed |
---|---|
Owner: | set to dbevans |
Port: | gegl added; glib2 removed |
Status: | new → assigned |
Summary: | glib2: glib-mkenums: KeyError: u'nick' → gegl @0.2.0: glib-mkenums: KeyError: u'nick' |
Maybe it is best to call it a gegl bug for now.
Has duplicate #54937, in which it was pointed out that gegl is outdated—0.3.20 is available. Are we intentionally holding gegl back, or did we just not notice the availability of the new version because of the way the livecheck is written? If there's no reason not to upgrade, maybe we should try that first and see if that solves this bug.
comment:4 Changed 7 years ago by dbevans (David B. Evans)
Status: | assigned → accepted |
---|
I think this is probably the same unicode problem that was reported against libgda5. See https://bugzilla.gnome.org/show_bug.cgi?id=788283 for the issue and ryandesigns fix.
The root cause is that glib-mkenums as been re-coded using python in the latest version of glib 2.54.0 and this causes it to require utf8 encoded text as input. Will take a look.
Concerning gegl being outdated. We provide several versions of gegl as required by different dependents. In particular gegl (version 0.2.x) is still required by gimp2. However, the latest versions of gegl is provided by port gegl-0.3 and a development version is provided as gegl-devel providing a recent git master of the 0.3 develment branch. So I think all bases are covered.
Current gegl versions are
- gegl @0.2.0_24
- gegl-0.3 @0.3.20_1
- gegl-devel @0.3.21-20170906
The 0.2 and 0.3 versions install in parallel without conflict.
comment:5 Changed 7 years ago by ENOTTY
Cc: | ENOTTY added |
---|
comment:6 Changed 7 years ago by machsna (J. ‘mach’ Wust)
Cc: | machsna added |
---|
comment:7 Changed 7 years ago by michaellass (Michael Lass)
Cc: | michaellass added |
---|
comment:8 Changed 7 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:9 Changed 7 years ago by captainproton1971 (Captain Proton)
Yes, that seems to have fixed it for me. Thank you.
Log file of attempted build of gegl @0.2.0_24 on macOS 10.13