<div dir="ltr">Hi all,<div><br></div><div>I just checked in an update that should fix the gdk-pixbuf issue. I enabled a flag called --enable-relocations in the configure step. I&#39;ve created a new installer on our CentOS 6 machine and a new installation does not generate the error message. I&#39;m running builds on the other Linux distributions, but I don&#39;t expect any issues from this flag.</div><div><br></div><div>Let me know if the updated packages are causing any other issues. Thanks!</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>--</div><div><span style="font-size:12.8000001907349px">Billy K. Poon</span><br></div></div><div>Research Scientist, Molecular Biophysics and Integrated Bioimaging</div><div>Lawrence Berkeley National Laboratory</div><div>1 Cyclotron Road, M/S 33R0345</div><div>Berkeley, CA 94720</div><div>Tel: (510) 486-5709</div><div>Fax: (510) 486-5909</div><div>Web: <a href="https://phenix-online.org" target="_blank">https://phenix-online.org</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Jun 22, 2016 at 10:42 AM, Marcin Wojdyr <span dir="ltr">&lt;<a href="mailto:wojdyr@gmail.com" target="_blank">wojdyr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">FWIW we also needed gdk-pixbuf in ccp4, because of coot.<br>
A few years ago I patched it to use $COOT_PREFIX to find loaders.cache:<br>
<br>
<a href="http://fg.oisin.rc-harwell.ac.uk/scm/loggerhead/devtools/trunk/view/head:/patches/gdk-pixbuf-hack.patch" rel="noreferrer" target="_blank">http://fg.oisin.rc-harwell.ac.uk/scm/loggerhead/devtools/trunk/view/head:/patches/gdk-pixbuf-hack.patch</a><br>
<br>
I don&#39;t remember it well, but I think the second part of the patch is<br>
to make regeneration of the cache file not necessary.<br>
The only plugin that we have is for svg. Other formats can be included<br>
in the library, not as plugins. The configure command we use is:<br>
<br>
./configure --prefix=$PREFIX \<br>
            --enable-shared --disable-static \<br>
            --disable-introspection --without-libtiff --disable-rpath \<br>
            --disable-glibtest --disable-nls --disable-gio-sniffing \<br>
            --with-included-loaders=png<br>
<br>
(some of this may not be necessary, the last line is to make png<br>
built-in rather than a plugin)<br>
<span class="HOEnZb"><font color="#888888"><br>
Marcin<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, Jun 22, 2016 at 6:00 PM, Billy Poon &lt;<a href="mailto:bkpoon@lbl.gov">bkpoon@lbl.gov</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I haven&#39;t found the place where the loaders.cache directory is hard-coded,<br>
&gt; but I&#39;ll keep looking. In the meantime, there is a workaround for the GTK<br>
&gt; message. You can export the GDK_PIXBUF_MODULE_FILE environment variable to<br>
&gt; point to &lt;installation directory&gt;/base/lib. That will tell gdk-pixbuf where<br>
&gt; to look for the loaders.cache file.<br>
&gt;<br>
&gt; <a href="https://developer.gnome.org/gdk-pixbuf/unstable//gdk-pixbuf-query-loaders.html" rel="noreferrer" target="_blank">https://developer.gnome.org/gdk-pixbuf/unstable//gdk-pixbuf-query-loaders.html</a><br>
&gt;<br>
&gt; The loaders.cache file is updated during the installation. It&#39;s a text file,<br>
&gt; so if you look at it, the directories for the loaders should be updated with<br>
&gt; the installation directory. But for some reason, the directory for the<br>
&gt; loaders.cache file is hard-coded somewhere.<br>
&gt;<br>
&gt; I was planning on updating the rest of the packages (numpy, matplotlib, PIL<br>
&gt; -&gt; Pillow, etc.) after the Phenix release, so the segmentation fault issue<br>
&gt; should go away if a newer version matplotlib works.<br>
&gt;<br>
&gt; Hi James,<br>
&gt;<br>
&gt; What is the error message that you&#39;re getting?<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Billy K. Poon<br>
&gt; Research Scientist, Molecular Biophysics and Integrated Bioimaging<br>
&gt; Lawrence Berkeley National Laboratory<br>
&gt; 1 Cyclotron Road, M/S 33R0345<br>
&gt; Berkeley, CA 94720<br>
&gt; Tel: <a href="tel:%28510%29%20486-5709" value="+15104865709">(510) 486-5709</a><br>
&gt; Fax: <a href="tel:%28510%29%20486-5909" value="+15104865909">(510) 486-5909</a><br>
&gt; Web: <a href="https://phenix-online.org" rel="noreferrer" target="_blank">https://phenix-online.org</a><br>
&gt;<br>
&gt; On Wed, Jun 22, 2016 at 3:38 AM, &lt;<a href="mailto:markus.gerstel@diamond.ac.uk">markus.gerstel@diamond.ac.uk</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; James followed up that once he installed libjpeg he got the same error<br>
&gt;&gt; message.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I ran one build with the current stable version of matplotlib 1.5.1, and<br>
&gt;&gt; that did not segfault. However I’m not going to change that dependency at<br>
&gt;&gt; this time with the phenix release looming.<br>
&gt;&gt;<br>
&gt;&gt; Anyone have an idea for a less intrusive fix, or should we just wait until<br>
&gt;&gt; after phenix?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Markus Gerstel MBCS<br>
&gt;&gt;<br>
&gt;&gt; Postdoctoral Research Associate<br>
&gt;&gt;<br>
&gt;&gt; Tel: <a href="tel:%2B44%201235%20778698" value="+441235778698">+44 1235 778698</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Diamond Light Source Ltd.<br>
&gt;&gt;<br>
&gt;&gt; Diamond House<br>
&gt;&gt;<br>
&gt;&gt; Harwell Science &amp; Innovation Campus<br>
&gt;&gt;<br>
&gt;&gt; Didcot<br>
&gt;&gt;<br>
&gt;&gt; Oxfordshire<br>
&gt;&gt;<br>
&gt;&gt; OX11 0DE<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; From: Parkhurst, James (DLSLtd,RAL,LSCI)<br>
&gt;&gt; Sent: 22 June 2016 10:37<br>
&gt;&gt; To: Gerstel, Markus (DLSLtd,RAL,LSCI)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Cc: <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
&gt;&gt; Subject: RE: error<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi Markus,<br>
&gt;&gt;<br>
&gt;&gt; I tried this on my machine and I think I needed to install numpy - it was<br>
&gt;&gt; picking up the system numpy. However, I then get the following message:<br>
&gt;&gt;<br>
&gt;&gt; fc-list: symbol lookup error: fc-list: undefined symbol: FcPatternFormat<br>
&gt;&gt; fc-list: symbol lookup error: fc-list: undefined symbol: FcPatternFormat<br>
&gt;&gt; Plotting image failed: Matplotlib backend_wx and backend_wxagg require<br>
&gt;&gt; wxPython &gt;=2.8<br>
&gt;&gt;<br>
&gt;&gt; Presumably wxPython is distributed with DIALS, so do we need to have a<br>
&gt;&gt; newer version or something?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt;<br>
&gt;&gt; James<br>
&gt;&gt;<br>
&gt;&gt; ________________________________<br>
&gt;&gt;<br>
&gt;&gt; From: Gerstel, Markus (DLSLtd,RAL,LSCI)<br>
&gt;&gt; Sent: 22 June 2016 10:17<br>
&gt;&gt; To: Parkhurst, James (DLSLtd,RAL,LSCI)<br>
&gt;&gt; Cc: <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
&gt;&gt; Subject: RE: error<br>
&gt;&gt;<br>
&gt;&gt; Hi James,<br>
&gt;&gt;<br>
&gt;&gt; CCing cctbxbb for further support<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I can reproduce at least similar errors with both DIALS 1.2.5 and current<br>
&gt;&gt; nightly builds.<br>
&gt;&gt;<br>
&gt;&gt; I think this may be a matplotlib 1.3.1 problem.<br>
&gt;&gt;<br>
&gt;&gt; A minimal reproducer is:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; $ dials.python<br>
&gt;&gt;<br>
&gt;&gt; &gt; import matplotlib.pyplot as plt<br>
&gt;&gt;<br>
&gt;&gt; &gt; plt.imshow([[1]])<br>
&gt;&gt;<br>
&gt;&gt; Gtk-Message…<br>
&gt;&gt;<br>
&gt;&gt; &gt; (press ctrl+D)<br>
&gt;&gt;<br>
&gt;&gt; Segmentation fault<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; When compiled on the same machine I do not get the Gtk-Messages, but I do<br>
&gt;&gt; get the segmentation fault.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Markus Gerstel MBCS<br>
&gt;&gt;<br>
&gt;&gt; Postdoctoral Research Associate<br>
&gt;&gt;<br>
&gt;&gt; Tel: +44 1235 778698<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Diamond Light Source Ltd.<br>
&gt;&gt;<br>
&gt;&gt; Diamond House<br>
&gt;&gt;<br>
&gt;&gt; Harwell Science &amp; Innovation Campus<br>
&gt;&gt;<br>
&gt;&gt; Didcot<br>
&gt;&gt;<br>
&gt;&gt; Oxfordshire<br>
&gt;&gt;<br>
&gt;&gt; OX11 0DE<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; From: Parkhurst, James (DLSLtd,RAL,LSCI)<br>
&gt;&gt; Sent: 21 June 2016 16:58<br>
&gt;&gt; To: Gerstel, Markus (DLSLtd,RAL,LSCI)<br>
&gt;&gt; Subject: FW: error<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi Markus,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve been getting my summer student to do the cctbx_introduction tutorials<br>
&gt;&gt; in dials_scratch. He&#39;s using a version of dials downloaded from the website<br>
&gt;&gt; and when he runs the introduction script he gets errors about gdk-pixbuf<br>
&gt;&gt; giving paths to /scratch/jenkins_slave/workspace/. This seems like there is<br>
&gt;&gt; a jenkins path being set in the distributed installers. Would you have any<br>
&gt;&gt; idea how I can fix this? I&#39;m downloading the linux installer of DIALS now so<br>
&gt;&gt; I can test this myself.<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt;<br>
&gt;&gt; James<br>
&gt;&gt;<br>
&gt;&gt; ________________________________<br>
&gt;&gt;<br>
&gt;&gt; [sse87232@ws188 cctbx_introduction_1]$ dials.python<br>
&gt;&gt; cctbx_introduction_1_test.py ximg2701_00001.cbf<br>
&gt;&gt;<br>
&gt;&gt; (cctbx_introduction_1_test.py:6243): GdkPixbuf-WARNING **: Cannot open<br>
&gt;&gt; pixbuf loader module file<br>
&gt;&gt; &#39;/scratch/jenkins_slave/workspace/dials_release_build/compilationtarget/native/label/dials-ws133/build_dials/base/etc/gtk-2.0/gdk-pixbuf.loaders&#39;:<br>
&gt;&gt; No such file or directory<br>
&gt;&gt;<br>
&gt;&gt; (cctbx_introduction_1_test.py:6243): GdkPixbuf-WARNING **: Cannot open<br>
&gt;&gt; pixbuf loader module file<br>
&gt;&gt; &#39;/scratch/jenkins_slave/workspace/dials_release_build/compilationtarget/native/label/dials-ws133/build_dials/base/etc/gtk-2.0/gdk-pixbuf.loaders&#39;:<br>
&gt;&gt; No such file or directory<br>
&gt;&gt;<br>
&gt;&gt; (cctbx_introduction_1_test.py:6243): GdkPixbuf-WARNING **: Cannot open<br>
&gt;&gt; pixbuf loader module file<br>
&gt;&gt; &#39;/scratch/jenkins_slave/workspace/dials_release_build/compilationtarget/native/label/dials-ws133/build_dials/base/etc/gtk-2.0/gdk-pixbuf.loaders&#39;:<br>
&gt;&gt; No such file or directory<br>
&gt;&gt;<br>
&gt;&gt; (cctbx_introduction_1_test.py:6243): GdkPixbuf-WARNING **: Cannot open<br>
&gt;&gt; pixbuf loader module file<br>
&gt;&gt; &#39;/scratch/jenkins_slave/workspace/dials_release_build/compilationtarget/native/label/dials-ws133/build_dials/base/etc/gtk-2.0/gdk-pixbuf.loaders&#39;:<br>
&gt;&gt; No such file or directory<br>
&gt;&gt;<br>
&gt;&gt; (cctbx_introduction_1_test.py:6243): GdkPixbuf-WARNING **: Cannot open<br>
&gt;&gt; pixbuf loader module file<br>
&gt;&gt; &#39;/scratch/jenkins_slave/workspace/dials_release_build/compilationtarget/native/label/dials-ws133/build_dials/base/etc/gtk-2.0/gdk-pixbuf.loaders&#39;:<br>
&gt;&gt; No such file or directory<br>
&gt;&gt;<br>
&gt;&gt; (cctbx_introduction_1_test.py:6243): GdkPixbuf-WARNING **: Cannot open<br>
&gt;&gt; pixbuf loader module file<br>
&gt;&gt; &#39;/scratch/jenkins_slave/workspace/dials_release_build/compilationtarget/native/label/dials-ws133/build_dials/base/etc/gtk-2.0/gdk-pixbuf.loaders&#39;:<br>
&gt;&gt; No such file or directory<br>
&gt;&gt;<br>
&gt;&gt; (cctbx_introduction_1_test.py:6243): GdkPixbuf-WARNING **: Cannot open<br>
&gt;&gt; pixbuf loader module file<br>
&gt;&gt; &#39;/scratch/jenkins_slave/workspace/dials_release_build/compilationtarget/native/label/dials-ws133/build_dials/base/etc/gtk-2.0/gdk-pixbuf.loaders&#39;:<br>
&gt;&gt; No such file or directory<br>
&gt;&gt; Segmentation fault (core dumped)<br>
&gt;&gt; [sse87232@ws188 cctbx_introduction_1]$ which dials.python<br>
&gt;&gt; /dls/science/users/sse87232/dials/dials-v1-2-4/build/bin/dials.python<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt;<br>
&gt;&gt; This e-mail and any attachments may contain confidential, copyright and or<br>
&gt;&gt; privileged material, and are for the use of the intended addressee only. If<br>
&gt;&gt; you are not the intended addressee or an authorised recipient of the<br>
&gt;&gt; addressee please notify us of receipt by returning the e-mail and do not<br>
&gt;&gt; use, copy, retain, distribute or disclose the information in or attached to<br>
&gt;&gt; the e-mail.<br>
&gt;&gt; Any opinions expressed within this e-mail are those of the individual and<br>
&gt;&gt; not necessarily of Diamond Light Source Ltd.<br>
&gt;&gt; Diamond Light Source Ltd. cannot guarantee that this e-mail or any<br>
&gt;&gt; attachments are free from viruses and we cannot accept liability for any<br>
&gt;&gt; damage which you may sustain as a result of software viruses which may be<br>
&gt;&gt; transmitted in or with the message.<br>
&gt;&gt; Diamond Light Source Limited (company no. 4375679). Registered in England<br>
&gt;&gt; and Wales with its registered office at Diamond House, Harwell Science and<br>
&gt;&gt; Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; cctbxbb mailing list<br>
&gt;&gt; <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
&gt;&gt; <a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; cctbxbb mailing list<br>
&gt; <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
&gt; <a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
&gt;<br>
<br>
_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</div></div></blockquote></div><br></div>