Date: Thu, 22 Sep 2011 09:20:48 GMT From: Doug Penner <darwinsurvivor@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/160898: Deluge fails to install from ports without PYGTK disabled Message-ID: <201109220920.p8M9KmfK087280@red.freebsd.org> Resent-Message-ID: <201109220930.p8M9U7nr068265@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160898 >Category: ports >Synopsis: Deluge fails to install from ports without PYGTK disabled >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Sep 22 09:30:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Doug Penner >Release: 8.2 i386 >Organization: >Environment: FreeBSD hermes 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: I am using deluge on a headless server, so to avoid needlessly building a number of X libraries, I disabled PYGTK in the port. Running # make config -> disable PYGTK # make shows no errors, but as soon as I try to run # make install I get the following output /// start output ===> Installing for deluge-1.3.3,1 ===> deluge-1.3.3,1 depends on package: py27-xdg>=0.18 - found ===> deluge-1.3.3,1 depends on package: py27-libtorrent-rasterbar>=0.15.1 - found ===> deluge-1.3.3,1 depends on package: py27-openssl>=0.8 - found ===> deluge-1.3.3,1 depends on package: py27-chardet>=1.0.1 - found ===> deluge-1.3.3,1 depends on package: py27-mako>=0.2.5 - found ===> deluge-1.3.3,1 depends on file: /usr/local/bin/easy_install-2.7 - found ===> deluge-1.3.3,1 depends on file: /usr/local/bin/python2.7 - found ===> deluge-1.3.3,1 depends on file: /usr/local/lib/python2.7/site-packages/twisted/web/__init__.py - found ===> deluge-1.3.3,1 depends on file: /usr/local/lib/python2.7/site-packages/twisted/__init__.py - found ===> deluge-1.3.3,1 depends on shared library: intl - found ===> Generating temporary packing list ===> Checking if net-p2p/deluge already installed running easy_install Processing deluge-1.3.3-py2.7.egg creating /usr/local/lib/python2.7/site-packages/deluge-1.3.3-py2.7.egg Extracting deluge-1.3.3-py2.7.egg to /usr/local/lib/python2.7/site-packages Adding deluge 1.3.3 to easy-install.pth file Installing deluge-console script to /usr/local/bin Installing deluged script to /usr/local/bin Installing deluge-web script to /usr/local/bin Installing deluge-gtk script to /usr/local/bin Installing deluge script to /usr/local/bin Installed /usr/local/lib/python2.7/site-packages/deluge-1.3.3-py2.7.egg ===> Installing rc.d startup script(s) if [ ! -d /usr/local/share/icons/hicolor/scalable/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/scalable/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/scalable/apps/deluge.svg /usr/local/share/icons/hicolor/sc alable/apps if [ ! -d /usr/local/share/icons/hicolor/16x16/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/16x16/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/16x16/apps/deluge.png /usr/local/share/icons/hicol or/16x16/apps if [ ! -d /usr/local/share/icons/hicolor/22x22/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/22x22/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/22x22/apps/deluge.png /usr/local/share/icons/hicol or/22x22/apps if [ ! -d /usr/local/share/icons/hicolor/24x24/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/24x24/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/24x24/apps/deluge.png /usr/local/share/icons/hicol or/24x24/apps if [ ! -d /usr/local/share/icons/hicolor/32x32/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/32x32/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/32x32/apps/deluge.png /usr/local/share/icons/hicol or/32x32/apps if [ ! -d /usr/local/share/icons/hicolor/36x36/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/36x36/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/36x36/apps/deluge.png /usr/local/share/icons/hicol or/36x36/apps if [ ! -d /usr/local/share/icons/hicolor/48x48/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/48x48/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/48x48/apps/deluge.png /usr/local/share/icons/hicol or/48x48/apps if [ ! -d /usr/local/share/icons/hicolor/64x64/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/64x64/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/64x64/apps/deluge.png /usr/local/share/icons/hicol or/64x64/apps if [ ! -d /usr/local/share/icons/hicolor/72x72/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/72x72/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/72x72/apps/deluge.png /usr/local/share/icons/hicol or/72x72/apps if [ ! -d /usr/local/share/icons/hicolor/96x96/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/96x96/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/96x96/apps/deluge.png /usr/local/share/icons/hicol or/96x96/apps if [ ! -d /usr/local/share/icons/hicolor/128x128/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/128x128/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/128x128/apps/deluge.png /usr/local/share/icons/hic olor/128x128/apps if [ ! -d /usr/local/share/icons/hicolor/192x192/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/192x192/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/192x192/apps/deluge.png /usr/local/share/icons/hic olor/192x192/apps if [ ! -d /usr/local/share/icons/hicolor/256x256/apps ]; then /bin/mkdir -p /usr/local/share/icons/hicolor/256x256/apps ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/icons/hicolor/256x256/apps/deluge.png /usr/local/share/icons/hic olor/256x256/apps if [ ! -d /usr/local/share/applications ]; then /bin/mkdir -p /usr/local/share/applications ; fi install -o root -g wheel -m 444 /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/share/applications/deluge.desktop /usr/local/share/applications install: /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/share/applications/deluge.desktop: No such file or directory *** Error code 71 Stop in /usr/ports/net-p2p/deluge. *** Error code 1 Stop in /usr/ports/net-p2p/deluge. *** Error code 1 Stop in /usr/ports/net-p2p/deluge. /// end output It seems that it is trying to install the deluge.desktop file which does not exist. My guess is that the file is built by the PYGTK part (which I have disabled). There is a deluge.desktop.in file in the same folder, but I am unsure how related that is to the error. Unfortunately the server is fairly slow and it would take quite a while to attempt a recompile with PYGTK enabled to test my theory. >How-To-Repeat: # cd /usr/ports/net-p2p/deluge # make config -> disable PYGTK # make install distclean >Fix: Creating an empty file to replace the missing one appears to resolve the issue. Of course the deluge.desktop file won't do anything, but being a headless install (no PYGTK), I don't think that's an issue. To fix the problem I ran the following after disabling PYGTK # make # touch /usr/ports/net-p2p/deluge/work/deluge-1.3.3/deluge/data/share/applications/deluge.desktop # sudo make install distclean >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109220920.p8M9KmfK087280>