Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 May 2021 14:28:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255683] math/maxima fails to install due to strange staging error
Message-ID:  <bug-255683-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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 <krion@FreeBSD.org>
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 <dim@FreeBSD.org>
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255683-7788>