Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25705 - [grass] g.html2man is not installed into package directory

Attached to Project: Community Packages
Opened by Robert Howard (iBertus) - Monday, 22 August 2011, 04:51 GMT
Last edited by Thomas Dziedzic (tomd123) - Monday, 22 August 2011, 23:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thomas Dziedzic (tomd123)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Many GRASS addons require that g.html2man be installed from ${srcdir}/tools into ${pkgdir}/opt/grass-${pkgver}/tools. The GRASS g.extension tool will fail to build a large number of addons if this tool is missing.

Additional info:
Using GRASS 6.4.1-3 from [community]


Steps to reproduce:
Start grass and execute the command 'g.extension extension=i.landsat.toar' and wait for the error. It will fail with a message about g.html2man not being located.

Solution:
Adding the following lines to the PKGBUILD and rebuilding GRASS worked for me. I'm sure there is a better way of doing this but this method DOES work.


# copy the g.html2man tool into the package directory.
cp -a ./tools/g.html2man ${pkgdir}/opt/grass-${pkgver}/tools
# make sure the g.html2man script has the execute flag.
chmod 755 ${pkgdir}/opt/grass-${pkgver}/tools/g.html2man/g.html2man
This task depends upon

Closed by  Thomas Dziedzic (tomd123)
Monday, 22 August 2011, 23:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  pkgrel 4
Comment by Thomas Dziedzic (tomd123) - Monday, 22 August 2011, 06:01 GMT
can you please file a bug upstream so that this can be properly fixed for everyone?
Please post the report link here so we can track it.
Comment by Robert Howard (iBertus) - Monday, 22 August 2011, 20:20 GMT
It would seem a GRASS bug report has already been filed an a possible fix added the SVN.
https://trac.osgeo.org/grass/ticket/854#comment:5

This may be fixed in the next GRASS release.
Comment by Thomas Dziedzic (tomd123) - Monday, 22 August 2011, 23:36 GMT
good job finding all this out, it does seem like upstream is going to fix this in the next version, so I will go ahead and include g.html2man in pkgrel 4

Loading...