-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[possible regression in 0.55] New rpath must not be longer than the old one #7551
Comments
I looked at the code, that particular error code has existed (Unchanged I think) since 2016. It's possible that we changed either the BUILD rpath code or the install RPATH code in 0.55. |
This is probably because earlier we reserved the exact amount of space needed by install_rpath and nuked everything else. Now we preserve rpaths coming from external sources but don't account for them when calculating how much space to reserve. |
This bug is a show-stopper since so many ports are failing with this error. |
I tried to reproduce this locally but could not. I.e. eog builds and installs just fine and the rpath length calculation also works. This may be FreeBSD specific. Would it be possible for you to run one of the failing builds with the patch from #7565 applied to Meson? |
Note: the next stable point release will happen in the next couple of days. This open issue / merge request is marked for the point release but will not block its release. |
With meson-0.55.1 the failure looks like this:
See the log: http://package22.nyi.freebsd.org/data/113amd64-default-PR244008/2020-08-18_07h28m26s/logs/errors/dpdk-19.11.3.log |
Attaching here in case the build log upstream expires: dpdk-19.11.3.log |
Can you test if #7629 fixes the issue for you? |
We hit the "New rpath must not be longer" issue on sunos-sparc64 (Solaris 10) using meson-0.55.0. With latest master @ 6fc0673 we get the rpath error message :
With #7629 we get:
After fixing that up with
install works. |
This holds the |
Updated the MR. If you want to distro patch, take that. Otherwise it will be in the next point release. |
Several projects fail to build with meson with the error from the subject.
For example devel/gnome-builder: http://package22.nyi.freebsd.org/data/113amd64-default-PR244008/2020-07-15_21h37m37s/logs/errors/gnome-builder-3.28.4_4.log
See the list here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247935#c2
Could you please comment on this? Why did these build before and not with 0.55?
FreeBSD 12.1
Thanks,
Yuri
The text was updated successfully, but these errors were encountered: