Created
May 12, 2019 17:27
-
-
Save sigmaris/7f4e3be101fde84fb777010dd10ed8ba to your computer and use it in GitHub Desktop.
mesa build error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debian/rules override_dh_install | |
make[1]: Entering directory '/opt/build/mesa' | |
# purge .la files | |
find debian/tmp/ -name '*.la' -exec rm '{}' ';' | |
# Get rid of some files which aren't installed. Do not | |
# use -f to ensure we notice disappearing files: | |
rm debian/tmp/usr/lib/*/libglapi.so | |
rm debian/tmp/usr/lib/*/libEGL_mesa.so | |
rm debian/tmp/usr/lib/*/libGLX_mesa.so | |
# Copy the hardlinked *_dri.so correctly. | |
install -m755 -d debian/libgl1-mesa-dri/usr/lib/aarch64-linux-gnu/dri/ | |
mv debian/tmp/usr/lib/aarch64-linux-gnu/dri/*_dri.so \ | |
debian/libgl1-mesa-dri/usr/lib/aarch64-linux-gnu/dri/ | |
# Copy the hardlinked vdpau drivers correctly. | |
install -m755 -d debian/mesa-vdpau-drivers/usr/lib/aarch64-linux-gnu/vdpau/ | |
mv debian/tmp/usr/lib/aarch64-linux-gnu/vdpau/libvdpau*.so* \ | |
debian/mesa-vdpau-drivers/usr/lib/aarch64-linux-gnu/vdpau/ | |
# Copy the hardlinked va drivers correctly. | |
install -m755 -d debian/mesa-va-drivers/usr/lib/aarch64-linux-gnu/dri/ | |
mv debian/tmp/usr/lib/aarch64-linux-gnu/dri/*_drv_video.so \ | |
debian/mesa-va-drivers/usr/lib/aarch64-linux-gnu/dri/ | |
dh_install -a --fail-missing | |
dh_install: Please use dh_missing --list-missing/--fail-missing instead | |
dh_install: This feature will be removed in compat 12. | |
dh_missing: usr/lib/aarch64-linux-gnu/dri/st7586.so exists in debian/tmp but is not installed to anywhere | |
dh_missing: usr/lib/aarch64-linux-gnu/dri/st7735r.so exists in debian/tmp but is not installed to anywhere | |
The following debhelper tools have reported what they installed (with files per package) | |
* dh_install: libd3dadapter9-mesa (3), libd3dadapter9-mesa-dev (4), libegl-mesa0 (3), libegl1-mesa (0), libegl | |
a (2), libgles2-mesa (0), libgles2-mesa-dev (2), libglx-mesa0 (2), libosmesa6 (2), libosmesa6-dev (3), libwayland-egl1- | |
-vdpau-drivers (0), mesa-vulkan-drivers (2) | |
If the missing files are installed by another tool, please file a bug against it. | |
When filing the report, if the tool is not part of debhelper itself, please reference the | |
"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+). | |
(in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz) | |
Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built | |
For a short-term work-around: Add the files to debian/not-installed | |
dh_missing: missing files, aborting | |
dh_install: dh_missing --fail-missing returned exit code 255 | |
make[1]: *** [debian/rules:205: override_dh_install] Error 25 | |
make[1]: Leaving directory '/opt/build/mesa' | |
make: *** [debian/rules:237: binary] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment