Bug#1087299: fonts-arapey: FTBFS: fontTools.varLib.errors.VariationModelError: Locations must be unique.
Package: src:fonts-arapey
Version: 0+git20200408-3
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
fontmake -g src/Arapey-VF-pro-NOV.glyphs -o otf
INFO:fontmake.font_project:Building master UFOs and designspace from Glyphs source
INFO:glyphsLib.parser:Parsing .glyphs file
INFO:glyphsLib.builder:Running 'propagate_all_anchors' transformation
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/glyphsLib/builder/smart_components.py", line 64, in variation_model
model = VariationModel(master_locations, axisOrder=axis_order, extrapolate=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fontTools/varLib/models.py", line 263, in __init__
raise VariationModelError("Locations must be unique.")
fontTools.varLib.errors.VariationModelError: Locations must be unique.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/fontmake", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3/dist-packages/fontmake/__main__.py", line 708, in main
project.run_from_glyphs(inputs.glyphs_path, **args)
File "/usr/lib/python3/dist-packages/fontmake/font_project.py", line 910, in run_from_glyphs
designspace = self.build_master_ufos(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fontTools/misc/loggingTools.py", line 375, in wrapper
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fontmake/font_project.py", line 246, in build_master_ufos
designspace = glyphsLib.to_designspace(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/glyphsLib/builder/__init__.py", line 161, in to_designspace
return builder.designspace
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/glyphsLib/builder/builders.py", line 337, in designspace
list(self.masters) # Make sure that the UFOs are built
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/glyphsLib/builder/builders.py", line 214, in masters
self.to_ufo_layers() # below!
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/glyphsLib/builder/builders.py", line 279, in to_ufo_layers
self.to_ufo_glyph(ufo_glyph, layer, glyph) # .glyph
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/glyphsLib/builder/glyph.py", line 196, in to_ufo_glyph
self.to_ufo_components(ufo_glyph, layer) # .components
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/glyphsLib/builder/components.py", line 78, in to_ufo_components
to_ufo_smart_component(self, layer, component, pen)
File "/usr/lib/python3/dist-packages/glyphsLib/builder/smart_components.py", line 118, in to_ufo_smart_component
model = variation_model(root, masters, layer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/glyphsLib/builder/smart_components.py", line 69, in variation_model
raise ValueError(
ValueError: Could not generate smart component model for _part.barcurrency used in <GSLayer "Black" (cedi)>.
Locations were:
Black = {'LARGO': 0.0}
short = {'LARGO': 0.0}
long = {'LARGO': 1.0}
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202411/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
Reply to: