Opened 12 years ago
Closed 11 years ago
#1647 closed defect (invalid)
GRASS 6.4.2: g.extension.py crash on Fedora 16
| Reported by: | neteler | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.4.3 |
| Component: | Packaging | Version: | svn-releasebranch64 |
| Keywords: | g.extension, rpm | Cc: | |
| CPU: | x86-32 | Platform: | Linux |
Description
Using the package from Fedora 16, 32bit:
(Wed Apr 25 09:18:26 2012)
g.extension.py extension=r.vol.dem operation=add
Traceback (most recent call last):
File
"/usr/lib/grass-6.4.2/etc/gui/scripts/g.extension.py", line
802, in <module>
sys.exit(main())
File
"/usr/lib/grass-6.4.2/etc/gui/scripts/g.extension.py", line
790, in main
check_dirs()
File
"/usr/lib/grass-6.4.2/etc/gui/scripts/g.extension.py", line
735, in check_dirs
check_style_files('grass_logo.png')
File
"/usr/lib/grass-6.4.2/etc/gui/scripts/g.extension.py", line
717, in check_style_files
shutil.copyfile(dist_file,addons_file)
File "/usr/lib/python2.7/shutil.py", line 81, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/usr/lib/grass-6.4.2/docs/html/grass_logo.png'
(Wed Apr 25 09:18:26 2012) Befehl ausgeführt (0 sec)
But:
ls -la /usr/lib/python2.7/shutil.py -rw-r--r--. 1 root root 18302 27. Okt 03:36 /usr/lib/python2.7/shutil.py locate grass_logo.png | grep 6.4.2 /usr/share/doc/grass-6.4.2/docs/html/grass_logo.png /usr/share/doc/grass-6.4.2/docs/html/nviz/grass_logo.png
Change History (4)
comment:1 by , 12 years ago
follow-up: 4 comment:2 by , 12 years ago
I solved it temporarily with
sudo ln -s /usr/share/doc/grass-6.4.2/docs /usr/lib/grass-6.4.2/docs
but now get this error:
Fetching <r.vol.dem> from GRASS-Addons SVN (be patient)... Compiling... Makefile:8: /usr/lib/grass-6.4.2/include/Make/Module.make: Datei oder Verzeichnis nicht gefunden make: *** Keine Regel, um »/usr/lib/grass-6.4.2/include/Make/Module.make« zu erstellen. Schluss. ERROR: Compilation failed, sorry. Please check above error messages
Please also package the /usr/lib/grass-6.4.2/include/ directory in the grass-devel RPM. Some parts except for include/Make/ I found in grass-devel: /usr/include/grass/ .
Furthermore I believe that /usr/share/doc/grass-6.4.2/docs/ should go into grass.rpm, not grass-devel.
Thanks.
comment:3 by , 11 years ago
| Component: | Python → Packaging |
|---|---|
| Keywords: | rpm added |
comment:4 by , 11 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Replying to neteler:
I solved it temporarily with
sudo ln -s /usr/share/doc/grass-6.4.2/docs /usr/lib/grass-6.4.2/docs
but now get this error:
Fetching <r.vol.dem> from GRASS-Addons SVN (be patient)... Compiling... Makefile:8: /usr/lib/grass-6.4.2/include/Make/Module.make: Datei oder Verzeichnis nicht gefunden make: *** Keine Regel, um »/usr/lib/grass-6.4.2/include/Make/Module.make« zu erstellen. Schluss. ERROR: Compilation failed, sorry. Please check above error messages
Reported in packager's bugtracker as
https://bugzilla.redhat.com/show_bug.cgi?id=855524
Hence closing here as invalid (wrong bugtracker).

That's a flaw in my packaging.