Package Details: ncl 6.6.2-4

Git Clone URL: https://aur.archlinux.org/ncl.git (read-only, click to copy)
Package Base: ncl
Description: Ncar Command Language, is an interpreted language designed specifically for scientific data analysis and visualization
Upstream URL: http://www.ncl.ucar.edu
Licenses: Apache
Provides: ncl
Submitter: Xavier
Maintainer: Xavier (micwoj92)
Last Packager: micwoj92
Votes: 18
Popularity: 0.38
First Submitted: 2010-09-24 16:46 (UTC)
Last Updated: 2025-12-06 23:49 (UTC)

Pinned Comments

Xavier commented on 2017-08-27 03:23 (UTC) (edited on 2021-06-04 01:22 (UTC) by Xavier)

If everything went well in the build, it generates the binary /usr/bin/ncl, else rebuild (not use repositories) these packages: g2clib, triangle, udunits, hdf4 (>=4.2.14-4), and try again. For fresh install run 'source /etc/profile' or relogin.

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

micwoj92 commented on 2025-12-10 05:19 (UTC)

Thanks, another track I could try to follow. I'll try to check it again later this year

Xavier commented on 2025-12-10 01:59 (UTC)

@micwoj92 it is hard to know what exactly is the problem, NCL is very tricky, I saw in the log many missing headers that it couldn't find, maybe that

micwoj92 commented on 2025-12-10 00:11 (UTC)

This was a fresh build. Redid once again and same error. Entire log: https://gist.github.com/micwoj92/58c88fb83d938257e668ede1f340c332

Xavier commented on 2025-12-09 12:18 (UTC)

@micwoj92 try to rebuild these AUR deps and try again: g2clib, triangle, udunits, hdf4

micwoj92 commented on 2025-12-07 00:02 (UTC)

Hello @Xavier,

With 2 patches from fedora and some cflags I was able to easily fix build of some more utilities, but ncl is still broken. It fails on linking step:

NclHDF.c:(.text+0x3a97): undefined reference to `sd_ncopen'
/usr/bin/ld: NclHDF.c:(.text+0x3aae): undefined reference to `sd_ncredef'
/usr/bin/ld: NclHDF.c:(.text+0x3aec): undefined reference to `sd_ncvardef'
/usr/bin/ld: NclHDF.c:(.text+0x3afb): undefined reference to `sd_ncendef'
/usr/bin/ld: NclHDF.c:(.text+0x3b07): undefined reference to `sd_ncclose'
/usr/bin/ld: NclHDF.c:(.text+0x3c36): undefined reference to `sd_ncvardef'
/usr/bin/ld: NclHDF.o: in function `HDFRenameDim':
NclHDF.c:(.text+0x3fa0): undefined reference to `sd_ncopen'
/usr/bin/ld: NclHDF.c:(.text+0x3fb3): undefined reference to `sd_ncredef'
/usr/bin/ld: NclHDF.c:(.text+0x3fcf): undefined reference to `sd_ncdimrename'
/usr/bin/ld: NclHDF.c:(.text+0x3fde): undefined reference to `sd_ncclose'
/usr/bin/ld: NclHDF.o: in function `HDFAddDim':
NclHDF.c:(.text+0x40fe): undefined reference to `sd_ncopen'
/usr/bin/ld: NclHDF.c:(.text+0x4116): undefined reference to `sd_ncredef'
/usr/bin/ld: NclHDF.c:(.text+0x413c): undefined reference to `sd_ncdimdef'
/usr/bin/ld: NclHDF.c:(.text+0x414d): undefined reference to `sd_ncendef'
/usr/bin/ld: NclHDF.c:(.text+0x415a): undefined reference to `sd_ncclose'
/usr/bin/ld: NclHDF.c:(.text+0x4239): undefined reference to `sd_ncdimdef'
/usr/bin/ld: NclHDF.o: in function `HDFWriteVar':
NclHDF.c:(.text+0x440c): undefined reference to `sd_ncopen'
/usr/bin/ld: NclHDF.c:(.text+0x444a): undefined reference to `sd_ncvarputg'
/usr/bin/ld: NclHDF.c:(.text+0x44f7): undefined reference to `sd_ncopen'
/usr/bin/ld: NclHDF.c:(.text+0x4533): undefined reference to `sd_ncvarputg'
/usr/bin/ld: NclHDF.c:(.text+0x4547): undefined reference to `sd_ncclose'
/usr/bin/ld: NclHDF.o: in function `HDFReadVarAtt':
NclHDF.c:(.text+0x46ea): undefined reference to `sd_ncopen'
/usr/bin/ld: NclHDF.c:(.text+0x473a): undefined reference to `sd_ncattget'
/usr/bin/ld: NclHDF.c:(.text+0x474b): undefined reference to `sd_ncclose'
/usr/bin/ld: NclHDF.c:(.text+0x4789): undefined reference to `sd_nctypelen'
/usr/bin/ld: NclHDF.c:(.text+0x47e6): undefined reference to `sd_nctypelen'
/usr/bin/ld: NclHDF.c:(.text+0x4878): undefined reference to `sd_ncattget'
/usr/bin/ld: NclHDF.o: in function `HDFReadAtt':
NclHDF.c:(.text+0x4974): undefined reference to `sd_nctypelen'
/usr/bin/ld: NclHDF.c:(.text+0x49aa): undefined reference to `sd_ncopen'
/usr/bin/ld: NclHDF.c:(.text+0x49ed): undefined reference to `sd_ncattget'
/usr/bin/ld: NclHDF.c:(.text+0x49fa): undefined reference to `sd_ncclose'
/usr/bin/ld: NclHDF.c:(.text+0x4a6b): undefined reference to `sd_ncattget'
/usr/bin/ld: NclHDF.o: in function `HDFReadVar':
NclHDF.c:(.text+0x4bcc): undefined reference to `sd_ncopen'
/usr/bin/ld: NclHDF.c:(.text+0x4c0a): undefined reference to `sd_ncvargetg'
/usr/bin/ld: NclHDF.c:(.text+0x4c5f): undefined reference to `sd_ncopen'
/usr/bin/ld: NclHDF.c:(.text+0x4c97): undefined reference to `sd_ncvargetg'
/usr/bin/ld: NclHDF.c:(.text+0x4cab): undefined reference to `sd_ncclose'
/usr/bin/ld: NclHDF.o: in function `HDFCreateFile':
NclHDF.c:(.text+0x4d2d): undefined reference to `sd_nccreate'
/usr/bin/ld: NclHDF.c:(.text+0x4d3f): undefined reference to `sd_ncendef'
/usr/bin/ld: NclHDF.c:(.text+0x4d4b): undefined reference to `sd_ncclose'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:700: ncl] Error 1

micwoj92 commented on 2025-11-27 00:23 (UTC)

For now I will only push that gcc15 patch, to not forget later.

micwoj92 commented on 2025-11-27 00:21 (UTC)

Yeah, no. I have quickly tried with fedora patch for gcc15, but it doesn't work. It builds, but there is no /usr/bin/ncl.
I have tried with openmotif and lesstif.
What I have also noticed that fedora .spec doesn't specify any motif at all, so is it really needed?
On other side, debian packages do require openmotif as makedep.

I will mark this ood "ftbfs" for myself and try to look soon™

Xavier commented on 2025-11-26 23:22 (UTC)

I remember time ago that I could'n with openmotif, but maybe with the new version it is working, try, and push it if you have some patches

micwoj92 commented on 2025-11-26 23:12 (UTC)

Feel free to add me as co-maintainer. I can test, but this is now blocked by: https://aur.archlinux.org/packages/lesstif#comment-1049399

Unless this would work with https://archlinux.org/packages/extra/x86_64/openmotif

Xavier commented on 2025-11-26 20:20 (UTC)

Hi @micwoj92 I haven't had time to review and fix this package, would you like to help and co-maintain it?