Re: Cygport has not intltool as dependency.
Jon Turney via Cygwin-apps <[email protected]>
| Newsgroups | gmane.os.cygwin.applications |
|---|---|
| Message-ID | <[email protected]> |
On 08/09/2025 16:04, Carlo B. via Cygwin-apps wrote: > Hello, > I tried to make a CYGWIN package for moserial, a GTK-based serial terminal > Unfortunately, when starting to build, it stopped with this error: > > /usr/share/cygport/cygclass/autotools.cygclass: line 334: intltoolize: > comand not found > > intltoolize is used here: > > https://github.com/cygwin/cygport/blob/8f58ef724b523fc7ec261c79053ed90c93b443ab/cygclass/autotools.cygclass#L334 > > Since intltoolize is used directly by a class of cygport, perhaps it > would be worth to also add intltool to the dependecies listed into > data/sample.cygport: I'm not sure. On the one hand, obviously yes. On the other hand: installing cygport already pulls in a lot 'build-essential'-type stuff. Does it make sense for it to pull in all the build tools for every metaproject it supports? Especially in cases like this, where the error message is relatively clear about the problem, and the solution (hopefully) not too obscure, maybe we don't need to handhold? (Orthogonal to this, there's probably some scope for certain inherits to automatically add to BUILD_REQUIRES. At the moment, there's some logic for this which lives in scallywag [1], but this probably belongs in cygport proper - so that e.g. 'inherit gnome' will get you a warning about required packages not being installed if 'gnome-common' is missing etc.) [1] https://cygwin.com/cgit/cygwin-apps/scallywag/tree/analyze.py#n274