From owner-freebsd-stable@freebsd.org Wed Feb 8 18:21:33 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FEE5CD6388 for ; Wed, 8 Feb 2017 18:21:33 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "0x20.net", Issuer "StartCom Class 1 DV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 231B435A for ; Wed, 8 Feb 2017 18:21:32 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 119306E00A4; Wed, 8 Feb 2017 19:21:30 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id v18ILTIH095892; Wed, 8 Feb 2017 19:21:29 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id v18ILTxD095789; Wed, 8 Feb 2017 19:21:29 +0100 (CET) (envelope-from lars) Date: Wed, 8 Feb 2017 19:21:29 +0100 From: Lars Engels To: Kevin Oberman Cc: Lars Engels , Thorsten Baumeister , FreeBSD-STABLE Mailing List Subject: Re: FreeBSD 11.0: Installation of icingaweb2 Message-ID: <20170208182129.GU25286@e-new.0x20.net> References: <2650EB83-6D80-4C75-9271-66AB81D0A08E@tba.home> <20170207184120.GT25286@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nfnKjHknX58/oBIK" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p35 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 18:21:33 -0000 --nfnKjHknX58/oBIK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 08, 2017 at 09:07:56AM -0800, Kevin Oberman wrote: > On Tue, Feb 7, 2017 at 11:19 PM, Kevin Oberman wrot= e: >=20 > > On Tue, Feb 7, 2017 at 5:02 PM, Kevin Oberman wro= te: > > > >> 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? > >>> > > >>> > =3D=3D=3D> Checking if icingaweb2 already installed > >>> > =3D=3D=3D> 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.con= f: > >>> 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 "%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ngin= x/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 f= rom. > >> 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. May= be > >> tonight or tomorrow. Then i can look through the logs and find out exa= ctly > >> 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: rkoberman@gmail.com > >> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > >> > > > > I did install the port and found that themising file SHOUL be te very l= ast > > things the stage operation does. > > "(cd /usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2 > > && ./bin/icingacli setup config webserver nginx --path=3D/icingaweb2 > > --root=3D/usr/local/www/icingaweb2/public --config=3D/usr/local/etc/ici= ngaweb2 > > --file=3D/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share/exam= ples/ > > 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 "=3D=3D=3D> Che= cking if > > icingaweb2 already installed"? This is where the file should be generat= ed. > > >=20 > 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 --nfnKjHknX58/oBIK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJYm2GpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tUuAIAMlOIEpzBvKh/BkY+fQxtKrI otSaCJmSHWPE2Lh5/REPEjXhk5VPCWrsA4Mp1OO3esulXIC+f+gd158dDSabtSsU nv5mnttu/Irtj4hlxQ6+Mc1l/irWzQ7upPyAfSVMgTlsBTUhqXV2mEXvQdsAClfS Q+k/r31t2Fo1jKvz3PL40qoOxMmba+DoxCwYpyfTr7vosR40DAWSdic1ImrPGTIe bQhvkRW6akAIUJTMn9g4WMhwVXPvjeFOKR6MBMJlWCTto6kapbdnsafkRFK3VbVh u1YzbtKp1tc4Yg0mjb5caV+UIBAz1/9Lgr5rHGwqH8vVQIQFgyGKpvthXCkq3bk= =5Jho -----END PGP SIGNATURE----- --nfnKjHknX58/oBIK--