Hi,

the problem is the compile command:

/usr/bin/cc -I/<<PKGBUILDDIR>> -g -O2 ... -Wall -I
-I/usr/include/vte-2.91 -I/usr/include/glib-2.0 ...

The "-I" after "-Wall" gobbles up the following "-I/usr/include/vte-2.9" as
option value. This adds a non-existent directory to the include search path,
but gcc doesn't complain about this unless you run it with "-v".

The lone "-I" is also present in a successful build (w/pkg-config), cf.
https://buildd.debian.org/status/fetch.php?pkg=termit&arch=amd64&ver=3.1-2&stamp=1662940248&raw=0
but there the order of arguments for cc is different:

... Wall -I -pthread -I/usr/include/vte-2.91 ...

so that "-I" gobbles up "-pthread" instead which apparently causes no harm.

Cheers, Roderich

Reply via email to