Bug 275281 - net/megatools: update to 1.11.1.20230212
Summary: net/megatools: update to 1.11.1.20230212
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: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-23 14:52 UTC by Ale
Modified: 2023-12-01 07:57 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (max)
max: maintainer-feedback+


Attachments
patch to update the port to version 1.11.1.20230212 (3.20 KB, patch)
2023-11-23 14:52 UTC, Ale
no flags Details | Diff
net/megatools typescript (25.65 KB, text/plain)
2023-11-27 18:35 UTC, Ale
no flags Details
Full log for poudriere build in 13.2 amd64 (28.79 KB, text/plain)
2023-11-28 08:46 UTC, Fernando Apesteguía
no flags Details
new diff (3.20 KB, text/plain)
2023-11-28 13:43 UTC, Ale
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ale 2023-11-23 14:52:50 UTC
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.
Comment 1 Player701 2023-11-25 05:46:13 UTC
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.
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2023-11-27 08:15:56 UTC
^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!
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2023-11-27 10:44:56 UTC
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
Comment 4 Ale 2023-11-27 18:35:04 UTC
Created attachment 246610 [details]
net/megatools typescript
Comment 5 Ale 2023-11-27 18:39:07 UTC
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).
Comment 6 Ale 2023-11-27 18:54:31 UTC
(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
Comment 7 Ale 2023-11-27 21:29:05 UTC
(In reply to Fernando Apesteguía from comment #3)
Can you share the output of your build? I'll try to figure out.
Comment 8 Fernando Apesteguía freebsd_committer freebsd_triage 2023-11-28 08:45:36 UTC
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.
Comment 9 Fernando Apesteguía freebsd_committer freebsd_triage 2023-11-28 08:46:24 UTC
Created attachment 246632 [details]
Full log for poudriere build in 13.2 amd64
Comment 10 Ale 2023-11-28 13:43:00 UTC
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...
Comment 11 Fernando Apesteguía freebsd_committer freebsd_triage 2023-11-29 07:52:29 UTC
Awaiting maintainer approval
Comment 12 Max Kostikov 2023-11-29 12:16:41 UTC
Guys, sorry for the delay.
Please feel free to commit it. And thanks for your time!
Comment 13 commit-hook freebsd_committer freebsd_triage 2023-11-30 11:52:56 UTC
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(-)
Comment 14 Fernando Apesteguía freebsd_committer freebsd_triage 2023-12-01 07:57:05 UTC
Committed,

Thanks!