Date: Wed, 14 Dec 2016 18:35:55 +1030 From: Shane Ambler <FreeBSD@ShaneWare.Biz> To: "Julian H. Stacey" <jhs@berklix.com> Cc: freebsd-ports@freebsd.org Subject: Re: The ports collection has some serious issues Message-ID: <bce4eac0-7478-fe66-3f78-6e957a461810@ShaneWare.Biz> In-Reply-To: <201612121931.uBCJV0qO022291@fire.js.berklix.net> References: <201612121931.uBCJV0qO022291@fire.js.berklix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13/12/2016 06:01, Julian H. Stacey wrote: >> I would say this rarely happens with the default setup, the more port >> options you change the more likely it is something will break. > > Yes, I now start: cd /var/db/ports; mv * MV/* ; setenv NO_DIALOG=YES > Before: cd /usr/ports; make BERKLIX_CLIENT=YES # Uses ports/*/Makefile.local > (still innumerable breaks of course on 1200 ports inc deps.) > > I can re-enable options for a 2nd pass rebuild for the very > few ports need it (maybe some better way?). That's what I like about poudriere, one port can fail and builds still continue until as much is built as possible. I also know that everything is built before changing anything that is installed. > poudriere's `-f' is nice to accept a list. > But I havent found a way to build my list yet from my Makefile.local eg > cd /usr/ports; make BERKLIX_CLIENT=YES echo_my_category_and_port > I'll probably hack bsd.port.mk & bsd.port.subdir.mk make all-depends-list also - make build-depends-list make run-depends-list make package-depends-list make test-depends-list To create a list of ports I have installed I just use pkg info -aqo | sort > myports.list For setting options, I created /usr/local/etc/poudriere.d/mypkg-make.conf and filled it with lines like DEFAULT_VERSIONS= apache=2.4 perl5=5.20 pgsql=9.5 OPTIONS_SET= OPTIMIZED_CFLAGS CPU_OPTS SIMD MMX SSE SSE2 SSSE3 x11-servers_xorg-server_SET= DEVD SUID x11-servers_xorg-server_UNSET= HAL then I use poudriere bulk -j 10stableamd64 -p myports -z mypkg -f myports.list that way these settings are only used when building my pkg repo and not when I test build any ports (use poudriere.d/make.conf for settings to be used in all poudriere builds). My /etc/make.conf only contains - .include "/usr/local/etc/poudriere.d/mypkg-make.conf" so the same setting are used for any manual port builds as well as my poudriere created pkg repo. -- FreeBSD - the place to B...Software Developing Shane Ambler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bce4eac0-7478-fe66-3f78-6e957a461810>