[illumos-Discuss] find/build new pkg:/package/pkg
Chavdar Ivanov
ci at delcam.com
Mon May 9 00:28:43 PDT 2011
> -----Original Message-----
> From: Joerg Goltermann [mailto:jg at osn.de]
> Sent: 09 May 2011 00:13
> To: Richard Lowe; discuss at lists.illumos.org
> Subject: Re: [illumos-Discuss] find/build new pkg:/package/pkg
>
>
>
> On 09.05.2011 00:14, Richard Lowe wrote:
> > On Sun, May 8, 2011 at 17:56, Joerg Goltermann <jg at osn.de> wrote:
> >> Hello,
> >>
> >> I ran in a problem, since http://91.194.74.69:10000/ is offline:
> >>
> >> pkg: No matching version of package/pkg can be installed:
> >> pkg://opensolaris.org/package/pkg@0.5.11,5.11-0.133:20100216T141949Z:
> >> Newer version
> >> pkg://os-devel/package/pkg@0.5.11,5.11-0.146:20100814T133442Z is
> >> already installed
> >> pkg://opensolaris.org/package/pkg@0.5.11,5.11-0.133:20100218T000555Z:
> >> Newer version
> >> pkg://os-devel/package/pkg@0.5.11,5.11-0.146:20100814T133442Z is
> >> already installed
> >> pkg://opensolaris.org/package/pkg@0.5.11,5.11-0.134:20100302T042843Z:
> >> Newer version
> >> pkg://os-devel/package/pkg@0.5.11,5.11-0.146:20100814T133442Z is
> >> already installed
> >
> > You should be able to build on an OpenIndiana based system, the repo
> > you mention was there as a way to get newer-than-134 bits available in
> > the interim.
My nightly succeeded yesterday, but onu failed because of the same; I tried running it without the os-devel publisher, which also failed -
...
[olive] /code/illumos-gate # ./usr/src/tools/scripts/onu -t nightly-10 -d $PWD/packages/i386/nightly
pkg set-publisher: publisher does not exist. Use -g to define origin URI for new publisher.
pkg -R /tmp/onu.faa4Pt set-publisher --no-refresh --non-sticky os-devel failed: exit code 1
[1] 10060 exit 2 ./usr/src/tools/scripts/onu -t nightly-10 -d $PWD/packages/i386/nightly
[olive] /code/illumos-gate # pkg publisher
PUBLISHER TYPE STATUS URI
on-nightly (preferred) origin online file:///code/illumos-gate/packages/i386/nightly/repo.redist/
opensolaris.org (non-sticky) origin online http://pkg.opensolaris.org/dev/
webstack origin online http://pkg.opensolaris.org/webstack/
[olive] /code/illumos-gate # ls /code/illumos-gate/packages/i386/nightly/repo.redist/
catalog cfg_cache file index pkg tmp trans
[olive] /code/illumos-gate # ls -l /code/illumos-gate/packages/i386/nightly/repo.redist/
total 226
drwxr-xr-x 2 root root 7 May 8 05:41 catalog
-rw-r--r-- 1 root root 441 May 8 04:45 cfg_cache
....
I guess there has to be some other rebuild sequence?
Chavdar Ivanov
>
> I think that's not an option, I want update an existing Illumos system. I have
> my own on-nighly publisher but I can't use it without a source for the new
> package/pkg
>
> >> cc -errtags=yes -errwarn=%all -features=conststrings -xO4
> >> -W0,-xglobalstatic -Xa -xc99=%none -xildoff -xspace -D_REENTRANT
> >> -I../zoneproxyd -Bdirect -zassert-deflib=libc.so
> >> -zassert-deflib=libsocket.so -zfatal-warnings -zguidance -o
> >> zoneproxy-adm zoneproxy-adm.c
> >> ld: fatal: option -z has illegal argument 'assert-deflib=libc.so'
> >> ld: fatal: option -z has illegal argument 'assert-deflib=libsocket.so'
> >> ld: fatal: flags processing errors
> >
> > This is because the pkg gate makes use of linker features specific to
> > the closed-source Oracle linker. You should be able to remove
> > references to -zassert-deflib in whichever makefiles mention them and
> > have things work.
>
> It looks the latest pkg-gate source is incompatible with Illumos:
>
> zoneproxyd.c", line 1161: warning: implicit function declaration:
> zone_get_zoneids
> Undefined first referenced
> symbol in file
> zone_get_zoneids zoneproxyd.o
>
>
> The source with tag in164 seems to be fine and builds except some
> errors/warnings during dmake check in pkd directory.
>
> Are there any plans to supply a "illumos" version of this package?
>
> Thanks for your help.
>
> Kind regards,
>
> Joerg Goltermann
>
> --
> OSN Online Service Nuernberg GmbH, Bucher Str. 78, 90408 Nuernberg
> Tel: +49 911 39905-0 - Fax: +49 911 39905-55 - http://www.osn.de HRB 15022
> Nuernberg, USt-Id: DE189301263, GF: Joerg Goltermann
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.illumos.org
> http://lists.illumos.org/m/listinfo/discuss
Visit Delcam at Control, Eastec & EMO - For more details visit <a href="http://www.delcam.com/shows2011">http://www.delcam.com/shows2011</a>
More information about the Discuss
mailing list