Bug 267443 - sysutils/mprocs: Update to 0.6.4
Summary: sysutils/mprocs: Update to 0.6.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL: https://github.com/pvolok/mprocs/rele...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-30 20:48 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2022-11-02 13:24 UTC (History)
1 user (show)

See Also:


Attachments
mprocs-0.6.4.patch (9.56 KB, patch)
2022-10-30 20:48 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff
mprocs-0.6.4.patch (9.78 KB, patch)
2022-11-02 07:48 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2022-10-30 20:48:11 UTC
Created attachment 237729 [details]
mprocs-0.6.4.patch

Description:

* Add USES=gmake
* Switch to CARGO_INSTALL_PATH

ChangeLog: https://github.com/pvolok/mprocs/releases/tag/v0.6.4

* Add win32 key encoding
* Experimental lua support
* Handle wide chars at the end of line

QA:

* portlint: OK (looks fine.)
* testport: OK (poudriere: 13.1-RELEASE, amd64)
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2022-10-31 22:54:42 UTC
Hello,

- remove USE_GCC, it builds and runs with clang
- remove CARGO_CARGOLOCK, it's implicit

Build fails on 12.3-RELEASE-p7 i386 (same with gcc):

---
[mlua 0.8.3] make[1]: stopped in /wrkdirs/usr/ports/sysutils/mprocs/work/target/i686-unknown-freebsd/release/build/mlua-05854c1fa34c93f2/out/luajit-build/build/src
error: failed to run custom build command for `mlua v0.8.3`
---

I suspect it comes from 0.6.4 "Experimental lua support".

Could you check it out with upstream before we put a BROKEN on i386?

Cheers
Comment 2 Jesús Daniel Colmenares Oviedo 2022-11-02 07:48:28 UTC
Created attachment 237807 [details]
mprocs-0.6.4.patch

Description:

* Add USES=gmake
* Switch to CARGO_INSTALL_PATH
* Add patch to compile luajit-src crate on i386

ChangeLog: https://github.com/pvolok/mprocs/releases/tag/v0.6.4

* Add win32 key encoding
* Experimental lua support
* Handle wide chars at the end of line

QA:

* portlint: OK (looks fine.)
* testport: OK (poudriere: 13.1-RELEASE/amd64, 14.0-CURRENT/i386)
Comment 3 Nuno Teixeira freebsd_committer freebsd_triage 2022-11-02 11:51:57 UTC
(In reply to Jesús Daniel Colmenares Oviedo from comment #2)

Hello!

Thanks for the luajit fix, I remember now that about a year ago I have a similar problem with a crate on old 12.x make fixed same way.

Cheers
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-11-02 13:23:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d013e7ebeb770698ae0a569e5c1faa71e97dd46

commit 0d013e7ebeb770698ae0a569e5c1faa71e97dd46
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2022-11-02 13:20:15 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-11-02 13:23:08 +0000

    sysutils/mprocs: Update to 0.6.4

     - Add USES=gmake
     - Switch to CARGO_INSTALL_PATH
     - Add patch to compile luajit-src crate on i386

    ChangeLog:      https://github.com/pvolok/mprocs/releases/tag/v0.6.4
    PR:             267443

 sysutils/mprocs/Makefile        | 16 ++++++++--------
 sysutils/mprocs/Makefile.crates | 11 +++++++++--
 sysutils/mprocs/distinfo        | 28 +++++++++++++++++++++-------
 3 files changed, 38 insertions(+), 17 deletions(-)
Comment 5 Nuno Teixeira freebsd_committer freebsd_triage 2022-11-02 13:24:23 UTC
Committed, thanks!