Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566280 - =net-misc/dropbox-3.12.6 version bump
Summary: =net-misc/dropbox-3.12.6 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Naohiro Aota
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-20 02:16 UTC by Christian Tietz
Modified: 2016-01-29 20:14 UTC (History)
4 users (show)

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


Attachments
ebuild for =net-misc/dropbox-3.10.11 (dropbox-3.10.11.ebuild,2.97 KB, text/plain)
2015-11-23 18:02 UTC, Christian Tietz
Details
ebuild for =net-misc/dropbox-3.12.4 (dropbox-3.12.4.ebuild,3.24 KB, text/plain)
2015-12-07 22:11 UTC, Christian Tietz
Details
dropbox-3.12.6.ebuild (dropbox-3.12.6.ebuild,3.18 KB, text/plain)
2016-01-26 19:05 UTC, Jason Zaman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Tietz 2015-11-20 02:16:03 UTC
3.6.8 refuses to connect when running from a new install. It states: "You're using an old version of Dropbox. Please download the latest version at www.dropbox.com/downloading"

Reproducible: Always
Comment 1 Gabriel Misailidis 2015-11-23 09:08:29 UTC
I confirm the bug. After fresh installation dropbox can't sign due to old version. I've tried dropbox-3.6.8 dropbox-2.10.2 with same results.
Comment 2 Christian Tietz 2015-11-23 18:02:17 UTC
Created attachment 417688 [details]
ebuild for =net-misc/dropbox-3.10.11

The attached ebuild for 3.10.11 works fine in my local overlay.
Comment 3 Christian Tietz 2015-11-24 23:31:36 UTC
Also, after the bump a stable request should be filed, as current stable 2.10.2 is pretty much useless now when it comes to a new installation.
Comment 4 Jelte Fennema 2015-11-30 19:52:16 UTC
Thanks for creating the ebuild Christian, it works great.
Comment 5 Christian Tietz 2015-12-07 22:11:59 UTC
Created attachment 418738 [details]
ebuild for =net-misc/dropbox-3.12.4

New ebuild for 3.12.4.

Courtesy of:
https://github.com/jorgicio/jorgicio-gentoo
Comment 6 Jason Zaman gentoo-dev 2016-01-08 06:22:37 UTC
(In reply to Christian Tietz from comment #5)
> Created attachment 418738 [details]
> ebuild for =net-misc/dropbox-3.12.4
> 
> New ebuild for 3.12.4.
> 
> Courtesy of:
> https://github.com/jorgicio/jorgicio-gentoo

This one just segfaults for me :(. Im on stable hardened.
Comment 7 Jason Zaman gentoo-dev 2016-01-08 07:22:24 UTC
its an ffi problem :(

Program received signal SIGSEGV, Segmentation fault.
0x00000327787f549b in ffi_prep_closure_loc () from /usr/lib64/libffi.so.6
(gdb) bt
#0  0x00000327787f549b in ffi_prep_closure_loc () from /usr/lib64/libffi.so.6
#1  0x0000032778a11062 in b_callback (self=self@entry=0x0, args=args@entry=0x32779b43318) at c/_cffi_backend.c:5075
#2  0x0000032778a1167b in _ffi_callback_decorator (outer_args=0x32779b43318, fn=<optimized out>) at c/ffi_obj.c:748
#3  0x00000000004b6bbb in PyEval_EvalFrameEx ()
#4  0x00000000004b7698 in PyEval_EvalCodeEx ()
#5  0x00000000004b77c2 in PyEval_EvalCode ()
#6  0x00000000004cd558 in PyImport_ExecCodeModuleEx ()
#7  0x00000000004cdb74 in ?? ()
#8  0x00000000004ce527 in ?? ()
#9  0x00000000004cf5e6 in PyImport_ImportModuleLevel ()
#10 0x000000000063cceb in ?? ()
#11 0x00000000005d177a in PyObject_Call ()
#12 0x00000000004b26ea in PyEval_EvalFrameEx ()
#13 0x00000000004b7698 in PyEval_EvalCodeEx ()
#14 0x00000000004b77c2 in PyEval_EvalCode ()
#15 0x00000000004cd558 in PyImport_ExecCodeModuleEx ()
#16 0x00000000004cdb74 in ?? ()
#17 0x00000000004ce527 in ?? ()
#18 0x00000000004cf5e6 in PyImport_ImportModuleLevel ()
#19 0x000000000063cceb in ?? ()
#20 0x00000000005d177a in PyObject_Call ()
#21 0x00000000004b26ea in PyEval_EvalFrameEx ()
Comment 8 Uladzimir Bely 2016-01-16 22:09:04 UTC
(In reply to Christian Tietz from comment #5)
> Created attachment 418738 [details]
> ebuild for =net-misc/dropbox-3.12.4
> 
> New ebuild for 3.12.4.
> 
> Courtesy of:
> https://github.com/jorgicio/jorgicio-gentoo

I've tried 3.12.6 ebuild from your overlay. It seems to be working, but without original qt.conf file (which is being removed via ebuild) I wasn't able to start dropbox initial setup dialog. I had only "Alarm clock" output in terminal when launched dropbox.
Comment 9 Christian Tietz 2016-01-16 23:09:58 UTC
(In reply to Jason Zaman from comment #6)
> (In reply to Christian Tietz from comment #5)
> > Created attachment 418738 [details]
> > ebuild for =net-misc/dropbox-3.12.4
> > 
> > New ebuild for 3.12.4.
> > 
> > Courtesy of:
> > https://github.com/jorgicio/jorgicio-gentoo
> 
> This one just segfaults for me :(. Im on stable hardened.

Seems to be a hardened only issue. Did 3.6.8 work?

(In reply to Uladzimir Bely from comment #8)
> (In reply to Christian Tietz from comment #5)
> > Created attachment 418738 [details]
> > ebuild for =net-misc/dropbox-3.12.4
> > 
> > New ebuild for 3.12.4.
> > 
> > Courtesy of:
> > https://github.com/jorgicio/jorgicio-gentoo
> 
> I've tried 3.12.6 ebuild from your overlay. It seems to be working, but
> without original qt.conf file (which is being removed via ebuild) I wasn't
> able to start dropbox initial setup dialog. I had only "Alarm clock" output
> in terminal when launched dropbox.

Cannot reproduce this on an otherwise stable amd64 environment. BTW, it is not my overlay.
Comment 10 Rick Harris 2016-01-25 23:39:03 UTC
(In reply to Christian Tietz from comment #0)
> 3.6.8 refuses to connect when running from a new install. It states: "You're
> using an old version of Dropbox. Please download the latest version at
> www.dropbox.com/downloading"
> 
> Reproducible: Always

Same here but I can't get any version of Dropbox to work.

Even chasing the latest version (3.12.6) Dropbox still complains that:
"You're using an old version of Dropbox. Please download the latest version at www.dropbox.com/downloading"
Comment 11 Jason Zaman gentoo-dev 2016-01-26 18:58:08 UTC
(In reply to Christian Tietz from comment #9)
> (In reply to Jason Zaman from comment #6)
> > (In reply to Christian Tietz from comment #5)
> > > Created attachment 418738 [details]
> > > ebuild for =net-misc/dropbox-3.12.4
> > > 
> > > New ebuild for 3.12.4.
> > > 
> > > Courtesy of:
> > > https://github.com/jorgicio/jorgicio-gentoo
> > 
> > This one just segfaults for me :(. Im on stable hardened.
> 
> Seems to be a hardened only issue. Did 3.6.8 work?

I got it working now.

It was SELinux blocking execmem access. The required rules will be in the next SELinux policy release.
Comment 12 Jason Zaman gentoo-dev 2016-01-26 19:05:11 UTC
Created attachment 423948 [details]
dropbox-3.12.6.ebuild

This one works for me.
Comment 13 Jason Zaman gentoo-dev 2016-01-26 19:07:17 UTC
(In reply to Rick Harris from comment #10)
> (In reply to Christian Tietz from comment #0)
> > 3.6.8 refuses to connect when running from a new install. It states: "You're
> > using an old version of Dropbox. Please download the latest version at
> > www.dropbox.com/downloading"
> > 
> > Reproducible: Always
> 
> Same here but I can't get any version of Dropbox to work.
> 
> Even chasing the latest version (3.12.6) Dropbox still complains that:
> "You're using an old version of Dropbox. Please download the latest version
> at www.dropbox.com/downloading"

try removing the ~/.dropbox-dist/ directory? Dropbox tries to self-update itself and has stuff in there which it might be running instead. And try the ebuild I posted.
Comment 14 Jason Zaman gentoo-dev 2016-01-29 07:20:44 UTC
I committed it to the tree now. please test!

commit 2b490d784ae3f3109da3a08bdb91400ac07b4138
Author: Jason Zaman <perfinion@g.o>
Date:   Fri Jan 29 15:16:25 2016

    net-misc/dropbox: version bump to 3.12.6
    
    Package-Manager: portage-2.2.26
Comment 15 Rick Harris 2016-01-29 08:56:09 UTC
(In reply to Jason Zaman from comment #12)
> Created attachment 423948 [details]
> dropbox-3.12.6.ebuild
> 
> This one works for me.

Not for me.

~ $ dropbox 
Traceback (most recent call last):
  File "dropbox/__init__.py", line 9, in <module>
  File "dropbox/overrides.py", line 494, in <module>
  File "dropbox/overrides.py", line 396, in __ssl_wrap_socket_internal_ca_certs
  File "dropbox/ssl/revoked_certs.py", line 11, in <module>
  File "dropbox/legacy_crypto/__init__.py", line 10, in <module>
  File "dropbox/legacy_crypto/pyca.py", line 5, in <module>
  File "cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module>
  File "cryptography/hazmat/backends/openssl/backend.py", line 28, in <module>
  File "cryptography/hazmat/backends/openssl/cmac.py", line 12, in <module>
  File "cryptography/hazmat/primitives/constant_time.py", line 9, in <module>
ImportError: No module named _cffi_backend
Comment 16 Rick Harris 2016-01-29 09:07:08 UTC
(In reply to Rick Harris from comment #15)
> (In reply to Jason Zaman from comment #12)
> > Created attachment 423948 [details]
> > dropbox-3.12.6.ebuild
> > 
> > This one works for me.
> 
> Not for me.
> 
> ~ $ dropbox 
> Traceback (most recent call last):
>   File "dropbox/__init__.py", line 9, in <module>
>   File "dropbox/overrides.py", line 494, in <module>
>   File "dropbox/overrides.py", line 396, in
> __ssl_wrap_socket_internal_ca_certs
>   File "dropbox/ssl/revoked_certs.py", line 11, in <module>
>   File "dropbox/legacy_crypto/__init__.py", line 10, in <module>
>   File "dropbox/legacy_crypto/pyca.py", line 5, in <module>
>   File "cryptography/hazmat/backends/openssl/__init__.py", line 7, in
> <module>
>   File "cryptography/hazmat/backends/openssl/backend.py", line 28, in
> <module>
>   File "cryptography/hazmat/backends/openssl/cmac.py", line 12, in <module>
>   File "cryptography/hazmat/primitives/constant_time.py", line 9, in <module>
> ImportError: No module named _cffi_backend


Scratch that comment, was getting failure from an earlier 3.14.2 install.
I've since downgraded back to 3.12.6 and this is now working.

Many thanks :)
Comment 17 Christian Tietz 2016-01-29 20:14:24 UTC
Works fine for me too. Thanks for adding it to the tree.