v0.41.0 meson has numerous regressions that stop vala based apps compiling

Bug #1698463 reported by fossfreedom
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
meson (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Artful version of budgie-desktop has recently been sync'd from Debian Experimental.

It has failed to build. Further investigations has revealed that the current version of meson in Artful proposed is the culprit. Upstream has also other reports of Vala based apps failing to compile

https://github.com/mesonbuild/meson/issues/1939

The version of meson in Universe is ok (v0.40.1)

Looking upstream there are numerous regressions reported for v0.41.0 that are due to be fixed for v0.41.1 - it is unknown when v0.41.1 is going to be released nor if that version will resolve current Vala based build issues.

This bug-report was discussed on IRC #ubuntu-devel today (16June) with JBicha - recommendation to raise a bug-report with tag block-proposed

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: meson 0.41.0-1
ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
Uname: Linux 4.10.0-22-generic x86_64
ApportVersion: 2.20.5-0ubuntu4
Architecture: amd64
CurrentDesktop: Budgie:GNOME
Date: Fri Jun 16 22:33:50 2017
InstallationDate: Installed on 2017-06-10 (6 days ago)
InstallationMedia: Ubuntu-Budgie 17.10 "Artful Aardvark" - Alpha amd64 (20170610)
PackageArchitecture: all
SourcePackage: meson
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
fossfreedom (fossfreedom) wrote :
Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

0.41.1 is planned to be released Sunday (that is tomorrow). If it is possible for you to test if current trunk + this MR fixes the issues it would be helpful: https://github.com/mesonbuild/meson/pull/1951

While we're at it Meson currently can't because it is blocked by a regression on ARM as reported here:

http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#meson

However that is _not_ a regression in Meson. It is a GCC bug that only appears now because we have more tests than the previous release. The bug has been reported to Debian but there has been no activity on it:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862514

Revision history for this message
fossfreedom (fossfreedom) wrote :

Hi,

  ok - I rebuilt with the latest trunk + those two patches.

Unfortunately the build is still failing

https://launchpadlibrarian.net/324376687/buildlog_ubuntu-artful-amd64.budgie-desktop_10.3.1-2ubuntu2_BUILDING.txt.gz

I can confirm all was well with all versions from 0.37 to 0.40.1

Earlier I talked to budgie-desktop upstream:

"It breaks further along too with headers being trashed, flags going the wrong way, etc. This is an upstream Meson issue and I'd recommend that Ubuntu rolls back to the working release (as I'm about to do). Literally nothing I can do in Ubuntu. Apparently Meson and Vala are spiritually aligned in breaking on updates."

same header build issue as when upstream tested last night.

https://github.com/budgie-desktop/budgie-desktop/issues/951#issuecomment-309218458

Jeremy Bícha (jbicha)
Changed in meson (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I raised the gcc bug severity, can you guys please:

1) report an upstream gcc bug
2
) try meson with gcc-7?

thanks!

Gianfranco

Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

0.41.1 has been released and got uploaded to sid a few moments ago.

Revision history for this message
fossfreedom (fossfreedom) wrote :

Jussi - did 0.41.1 get the suggested patch here (https://github.com/mesonbuild/meson/pull/1970) to allow budgie-desktop to compile?

Revision history for this message
Matthias Klose (doko) wrote :

at least the referenced debian bug is not a compiler issue.

the get_retval symbol is untyped, so it doesn't get proper interworking treatment
add a .type get_retval, %function directive

Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

I have not tested budgie desktop myself so I don't know.

The GCC issue will be fixed by https://github.com/mesonbuild/meson/pull/1978.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

We've cherry-picked the two commits needed after 0.41.1 to get budgie-desktop building again. There's one more commit for the armhf test failure. We could cherry-pick that or just wait for the next meson release.

https://github.com/mesonbuild/meson/commit/4b3eaf1

tags: removed: block-proposed
Changed in meson (Ubuntu):
status: Triaged → Fix Committed
Jeremy Bícha (jbicha)
Changed in meson (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.