Created attachment 246515 [details] patch to update the port to version 1.11.1.20230212 The version in ports isn't working for me anymore; I'm getting errors like this: ERROR: Can't login to mega.nz: API call 'us' failed: Server returned error EEXPIRED Updating to the last version make it working again.
Just wanted to say that I sent an email regarding this issue to the port's maintainer a few weeks ago, but haven't received any reply so far.
^Triage: Simplifying title ^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field. Thanks!
There are pkg-plist issues. Could you have a look? ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: man/man1/megatools-copy.1.gz Error: Missing: man/man1/megatools-df.1.gz Error: Missing: man/man1/megatools-dl.1.gz Error: Missing: man/man1/megatools-export.1.gz Error: Missing: man/man1/megatools-get.1.gz Error: Missing: man/man1/megatools-ls.1.gz Error: Missing: man/man1/megatools-mkdir.1.gz Error: Missing: man/man1/megatools-put.1.gz Error: Missing: man/man1/megatools-reg.1.gz Error: Missing: man/man1/megatools-rm.1.gz Error: Missing: man/man1/megatools-test.1.gz Error: Missing: man/man1/megatools.1.gz Error: Missing: man/man5/megarc.5.gz ===> Error: Plist issues found. *** Error code 1
Created attachment 246610 [details] net/megatools typescript
I've attached a typescript with make showconfig, make stage, make check-plist and ls -la work/stage/usr/local/man/man1. As you can see manpages are built for me using MANPAGES. Could it be caused by the fact that it's auto-picking some undeclared dependencies for building ports? (I'm not using poudriere).
(In reply to Fernando Apesteguía from comment #2) I can't find a changelog or release notes URL, just the NEWS file here: https://megatools.megous.com/builds/NEWS
(In reply to Fernando Apesteguía from comment #3) Can you share the output of your build? I'll try to figure out.
The man pages are nowhere in the staging directory. That means they are not installed, or at least they are not installed where they are supposed to be. nobody@13_2amd64-default:/wrkdirs/usr/ports/net/megatools/work/stage % ls usr/local/man/man1/ nobody@13_2amd64-default:/wrkdirs/usr/ports/net/megatools/work % find . -name 'megatools-*' ./stage/usr/local/share/licenses/megatools-1.11.1.20230212 ./megatools-1.11.1.20230212 ./megatools-1.11.1.20230212/docs/megatools-reg.txt ./megatools-1.11.1.20230212/docs/megatools-dl.txt ./megatools-1.11.1.20230212/docs/megatools-df.txt ./megatools-1.11.1.20230212/docs/megatools-ls.txt ./megatools-1.11.1.20230212/docs/megatools-put.txt ./megatools-1.11.1.20230212/docs/megatools-copy.txt ./megatools-1.11.1.20230212/docs/megatools-get.txt ./megatools-1.11.1.20230212/docs/megatools-export.txt ./megatools-1.11.1.20230212/docs/megatools-rm.txt ./megatools-1.11.1.20230212/docs/megatools-mkdir.txt ./megatools-1.11.1.20230212/docs/megatools-test.txt nobody@13_2amd64-default:/wrkdirs/usr/ports/net/megatools/work % Building with poudriere is the way to ensure the port builds in a clean environment, otherwise the process is polluted with local changes and then it is more difficult to debug.
Created attachment 246632 [details] Full log for poudriere build in 13.2 amd64
Created attachment 246638 [details] new diff ... Program asciidoc found: NO Program db2x_xsltproc found: NO Program db2x_manxml found: NO ... That should be caused by the mispelled option in build depends. There's a new patch. Thanks for your patience...
Awaiting maintainer approval
Guys, sorry for the delay. Please feel free to commit it. And thanks for your time!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=133c39b3bb5dff64bd390439b6f64168eb6b1a22 commit 133c39b3bb5dff64bd390439b6f64168eb6b1a22 Author: Ale <discipline@tiscali.it> AuthorDate: 2023-11-28 16:34:42 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-11-30 11:49:23 +0000 net/megatools: update port to 1.11.1.20230212 Current port does not work: ERROR: Can't login to mega.nz: API call 'us' failed: Server returned error EEXPIRED PR: 275281 Reported by: discipline@tiscali.it Approved by: max@kostikov.co (maintainer) net/megatools/Makefile | 22 +++++++++++----------- net/megatools/distinfo | 6 +++--- net/megatools/pkg-plist | 47 +++++++++++++++++++++++++---------------------- 3 files changed, 39 insertions(+), 36 deletions(-)
Committed, Thanks!