Am Samstag, 19. Januar 2013 schrieb Ludovic Courtès:
> Andreas Enge <andreas@enge.fr> skribis:
> > Could someone else please test the package?
> I just tried, and it builds perfectly as
> /nix/store/agjc4rdsvi4wvbz6dymgid5pb85nqcf7-netpbm-10.61.01.
Thanks! For me also, it builds well, but I cannot install it:
$ guix-package -i netpbm
error: build failed: build of `/nix/store/h2s02132641hvaqr03q96i97dydlqm4i-user-environment.drv' failed.
Maybe because of the extraneous files?
> There are extraneous file in the root of that directory:
> bin/ config_template include/ lib/ link/ man/ misc/ pkginfo
> README VERSION
> Ideally, it’d be great to (re)move them.
Okay.
> As for the source tarball: could you add a comment that specifies from
> which revision it was obtained?
Well, it was simply obtained from the download link of the "Advanced" field at
http://netpbm.sourceforge.net/getting_netpbm.php
The link is
http://netpbm.svn.sourceforge.net/viewvc/netpbm/advanced?view=tar
which would download a tarball with the name "advanced?view=tar", and with the hash changing every time (I did not understand why). So I downloaded it manually and renamed it. It is really an official release with a regular version number, not simply an svn/git checkout. The version number is recorded in a file in the tarball (which was part of the download, I did not add anything).
> (Eventually, we’ll have an ‘subversion-fetch’ method, in addition to
> ‘url-fetch’, which could be used in such situations.)
Before that, https would be nice!
> Thanks, and congratulations given how painful it looked!
Yes, it was quite amazing; once more, we should be grateful to the GNU build system...
Andreas