Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2017 02:11:36 +0000
From:      "Thomas Mueller" <mueller6722@twc.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Synth and circular dependencies
Message-ID:  <8B.5A.25924.D54EC995@dnvrco-omsmta02>
References:  <30.03.31699.752AB995@dnvrco-omsmta03> <CAJuc1zOvS51-MsVqcwAfMGYoeNV46wZm5agNecM6o3u2WL_rrQ@mail.gmail.com> <201708220330.v7M3UJeJ026761@gw.catspoiler.org> <F9.8A.25924.960DB995@dnvrco-omsmta02> <20170822122523.28de2ad2@gumby.homeunix.com> <F9.8A.25924.960DB995@dnvrco-omsmta02> <CAJuc1zN=uUSvna8b10vJoSQ%2B5G4HzSYELN_4HoyN4DD5TzejhA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
from Jonathan Chen:

> On 22 August 2017 at 18:34, Thomas Mueller <mueller6722@twc.com> wrote:
[...]
> > I believe Synth and poudriere have no means for setting options.  That should be enough impetus to make it easier to bypass the dialog4ports entirely.
        
> >From the synth man page:
>      <profile>-make.conf
>                        This is an optional, user-provided file. If it exists,
>                        the builder's /etc/make.conf will be appended with the
>                        contents of this file. For the default profile, the
>                        file would normally be located at
>                        /usr/local/etc/synth/LiveSystem-make.conf

> All you need to do is to convert your /var/db/ports/* options into
> make.conf style options and put it into LiveSystem-make.conf.

> Works for me.

At this stage, I think I don't want to ever again see a dialog4ports!

How do I convert /var/db/ports/* options into make.conf-style options in a reasonable amount of time?

I don't (yet) have a LiveSystem-make.conf apart from /etc/make.conf, but I have 
/usr/local/etc/synth/synth.ini

I see (running "less" on this file)

[Global Configuration]


[LiveSystem]

Directory_packages= /var/synth/live_packages
Directory_repository= /var/synth/live_packages/All
Directory_portsdir= /BETA1/usr/ports
Directory_options= /var/db/ports
Directory_distfiles= /BETA1/usr/ports/distfiles
Directory_buildbase= /usr/obj/synth-live
Directory_logs= /var/log/synth
Directory_ccache= disabled
Directory_system= /
Number_of_builders= 6
Max_jobs_per_builder= 4
Tmpfs_workdir= true
Tmpfs_localbase= true
Display_with_ncurses= true
leverage_prebuilt= false

occurring four times, the latter three being verbatim repeats of the first.

Now I want to get rid of the Directory_options line, should I delete the line or should I change "/var/db/ports" to "/dev/null"?  Or just move /var/db/ports to /var/db/ports2, which I intend to do anyway?

What if synth finds /var/db/ports no longer there?

Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8B.5A.25924.D54EC995>