cygport fails with package starting with number
Achim Gratz
Stromeko@nexgo.de
Wed Nov 7 20:46:00 GMT 2018
Marco Atzeri writes:
> It seems that the behaviour of cygport is changed recently
> and rebuilding the 4ti2 package fails on the name 4ti2.
Introduced by a3997ae7ac, which constructs a variable whose name starts
with the package name. However, a leading number does not result in a
valid identifier. So if such package names must be supported then the
substitution made earlier (replacing invalid characters from the name by
an underscore) also needs to handle that particular case. So something
like
local dbg_contents_var=${PN//[-+\.]/_}_debuginfo_CONTENTS;
+ dbg_contents_var=${dbg_contents_var/#[0-9]/_}
__step "${PN}-debuginfo-${PVR}.tar.xz";
in lib/pkg_pkg.cygpart should fix it.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
DIY Stuff:
http://Synth.Stromeko.net/DIY.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list