You are not logged in.

#1 2015-02-08 02:12:54

JanVonNebenan
Member
Registered: 2015-02-02
Posts: 12

[solved] cannot build nautilus-dropbox

(New to Arch & Pacman)

I've successfully built dropbox from AUR, but I can't get nautilus-dropbox to work...

Here's what I've tried (that's from 'how to manually build packages from AUR' from the wiki)

[jan@archer tmp]$ tar xvf nautilus-dropbox.tar.gz 
nautilus-dropbox/
nautilus-dropbox/.SRCINFO
nautilus-dropbox/PKGBUILD
nautilus-dropbox/nautilus-dropbox.install
[jan@archer tmp]$ cd nautilus-dropbox/
[jan@archer nautilus-dropbox]$ ls
nautilus-dropbox.install  PKGBUILD
[jan@archer nautilus-dropbox]$ makepkg -S nautilus-dropbox.install 
==> Making package: nautilus-dropbox 2.10.0-1 (Sun Feb  8 13:00:46 AEDT 2015)
==> Retrieving sources...
  -> Downloading nautilus-dropbox-2.10.0.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  345k  100  345k    0     0   126k      0  0:00:02  0:00:02 --:--:--  126k
==> Validating source files with md5sums...
    nautilus-dropbox-2.10.0.tar.bz2 ... Passed
==> Entering fakeroot environment...
==> Creating source package...
  -> Adding PKGBUILD...
  -> Generating .SRCINFO file...
  -> Adding install file (nautilus-dropbox.install)...
  -> Compressing source package...
==> Leaving fakeroot environment.
==> Source package created: nautilus-dropbox (Sun Feb  8 13:00:49 AEDT 2015)
[jan@archer nautilus-dropbox]$ sudo pacman -U nautilus-dropbox-2.10.0.tar.bz2 
loading packages...
error: missing package metadata in nautilus-dropbox-2.10.0.tar.bz2
error: 'nautilus-dropbox-2.10.0.tar.bz2': invalid or corrupted package
[jan@archer nautilus-dropbox]$ ls -la
total 376
drwxr-xr-x 3 jan users   4096 Feb  8 13:00 .
drwxr-xr-x 6 jan users   4096 Feb  8 13:00 ..
-rw-r--r-- 1 jan users   1210 Feb  8 13:00 nautilus-dropbox-2.10.0-1.src.tar.gz
-rw-r--r-- 1 jan users 354089 Feb  8 13:00 nautilus-dropbox-2.10.0.tar.bz2
-rw-r--r-- 1 jan users    228 Jan 27  2013 nautilus-dropbox.install
-rw-r--r-- 1 jan users   1346 Jan 10 01:39 PKGBUILD
drwxr-xr-x 2 jan users   4096 Feb  8 13:00 src
-rw-r--r-- 1 jan users    690 Jan 10 01:44 .SRCINFO
[jan@archer nautilus-dropbox]$ tree
.
├── nautilus-dropbox-2.10.0-1.src.tar.gz
├── nautilus-dropbox-2.10.0.tar.bz2
├── nautilus-dropbox.install
├── PKGBUILD
└── src

1 directory, 4 files

(makepkg did not create a *.tar.xz file)

I guess I'm missing something obvious. Happy for any pointers...

Last edited by JanVonNebenan (2015-02-08 04:59:59)

Offline

#2 2015-02-08 03:14:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] cannot build nautilus-dropbox

'makepkg -S' is the wrong command to use. See the man page.

Offline

#3 2015-02-08 04:11:53

JanVonNebenan
Member
Registered: 2015-02-02
Posts: 12

Re: [solved] cannot build nautilus-dropbox

karol wrote:

'makepkg -S' is the wrong command to use. See the man page.

Really?!?

This is the newbie corner, and this is actually the first question I've ever posted. And that's after I've spent an hour trying to find the solution.

Can't say I'm hugely impressed by "I know the answer but I prefer to educate you"...

I would have been impressed by the correct answer and a link to the man page though.

Last edited by JanVonNebenan (2015-02-08 04:19:59)

Offline

#4 2015-02-08 04:44:20

JanVonNebenan
Member
Registered: 2015-02-02
Posts: 12

Re: [solved] cannot build nautilus-dropbox

JanVonNebenan wrote:
...
[jan@archer nautilus-dropbox]$ makepkg -S nautilus-dropbox.install 
...

Dude, you are really stupid. Try using -s (lowercase, syncdeps) instead of -S (uppercase, build a source-only tarball).

Offline

#5 2015-02-08 04:45:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] cannot build nautilus-dropbox

So, you found the man page after all? smile

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB