Output of emerge failure is below, but this is strange because Jose <bass@gentoo.org> replied he can emerge ftpcube just fine. Can you give me some clue how to debug this thing? (It doesn't help if I create that ftpcube dir) thanks Calculating dependencies \>>> Unpacking source... >>> Unpacking ftpcube-0.3.1.tar.gz missing header for unified diff at line 2 of patch patching file setup.cfg >>> Source unpacked. running build running build_py creating build creating build/lib creating build/lib/libftpcube copying libftpcube/browsewin.py -> build/lib/libftpcube copying libftpcube/optionwin.py -> build/lib/libftpcube copying libftpcube/bookmarkwin.py -> build/lib/libftpcube copying libftpcube/defaults.py -> build/lib/libftpcube copying libftpcube/cache.py -> build/lib/libftpcube copying libftpcube/main.py -> build/lib/libftpcube copying libftpcube/aboutwin.py -> build/lib/libftpcube copying libftpcube/app.py -> build/lib/libftpcube copying libftpcube/ftp.py -> build/lib/libftpcube copying libftpcube/filewin.py -> build/lib/libftpcube copying libftpcube/logging.py -> build/lib/libftpcube copying libftpcube/connectwin.py -> build/lib/libftpcube copying libftpcube/cmdwin.py -> build/lib/libftpcube copying libftpcube/__init__.py -> build/lib/libftpcube copying libftpcube/ctrlwin.py -> build/lib/libftpcube copying libftpcube/intl.py -> build/lib/libftpcube copying libftpcube/threads.py -> build/lib/libftpcube running build_scripts creating build/scripts-2.2 copying and adjusting ftpcube -> build/scripts-2.2 >>> Install ftpcube-0.3.1 into /var/tmp/portage/ftpcube-0.3.1/image/ category net-ftp running install running build running build_py not copying libftpcube/browsewin.py (output up-to-date) not copying libftpcube/optionwin.py (output up-to-date) not copying libftpcube/bookmarkwin.py (output up-to-date) not copying libftpcube/defaults.py (output up-to-date) not copying libftpcube/cache.py (output up-to-date) not copying libftpcube/main.py (output up-to-date) not copying libftpcube/aboutwin.py (output up-to-date) not copying libftpcube/app.py (output up-to-date) not copying libftpcube/ftp.py (output up-to-date) not copying libftpcube/filewin.py (output up-to-date) not copying libftpcube/logging.py (output up-to-date) not copying libftpcube/connectwin.py (output up-to-date) not copying libftpcube/cmdwin.py (output up-to-date) not copying libftpcube/__init__.py (output up-to-date) not copying libftpcube/ctrlwin.py (output up-to-date) not copying libftpcube/intl.py (output up-to-date) not copying libftpcube/threads.py (output up-to-date) running build_scripts not copying ftpcube (up-to-date) running install_lib creating /usr/lib/python2.2/site-packages/libftpcube error: could not create '/usr/lib/python2.2/site-packages/libftpcube': Permission denied !!! ERROR: The ebuild did not complete successfully. !!! Function src_install, Line 1, Exitcode 1 !!! install failed ...done! >>> emerge net-ftp/ftpcube-0.3.1 to / >>> md5 ;-) ftpcube-0.3.1.tar.gz !!! emerge aborting on /usr/portage/net-ftp/ftpcube/ftpcube-0.3.1.ebuild .
really strange, please give me some detaills, i have the problem that you post but with ftpcube-0.32 >>> Completed installing into /var/tmp/portage/ftpcube-0.3.1/image/ >>> Merging net-ftp/ftpcube-0.3.1 to / DEBUG: doebuild /usr/portage/net-ftp/ftpcube/ftpcube-0.3.1.ebuild preinst --- /usr/ --- /usr/share/ --- /usr/share/doc/ --- /usr/share/doc/ftpcube-0.3.1/ >>> /usr/share/doc/ftpcube-0.3.1/CHANGELOG.gz >>> /usr/share/doc/ftpcube-0.3.1/README.gz DEBUG: doebuild /usr/portage/net-ftp/ftpcube/ftpcube-0.3.1.ebuild postinst >>> Regenerating /etc/ld.so.cache... >>> net-ftp/ftpcube-0.3.1 merged. DEBUG: doebuild /usr/portage/net-ftp/ftpcube/ftpcube-0.3.1.ebuild clean * Regenerating GNU info directory index... * Processed 64 info files.
I'll try step by step building with ebuild, just have to read some docs ;)
try the new version 0.3.2 and tell me if you have more problems :)
I'm really new to python so I'm afraid I can't help you much. I tried ftpcube-0.3.2, and same problem, same output. ..... not copying libftpcube/ctrlwin.py (output up-to-date) not copying libftpcube/intl.py (output up-to-date) not copying libftpcube/threads.py (output up-to-date) running build_scripts not copying ftpcube (up-to-date) running install_lib creating /usr/lib/python2.2/site-packages/libftpcube error: could not create '/usr/lib/python2.2/site-packages/libftpcube': Permission denied !!! ERROR: The ebuild did not complete successfully. !!! Function src_install, Line 1, Exitcode 1 !!! install failed !!! emerge aborting on /usr/portage/net-ftp/ftpcube/ftpcube-0.3.2.ebuild .
ok, try the 0.3.2-r1 version. it use a alt mode install, without distutils of python. And tell me :)
>>> net-ftp/ftpcube-0.3.2-r1 merged. bingo, it works now! thanks!!
However I get following output when running ftpcube(I have xpm installed and icon file exists) Traceback (most recent call last): File "/usr/bin/ftpcube", line 7, in ? main.main () File "/usr/lib/python2.2/site-packages/libftpcube/main.py", line 73, in main create_global_app (app.Application (_("ftpcube"))) File "/usr/lib/python2.2/site-packages/libftpcube/app.py", line 71, in __init__ icon_pic, icon_mask = gtk.create_pixmap_from_xpm (self.main_window, None, os.path.join (main.ICONS_PREFIX, "ftpcube.xpm")) File "/usr/lib/python2.2/site-packages/gtk.py", line 2713, in create_pixmap_from_xpm bg, xpm) IOError: can't load pixmap
ok try it now (0.3.2-r1) it was a errror with the icons dir :)
It works ok now after first reemerging pygtk and then ftpcube. Thanks!