Public bug reported: Package ncl-ncarg from Ubuntu 18.04 is missing files, which make the program malfunction when running some simple test cases.
cfanprod@prod:~/ncl-test$ exit logout root@prod:/usr/lib/ncarg# dpkg -l ncl-ncarg Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=================================-=====================-=====================-======================================================================= ii ncl-ncarg 6.4.0-9 amd64 NCAR Command Language and NCAR graphics To reproduce: Install the package, download the examples: https://www.ncl.ucar.edu/Applications/Scripts/maponly_3.ncl https://www.ncl.ucar.edu/Applications/Scripts/maponly_9.ncl https://www.ncl.ucar.edu/Applications/Scripts/maponly_10.ncl run: ncl maponly_3.ncl Works OK, now try any of the other two: cfanprod@prod:~/ncl-test$ ncl maponly_9.ncl Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. fatal:MapV41DHInitialize: dynamic memory allocation error:[errno=12] fatal:MapV41DHInitialize: error initializing map outline records ERROR 2 IN MPLNRI/MDLNRI - Can't open the ".names" file ERROR 1 IN MPSETR - UNCLEARED PRIOR ERROR ERROR 1 IN MAPPOS - UNCLEARED PRIOR ERROR ERROR 1 IN MAPSTI - UNCLEARED PRIOR ERROR ERROR 1 IN MAPROJ - UNCLEARED PRIOR ERROR ERROR 2 IN MAPSET/MDPSET - UNCLEARED PRIOR ERROR fatal:MapSetTrans: error initializing map: MAPINT - UNCLEARED PRIOR ERROR fatal:(null): Error setting transformation fatal:MapPlotSetValues: error managing TickMarks warning:["SetValues.c":474]:SetValuesChild never occurred on map.PlotManager: Error in mapPlotClass Segmentation fault (core dumped) cfanprod@prod:~/ncl-test$ ncl maponly_10.ncl Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. fatal:MapV41DHInitialize: dynamic memory allocation error:[errno=12] fatal:MapV41DHInitialize: error initializing map outline records ERROR 2 IN MPLNRI/MDLNRI - Can't open the ".names" file ERROR 1 IN MPSETR - UNCLEARED PRIOR ERROR ERROR 1 IN MAPPOS - UNCLEARED PRIOR ERROR ERROR 1 IN MAPSTI - UNCLEARED PRIOR ERROR ERROR 1 IN MAPROJ - UNCLEARED PRIOR ERROR ERROR 2 IN MAPSET/MDPSET - UNCLEARED PRIOR ERROR fatal:MapSetTrans: error initializing map: MAPINT - UNCLEARED PRIOR ERROR fatal:(null): Error setting transformation fatal:MapPlotSetValues: error managing TickMarks warning:["SetValues.c":474]:SetValuesChild never occurred on map.PlotManager: Error in mapPlotClass warning:tiMainString is not a valid resource in map at this time Segmentation fault (core dumped) Program fails as shown above. This is because the Ubuntu package is missing some files in the folder:/usr/lib/ncarg/database These are the files in the Ubuntu provided package root@prod:/usr/lib/ncarg# ls -l /usr/lib/ncarg/database total 14920 -rw-r--r-- 1 root root 239286 Mar 9 2018 Earth..1.areas -rw-r--r-- 1 root root 743392 Mar 9 2018 Earth..1.lines -rw-r--r-- 1 root root 342556 Mar 9 2018 Earth..2.areas -rw-r--r-- 1 root root 1507872 Mar 9 2018 Earth..2.lines -rw-r--r-- 1 root root 290424 Mar 9 2018 Earth..3.areas -rw-r--r-- 1 root root 1035728 Mar 9 2018 Earth..3.lines -rw-r--r-- 1 root root 4901852 Mar 9 2018 Earth..4.areas -rw-r--r-- 1 root root 4528784 Mar 9 2018 Earth..4.lines -rw-r--r-- 1 root root 36832 Mar 9 2018 ezmap_area_ids -rw-r--r-- 1 root root 58979 Mar 9 2018 EzmapAreaInfo.CO -rw-r--r-- 1 root root 122563 Mar 9 2018 EzmapAreaInfo.PO -rw-r--r-- 1 root root 111767 Mar 9 2018 EzmapAreaInfo.PS -rw-r--r-- 1 root root 9201 Mar 9 2018 EzmapAreaInfo.US -rw-r--r-- 1 root root 587264 Mar 9 2018 ezmapdata -rw-r--r-- 1 root root 76280 Mar 9 2018 EzmapOutlines.CO -rw-r--r-- 1 root root 138680 Mar 9 2018 EzmapOutlines.PO -rw-r--r-- 1 root root 240752 Mar 9 2018 EzmapOutlines.PS -rw-r--r-- 1 root root 107952 Mar 9 2018 EzmapOutlines.US -rw-r--r-- 1 root root 23021 Mar 9 2018 NhlMapData -rw-r--r-- 1 root root 37640 Mar 9 2018 PlotcharData -rw-r--r-- 1 root root 37680 Mar 9 2018 pwritdata -rw-r--r-- 1 root root 20250 Mar 9 2018 ranfdata -rw-r--r-- 1 root root 4096 Mar 9 2018 rgb.dir -rw-r--r-- 1 root root 16384 Mar 9 2018 rgb.pag -rw-r--r-- 1 root root 16992 Mar 9 2018 rgb.txt These are the files in a manually compile built of ncl (6.5.0) from source code: root@prod:/usr/lib/ncarg# ls -l database.FIXED/ total 15276 -rw-r--r-- 1 root root 239286 Dec 12 19:04 Earth..1.areas -rw-r--r-- 1 root root 743392 Dec 12 19:04 Earth..1.lines -rw-r--r-- 1 root root 30565 Dec 12 19:04 Earth..1.names -rw-r--r-- 1 root root 342556 Dec 12 19:04 Earth..2.areas -rw-r--r-- 1 root root 1507872 Dec 12 19:04 Earth..2.lines -rw-r--r-- 1 root root 103535 Dec 12 19:04 Earth..2.names -rw-r--r-- 1 root root 290424 Dec 12 19:04 Earth..3.areas -rw-r--r-- 1 root root 1035728 Dec 12 19:04 Earth..3.lines -rw-r--r-- 1 root root 38552 Dec 12 19:04 Earth..3.names -rw-r--r-- 1 root root 4901852 Dec 12 19:04 Earth..4.areas -rw-r--r-- 1 root root 4528784 Dec 12 19:04 Earth..4.lines -rw-r--r-- 1 root root 176790 Dec 12 19:04 Earth..4.names -rw-r--r-- 1 root root 36832 Dec 12 19:04 ezmap_area_ids -rw-r--r-- 1 root root 58979 Dec 12 19:04 EzmapAreaInfo.CO -rw-r--r-- 1 root root 122563 Dec 12 19:04 EzmapAreaInfo.PO -rw-r--r-- 1 root root 111767 Dec 12 19:04 EzmapAreaInfo.PS -rw-r--r-- 1 root root 9201 Dec 12 19:04 EzmapAreaInfo.US -rw-r--r-- 1 root root 587264 Dec 12 19:04 ezmapdata -rw-r--r-- 1 root root 76280 Dec 12 19:04 EzmapOutlines.CO -rw-r--r-- 1 root root 138680 Dec 12 19:04 EzmapOutlines.PO -rw-r--r-- 1 root root 240752 Dec 12 19:04 EzmapOutlines.PS -rw-r--r-- 1 root root 107952 Dec 12 19:04 EzmapOutlines.US drwxr-xr-x 2 root root 4096 Dec 12 19:04 ftfonts -rw-r--r-- 1 root root 23021 Dec 12 19:04 NhlMapData -rw-r--r-- 1 root root 37640 Dec 12 19:04 PlotcharData -rw-r--r-- 1 root root 37680 Dec 12 19:04 pwritdata -rw-r--r-- 1 root root 20250 Dec 12 19:04 ranfdata -rw-r--r-- 1 root root 4096 Dec 12 19:04 rgb.dir -rw-r--r-- 1 root root 16384 Dec 12 19:04 rgb.pag -rw-r--r-- 1 root root 16992 Dec 12 19:04 rgb.txt The missing file names with ".names" extension are breaking some of the example runs. Once the missing files are added to the database folder, things work. cfanprod@prod:~/ncl-test$ ls -l /usr/lib/ncarg/database/ total 15276 -rw-r--r-- 1 root root 239286 Dec 12 19:04 Earth..1.areas -rw-r--r-- 1 root root 743392 Dec 12 19:04 Earth..1.lines -rw-r--r-- 1 root root 30565 Dec 12 19:04 Earth..1.names -rw-r--r-- 1 root root 342556 Dec 12 19:04 Earth..2.areas -rw-r--r-- 1 root root 1507872 Dec 12 19:04 Earth..2.lines -rw-r--r-- 1 root root 103535 Dec 12 19:04 Earth..2.names -rw-r--r-- 1 root root 290424 Dec 12 19:04 Earth..3.areas -rw-r--r-- 1 root root 1035728 Dec 12 19:04 Earth..3.lines -rw-r--r-- 1 root root 38552 Dec 12 19:04 Earth..3.names -rw-r--r-- 1 root root 4901852 Dec 12 19:04 Earth..4.areas -rw-r--r-- 1 root root 4528784 Dec 12 19:04 Earth..4.lines -rw-r--r-- 1 root root 176790 Dec 12 19:04 Earth..4.names -rw-r--r-- 1 root root 36832 Dec 12 19:04 ezmap_area_ids -rw-r--r-- 1 root root 58979 Dec 12 19:04 EzmapAreaInfo.CO -rw-r--r-- 1 root root 122563 Dec 12 19:04 EzmapAreaInfo.PO -rw-r--r-- 1 root root 111767 Dec 12 19:04 EzmapAreaInfo.PS -rw-r--r-- 1 root root 9201 Dec 12 19:04 EzmapAreaInfo.US -rw-r--r-- 1 root root 587264 Dec 12 19:04 ezmapdata -rw-r--r-- 1 root root 76280 Dec 12 19:04 EzmapOutlines.CO -rw-r--r-- 1 root root 138680 Dec 12 19:04 EzmapOutlines.PO -rw-r--r-- 1 root root 240752 Dec 12 19:04 EzmapOutlines.PS -rw-r--r-- 1 root root 107952 Dec 12 19:04 EzmapOutlines.US drwxr-xr-x 2 root root 4096 Dec 12 19:04 ftfonts -rw-r--r-- 1 root root 23021 Dec 12 19:04 NhlMapData -rw-r--r-- 1 root root 37640 Dec 12 19:04 PlotcharData -rw-r--r-- 1 root root 37680 Dec 12 19:04 pwritdata -rw-r--r-- 1 root root 20250 Dec 12 19:04 ranfdata -rw-r--r-- 1 root root 4096 Dec 12 19:04 rgb.dir -rw-r--r-- 1 root root 16384 Dec 12 19:04 rgb.pag -rw-r--r-- 1 root root 16992 Dec 12 19:04 rgb.txt cfanprod@prod:~/ncl-test$ ncl maponly_9.ncl Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. cfanprod@prod:~/ncl-test$ ls -l total 148 -rw------- 1 cfanprod cfanprod 3143 Jul 24 2009 gsun03n.ncl -rw------- 1 cfanprod cfanprod 3400 Nov 28 17:33 maponly_10.ncl -rw------- 1 cfanprod cfanprod 1059 Nov 28 17:33 maponly_3.ncl -rw------- 1 cfanprod cfanprod 1930 Nov 28 17:33 maponly_9.ncl -rw------- 1 cfanprod cfanprod 117266 Dec 12 19:27 maponly.png cfanprod@prod:~/ncl-test$ rm maponly.png cfanprod@prod:~/ncl-test$ ncl maponly_10.ncl Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. cfanprod@prod:~/ncl-test$ ls -l total 376 -rw------- 1 cfanprod cfanprod 3143 Jul 24 2009 gsun03n.ncl -rw------- 1 cfanprod cfanprod 198176 Dec 12 19:27 maponly.000001.png -rw------- 1 cfanprod cfanprod 77992 Dec 12 19:27 maponly.000002.png -rw------- 1 cfanprod cfanprod 67940 Dec 12 19:27 maponly.000003.png -rw------- 1 cfanprod cfanprod 3400 Nov 28 17:33 maponly_10.ncl -rw------- 1 cfanprod cfanprod 1059 Nov 28 17:33 maponly_3.ncl -rw------- 1 cfanprod cfanprod 1930 Nov 28 17:33 maponly_9.ncl ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ncl-ncarg 6.4.0-9 ProcVersionSignature: Ubuntu 4.15.0-39.42-generic 4.15.18 Uname: Linux 4.15.0-39-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.5 Architecture: amd64 Date: Wed Dec 12 19:16:24 2018 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ncl UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: ncl (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic uec-images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808217 Title: Broken/incomplete package ncl-ncarg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ncl/+bug/1808217/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
