Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

compiling nautilus-dropbox for powerpc

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

compiling nautilus-dropbox for powerpc

#1 Post by ricanlinux »

I am wanting to get be able to upload and get stuff from dropbox on my powerpc install of wheezy. Debian does not have the app for powerpc machine in stable or tersting. There is a thunar extension in sid but i do not want to risk breaking my system so I decided to grab the wheezy source and compile myself. I am sure I have all the dependancies however I am I am getting this error. I tried searching for a soulution but the internet has not helped me. see below

rican-linux@debian-ppc:~/Build/source/nautilus-dropbox-1.4.0$ debuild -us -uc
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package nautilus-dropbox
dpkg-buildpackage: source version 1.4.0-3
dpkg-buildpackage: source changed by Raphaël Hertzog <hertzog@debian.org>
dpkg-source --before-build nautilus-dropbox-1.4.0
dpkg-buildpackage: host architecture powerpc
dpkg-source: info: using options from nautilus-dropbox-1.4.0/debian/source/options: --compression=bzip2
fakeroot debian/rules clean
debian/rules:2: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
debian/rules:3: /usr/share/cdbs/1/class/cmake.mk: No such file or directory
dh /usr/share/cdbs/1/class/cmake.mk --with=python2,autoreconf
dh: No packages to build.
dh /usr/share/cdbs/1/rules/debhelper.mk --with=python2,autoreconf
dh: No packages to build.
dh clean --with=python2,autoreconf
dh: No packages to build.
dpkg-source -b nautilus-dropbox-1.4.0
dpkg-source: info: using options from nautilus-dropbox-1.4.0/debian/source/options: --compression=bzip2
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building nautilus-dropbox using existing ./nautilus-dropbox_1.4.0.orig.tar.bz2
dpkg-source: info: building nautilus-dropbox in nautilus-dropbox_1.4.0-3.debian.tar.bz2
dpkg-source: info: building nautilus-dropbox in nautilus-dropbox_1.4.0-3.dsc
debian/rules build
debian/rules:2: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
debian/rules:3: /usr/share/cdbs/1/class/cmake.mk: No such file or directory
dh /usr/share/cdbs/1/class/cmake.mk --with=python2,autoreconf
dh: No packages to build.
dh /usr/share/cdbs/1/rules/debhelper.mk --with=python2,autoreconf
dh: No packages to build.
dh build --with=python2,autoreconf
dh: No packages to build.
fakeroot debian/rules binary
debian/rules:2: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
debian/rules:3: /usr/share/cdbs/1/class/cmake.mk: No such file or directory
dh /usr/share/cdbs/1/class/cmake.mk --with=python2,autoreconf
dh: No packages to build.
dh /usr/share/cdbs/1/rules/debhelper.mk --with=python2,autoreconf
dh: No packages to build.
dh binary --with=python2,autoreconf
dh: No packages to build.
dpkg-genchanges >../nautilus-dropbox_1.4.0-3_powerpc.changes
dpkg-genchanges: error: cannot read files list file: No such file or directory
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: compiling nautilus-dropbox for powerpc

#2 Post by stevepusser »

It appears you need a version of cdbs installed that provides those files:

Code: Select all

debian/rules:2: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
debian/rules:3: /usr/share/cdbs/1/class/cmake.mk: No such file or directory
The wheezy version does have those.

This points to some issue, since debuild will check for those build-deps. What is listed in your debian/control file?
MX Linux packager and developer

ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling nautilus-dropbox for powerpc

#3 Post by ricanlinux »

Here is my control file. I notice that cdbs was not installed so I installed and will try again.


rican-linux@debian-ppc:~/Build/source/nautilus-dropbox-1.4.0$ cat debian/control
Source: nautilus-dropbox
Section: non-free/gnome
Priority: optional
Maintainer: Raphaël Hertzog <hertzog@debian.org>
Build-Depends: debhelper (>= 8), libnautilus-extension-dev (>= 2.16.0), libglib2.0-dev (>= 2.14.0), python-gtk2 (>= 2.12), python-docutils (>= 0.6), python (>= 2.6.6-3~), dh-autoreconf
Standards-Version: 3.9.3
XS-Autobuild: yes
Homepage: http://www.dropbox.com/
Vcs-Git: git://git.debian.org/collab-maint/nautilus-dropbox.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=col ... ropbox.git

Package: nautilus-dropbox
Architecture: i386 amd64
Depends: procps, python-gtk2 (>= 2.12), python-gpgme, policykit-1, ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
Suggests: nautilus
Conflicts: dropbox
Description: Dropbox integration for Nautilus
Nautilus Dropbox is an extension that integrates the Dropbox web service with
your GNOME Desktop.
.
Installing this package will download the proprietary dropbox binary
from dropbox.com.

ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling nautilus-dropbox for powerpc

#4 Post by ricanlinux »

still failed. Here is what I get


rican-linux@debian-ppc:~/Build/source/nautilus-dropbox-1.4.0$ debuild -us -uc
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package nautilus-dropbox
dpkg-buildpackage: source version 1.4.0-3
dpkg-buildpackage: source changed by Raphaël Hertzog <hertzog@debian.org>
dpkg-source --before-build nautilus-dropbox-1.4.0
dpkg-buildpackage: host architecture powerpc
dpkg-source: info: using options from nautilus-dropbox-1.4.0/debian/source/options: --compression=bzip2
fakeroot debian/rules clean
dh clean --with=python2,autoreconf
dh: No packages to build.
dpkg-source -b nautilus-dropbox-1.4.0
dpkg-source: info: using options from nautilus-dropbox-1.4.0/debian/source/options: --compression=bzip2
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building nautilus-dropbox using existing ./nautilus-dropbox_1.4.0.orig.tar.bz2
dpkg-source: info: building nautilus-dropbox in nautilus-dropbox_1.4.0-3.debian.tar.bz2
dpkg-source: info: building nautilus-dropbox in nautilus-dropbox_1.4.0-3.dsc
debian/rules build
dh build --with=python2,autoreconf
dh: No packages to build.
fakeroot debian/rules binary
dh binary --with=python2,autoreconf
dh: No packages to build.
dpkg-genchanges >../nautilus-dropbox_1.4.0-3_powerpc.changes
dpkg-genchanges: error: cannot read files list file: No such file or directory
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: compiling nautilus-dropbox for powerpc

#5 Post by stevepusser »

You have an odd debian/rules file; I looked at the debian wheezy one, and it does not mention the cdbs .mk files:

Code: Select all

#!/usr/bin/make -f

%:
	dh $@ --with=python2,autoreconf

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_makeshlibs:
	# Don't generate a shlibs file for the plugin
	dh_makeshlibs -X/usr/lib/nautilus/

override_dh_auto_install:
	dh_auto_install
	# Drop useless files
	rm -f debian/nautilus-dropbox/usr/lib/nautilus/extensions-*/libnautilus-dropbox.a
	rm -f debian/nautilus-dropbox/usr/lib/nautilus/extensions-*/libnautilus-dropbox.la
So you have to find out why your files are different.
MX Linux packager and developer

ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling nautilus-dropbox for powerpc

#6 Post by ricanlinux »

my debian/rules file is the same as the one you posted

Code: Select all

#!/usr/bin/make -f

%:
	dh $@ --with=python2,autoreconf

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_makeshlibs:
	# Don't generate a shlibs file for the plugin
	dh_makeshlibs -X/usr/lib/nautilus/

override_dh_auto_install:
	dh_auto_install
	# Drop useless files
	rm -f debian/nautilus-dropbox/usr/lib/nautilus/extensions-*/libnautilus-dropbox.a
	rm -f debian/nautilus-dropbox/usr/lib/nautilus/extensions-*/libnautilus-dropbox.la

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: compiling nautilus-dropbox for powerpc

#7 Post by stevepusser »

The build log in your first post is saying that's not the case:

Code: Select all

debian/rules:2: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
debian/rules:3: /usr/share/cdbs/1/class/cmake.mk: No such file or directory
It's saying those are lines 2 and 3 of the rules file.

Anyway, you would not get dropbox to work, anyway, because every version in Debian is broken, plus I don't think Dropbox ever compiled a powerpc version of their software. The Debian nautilus-dropbox used to download the i386 or amd64 client from the Net, but Dropbox has changed.

See: http://forum.mepiscommunity.org/viewtop ... 04&t=37555

I use copy.com myself, but their client is Intel-based only, too. You probably could use their web interface. Or an open-source alternative to Dropbox.
MX Linux packager and developer

ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling nautilus-dropbox for powerpc

#8 Post by ricanlinux »

Well that stinks to hear! I am trying to transfer video and photo files from my iphone to my powerbook. I am able to mount and transfer music to using the tutorial on the Debia wiki. However I cannot transfer my vidoes I made on my iphone. I found out that I can send them to google drive and pull them from there, but I am looking for other ways. I think I can also set up an Own Clound server to do it. Just trying to see what my options are. Thanks again for all your help.

Post Reply