Re: synth install ... builds but does not always install named packages
> On 16 September 2017 at 09:01, Thomas Muellerwrote: > > Some of the packages not installed are widespread build dependencies, such > > as nasm, and are better installed than rebuilt or temporarily reinstalled > > every time. > synth doesn't rebuild build-dependencies if it isn't required. It > stores the dependancies as a packages in the local package repository > and unpacks it for each build. In fact, there is no need to install > build dependancies on your local system, as it will *never* get used > by synth, as synth uses a clean chroot'd environment for all its > builds. > [...] > > And then it was irritating when some specifically named packages were not > > installed (math/gnumeric, editors/abiword-docs, mail/metamail, for > > instance). > I would check: > 1. did the packages get built, and are present in the local package > repository. > 2. what sort of error messages you are getting from just a "pkg > install ${package}" from the local package repo. > Cheers. > Jonathan Chen Those packages that were built but not installed appeared in /var/synth/live-packages/All , otherwise I would not have complained about failure to install. I didn't "pkg install ${package}" from local package repo, I installed some by rerunning "synth install category/package" (using actual category/package names). I see also that graphics/epdfview built but didn't install, don't remember if I named this port, but would like to install it now. Maybe also graphics/evince. I still want to install build dependencies, or at least some of them, to be able to cross-compile Haiku and Linux toolchains (such as buildroot, OpenWRT, crosstool-ng, Pengutronix ptxdist and Cross Linux Fom Scratch). Their advice about host build system requirements guides me on what I need to be installed, since this is out of synth territory, out of FreeBSD ports territory. Tom ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: synth install ... builds but does not always install named packages
On 16 September 2017 at 09:01, Thomas Muellerwrote: > Some of the packages not installed are widespread buil;d dependencies, such > as nasm, and are better installed than rebuilt or temporarily reinstalled > every time. synth doesn't rebuild build-dependencies if it isn't required. It stores the dependancies as a packages in the local package repository and unpacks it for each build. In fact, there is no need to install build dependancies on your local system, as it will *never* get used by synth, as synth uses a clean chroot'd environment for all its builds. [...] > And then it was irritating when some specifically named packages were not > installed (math/gnumeric, editors/abiword-docs, mail/metamail, for instance). I would check: 1. did the packages get built, and are present in the local package repository. 2. what sort of error messages you are getting from just a "pkg install ${package}" from the local package repo. Cheers. -- Jonathan Chen ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: synth install ... builds but does not always install named packages
> > Synth runs faster and more gracefully than portmaster, but portmaster > > installed everything that it built. > Yes. That's the point. Build-only dependencies don't get installed via synth > or poudriere. Portmaster doesn't do clean builds, so it pollutes your system > by installing everything. > You can install everything, though for the life of me I can't imagine why > you'd want to, by: > pkg install -g '*' # Adam > Adam Weinberger Running "pkg install -g '*'" might install some outdated packages, so I'd want to look through. There could even be some conflicts. Some of the packages not installed are widespread buil;d dependencies, such as nasm, and are better installed than rebuilt or temporarily reinstalled every time. I dont think it would be possible to install everything created by a run of "synth everything" because of conflicts. Anyway, that would be overkill. I don't want to be caught short on build prerequisites for future package builds, or cross-compiling Haiku or Linux toolchains. Some of the build dependencies not installed seem rather basic to a development system, such as nasm and bison, and are rather standard in Linux distributions. And then it was irritating when some specifically named packages were not installed (math/gnumeric, editors/abiword-docs, mail/metamail, for instance). Tom ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: synth install ... builds but does not always install named packages
> On 15 Sep, 2017, at 2:23, Thomas Muellerwrote: > >> On Sep 15 07:34, Thomas Mueller wrote: > >> I am building up a system (FreeBSD 11.1-STABLE amd64) using synth, but even >> when the packages build and appear in /var/synth/live_packages/All , some of >> the packages don't install. > >> When I type "which gnumeric", "which bison", "which abiword", I just get a >> blank, and the executable files don't appear in /usr/local/bin . > >> This happened with math/gnumeric, editors/abiword-docs, among others. > >> I subsequently installed those packages by typing "synth install >> math/gnumeric" and "synth install editors/abiword-docs", but how do I find >> all the others that built and are listed in /var/synth/live_packages/All but >> did not install? > >> I see > >> "ls -l /var/synth/live_packages/All" has 657 lines, while > >> "pkg info -a" produces 544 lines. > >> I piped to "more", then hit G to go to the end, then Ctrl-G, which showed >> the number of lines. > >> This may not tell the whole story, but makes me believe there is a >> disparity, and ask how to find and install those packages that built but >> didn't install. > >> Has anybody else been stung by this bug? > > Matt Smith responded: > >> Do you actually want those packages installed? The usual reason is that >> they are build dependencies only required for building another package >> and therefore they are in the repo but not installed. If they are run >> dependencies actually required for another package to run then they >> should be installed. > >> Freshports is a good site for looking at this. >> http://www.freshports.org/ > >> If you search for something it tells you what is build and what is run. >> Alternatively you can look at the ports Makefile for lines such as >> BUILD_DEPENDS, RUN_DEPENDS, LIB_DEPENDS etc. > > In some cases, the named packages failed to install the first time > (math/gnumeric and editors/abiword), and in other cases desired dependencies > didn't install (devel/nasm and sysutils/coreutils, for instance). > > I need some of those build dependencies for other things like, for instance, > cross-compiling Haiku and cross-compiling Linux toolchains, or other FreeBSD > ports. > > Is there anything I can specify to install those build dependencies, and how > do I go through /var/synth/live-packages/All and pkg info -a to install those > packages that failed to install without missing something? > > Synth runs faster and more gracefully than portmaster, but portmaster > installed everything that it built. Yes. That's the point. Build-only dependencies don't get installed via synth or poudriere. Portmaster doesn't do clean builds, so it pollutes your system by installing everything. You can install everything, though for the life of me I can't imagine why you'd want to, by: pkg install -g '*' # Adam -- Adam Weinberger ad...@adamw.org https://www.adamw.org ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: synth install ... builds but does not always install named packages
On Sep 15 08:23, Thomas Mueller wrote: In some cases, the named packages failed to install the first time (math/gnumeric and editors/abiword), and in other cases desired dependencies didn't install (devel/nasm and sysutils/coreutils, for instance). I need some of those build dependencies for other things like, for instance, cross-compiling Haiku and cross-compiling Linux toolchains, or other FreeBSD ports. Is there anything I can specify to install those build dependencies, and how do I go through /var/synth/live-packages/All and pkg info -a to install those packages that failed to install without missing something? Synth runs faster and more gracefully than portmaster, but portmaster installed everything that it built. Tom Maybe something along the lines of pkg install -g * ? I'm not sure, but -g lets you do a glob pattern. -- Matt ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: synth install ... builds but does not always install named packages
> On Sep 15 07:34, Thomas Mueller wrote: > I am building up a system (FreeBSD 11.1-STABLE amd64) using synth, but even > when the packages build and appear in /var/synth/live_packages/All , some of > the packages don't install. > When I type "which gnumeric", "which bison", "which abiword", I just get a > blank, and the executable files don't appear in /usr/local/bin . > This happened with math/gnumeric, editors/abiword-docs, among others. > I subsequently installed those packages by typing "synth install > math/gnumeric" and "synth install editors/abiword-docs", but how do I find > all the others that built and are listed in /var/synth/live_packages/All but > did not install? > I see > "ls -l /var/synth/live_packages/All" has 657 lines, while > "pkg info -a" produces 544 lines. > I piped to "more", then hit G to go to the end, then Ctrl-G, which showed the > number of lines. > This may not tell the whole story, but makes me believe there is a disparity, > and ask how to find and install those packages that built but didn't install. > Has anybody else been stung by this bug? Matt Smith responded: > Do you actually want those packages installed? The usual reason is that > they are build dependencies only required for building another package > and therefore they are in the repo but not installed. If they are run > dependencies actually required for another package to run then they > should be installed. > Freshports is a good site for looking at this. > http://www.freshports.org/ > If you search for something it tells you what is build and what is run. > Alternatively you can look at the ports Makefile for lines such as > BUILD_DEPENDS, RUN_DEPENDS, LIB_DEPENDS etc. In some cases, the named packages failed to install the first time (math/gnumeric and editors/abiword), and in other cases desired dependencies didn't install (devel/nasm and sysutils/coreutils, for instance). I need some of those build dependencies for other things like, for instance, cross-compiling Haiku and cross-compiling Linux toolchains, or other FreeBSD ports. Is there anything I can specify to install those build dependencies, and how do I go through /var/synth/live-packages/All and pkg info -a to install those packages that failed to install without missing something? Synth runs faster and more gracefully than portmaster, but portmaster installed everything that it built. Tom ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: synth install ... builds but does not always install named packages
On Sep 15 07:34, Thomas Mueller wrote: I am building up a system (FreeBSD 11.1-STABLE amd64) using synth, but even when the packages build and appear in /var/synth/live_packages/All , some of the packages don't install. When I type "which gnumeric", "which bison", "which abiword", I just get a blank, and the executable files don't appear in /usr/local/bin . This happened with math/gnumeric, editors/abiword-docs, among others. I subsequently installed those packages by typing "synth install math/gnumeric" and "synth install editors/abiword-docs", but how do I find all the others that built and are listed in /var/synth/live_packages/All but did not install? I see "ls -l /var/synth/live_packages/All" has 657 lines, while "pkg info -a" produces 544 lines. I piped to "more", then hit G to go to the end, then Ctrl-G, which showed the number of lines. This may not tell the whole story, but makes me believe there is a disparity, and ask how to find and install those packages that built but didn't install. Has anybody else been stung by this bug? Tom Do you actually want those packages installed? The usual reason is that they are build dependencies only required for building another package and therefore they are in the repo but not installed. If they are run dependencies actually required for another package to run then they should be installed. Freshports is a good site for looking at this. http://www.freshports.org/ If you search for something it tells you what is build and what is run. Alternatively you can look at the ports Makefile for lines such as BUILD_DEPENDS, RUN_DEPENDS, LIB_DEPENDS etc. -- Matt ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
synth install ... builds but does not always install named packages
I am building up a system (FreeBSD 11.1-STABLE amd64) using synth, but even when the packages build and appear in /var/synth/live_packages/All , some of the packages don't install. When I type "which gnumeric", "which bison", "which abiword", I just get a blank, and the executable files don't appear in /usr/local/bin . This happened with math/gnumeric, editors/abiword-docs, among others. I subsequently installed those packages by typing "synth install math/gnumeric" and "synth install editors/abiword-docs", but how do I find all the others that built and are listed in /var/synth/live_packages/All but did not install? I see "ls -l /var/synth/live_packages/All" has 657 lines, while "pkg info -a" produces 544 lines. I piped to "more", then hit G to go to the end, then Ctrl-G, which showed the number of lines. This may not tell the whole story, but makes me believe there is a disparity, and ask how to find and install those packages that built but didn't install. Has anybody else been stung by this bug? Tom ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"