Re: [easybuild] The fontconfig/2.12.4-GCCcore-6.4.0 module makes /usr/bin/gedit crash on CentOS 7.6

2018-12-11 Thread Ole Holm Nielsen

Hi Kenneth,

Thanks a lot for your analysis of the problem.  We have upgraded our 
modules (GPAW and ASE) to use the intel-2018b or foss-2018b toolchain 
which loads fontconfig 2.13.  This solves the problem with gedit (and 
emacs) on CentOS 7.6.


Best regards,
Ole

On 12/7/18 2:10 PM, Kenneth Hoste wrote:

Dear Ole,

Based on https://bbs.archlinux.org/viewtopic.php?id=235716, it seems 
like the solution would be to update to fontconfig 2.13.0...


In other words, the gedit build in CentOS 6 requires fontconfig 2.13.0, 
which is why it fails when an older fontconfig module is loaded.


Since the problem actually comes from Pango, one solution you can try is 
to also load Pango/1.41.1-foss-2018a (which uses fontconfig 2.12.6).


Bottom line here is that the use of $LD_LIBRARY_PATH is the troublemaker 
here, since that makes gedit pick up older fontconfig libraries...



regards,

Kenneth

On 07/12/2018 11:35, Ole Holm Nielsen wrote:
After we upgraded our login-nodes from CentOS 7.5 to 7.6, the 
/usr/bin/gedit editor suddenly crashes with an error message:


$ gedit
gedit: symbol lookup error: /lib64/libpangoft2-1.0.so.0: undefined 
symbol: FcWeightFromOpenTypeDouble


I've localized the error to the loading of any one of the following 
modules:


fontconfig/2.12.4-GCCcore-6.4.0
fontconfig/2.12.6-GCCcore-6.4.0

However, the latest module fontconfig/2.13.0-GCCcore-7.3.0 doesn't 
cause the error.


How to reproduce:

$ module load fontconfig/2.12.4-GCCcore-6.4.0
$ gedit
gedit: symbol lookup error: /lib64/libpangoft2-1.0.so.0: undefined 
symbol: FcWeightFromOpenTypeDouble


The following modules get loaded:

$ module list

Currently Loaded Modules:
   1) GCCcore/6.4.0   5) libpng/1.6.32-GCCcore-6.4.0
   2) expat/2.2.4-GCCcore-6.4.0   6) freetype/2.8-GCCcore-6.4.0
   3) bzip2/1.0.6-GCCcore-6.4.0   7) fontconfig/2.12.4-GCCcore-6.4.0
   4) zlib/1.2.11-GCCcore-6.4.0

The error goes away after unloading fontconfig/2.12.4-GCCcore-6.4.0.

I've rebuilt the fontconfig/2.12.4-GCCcore-6.4.0 module on the CentOS 
7.6 node, but the error is still the same :-(


Has anyone else encountered this problem, and possibly found a solution?


Re: [easybuild] The fontconfig/2.12.4-GCCcore-6.4.0 module makes /usr/bin/gedit crash on CentOS 7.6

2018-12-07 Thread Kenneth Hoste

Dear Ole,

Based on https://bbs.archlinux.org/viewtopic.php?id=235716, it seems 
like the solution would be to update to fontconfig 2.13.0...


In other words, the gedit build in CentOS 6 requires fontconfig 2.13.0, 
which is why it fails when an older fontconfig module is loaded.


Since the problem actually comes from Pango, one solution you can try is 
to also load Pango/1.41.1-foss-2018a (which uses fontconfig 2.12.6).


Bottom line here is that the use of $LD_LIBRARY_PATH is the troublemaker 
here, since that makes gedit pick up older fontconfig libraries...



regards,

Kenneth

On 07/12/2018 11:35, Ole Holm Nielsen wrote:
After we upgraded our login-nodes from CentOS 7.5 to 7.6, the 
/usr/bin/gedit editor suddenly crashes with an error message:


$ gedit
gedit: symbol lookup error: /lib64/libpangoft2-1.0.so.0: undefined 
symbol: FcWeightFromOpenTypeDouble


I've localized the error to the loading of any one of the following 
modules:


fontconfig/2.12.4-GCCcore-6.4.0
fontconfig/2.12.6-GCCcore-6.4.0

However, the latest module fontconfig/2.13.0-GCCcore-7.3.0 doesn't cause 
the error.


How to reproduce:

$ module load fontconfig/2.12.4-GCCcore-6.4.0
$ gedit
gedit: symbol lookup error: /lib64/libpangoft2-1.0.so.0: undefined 
symbol: FcWeightFromOpenTypeDouble


The following modules get loaded:

$ module list

Currently Loaded Modules:
   1) GCCcore/6.4.0   5) libpng/1.6.32-GCCcore-6.4.0
   2) expat/2.2.4-GCCcore-6.4.0   6) freetype/2.8-GCCcore-6.4.0
   3) bzip2/1.0.6-GCCcore-6.4.0   7) fontconfig/2.12.4-GCCcore-6.4.0
   4) zlib/1.2.11-GCCcore-6.4.0

The error goes away after unloading fontconfig/2.12.4-GCCcore-6.4.0.

I've rebuilt the fontconfig/2.12.4-GCCcore-6.4.0 module on the CentOS 
7.6 node, but the error is still the same :-(


Has anyone else encountered this problem, and possibly found a solution?

Thanks,
Ole



[easybuild] The fontconfig/2.12.4-GCCcore-6.4.0 module makes /usr/bin/gedit crash on CentOS 7.6

2018-12-07 Thread Ole Holm Nielsen
After we upgraded our login-nodes from CentOS 7.5 to 7.6, the 
/usr/bin/gedit editor suddenly crashes with an error message:


$ gedit
gedit: symbol lookup error: /lib64/libpangoft2-1.0.so.0: undefined 
symbol: FcWeightFromOpenTypeDouble


I've localized the error to the loading of any one of the following modules:

fontconfig/2.12.4-GCCcore-6.4.0
fontconfig/2.12.6-GCCcore-6.4.0

However, the latest module fontconfig/2.13.0-GCCcore-7.3.0 doesn't cause 
the error.


How to reproduce:

$ module load fontconfig/2.12.4-GCCcore-6.4.0
$ gedit
gedit: symbol lookup error: /lib64/libpangoft2-1.0.so.0: undefined 
symbol: FcWeightFromOpenTypeDouble


The following modules get loaded:

$ module list

Currently Loaded Modules:
  1) GCCcore/6.4.0   5) libpng/1.6.32-GCCcore-6.4.0
  2) expat/2.2.4-GCCcore-6.4.0   6) freetype/2.8-GCCcore-6.4.0
  3) bzip2/1.0.6-GCCcore-6.4.0   7) fontconfig/2.12.4-GCCcore-6.4.0
  4) zlib/1.2.11-GCCcore-6.4.0

The error goes away after unloading fontconfig/2.12.4-GCCcore-6.4.0.

I've rebuilt the fontconfig/2.12.4-GCCcore-6.4.0 module on the CentOS 
7.6 node, but the error is still the same :-(


Has anyone else encountered this problem, and possibly found a solution?

Thanks,
Ole

--
Ole Holm Nielsen
PhD, Senior HPC Officer
Department of Physics, Technical University of Denmark