Bug 207194 - [Maintainer] [Patch] textproc/miller: Update to 3.4.0
Summary: [Maintainer] [Patch] textproc/miller: Update to 3.4.0
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL: https://github.com/johnkerl/miller/re...
Keywords: needs-patch, needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-02-14 21:42 UTC by sf(jungleboogie)
Modified: 2017-03-03 19:40 UTC (History)
4 users (show)

See Also:


Attachments
diff for update to 3.4.0 (277 bytes, patch)
2016-02-14 21:42 UTC, sf(jungleboogie)
no flags Details | Diff
Better diff (784 bytes, patch)
2016-02-21 00:01 UTC, sf(jungleboogie)
rakuco: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sf(jungleboogie) 2016-02-14 21:42:29 UTC
Created attachment 166999 [details]
diff for update to 3.4.0

Update to version 3.4.0. 


Release notes:
Primary features:

    JSON is now a supported format for input and output. Miller handles tabular data, and JSON supports arbitrarily deeply nested data structures, so if you want general JSON processing you should use jq. But if you have tabular data represented in JSON then Miller can now handle that for you. Please see
    the reference page and the FAQ.

    Reshape is a standard data-processing idiom, now available in Miller: http://johnkerl.org/miller/doc/reference.html#reshape

Full release notes available here: 
https://github.com/johnkerl/miller/releases/tag/v3.4.0
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2016-02-14 21:42:29 UTC
Maintainer informed via mail
Comment 2 sf(jungleboogie) 2016-02-17 00:51:55 UTC
Was this patch completed properly? Is there anything more I need to do to get this updated?
Comment 3 sf(jungleboogie) 2016-02-21 00:01:17 UTC
Created attachment 167232 [details]
Better diff
Comment 4 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-02-22 10:50:37 UTC
(In reply to sf(jungleboogie) from comment #2)
> Was this patch completed properly? Is there anything more I need to do to
> get this updated?

Setting the "maintainer-approval+" flag on a patch helps, as it then shows up in the "Ports: Maintainer Approved" saved search that some committers (myself include) look at.
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2016-02-22 11:00:03 UTC
Confirmation that the change passes QA (portlint, poudriere) is also highly recommended.

Having your Bugzilla account email match your port MAINTAINER lines is also quite handy for auto assignment (and auto-approval, when the new bugzilla automation feature lands)

Can you try updating your bugzilla account email to include the '+mlr' and confirm that works for you. If not, we'll report a bug upstream and get it fixed.
Comment 6 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-02-22 12:40:36 UTC
FYI, your patch contains DOS line endings for some reason.
Comment 7 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-02-22 12:46:57 UTC
And the update failed to build on 9.3-i386 with Poudriere:

/usr/bin/patch -d /wrkdirs/usr/ports/textproc/miller/work/miller-3.4.0 --forward --quiet -E -p0 --batch -V simple --suffix .orig < /usr/ports/textproc/miller/files/extra-patch-c_Makefile
1 out of 2 hunks failed--saving rejects to c/Makefile.rej
*** [post-configure] Error code 1

Applying patches in post-configure like that is weird on its own; I don't see why you don't patch the original build-system files instead of the generated files.
Comment 8 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-02-24 11:56:44 UTC
The port maintainer and I have exchanged a few emails.

I first had to investigate why those patches were needed at all, as there's no context in them, nor are there any comments about them in the Makefile. From what I can see, it works around some linking issue with clang (or HEAD) and the mlrp executable. It's not clear to me what part is at fault exactly, so I started a thread in the freebsd-toolchain mailing list:

https://lists.freebsd.org/pipermail/freebsd-toolchain/2016-February/001994.html
Comment 9 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-03-13 12:04:16 UTC
(In reply to Raphael Kubo da Costa from comment #8)
> The port maintainer and I have exchanged a few emails.
> 
> I first had to investigate why those patches were needed at all, as there's
> no context in them, nor are there any comments about them in the Makefile.
> From what I can see, it works around some linking issue with clang (or HEAD)
> and the mlrp executable. It's not clear to me what part is at fault exactly,
> so I started a thread in the freebsd-toolchain mailing list:
> 
> https://lists.freebsd.org/pipermail/freebsd-toolchain/2016-February/001994.
> html

Unfortunately this doesn't seem to be going anywhere.

sf(jungleboogie): how about patching c/Makefile.am and removing the mlrp target? It's not installed anyway.