Build error with vala 0.48 #3
Cargando…
Referencia en una nueva incidencia
No se ha proporcionado una descripción.
Eliminar rama "%!s(<nil>) "
Eliminar una rama es permanente. Aunque la rama eliminada puede continuar existiendo durante un corto tiempo antes de que sea eliminada, en la mayoría de los casos NO PUEDE deshacerse. ¿Continuar?
vala 0.46.6 builds fine, but with vala 0.48.0 I get the following error when building, repeated multiple times for the same file:
I will take a look.
pacman seems to be unable to satisfy vala < 0.48 ("unable to satisfy dependency 'vala<0.48' required by pamac-classic")
BTW if I install vala 0.46 manually and then update pacman-classic, pacman-classic still offers me to upgrade vala to 0.48, which it shouldn't or should? I'm confused
Yes, it should offer to upgrade vala, just as
pacman -Syu
would.The
pamac-classic
package has a build-time dependency on the vala package, not a runtime dependency; the difference being that after thepamac-classic
package is built, it doesn't needvala
to be installed at all to run. In other words, the only timepamac-classic
requiresvala<0.48
is when installing/updatingpamac-classic
itself.If you allow vala to be updated, it shouldn't cause any issues aside from not being able to install/update
pamac-classic
until the fix for this issue is released.I have pushed a new version 7.1.3. The build now succeeds, but I don't want to close this yet because the fix is very hacky. For whatever reason having a struct that contains the variable "errno" causes a conflict now that errno.h is included in the generated c code. Not sure if this is a problem with vala, errno.h, or something else entirely. But for the time being I just changed the variable name to fix the build as seen in this commit:
d3fe4c0bae
Looks like pamac also had the same issue with 0.48. They fixed it with the same solution I found:
aaa481fe98
Renamed the errno variable.
For now I am going to close this.