J_Fulton
Posts: 2
Joined: Sun Mar 12, 2017 5:23 am

%make_install ERROR

Sun Mar 12, 2017 6:24 pm

Hi all! I'm trying to build the grass-gis package (Phabricator T794) and am getting this error at the end of the build process.

Is there something i should do to set the install dir to solve this issue?

Thanks for any suggestions.

make[1]: Entering directory '/home/build/YPKG/root/grass/build/grass-7.2.0'
ERROR: Directory /usr is a parent directory of your
install directory /usr/grass-7.2.0 and is not writable.
Perhaps you need root access.
Installation aborted, exiting Make.

make[1]: *** [include/Make/Install.make:53: install-check-parent] Error 1
make[1]: Leaving directory '/home/build/YPKG/root/grass/build/grass-7.2.0'
make: *** [include/Make/Install.make:36: install] Error 2
Command '['/bin/bash', '--norc', '--noprofile', '/tmp/ypkg-installoS_ddA']' returned non-zero exit status 2
[Build] install failed
ERRO[10:11:40] Failed to build package error="exit status 1"
ERRO[10:11:43] Failed to build packages
make[1]: Leaving directory '/home/jonathan/solus-pkgs/Grass-GIS'
make abireport
make[1]: Entering directory '/home/jonathan/solus-pkgs/Grass-GIS'
abireport -p abi_ -D `dirname package.yml` scan-packages `dirname package.yml`
Error locating packages: No packages in directory .

make[1]: *** [../Makefile.common:15: abireport] Error 1
make[1]: Leaving directory '/home/jonathan/solus-pkgs/Grass-GIS'
make: *** [../Makefile.common:12: complete] Error 2
------------------------------------------------------------------------------------------------------------------------------------
This is the last part of the package.yml file:
setup : |
%configure --with-freetype-includes=/usr/include/freetype2 \
build : |
%make
install : |
%make_install

J_Fulton
Posts: 2
Joined: Sun Mar 12, 2017 5:23 am

[SOLVED] %make_install ERROR

Sun Mar 12, 2017 11:09 pm

Added "prefix=$installdir/usr/share/grass" to end of %make_install

Return to “Engagement”