From owner-freebsd-ports-bugs@freebsd.org Fri May 7 14:28:38 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B534762FD4B for ; Fri, 7 May 2021 14:28:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FcCVZ4ZVWz4gBr for ; Fri, 7 May 2021 14:28:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9D07562FF2D; Fri, 7 May 2021 14:28:38 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9CD3762FD4A for ; Fri, 7 May 2021 14:28:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FcCVZ3vNHz4gVn for ; Fri, 7 May 2021 14:28:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 78F114C7A for ; Fri, 7 May 2021 14:28:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 147EScp9041273 for ; Fri, 7 May 2021 14:28:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 147ESctg041272 for ports-bugs@FreeBSD.org; Fri, 7 May 2021 14:28:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 255683] math/maxima fails to install due to strange staging error Date: Fri, 07 May 2021 14:28:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: russo@bogodyn.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org 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 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2021 14:28:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255683 Bug ID: 255683 Summary: math/maxima fails to install due to strange staging error Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: russo@bogodyn.org In trying to update maxima from 5.44.0_11 to 5.44.0_12. The port builds fi= ne, but I find a failure at the install stage: =3D=3D=3D> Registering installation for maxima-5.44.0_12 pkg-static: Unable to access file /usr/ports/math/maxima/work/stage/usr/local/lib/maxima/5.44.0/binary-ecl/ma= xima:No such file or directory pkg-static: Unable to access file /usr/ports/math/maxima/work/stage/usr/local/libexec/maxima/5.44.0/mgnuplot:= No such file or directory *** Error code 1 As it turns out, the staged files are NOT in a "5.44.0" directory in the staging directory where they're expected, they're instead in a directory th= at looks unrelated to the actual PORTVERSION in the Makefile: # ls work/stage/usr/local/lib/maxima 10_eol_85992_gb8aceeb60194 # ls work/stage/usr/local/libexec/maxima/ 10_eol_85992_gb8aceeb60194 > grep PORTVERSION Makefile=20 PORTVERSION=3D 5.44.0 MASTER_SITES=3D SF/maxima/Maxima-source/${PORTVERSION}-source PLIST_SUB+=3D PORTVERSION=3D${PORTVERSION} These oddly named directories in the staging area do contain exactly the fi= les that should be getting installed, but the name of the directory they're in = is not "5.44.0" so the install fails. This is off of an up-to-date git clone of ports (from https://git.freebsd.org/ports.git). The most recent git commit in my maxima directory is: commit 442edd8bc1e4d7c336d7573bb977bae7419832b3 Author: Kirill Ponomarev Date: Thu Apr 29 19:51:54 2021 +0200 Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade. (I should note that my maxima is built with ECL not SBCL, so I didn't really need this update) The most recent commit in my ports tree is: commit b8aceeb60194bcd8f8caf6789193c46271d3480e (HEAD -> main, origin/main, origin/HEAD) Author: Dimitry Andric Date: Thu May 6 23:29:24 2021 +0200 I note that there is already a bug 247955 open about maxima packaging probl= ems, but that one seems unrelated to this. It appears that for whatever reason,= the incorrect portversion is being used to create the staging directories, but I don't even know where to look for how that could be going wrong or where it= 's getting this "10_eol_85992_gb8aceeb60194" --- the only place that string appears is in the work directory, and it's all over the place.=20=20 I've cleaned out the port directory and done a "make patch" and grepped the work directory to see if somehow this strange string gets created early in = the process, but it's not there this early. The string is all over the place at the end of a "make", though: # grep -r '10_eol' * | head work/maxima-5.44.0/interfaces/xmaxima/Tkmaxima/Header.tcl:# version 10_eol_85992_gb8aceeb60194 was used. work/maxima-5.44.0/interfaces/xmaxima/msgs/Makefile:VERSION =3D 10_eol_85992_gb8aceeb60194 work/maxima-5.44.0/interfaces/xmaxima/msgs/Makefile:verpkglibdir =3D $(pkglibdir)/10_eol_85992_gb8aceeb60194 work/maxima-5.44.0/interfaces/xmaxima/msgs/Makefile:verpkglibexecdir =3D $(libexecdir)/maxima/10_eol_85992_gb8aceeb60194 work/maxima-5.44.0/interfaces/xmaxima/msgs/Makefile:verpkgdatadir =3D $(pkgdatadir)/10_eol_85992_gb8aceeb60194 ...=20 (it appears over 2700 times) --=20 You are receiving this mail because: You are the assignee for the bug.=