Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start Dropbox due to missing libXert #15356

Closed
ocharles opened this issue May 10, 2016 · 16 comments · Fixed by #31140
Closed

Cannot start Dropbox due to missing libXert #15356

ocharles opened this issue May 10, 2016 · 16 comments · Fixed by #31140
Assignees
Labels
0.kind: bug Something is broken

Comments

@ocharles
Copy link
Contributor

ocharles commented May 10, 2016

Issue description

When running Dropbox, it crashes immediately. The log reports:

bn.BUILD_KEY: Dropbox
bn.VERSION: 3.18.1
bn.DROPBOXEXT_VERSION: failed
bn.is_frozen: True
pid: 16674
ppid: 1
ppid exe: failed
uid: 1000
user_info: pwd.struct_passwd(pw_name='x', pw_passwd='x', pw_uid=1000, pw_gid=100, pw_gecos='', pw_dir='x', pw_shell='/nix/store/gvkwh9f2y9pqvcrb0bf8mnn2f2zz3kbz-zsh-5.2/bin/zsh')
effective_user_info: pwd.struct_passwd(pw_name='x', pw_passwd='x', pw_uid=1000, pw_gid=100, pw_gecos='', pw_dir='x', pw_shell='/nix/store/gvkwh9f2y9pqvcrb0bf8mnn2f2zz3kbz-zsh-5.2/bin/zsh')
euid: 1000
gid: 100
egid: 100
group_info: grp.struct_group(gr_name='users', gr_passwd='x', gr_gid=100, gr_mem=[])
effective_group_info: grp.struct_group(gr_name='users', gr_passwd='x', gr_gid=100, gr_mem=[])
LD_LIBRARY_PATH: u'/nix/store/k9dsfqpnwpr9gkagd360ml4n4w8cs9y0-dbus-libs-1.8.20/lib:/nix/store/d2ljpb414jpmzik3cvl0xlmr5m4aggp7-gcc-5.3.0/lib:/nix/store/3zl5q5g3dn5iagiwm7za4y85nkrrnhnm-glib-2.46.2/lib:/nix/store/r02vp0hcljp0w7lsnfk92084spy4zhmg-libdrm-2.4.66/lib:/nix/store/2jfh3bhwrmxf2g6509paa6byjx6br403-libffi-3.2.1/lib:/nix/store/5ldi2qjv853fj21a9528jsc1g3x8yyz1-libICE-1.0.9/lib:/nix/store/0bb5f6z0f2lwrba33g3s65y5czvvxhf1-libSM-1.2.2/lib:/nix/store/z2xzc4jir0ms6c3sb761rhif4fdvm7ma-libX11-1.6.3/lib:/nix/store/yivq9daywh9nyhx7c1mh7a86wpy7rk91-libXmu-1.1.2/lib:/nix/store/8h7w4f5ynsd32nlg56yzwqbn8j2262aw-ncurses-5.9/lib:/nix/store/iwq1cxakyb656zpvbs1wc0xcx34iwq78-popt-1.16/lib:/nix/store/qhzcrlyb68yli2hjazh6mbs17kysa524-qtbase-5.4.2/lib:/nix/store/gpxj52s356vg8q6p1gzcfxkyfhqs0fh6-qtdeclarative-5.4.2/lib:/nix/store/zsf659wp419i7wmrnhqn4560bgvgisc4-qtwebkit-5.4.2/lib:/nix/store/57hdkfyzzig17mjxn19xdyiafv7xfq0y-zlib-1.2.8/lib:/nix/store/yp7psyb1j7p54vza6x8izmw00lsfhb8k-dropbox-3.12.6/opt/dropbox:/run/opengl-driver/lib:/run/opengl-driver-32/lib'
cwd: '/'
     real_path='/'
                mode=040755     uid=0   gid=0
     parent     mode=040755     uid=0   gid=0
HOME: u'x'
appdata: u'/home/ollie/.dropbox/instance1'
         real_path=u'/home/ollie/.dropbox/instance1'
                mode=040700     uid=1000        gid=100
         parent mode=040700     uid=1000        gid=100
dropbox_path: u'/home/ollie/Dropbox'
              real_path=u'/home/ollie/Dropbox'
                        mode=040700     uid=1000        gid=100
              parent    mode=040700     uid=1000        gid=100
sys_executable: '/home/ollie/.dropbox-dist/dropbox-lnx.x86_64-3.18.1/dropbox'
                real_path='/home/ollie/.dropbox-dist/dropbox-lnx.x86_64-3.18.1/dropbox'
                        mode=0100755    uid=1000        gid=100
                parent  mode=040755     uid=1000        gid=100
trace.__file__: '/home/ollie/.dropbox-dist/dropbox-lnx.x86_64-3.18.1/library.zip/dropbox/client/ui/common/boot_error.pyc'
                real_path='/home/ollie/.dropbox-dist/dropbox-lnx.x86_64-3.18.1/library.zip/dropbox/client/ui/common/boot_error.pyc'
                        not found
                parent  not found
tempdir: '/tmp'
         real_path='/tmp'
                mode=041777     uid=0   gid=0
         parent mode=040755     uid=0   gid=0
Traceback (most recent call last):
  File "dropbox/client/main.py", line 5053, in main_startup
  File "dropbox/client/main.py", line 2214, in run
  File "ui/common/uikit.py", line 419, in create_ui_kit
  File "dropbox/client/ui/qt/__init__.py", line 28, in <module>
  File "PyQt5/QtWidgets.py", line 14, in <module>
ImportError: libXext.so.6: cannot open shared object file: No such file or directory

Steps to reproduce

nix-env -iA dropbox -f ~/nixpkgs/default.nix
dropbox

Technical details

  • System: 16.03.678.2597f52
  • Nix version: nix-env (Nix) 1.11.2
  • Nixpkgs version: Git revision 1737280
@ocharles ocharles added the 0.kind: bug Something is broken label May 10, 2016
@domenkozar
Copy link
Member

There were some recent fixes in master, we should probably backport.

@ocharles
Copy link
Contributor Author

That git revision is master.

@domenkozar
Copy link
Member

It also says 16.03.678.2597f52 so how are you invoking dropbox?

@ocharles
Copy link
Contributor Author

Oh sorry, see updated steps to reproduce. I have a clone of nixpkgs in home, and I install into my user profile.

@domenkozar
Copy link
Member

Possibly cf63f2d cc @ttuegel

@ttuegel
Copy link
Member

ttuegel commented May 10, 2016

Possibly cf63f2d cc @ttuegel

I can't reproduce this, but I am running staging. That suggests there's some impurity in the package, I think.

I don't think this commit is at fault; makeQtWrapper is really just a wrapper around makeWrapper, so the change is totally trivial.

@ttuegel
Copy link
Member

ttuegel commented May 10, 2016

@ocharles Since I can't reproduce this, could you try my version of dropbox at ttuegel/nixpkgs@b0ef1c1?

@ocharles
Copy link
Contributor Author

@ttuegel No dice there either I'm afraid :(

# ollie at nixos-desktop in ~/nixpkgs on git:b0ef1c1 ✖︎ [10:00:58]
→ nix-env -iA dropbox -f .                                                                                  ~/nixpkgs
replacing old ‘dropbox-3.18.1’
installing ‘dropbox-3.18.1’
these derivations will be built:
  /nix/store/2blml4gdwqlyfzxkbprap85ixcsymq6i-dropbox-3.18.1.drv
building path(s) ‘/nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1’
unpacking sources
unpacking source archive /nix/store/5qwqigw9w0k69dvps5bpyqg4siyc4c94-dropbox-3.18.1.tar.gz
source root is .dropbox-dist
setting SOURCE_DATE_EPOCH to timestamp 1460139320 of file .dropbox-dist/dropboxd
patching sources
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libicudata.so.42
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libicudata.so.42
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_cn.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_cn.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_hk.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_hk.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/binascii.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/binascii.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_elementtree.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_elementtree.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Widgets.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Widgets.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtQuick.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtQuick.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/dropbox_sqlite_ext-0.0-py2.7.egg/dropbox_sqlite_ext/dropbox_sqlite_ext.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/dropbox_sqlite_ext-0.0-py2.7.egg/dropbox_sqlite_ext/dropbox_sqlite_ext.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/sip.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/sip.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/tornado-4.2-py2.7-linux-x86_64.egg/tornado/speedups.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/tornado-4.2-py2.7-linux-x86_64.egg/tornado/speedups.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/dbus.mainloop.pyqt5.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/dbus.mainloop.pyqt5.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/select.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/select.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libicuuc.so.42
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libicuuc.so.42
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/posixffi.pthread._posixffi_pthread.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/posixffi.pthread._posixffi_pthread.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libpopt.so.0
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libpopt.so.0
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/array.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/array.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_iso2022.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_iso2022.so
patching interpreter path in EXEC /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/wmctrl
patching RPATH in EXEC /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/wmctrl
shrinking RPATH in EXEC /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/wmctrl
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cryptography-1.0-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/_constant_time.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cryptography-1.0-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/_constant_time.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cryptography-1.0-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/_openssl.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cryptography-1.0-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/_openssl.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cryptography-1.0-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/_padding.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cryptography-1.0-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/_padding.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/unicodedata.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/unicodedata.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/time.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/time.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_random.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_random.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtPrintSupport.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtPrintSupport.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_posixsubprocess.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_posixsubprocess.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/pyexpat.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/pyexpat.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Network.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Network.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_heapq.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_heapq.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_locale.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_locale.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Gui.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Gui.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtCore.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtCore.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtWebKit.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtWebKit.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_io.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_io.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/resource.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/resource.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Quick.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Quick.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/librsyncffi.compiled._librsyncffi.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/librsyncffi.compiled._librsyncffi.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_jp.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_jp.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/zlib.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/zlib.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libicui18n.so.42
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libicui18n.so.42
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Qml.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Qml.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_multibytecodec.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_multibytecodec.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/faulthandler.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/faulthandler.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_dbus_bindings.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_dbus_bindings.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/math.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/math.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_struct.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_struct.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/fcntl.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/fcntl.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cStringIO.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cStringIO.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtWebKitWidgets.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtWebKitWidgets.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtGui.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtGui.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/librsync.so.1
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/librsync.so.1
patching interpreter path in EXEC /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/dropbox
patching RPATH in EXEC /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/dropbox
shrinking RPATH in EXEC /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/dropbox
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/itertools.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/itertools.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_csv.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_csv.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/mmap.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/mmap.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_bisect.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_bisect.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_tw.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_tw.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_lsprof.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_lsprof.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/fastpath.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/fastpath.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/posixffi.libc._posixffi_libc.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/posixffi.libc._posixffi_libc.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/datetime.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/datetime.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cpuid.compiled._cpuid.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cpuid.compiled._cpuid.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/parser.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/parser.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cffi-1.3.0-py2.7-linux-x86_64.egg/_cffi_backend.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cffi-1.3.0-py2.7-linux-x86_64.egg/_cffi_backend.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_ctypes.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_ctypes.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5WebKit.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5WebKit.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/operator.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/operator.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_multiprocessing.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_multiprocessing.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtWidgets.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtWidgets.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtNetwork.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtNetwork.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_curses.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_curses.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_collections.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_collections.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5OpenGL.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5OpenGL.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5WebKitWidgets.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5WebKitWidgets.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5PrintSupport.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5PrintSupport.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5DBus.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5DBus.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cPickle.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/cPickle.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/grp.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/grp.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtDBus.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtDBus.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_functools.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_functools.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5XcbQpa.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5XcbQpa.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/strop.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/strop.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/psutil-3.1.1-py2.7-linux-x86_64.egg/psutil/_psutil_posix.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/psutil-3.1.1-py2.7-linux-x86_64.egg/psutil/_psutil_posix.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/psutil-3.1.1-py2.7-linux-x86_64.egg/psutil/_psutil_linux.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/psutil-3.1.1-py2.7-linux-x86_64.egg/psutil/_psutil_linux.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtQml.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/PyQt5.QtQml.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_kr.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_codecs_kr.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_json.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_json.so
patching interpreter path in EXEC /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/library.zip
patching RPATH in EXEC /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/library.zip
shrinking RPATH in EXEC /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/library.zip
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_cffi_pylinux_statvfs_xf5cf6433xf9a35663.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/_cffi_pylinux_statvfs_xf5cf6433xf9a35663.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/plugins/platforms/libqxcb.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/plugins/platforms/libqxcb.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Core.so.5
warning: working around a Linux kernel bug by creating a hole of 16384 bytes in ‘/nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Core.so.5’
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Core.so.5
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/termios.so
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/termios.so
patching RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Sql.so.5
shrinking RPATH in DYN /nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox/libQt5Sql.so.5
building path(s) ‘/nix/store/l75akbwv995knf36v5hnfxrnk68hhvbn-user-environment’
created 7001 symlinks in user environment

# ollie at nixos-desktop in ~/nixpkgs on git:b0ef1c1 ✖︎ [10:01:19]
→ dropbox                                                                                                   ~/nixpkgs
[1]    1028 killed     dropbox

# ollie at nixos-desktop in ~/nixpkgs on git:b0ef1c1 ✖︎ [10:01:41]
→ Couldn't start Dropbox.                                                                                                                                                                                                            ~/nixpkgs
This is usually because of a permissions error. Storing your home folder on a network share can also cause an error.

Get more help at https://www.dropbox.com/c/help/permissions_error

Please contact Dropbox support with the following info for help:

/tmp/dropbox_errorZj02D7.txt
cat https://github.com/ttuegel/nixpkgs
cat: 'https://github.com/ttuegel/nixpkgs': No such file or directory

# ollie at nixos-desktop in ~/nixpkgs on git:b0ef1c1 ✖︎ [10:02:00]
→ cat /tmp/dropbox_errorZj02D7.txt                                                                                                                                                                                                   ~/nixpkgs
bn.BUILD_KEY: Dropbox
bn.VERSION: 3.20.1
bn.DROPBOXEXT_VERSION: failed
bn.is_frozen: True
pid: 1036
ppid: 1
ppid exe: failed
uid: 1000
user_info: pwd.struct_passwd(pw_name='ollie', pw_passwd='x', pw_uid=1000, pw_gid=100, pw_gecos='', pw_dir='/home/ollie', pw_shell='/nix/store/gvkwh9f2y9pqvcrb0bf8mnn2f2zz3kbz-zsh-5.2/bin/zsh')
effective_user_info: pwd.struct_passwd(pw_name='ollie', pw_passwd='x', pw_uid=1000, pw_gid=100, pw_gecos='', pw_dir='/home/ollie', pw_shell='/nix/store/gvkwh9f2y9pqvcrb0bf8mnn2f2zz3kbz-zsh-5.2/bin/zsh')
euid: 1000
gid: 100
egid: 100
group_info: grp.struct_group(gr_name='users', gr_passwd='x', gr_gid=100, gr_mem=[])
effective_group_info: grp.struct_group(gr_name='users', gr_passwd='x', gr_gid=100, gr_mem=[])
LD_LIBRARY_PATH: u'/nix/store/jqflmgf8k9l3b7f0ab5pkw43g0jhq4yr-dbus-1.8.20-lib/lib:/nix/store/h2m86r40524jz8p8d8w3qwpl27wmaci8-fontconfig-2.11.1-lib/lib:/nix/store/34f2zjjnw7ynjmkg99wg3pz7p2qrnlnm-freetype-2.6.2/lib:/nix/store/kxac9yv62zff2pj6k1j4d6hiz8jdi2f3-gcc-5.3.0-lib/lib:/nix/store/xy8nf90ssk0bbwk4a1ncdnsigi94vrj9-glib-2.48.0/lib:/nix/store/6c6ng3yx14j70x6rh4kl56csadzr50mq-libdrm-2.4.66/lib:/nix/store/8yzvr70hvkfq462j5rz8n8s80x9dbnd1-libffi-3.2.1/lib:/nix/store/mw8si9av54g9xzxsh08h0kk1b6ywyf63-libICE-1.0.9/lib:/nix/store/2in517pc3pr9gb2jz2b1kgpqyfxbybrf-libSM-1.2.2/lib:/nix/store/0fvn994kf8wfwk459807vm0zpy9cqbn5-libX11-1.6.3/lib:/nix/store/2f25f1znhrjm0x5jsj5d37zia8gx3kk2-libXcomposite-0.4.4/lib:/nix/store/sc19g9iqaarfjbgx595a981d3bvmacv5-libXext-1.3.3/lib:/nix/store/vh0x5qkl5v9r9q2g71fwchjq28aaiaj2-libXmu-1.1.2/lib:/nix/store/jqjkhslg942isalr4yhwhaadimly0alz-libXrender-0.9.9/lib:/nix/store/mjizvgj9zgw8pja11frnsf1adidkmcnq-libxcb-1.11.1/lib:/nix/store/9w15hz68wz5qnihfhsbr281d0sfs20a8-libxml2-2.9.3/lib:/nix/store/fv137j5wxp4dg1wjqdbk8i2l087163b7-libxslt-1.1.28/lib:/nix/store/zsp09h417i6nbmzmc1zxz0nrvlazvphy-ncurses-5.9/lib:/nix/store/ph89iai8wmwg232gwxl75sakb8f33wmx-zlib-1.2.8/lib:/nix/store/cscjglsk2g3361y2q4rirk9dlw19mq7s-dropbox-3.18.1/opt/dropbox:/run/opengl-driver/lib:/run/opengl-driver-32/lib'
cwd: '/'
     real_path='/'
                mode=040755     uid=0   gid=0
     parent     mode=040755     uid=0   gid=0
HOME: u'/home/ollie'
appdata: u'/home/ollie/.dropbox/instance1'
         real_path=u'/home/ollie/.dropbox/instance1'
                mode=040700     uid=1000        gid=100
         parent mode=040700     uid=1000        gid=100
dropbox_path: u'/home/ollie/Dropbox'
              real_path=u'/home/ollie/Dropbox'
                        mode=040700     uid=1000        gid=100
              parent    mode=040700     uid=1000        gid=100
sys_executable: '/home/ollie/.dropbox-dist/dropbox-lnx.x86_64-3.20.1/dropbox'
                real_path='/home/ollie/.dropbox-dist/dropbox-lnx.x86_64-3.20.1/dropbox'
                        mode=0100755    uid=1000        gid=100
                parent  mode=040755     uid=1000        gid=100
trace.__file__: '/home/ollie/.dropbox-dist/dropbox-lnx.x86_64-3.20.1/library.zip/dropbox/client/ui/common/boot_error.pyc'
                real_path='/home/ollie/.dropbox-dist/dropbox-lnx.x86_64-3.20.1/library.zip/dropbox/client/ui/common/boot_error.pyc'
                        not found
                parent  not found
tempdir: '/tmp'
         real_path='/tmp'
                mode=041777     uid=0   gid=0
         parent mode=040755     uid=0   gid=0
Traceback (most recent call last):
  File "dropbox/client/main.py", line 5220, in main_startup
  File "dropbox/client/main.py", line 2211, in run
  File "ui/common/uikit.py", line 448, in create_ui_kit
  File "dropbox/client/ui/qt/__init__.py", line 28, in <module>
  File "PyQt5/QtWidgets.py", line 14, in <module>
ImportError: libXxf86vm.so.1: cannot open shared object file: No such file or directory

@ocharles
Copy link
Contributor Author

Ok, I found the problem, I seem to have a ~/.dropbox-dist directory which contains binaries. If I nuke that, everything works again. I wonder if there's anything we can do about this...

@ocharles
Copy link
Contributor Author

Turns out I didn't find the problem, just made progress. If I remove ~/.dropbox-dist dropbox does launch, sync, and then crashes in the same way as before :(

@offlinehacker
Copy link
Contributor

Yes, it crashes, when it auto updates itself. We need to find a way to
disable dropbox auto updates. I just lost my hopes with dropbox, it's ugly
piece of software, just run it in docker or something.

V čet., 19. maj 2016 11:11 je oseba Oliver Charles notifications@github.com
napisala:

Turns out I didn't find the problem, just made progress. If I remove
~/.dropbox-dist dropbox does launch, sync, and then crashes in the same
way as before :(


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#15356 (comment)

@ocharles
Copy link
Contributor Author

I was wondering if we might be better using a Steam-like chroot for it.

@ocharles
Copy link
Contributor Author

Unfortunately my laptop is now also unable to run dropbox. I wonder if a GC is enough to cause it to break?

@ttuegel ttuegel self-assigned this May 31, 2016
@ocharles
Copy link
Contributor Author

ocharles commented Sep 29, 2017

This is still failing to work reliably, but here's a FHS user env for running the binary:

nix-shell -p 'buildFHSUserEnv { name = "dropbox-env"; targetPkgs = pkgs: with pkgs; with xlibs; [ zlib glib libXrender libXfixes libXdamage libXcomposite libXext libX11 gcc dbus libxml2 libxslt libXxf86vm libxcb strace libSM libICE fontconfig freetype ]; runScript = "$HOME/.dropbox-dist/dropboxd"; }' --run 'dropbox-env'

@ttuegel
Copy link
Member

ttuegel commented Oct 25, 2017

I think we may need to switch to using an FHS user environment for Dropbox in Nixpkgs, because I can't seem to get the latest version working any other way. ☹️

@ocharles
Copy link
Contributor Author

ocharles commented Oct 30, 2017 via email

ttuegel added a commit to ttuegel/nixpkgs that referenced this issue Nov 2, 2017
Instead of adapting Dropbox to NixOS with patchelf, NixOS is adapted to Dropbox
with an FHS user environment. A crash due to missing libXert (NixOS#15356) is
fixed. The client's automatic updater is fixed; this obviates the need to
update Dropbox in Nixpkgs every time the client is updated upstream!

Resolves: NixOS#15356
ttuegel added a commit that referenced this issue Nov 2, 2017
Instead of adapting Dropbox to NixOS with patchelf, NixOS is adapted to Dropbox
with an FHS user environment. A crash due to missing libXert (#15356) is
fixed. The client's automatic updater is fixed; this obviates the need to
update Dropbox in Nixpkgs every time the client is updated upstream!

Resolves: #15356

(cherry picked from commit 9a9ea65)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants