From owner-freebsd-stable@freebsd.org Wed Feb 8 07:19:34 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 7FA64CD3C46 for ; Wed, 8 Feb 2017 07:19:34 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3547A1617 for ; Wed, 8 Feb 2017 07:19:34 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi0-x229.google.com with SMTP id s203so77290824oie.1 for ; Tue, 07 Feb 2017 23:19:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fhrdEq/oaw2YjRTOkzHcy04ifelKQAZ76MbFCqFtlB4=; b=ZyB8NjWsskLmpUDkaXovOzWq9Xa3eDmkk3iH4/Dp7Gn8T59djqrNoKQ3YR0LJf041P OdWOWBGOuU3srT8oE6vuq366bXc3Wj6AmH2Tii8PWWhd7Xjp8Y+FfpaNRf5jnGQJbbPL oYnVYFvVySkNWZENpeKic3ApCnQHdwg17zw/wXkzYXGsP5pl7uDhla9hZ7GvXeJWhqsC +mKOesQ6PFlpopIichObj5G90TuI2wCaHBgG+lgfilhUGz/CutC9e+c3A6hN/xjmUEgu aBYtdSlzvdQHeTWSDXUOFs5MDtzHWZe7oQau1ZBdA6H6I9CvlsRMAkDfxrS58Tz/DHee 2Z/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=fhrdEq/oaw2YjRTOkzHcy04ifelKQAZ76MbFCqFtlB4=; b=ORCHDq+KtAFKC5RMf72Q2NebTmIaujtXsK3ATZIUgw4xwtAbxeEV3uEYJ9bminvD79 ifTuriMIsCSR0LUtUxg4r3+Ss9Jce6iGo6MiulV7+1OpWsCbUjfqTUlJmY2E9dR0fxAA WyfN6je4u7yHFhiqo5fMM2TbHC6BoOTDiPHEAt7AoCuvSu2vlZhWeJoirQkdIEAWwaNm VRja4SCI6MIVRp/N6Mvwxw+jtDyE84o3i4r8arnBoajgANufoSxNADTMBUoERW4Lidl6 AwbW2UUiRhCYw3PtkomtybqlDp/V8Mg/B3v6fCsjknAFfaGJeVHrP55ExXT3g26icVw1 NsUA== X-Gm-Message-State: AMke39ktOq46M6mfsRaSiBvv0GrHpp3Om/wrhdzgK04Lt8jnoTbPznJEBLMvyZT9XqucMXpvW2pF7XvWWo2GKQ== X-Received: by 10.202.78.78 with SMTP id c75mr10432800oib.18.1486538373567; Tue, 07 Feb 2017 23:19:33 -0800 (PST) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.74.32.79 with HTTP; Tue, 7 Feb 2017 23:19:33 -0800 (PST) In-Reply-To: References: <2650EB83-6D80-4C75-9271-66AB81D0A08E@tba.home> <20170207184120.GT25286@e-new.0x20.net> From: Kevin Oberman Date: Tue, 7 Feb 2017 23:19:33 -0800 X-Google-Sender-Auth: l-IeqW6_2OQSjiFM5nzMNrOpgeg Message-ID: Subject: Re: FreeBSD 11.0: Installation of icingaweb2 To: Lars Engels Cc: Thorsten Baumeister , FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 07:19:34 -0000 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 "%%PORTEXAMPLES%%%%EXAMPLESDIR%%/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: rkoberman@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: rkoberman@gmail.com