From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 1 18:24:31 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99B09B20 for ; Mon, 1 Sep 2014 18:24:31 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 797EC1ED0 for ; Mon, 1 Sep 2014 18:24:31 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s81IOVXn093519 for ; Mon, 1 Sep 2014 18:24:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 193230] New: [patch] cad/iverilog plist issues if port is already installed Date: Mon, 01 Sep 2014 18:24:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: truckman@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 18:24:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193230 Bug ID: 193230 Summary: [patch] cad/iverilog plist issues if port is already installed Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: truckman@FreeBSD.org Created attachment 146634 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146634&action=edit patch to fix iverilog plist issue when reinstalling from source If the cad/verilog port (iverilog-0.9.7) is installed, then the port does not properly install all of its files in the stage directory when it is rebuilt. This can happen when the port is upgraded or reinstalled with portupgrade (and most likely portmaster as well). The problem is that the Makefiles in the source distribution compare the timestamps of the include files (and various other files) under PREFIX to the timestamps of the corresponding files in the source, and only install these files under STAGEDIR if the source files are newer. If the timestamps match, then the files are not installed under STAGEDIR and check-plist will detect that they are missing. This problem does not affect poudriere builds because it always starts without the port installed. To reproduce: Install the port, either with a pre-built package or by building and installing the port. cd cad/iverilog make stage make check-plist ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for directories owned by MTREEs ===> Checking for directories handled by dependencies ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: include/iverilog/acc_user.h Error: Missing: include/iverilog/ivl_target.h Error: Missing: include/iverilog/veriuser.h Error: Missing: include/iverilog/vpi_user.h Error: Missing: lib/ivl/include/constants.vams Error: Missing: lib/ivl/include/disciplines.vams Error: Missing: lib/ivl/null-s.conf Error: Missing: lib/ivl/null.conf Error: Missing: lib/ivl/stub-s.conf Error: Missing: lib/ivl/stub.conf Error: Missing: lib/ivl/system.sft Error: Missing: lib/ivl/v2005_math.sft Error: Missing: lib/ivl/va_math.sft Error: Missing: lib/ivl/vhdl-s.conf Error: Missing: lib/ivl/vhdl.conf ===> Error: Plist issues found. *** Error code 1 Stop in /usr/ports/cad/iverilog. -- You are receiving this mail because: You are the assignee for the bug.