Thanks, another track I could try to follow. I'll try to check it again later this year
Search Criteria
Package Details: ncl 6.6.2-4
Package Actions
| 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) |
Dependencies (35)
- bzip2 (bzip2-gitAUR)
- cairo (cairo-gitAUR)
- expat (expat-gitAUR)
- flex (flex-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- g2clibAUR (g2clibAUR)
- gdal (gdal-ecwAUR, gdal-libkml-filegdbAUR, gdal-libkmlAUR, gdal-hdf4AUR)
- glibc (glibc-gitAUR, glibc-eacAUR, glibc-git-native-pgoAUR)
- gsl (gsl-gitAUR)
- hdf4AUR
- hdf5 (hdf5-gitAUR, hdf5-openmpi)
- imake
- jasper (jasper-gitAUR)
- lesstifAUR
- libaec (libaec-gitAUR)
- libjpeg (mozjpeg-gitAUR, mozjpegAUR, libjpeg-turbo-gitAUR, libjpeg-turbo)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libx11 (libx11-gitAUR, libx11-mr293AUR)
- libxaw (xawmAUR)
- libxext (libxext-gitAUR)
- Show 15 more dependencies...
Required by (3)
- garli
- jaziku (optional)
- ncl-highres
Sources (18)
- hluresfile
- http://www.netlib.org/voronoi/triangle.zip
- includes.patch
- ncarg.sh
- ncl-6.6.2.tar.gz
- ncl-boz.patch
- ncl-format.patch
- ncl-gcc15.patch
- ncl-gdal.patch
- ncl-hdf4.3.patch
- ncl-libs.patch
- ncl-nc-set-log-level.patch
- ncl-proj8.patch
- ncl.install
- netcdff.patch
- no_install_dep.patch
- paths.patch
- Site.local
micwoj92 commented on 2025-12-10 05:19 (UTC)
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?
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.