Re: [OmniOS-discuss] Bug in omnios packaging

2014-12-08 Thread Eric Sproul
On Mon, Dec 8, 2014 at 8:29 AM, Jim Klimov  wrote:
> Hi all,
>
>
> Found a small issue in some of the omnios (ms.omniti.com) packages: they
> include symlinks that point to the build-host's absolute paths, i.e.:
>
>
> # find /opt/omni -ls | grep tmp
>  122950 lrwxrwxrwx   1 root root   66 Dec  8 13:39
> /opt/omni/bin/pbzcat ->
> /tmp/build_esproul/omniti_compress_pbzip2_pkg//opt/omni/bin/pbzip2
>  122960 lrwxrwxrwx   1 root root   66 Dec  8 13:39
> /opt/omni/bin/pbunzip2 ->
> /tmp/build_esproul/omniti_compress_pbzip2_pkg//opt/omni/bin/pbzip2
>  123020 lrwxrwxrwx   1 root root   68 Dec  8 13:39
> /opt/omni/bin/amd64/unpigz ->
> /tmp/build_esproul/omniti_compress_pigz_pkg//opt/omni/bin/amd64/pigz

Haha... busted!  Thanks for the bug report.  For whatever reason,
these compression tools all have very non-standard build procedures,
and make all sorts of silly assumptions.  We'll get it fixed.

Eric
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Bug in omnios packaging

2014-12-08 Thread Eric Sproul
On Mon, Dec 8, 2014 at 10:24 AM, Eric Sproul  wrote:
> Haha... busted!  Thanks for the bug report.  For whatever reason,
> these compression tools all have very non-standard build procedures,
> and make all sorts of silly assumptions.  We'll get it fixed.

The fix was to make the symlink target relative instead of absolute.

pkg://ms.omniti.com/omniti/compress/pbzip2@1.1.8,5.11-0.151006:20141208T180943Z
is the updated package.

Thanks again for pointing that out!
Eric
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss