Re: FreeBSD 11.0: Installation of icingaweb2
On Wed, Feb 08, 2017 at 09:07:56AM -0800, Kevin Oberman wrote: > On Tue, Feb 7, 2017 at 11:19 PM, Kevin Obermanwrote: > > > On Tue, Feb 7, 2017 at 5:02 PM, Kevin Oberman wrote: > > > >> On Tue, Feb 7, 2017 at 10:41 AM, Lars Engels > >> wrote: > >> > >>> On Mon, Feb 06, 2017 at 05:48:23PM +0100, Thorsten Baumeister wrote: > >>> > Hi folks, > >>> > last weekend I tried to install the port icingaweb2 on a patched > >>> > FreeBSD 11.0 server. 'make' worked fine, but 'make install' failed. > >>> > Has anyone seen / resolved this problem? > >>> > > >>> > ===> Checking if icingaweb2 already installed > >>> > ===> Registering installation for icingaweb2-2.4.1 > >>> > pkg-static: Unable to access file /usr/ports/net-mgmt/icingaweb2 > >>> /work/stage/usr/local/share/examples/icingaweb2/apache/icingaweb2.conf: > >>> No such file or directory > >>> > pkg-static: Unable to access file /usr/ports/net-mgmt/icingaweb2 > >>> /work/stage/usr/local/share/examples/icingaweb2/nginx/icingaweb2.conf: > >>> No such file or directory > >>> > *** Error code 74 > >>> > > >>> > Stop. > >>> > make[1]: stopped in /usr/ports/net-mgmt/icingaweb2 > >>> > *** Error code 1 > >>> > > >>> > Stop. > >>> > make: stopped in /usr/ports/net-mgmt/icingaweb2 > >>> > > >>> Hi Thorsten, > >>> > >>> I am the maintainer of the icingaweb2 port. > >>> Unfortunately, I cannot reproduce this. The poudriere run doesn't show > >>> this behaviour. > >>> > >>> Do you have any local modifications? > >>> > >>> > >>> Lars > >>> > >> > >> Lars, > >> > >> The pkg-plist certainly contains > >> "%%PORTEXAMPLESEXAMPLESDIR%%/nginx/icingaweb2.conf" > >> but I don't find that file (or any reference to nginx) in either the > >> distribution or in github. Unless some part of the build generates this > >> file (which is possible, I guess), I can't figure out where it comes from. > >> Only the apache example config is found. > >> > >> I'm not willing to install php56 right now. It will be a while before my > >> chromium rebuild is done.So I can't do any real testing on it ATM. Maybe > >> tonight or tomorrow. Then i can look through the logs and find out exactly > >> where this file does (or does not) come from and whether the package > >> installs OK for me. M.B. I don't use nginx PHP, though, so I won't be > >> testing it, just building.. > >> -- > >> Kevin Oberman, Part time kid herder and retired Network Engineer > >> E-mail: rkober...@gmail.com > >> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > >> > > > > I did install the port and found that themising file SHOUL be te very last > > things the stage operation does. > > "(cd /usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2 > > && ./bin/icingacli setup config webserver nginx --path=/icingaweb2 > > --root=/usr/local/www/icingaweb2/public --config=/usr/local/etc/icingaweb2 > > --file=/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share/examples/ > > icingaweb2/nginx/icinga\ > > web2.conf) > > > > So it is generated and for some reason it was not. I have not had time to > > look at the internal make scripts to see if there are options that might > > cause the file not to be generated. > > > > Thorsten, can you provide the final lines of the "stage"operation when you > > build? The lines of interest are the four lines before "===> Checking if > > icingaweb2 already installed"? This is where the file should be generated. > > > > Should not post too late when tired. While rout lines would probably show > something, twenty is more likely to provide useful information. If you can > put up the full log somewhere, that would be even better. Thanks for helping, Kevin. Thorsten replied off-list that he had some local modifications (having /etc/icingaweb2) which somehow confused the installation process. After removing the directory, it's working fine. Lars pgpcSANEGyZ7v.pgp Description: PGP signature
Re: FreeBSD 11.0: Installation of icingaweb2
On Tue, Feb 7, 2017 at 11:19 PM, Kevin Obermanwrote: > On Tue, Feb 7, 2017 at 5:02 PM, Kevin Oberman wrote: > >> On Tue, Feb 7, 2017 at 10:41 AM, Lars Engels >> wrote: >> >>> On Mon, Feb 06, 2017 at 05:48:23PM +0100, Thorsten Baumeister wrote: >>> > Hi folks, >>> > last weekend I tried to install the port icingaweb2 on a patched >>> > FreeBSD 11.0 server. 'make' worked fine, but 'make install' failed. >>> > Has anyone seen / resolved this problem? >>> > >>> > ===> Checking if icingaweb2 already installed >>> > ===> Registering installation for icingaweb2-2.4.1 >>> > pkg-static: Unable to access file /usr/ports/net-mgmt/icingaweb2 >>> /work/stage/usr/local/share/examples/icingaweb2/apache/icingaweb2.conf: >>> No such file or directory >>> > pkg-static: Unable to access file /usr/ports/net-mgmt/icingaweb2 >>> /work/stage/usr/local/share/examples/icingaweb2/nginx/icingaweb2.conf: >>> No such file or directory >>> > *** Error code 74 >>> > >>> > Stop. >>> > make[1]: stopped in /usr/ports/net-mgmt/icingaweb2 >>> > *** Error code 1 >>> > >>> > Stop. >>> > make: stopped in /usr/ports/net-mgmt/icingaweb2 >>> > >>> Hi Thorsten, >>> >>> I am the maintainer of the icingaweb2 port. >>> Unfortunately, I cannot reproduce this. The poudriere run doesn't show >>> this behaviour. >>> >>> Do you have any local modifications? >>> >>> >>> Lars >>> >> >> Lars, >> >> The pkg-plist certainly contains >> "%%PORTEXAMPLESEXAMPLESDIR%%/nginx/icingaweb2.conf" >> but I don't find that file (or any reference to nginx) in either the >> distribution or in github. Unless some part of the build generates this >> file (which is possible, I guess), I can't figure out where it comes from. >> Only the apache example config is found. >> >> I'm not willing to install php56 right now. It will be a while before my >> chromium rebuild is done.So I can't do any real testing on it ATM. Maybe >> tonight or tomorrow. Then i can look through the logs and find out exactly >> where this file does (or does not) come from and whether the package >> installs OK for me. M.B. I don't use nginx PHP, though, so I won't be >> testing it, just building.. >> -- >> Kevin Oberman, Part time kid herder and retired Network Engineer >> E-mail: rkober...@gmail.com >> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 >> > > I did install the port and found that themising file SHOUL be te very last > things the stage operation does. > "(cd /usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2 > && ./bin/icingacli setup config webserver nginx --path=/icingaweb2 > --root=/usr/local/www/icingaweb2/public --config=/usr/local/etc/icingaweb2 > --file=/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share/examples/ > icingaweb2/nginx/icinga\ > web2.conf) > > So it is generated and for some reason it was not. I have not had time to > look at the internal make scripts to see if there are options that might > cause the file not to be generated. > > Thorsten, can you provide the final lines of the "stage"operation when you > build? The lines of interest are the four lines before "===> Checking if > icingaweb2 already installed"? This is where the file should be generated. > Should not post too late when tired. While rout lines would probably show something, twenty is more likely to provide useful information. If you can put up the full log somewhere, that would be even better. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: FreeBSD 11.0: Installation of icingaweb2
On Tue, Feb 7, 2017 at 5:02 PM, Kevin Obermanwrote: > On Tue, Feb 7, 2017 at 10:41 AM, Lars Engels wrote: > >> On Mon, Feb 06, 2017 at 05:48:23PM +0100, Thorsten Baumeister wrote: >> > Hi folks, >> > last weekend I tried to install the port icingaweb2 on a patched >> > FreeBSD 11.0 server. 'make' worked fine, but 'make install' failed. >> > Has anyone seen / resolved this problem? >> > >> > ===> Checking if icingaweb2 already installed >> > ===> Registering installation for icingaweb2-2.4.1 >> > pkg-static: Unable to access file /usr/ports/net-mgmt/icingaweb2 >> /work/stage/usr/local/share/examples/icingaweb2/apache/icingaweb2.conf: >> No such file or directory >> > pkg-static: Unable to access file /usr/ports/net-mgmt/icingaweb2 >> /work/stage/usr/local/share/examples/icingaweb2/nginx/icingaweb2.conf: >> No such file or directory >> > *** Error code 74 >> > >> > Stop. >> > make[1]: stopped in /usr/ports/net-mgmt/icingaweb2 >> > *** Error code 1 >> > >> > Stop. >> > make: stopped in /usr/ports/net-mgmt/icingaweb2 >> > >> Hi Thorsten, >> >> I am the maintainer of the icingaweb2 port. >> Unfortunately, I cannot reproduce this. The poudriere run doesn't show >> this behaviour. >> >> Do you have any local modifications? >> >> >> Lars >> > > Lars, > > The pkg-plist certainly contains > "%%PORTEXAMPLESEXAMPLESDIR%%/nginx/icingaweb2.conf" > but I don't find that file (or any reference to nginx) in either the > distribution or in github. Unless some part of the build generates this > file (which is possible, I guess), I can't figure out where it comes from. > Only the apache example config is found. > > I'm not willing to install php56 right now. It will be a while before my > chromium rebuild is done.So I can't do any real testing on it ATM. Maybe > tonight or tomorrow. Then i can look through the logs and find out exactly > where this file does (or does not) come from and whether the package > installs OK for me. M.B. I don't use nginx PHP, though, so I won't be > testing it, just building.. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkober...@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > I did install the port and found that themising file SHOUL be te very last things the stage operation does. "(cd /usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2 && ./bin/icingacli setup config webserver nginx --path=/icingaweb2 --root=/usr/local/www/icingaweb2/public --config=/usr/local/etc/icingaweb2 --file=/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share/examples/icingaweb2/nginx/icinga\ web2.conf) So it is generated and for some reason it was not. I have not had time to look at the internal make scripts to see if there are options that might cause the file not to be generated. Thorsten, can you provide the final lines of the "stage"operation when you build? The lines of interest are the four lines before "===> Checking if icingaweb2 already installed"? This is where the file should be generated. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: FreeBSD 11.0: Installation of icingaweb2
On Tue, Feb 7, 2017 at 10:41 AM, Lars Engelswrote: > On Mon, Feb 06, 2017 at 05:48:23PM +0100, Thorsten Baumeister wrote: > > Hi folks, > > last weekend I tried to install the port icingaweb2 on a patched > > FreeBSD 11.0 server. 'make' worked fine, but 'make install' failed. > > Has anyone seen / resolved this problem? > > > > ===> Checking if icingaweb2 already installed > > ===> Registering installation for icingaweb2-2.4.1 > > pkg-static: Unable to access file /usr/ports/net-mgmt/ > icingaweb2/work/stage/usr/local/share/examples/ > icingaweb2/apache/icingaweb2.conf: No such file or directory > > pkg-static: Unable to access file /usr/ports/net-mgmt/ > icingaweb2/work/stage/usr/local/share/examples/ > icingaweb2/nginx/icingaweb2.conf: No such file or directory > > *** Error code 74 > > > > Stop. > > make[1]: stopped in /usr/ports/net-mgmt/icingaweb2 > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/ports/net-mgmt/icingaweb2 > > > Hi Thorsten, > > I am the maintainer of the icingaweb2 port. > Unfortunately, I cannot reproduce this. The poudriere run doesn't show > this behaviour. > > Do you have any local modifications? > > > Lars > Lars, The pkg-plist certainly contains "%%PORTEXAMPLESEXAMPLESDIR%%/nginx/icingaweb2.conf" but I don't find that file (or any reference to nginx) in either the distribution or in github. Unless some part of the build generates this file (which is possible, I guess), I can't figure out where it comes from. Only the apache example config is found. I'm not willing to install php56 right now. It will be a while before my chromium rebuild is done.So I can't do any real testing on it ATM. Maybe tonight or tomorrow. Then i can look through the logs and find out exactly where this file does (or does not) come from and whether the package installs OK for me. M.B. I don't use nginx PHP, though, so I won't be testing it, just building.. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: FreeBSD 11.0: Installation of icingaweb2
On Mon, Feb 06, 2017 at 05:48:23PM +0100, Thorsten Baumeister wrote: > Hi folks, > last weekend I tried to install the port icingaweb2 on a patched > FreeBSD 11.0 server. 'make' worked fine, but 'make install' failed. > Has anyone seen / resolved this problem? > > ===> Checking if icingaweb2 already installed > ===> Registering installation for icingaweb2-2.4.1 > pkg-static: Unable to access file > /usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share/examples/icingaweb2/apache/icingaweb2.conf: > No such file or directory > pkg-static: Unable to access file > /usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share/examples/icingaweb2/nginx/icingaweb2.conf: > No such file or directory > *** Error code 74 > > Stop. > make[1]: stopped in /usr/ports/net-mgmt/icingaweb2 > *** Error code 1 > > Stop. > make: stopped in /usr/ports/net-mgmt/icingaweb2 > Hi Thorsten, I am the maintainer of the icingaweb2 port. Unfortunately, I cannot reproduce this. The poudriere run doesn't show this behaviour. Do you have any local modifications? Lars pgp9me9BiTtVV.pgp Description: PGP signature
Re: FreeBSD 11.0: Installation of icingaweb2
Thorsten, This is a ports issue so should go to the freebsd-ports mailing list (if at all) Your best option is to file a PR so that the maintainer of the port can update the plist file. You'll occassionally see this sort of package-build failure when the maintainer has missed a test package step. If you're shy, you could write to the maintainer directly but then others can't see that the issue has been raised (and presumably being raised/addressed). In the meantime - you could adjust the plist yourself to reflect the new reality. Though expedient this is not recommended. Filing a PR is highly recommended to benefit everyone and have a fix properly applied. Regard. ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: FreeBSD 11.0: Installation of icingaweb2
On Mon, Feb 6, 2017 at 8:48 AM, Thorsten Baumeister < thorsten_baumeis...@gmx.de> wrote: > Hi folks, > last weekend I tried to install the port icingaweb2 on a patched FreeBSD > 11.0 server. 'make' worked fine, but 'make install' failed. Has anyone seen > / resolved this problem? > > Thorsten > > ===> Checking if icingaweb2 already installed > ===> Registering installation for icingaweb2-2.4.1 > pkg-static: Unable to access file /usr/ports/net-mgmt/ > icingaweb2/work/stage/usr/local/share/example > s/icingaweb2/apache/icingaweb2.conf: > No such file or directory > pkg-static: Unable to access file /usr/ports/net-mgmt/ > icingaweb2/work/stage/usr/local/share/example > s/icingaweb2/nginx/icingaweb2.conf: No such file or directory > *** Error code 74 > > Stop. > make[1]: stopped in /usr/ports/net-mgmt/icingaweb2 > *** Error code 1 > > Stop. > make: stopped in /usr/ports/net-mgmt/icingaweb2 > - mobile Mail - > To be literal, it means that icingaweb2.conf is in the pkg-plist for the port but was not present in the staged port installation. This is often an error in the pkg-plist file of the port, but may be an error in the make or the stage sections of the port build. Since this is a sample configuration file, if you have an immediate need to get the new version installed, you can just delete it from pkg-plist. It does appear that the nginx directory in the distribution is not there. Only apache. Oddly, I don't find anything in the changelog or looking at old releases to indicate that it has existed. Looks like a quick edit to pkg-plist will fix it up for you. Have you reported this issue to the maintainer? ("make maintainer" will tell you the address.) -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
FreeBSD 11.0: Installation of icingaweb2
Hi folks, last weekend I tried to install the port icingaweb2 on a patched FreeBSD 11.0 server. 'make' worked fine, but 'make install' failed. Has anyone seen / resolved this problem? Thorsten ===> Checking if icingaweb2 already installed ===> Registering installation for icingaweb2-2.4.1 pkg-static: Unable to access file /usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share/example s/icingaweb2/apache/icingaweb2.conf: No such file or directory pkg-static: Unable to access file /usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share/example s/icingaweb2/nginx/icingaweb2.conf: No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/net-mgmt/icingaweb2 *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/icingaweb2 - mobile Mail - ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"