[MacPorts] #70394: meson 1.5.0 upgrade does break build from many gnome packages during destroot phase.
MacPorts
noreply at macports.org
Wed Jul 17 16:56:20 UTC 2024
#70394: meson 1.5.0 upgrade does break build from many gnome packages during
destroot phase.
-------------------------+-------------------------------------------------
Reporter: | Owner: (none)
christophecvr |
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 2.9.99
Keywords: meson gnome | Port: devel/meson python/py-meson
py-meson | py312-meson
-------------------------+-------------------------------------------------
After the update of meson to 1.5.0. A lot of gnome packages can not be
build anymore. They al do fail during destroot phase with error :
here an example of just one package but it is for a lot of meson build
packages.
{{{
Error: Failed to destroot gstreamer1-gst-plugins-base: command execution
failed
}}}
Full command which Leads to error :
{{{
Installing gst-libs/gst/tag/tag-enumtypes.h to
/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_gstreamer1
-gst-plugins-base/gstreamer1-gst-plugins-
base/work/destroot/opt/local/include/gstreamer-1.0/gst/tag
Installing gst-libs/gst/tag/libgsttag-1.0.0.dylib to
/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_gstreamer1
-gst-plugins-base/gstreamer1-gst-plugins-base/work/destroot/opt/local/lib
Command '['install_name_tool', '/opt/local/var/macports/build
/_opt_mports_macports-ports_gnome_gstreamer1-gst-plugins-base/gstreamer1
-gst-plugins-base/work/destroot/opt/local/lib/libgsttag-1.0.0.dylib',
'-delete_rpath', '/opt/local/lib', '-delete_rpath', '/opt/local/lib',
'-id', '/opt/local/lib/libgsttag-1.0.0.dylib', '-change',
'@rpath/libgsttag-1.0.0.dylib', '/opt/local/lib/libgsttag-1.0.0.dylib']'
returned non-zero exit status 1.
Command failed: cd "/opt/local/var/macports/build/_opt_mports_macports-
ports_gnome_gstreamer1-gst-plugins-base/gstreamer1-gst-plugins-
base/work/build" && /opt/local/bin/meson install
Exit code: 1
Error: Failed to destroot gstreamer1-gst-plugins-base: command execution
failed
}}}
Error only occured since git commit :
{{{
commit eb4bde3ea7facc6f056d79f2dda5575a7e513f23
}}}
after this commit ports :\\
{{{
meson to 1.5.0
py312-meson to 1.5.0
}}}
are updated.
This error will have the longer the more serious consequences. Each time a
concerned gnome package is updated build will fail.
The only solution to make it build again is:\\
Uninstall and clean all the concerned packages.\\
Uninstall py-meson meson.\\
clean all meson !! with port clean --all *meson \\
patch the ports python/py-meson and devel/meson back to 1.4.1 \\
(and since you can't sync as it will ovetrwrite you're patches)\\
rebuild meson with command :\\
{{{
sudo port -s meson py-meson
}}}
Then all gnome packages do build again (if you build from source)
test are performed on clean macports installation master rewinded to :\\
{{{
commit eb4bde3ea7facc6f056d79f2dda5575a7e513f23
}}}
With that commit install failure \\
Wit on that commit downgrade the meson like explained above \\
All build fine again.
Include one main log (of failed build during destroot)\\
One main log on same commit but meson downgrade back to 1.4.1 \\
--
Ticket URL: <https://trac.macports.org/ticket/70394>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list