Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3412 - emerge problems with ftpcube
Summary: emerge problems with ftpcube
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: José Alberto Suárez López
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-05 06:21 UTC by Damjan
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damjan 2002-06-05 06:21:01 UTC
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 .
Comment 1 José Alberto Suárez López 2002-06-13 19:13:17 UTC
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.
Comment 2 Damjan 2002-06-14 05:03:14 UTC
I'll try step by step building with ebuild, just have to read some docs ;)
Comment 3 José Alberto Suárez López 2002-06-16 18:57:59 UTC
try the new version 0.3.2 and tell me if you have more problems :)
Comment 4 Damjan 2002-06-17 05:15:32 UTC
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 .
Comment 5 José Alberto Suárez López 2002-06-17 13:38:12 UTC
ok, try the 0.3.2-r1 version. it use a alt mode install, without distutils of
python. And tell me :)
Comment 6 Damjan 2002-06-17 15:57:06 UTC
>>> net-ftp/ftpcube-0.3.2-r1 merged.

bingo, it works now!
thanks!!
Comment 7 Damjan 2002-06-17 16:05:35 UTC
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
Comment 8 José Alberto Suárez López 2002-06-17 17:41:28 UTC
ok try it now (0.3.2-r1) it was a errror with the icons dir :)
Comment 9 Damjan 2002-06-17 18:09:05 UTC
It works ok now after first reemerging pygtk and then ftpcube. Thanks!