pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc bootstrap fails on DilOS
The last thing I can do is give you a clean DilOS VM: https://gofile.io/d/rD1lnG
gh
---- On Wed, 06 Jan 2021 10:14:26 +0700 Hung Nguyen Gia <gh_origin%zohomail.com@localhost> wrote ----
> I tried to create a few more symlinks:
>
> sudo ln -s /usr/ccs/sed /usr/ccs/gsed
> sudo ln -s /usr/ccs/soelim /usr/ccs/gsoelim
> sudo ln -s /usr/ccs/m4 /usr/ccs/gm4
> sudo ln -s /usr/ccs/nroff /usr/ccs/gnroff
>
> But this doesn't help. It still stucks at 'Generating post-install file lists'.
>
> Later I found out on DilOS, /usr/ccs is a symlink to /bin and /bin is just a symlink to /usr/bin after all.
>
>
> ---- On Wed, 06 Jan 2021 03:05:11 +0700 Hung Nguyen Gia <gh_origin%zohomail.com@localhost> wrote ----
>
> > I found a trick allowed me to successfully bootstrap:
> >
> > First, install these packages on DilOS:
> >
> > sudo m4 bison gettext flex texinfo zip unzip binutils build-essential
> >
> > Second, create these symlinks:
> >
> > sudo ln -s /usr/ccs /usr/xpg4
> > sudo ln -s /usr/ccs /usr/gnu
> >
> > I could have pkgsrc bootstrapped but when actually building packages, e.g: lang/python39, it stucks at 'Generating post-install file lists':
> >
> > https://imgur.com/ogUqNjB.png
> >
> > So it's not really simple as getting the proper tools defined in tools.SunOS.mk (I satisfied all of the tools without changing this file).
> >
> > If you are still want to support DilOS, I think you have to actually install it to be able to invest further.
> >
> > Do you need me to send you my DilOS VirtualBox image?
> >
> >
> > ---- On Tue, 05 Jan 2021 22:20:06 +0700 Hung Nguyen Gia <gh_origin%zohomail.com@localhost> wrote ----
> >
> > > Here is my tools.DilOS.mk, if you could use it (merge with tools.SunOS.mk or let it standalone) to add support for DilOS, then thank you very much.
> > >
> > > https://pastebin.com/TED4dwuq
> > >
> > > The problems on Tribblix seemed to be of Tribblix itself, not pkgsrc. I think they broke their linker.
> > >
> > >
> > > ---- On Tue, 05 Jan 2021 01:35:56 +0700 Jonathan Perkin <jperkin%joyent.com@localhost> wrote ----
> > >
> > > > * On 2021-01-04 at 18:30 GMT, Hung Nguyen Gia wrote:
> > > >
> > > > > @Jperkin: It seemed you misunderstood me. I said since DilOS (like
> > > > > Debian), puts everything in /bin and /usr/bin, integrating DilOS
> > > > > into tools.SunOS.mk will break other Illumos distros because on
> > > > > these system, the utilities in /bin and /usr/bin sometimes not
> > > > > something we are looking for, sometimes we need thing from
> > > > > /usr/gnu/bin, /usr/sfw/bin or /usr/xpg4, /usr/xpg6. This will
> > > > > definitely breaks the logic. Simple '.if exists' can't deal with
> > > > > this. We need something like 'if os name = DilOS then bla bla...' to
> > > > > be able to deal with it. From you previous mail I think this is
> > > > > currently not possible.
> > > >
> > > > I understand you, I just think it can be done ;) But if not, there is
> > > > the possibility to use ${OS_VARIANT} too to differentiate.
> > > >
> > > > > BTW, pkgsrc currently broken on Tribblix, too. But the problems
> > > > > seemed to be of Tribblix itself. I have sent a mail to Peter. If he
> > > > > can't resolve it, I will post it on this list.
> > > >
> > > > What's the issue? It should work fine, I know schmonz used it for a
> > > > bit, and I've previously used it to verify our binary packages.
> > > >
> > > > Cheers,
> > > >
> > > > --
> > > > Jonathan Perkin - Joyent, Inc. - www.joyent.com
> > > >
> > >
> >
>
Home |
Main Index |
Thread Index |
Old Index