Bug 247021 - [new port] databases/mongodb42-tools
Summary: [new port] databases/mongodb42-tools
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Matthias Fechner
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2020-06-05 21:32 UTC by Ronald Klop
Modified: 2020-06-10 13:26 UTC (History)
1 user (show)

See Also:


Attachments
diff against mongodb40-tools (svn copy) (2.04 KB, patch)
2020-06-05 21:32 UTC, Ronald Klop
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Klop 2020-06-05 21:32:01 UTC
Created attachment 215282 [details]
diff against mongodb40-tools (svn copy)

compile and run tested on aarch64
Comment 1 Matthias Fechner freebsd_committer 2020-06-10 12:59:55 UTC
test building it.
Comment 2 Matthias Fechner freebsd_committer 2020-06-10 13:06:42 UTC
The patch target fails:
=======================<phase: patch          >============================
===>  Patching for mongodb42-tools-4.2.7
===>  Applying FreeBSD patches for mongodb42-tools-4.2.7 from /usr/ports/databases/mongodb42-tools/files
No file to patch.  Skipping...
3 out of 3 hunks ignored--saving rejects to common/util/file.go.rej
Can't create common/util/file.go.rej, output is in /tmp/patchregbqCnNUWW: No such file or directory
===>  FAILED Applying FreeBSD patch-common_util_file.go
===> FAILED to apply cleanly FreeBSD patch(es)  patch-common_util_file.go
*** Error code 1

Full log is here:
https://pkg.fechner.net/data/121amd64-gitlab/2020-06-10_15h04m27s/logs/errors/mongodb42-tools-4.2.7.log
Comment 3 Ronald Klop 2020-06-10 13:14:54 UTC
(In reply to Matthias Fechner from comment #2)
Mmmm.
svn cp mongodb40-tools mongodb42-tools
svn rm mongodb42-tools/files/patch-common_util_file.go
svn diff mongodb42-tools -> this does not take the removal of that file into account. I forgot to mention that.

This is the svn status at my computer:
A  +    mongodb42-tools
M  +    mongodb42-tools/Makefile
M  +    mongodb42-tools/distinfo
D  +    mongodb42-tools/files/patch-common_util_file.go
Comment 4 commit-hook freebsd_committer 2020-06-10 13:26:23 UTC
A commit references this bug:

Author: mfechner
Date: Wed Jun 10 13:25:34 UTC 2020
New revision: 538395
URL: https://svnweb.freebsd.org/changeset/ports/538395

Log:
  New Port: databases/mongodb42-tools

  Update mongo tools to version 4.2 which is required to manage mongodb version 4.2.

  PR:		247021
  Submitted by:	Ronald Klop <ronald-lists@klop.ws>
  Reviewed by:	mfechner
  Relnotes:	https://docs.mongodb.com/manual/release-notes/4.2/

Changes:
  head/databases/Makefile
  head/databases/mongodb36-tools/Makefile
  head/databases/mongodb40-tools/Makefile
  head/databases/mongodb42-tools/
  head/databases/mongodb42-tools/Makefile
  head/databases/mongodb42-tools/distinfo
  head/databases/mongodb42-tools/files/patch-common_util_file.go
Comment 5 Matthias Fechner freebsd_committer 2020-06-10 13:26:45 UTC
Thanks a lot!