[Slackbuilds-users] help testing new package
Dave Woodfall
dave at slackbuilds.org
Thu Jun 18 18:08:28 UTC 2020
I forgot to say that this was on 14.2
Dave
On 18/06/20 19:07,
Dave Woodfall <dave at slackbuilds.org> put forth the proposition:
> On 16/06/20 00:31,
> Greg' Ar Tourter <artourter at gmail.com> put forth the proposition:
> > Hi,
> >
> > I have written a Slackbuild for NCL (https://www.ncl.ucar.edu/).
> >
> > It is quite a tricky one to compile and it doesn't exit with an error when
> > make fails. The only way I have found to test if compilation fails is to
> > look for the ncl binary.
> >
> > Could I ask for a few kind souls to test the slackbuild and report back if
> > build fails and the error. I am interested in both -14.2 and -current,
> > 32bit and 64bit. This is not for the faint-hearted as it is quite big and
> > takes a while.
> >
> > note that I do not compile hdf4 and grib2 compatibility in. If people want
> > to, I can test and add hdf4 but I cannot get the GRIB2 library to compile
> > and anyway, ncl requires its own patched version which feels like to
> > muchwork for something I cannot test myself.
> >
> > Cheers
> >
> > Greg
>
> Hi Greg,
>
> Firstly, I don't see any shared libs. Have you looked at build
> options for that?
>
> The package built fine for me the first time. Consequent runs have a
> problem though.
>
> The problem is that triangle.zip is unzipped in $TMP with no
> destination directory, so the files are left in place. On a second
> run the slackbuild halted with a prompt on whether to overwrite those
> files, which shouldn't happen.
>
> If you check out the `-d' option in `man unzip', you could extract
> the files into a directory, say `triangle', then in the slackbuild
> add `triangle' to the rm line:
>
> rm -rf $PRGNAM-$VERSION triangle
>
> Then change line 70 to:
>
> cp $TMP/triangle/triangle.{c,h} ni/src/lib/hlu/
>
> Other than that there are a few issues with trailing whitespace and
> line lengths in the README and slack-desc that my testing script
> picked up:
>
> README:5:77: NCL is a scripting language for the analysis and visualization of climate and
> README:14:76: NCAR is sponsored by the National Science Foundation. Any opinions, findings
>
> The README should stick to a max line length of 72 characters.
> (That's 77 chars on line 5 and 76 on line 14)
>
> slack-desc:9:ncl:+ncl+(NCAR+Command+Language)+
> slack-desc:12:ncl:+climate+and+weather+data.+
> slack-desc:13:ncl:++-+Supports+NetCDF,+GRIB,+HDF,+HDF-EOS,+and+shapefile+data+formats+
> slack-desc:16:ncl:+
> slack-desc:19:ncl:+
>
> You shouldn't have trailing whitespace after the colons on blank
> lines in the slack-desc (the `+' are spaces).
>
> (Perhaps your editor has an option to show whitespace? If you use
> vim, you could checkout vim-airline, which shows it in the status
> line, also I have a couple of vim binds to show them (and delete
> them) if you would like them.)
>
> ncl.info:5:[^I]http://www.netlib.org/voronoi/triangle.zip"
> ncl.info:7:[^I]10aff8d7950f5e0e2fb6dd2e340be2c9"
>
> The [^I] are tabs. Although there aren't any rules about tabs in the
> .info that I know about, it's usually best to stick to spaces where
> you can IMHO, and lining up all downloads and md5's with spaces will
> work however someone has tabstop set in their editor.
>
> The templates have more info on line lengths and whitespace etc. than
> in the guidelines page, so they are worth a read.
>
> https://slackbuilds.org/templates/
>
> --
> Dave
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
--
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200618/960032b3/attachment.asc>
More information about the SlackBuilds-users
mailing list