Bug 228814 - [maintainer-update] lang/opencoarrays update to 2.1.0
Summary: [maintainer-update] lang/opencoarrays update to 2.1.0
Status: Closed Overcome By Events
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: 2018-06-07 19:33 UTC by Anton Shterenlikht
Modified: 2018-08-20 02:34 UTC (History)
1 user (show)

See Also:


Attachments
svn diff (1.13 KB, patch)
2018-06-07 19:33 UTC, Anton Shterenlikht
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Shterenlikht 2018-06-07 19:33:38 UTC
Created attachment 194072 [details]
svn diff

does not build anymore with clang.
Submitted a PR upstream:
https://github.com/sourceryinstitute/OpenCoarrays/issues/554

So added USE_GCC.

Otherwise, seems ok. One test fails, but upstream will take ages to debug it,
so submitting the update now.
Comment 1 Fernando Apesteguía freebsd_committer 2018-06-10 15:45:28 UTC
Take
Comment 2 Fernando Apesteguía freebsd_committer 2018-06-10 16:01:49 UTC
Hi Anton,

Thank you for the update submission. I checked that opencoarrays 2.1.0 does not build even with clang60. However I'm a bit concerned about the tests. If I do make test:

===>  Testing for opencoarrays-2.1.0
(cd /usr/home/fernape/FreeBSD-repos/ports/head/lang/opencoarrays/work/.build && ctest)
Test project /usr/home/fernape/FreeBSD-repos/ports/head/lang/opencoarrays/work/.build
      Start  1: initialize_mpi
 1/51 Test  #1: initialize_mpi .......................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.02 sec
      Start  2: register
 2/51 Test  #2: register .............................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.02 sec
      Start  3: register_vector
 3/51 Test  #3: register_vector ......................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.02 sec
      Start  4: register_alloc_vector
 4/51 Test  #4: register_alloc_vector ................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.02 sec
      Start  5: allocate_as_barrier
 5/51 Test  #5: allocate_as_barrier ..................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.02 sec
      Start  6: allocate_as_barrier_proc
 6/51 Test  #6: allocate_as_barrier_proc .............***Failed  Required regular expression not found.Regex=[Test passed.
]  0.02 sec
      Start  7: get_array
 7/51 Test  #7: get_array ............................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.02 sec
      Start  8: get_self
 8/51 Test  #8: get_self .............................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.02 sec
      Start  9: get_convert_nums
 9/51 Test  #9: get_convert_nums .....................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.02 sec
      Start 10: get_convert_char_array
10/51 Test #10: get_convert_char_array ...............***Failed  Required regular expression not found.Regex=[Test passed.
]  0.02 sec
      Start 11: get_with_offset_1d
11/51 Test #11: get_with_offset_1d ...................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 12: whole_get_array
12/51 Test #12: whole_get_array ......................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 13: strided_get
13/51 Test #13: strided_get ..........................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 14: send_array
14/51 Test #14: send_array ...........................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 15: convert-before-put
15/51 Test #15: convert-before-put ...................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 16: send_with_vector_index
16/51 Test #16: send_with_vector_index ...............***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 17: strided_sendget
17/51 Test #17: strided_sendget ......................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 18: get_with_vector_index
18/51 Test #18: get_with_vector_index ................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 19: co_sum
19/51 Test #19: co_sum ...............................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 20: co_broadcast
20/51 Test #20: co_broadcast .........................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 21: co_min
21/51 Test #21: co_min ...............................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 22: co_max
22/51 Test #22: co_max ...............................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 23: syncall
23/51 Test #23: syncall ..............................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 24: syncimages
24/51 Test #24: syncimages ...........................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 25: syncimages2
25/51 Test #25: syncimages2 ..........................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 26: duplicate_syncimages
26/51 Test #26: duplicate_syncimages .................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 27: co_reduce
27/51 Test #27: co_reduce ............................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 28: co_reduce_res_im
28/51 Test #28: co_reduce_res_im .....................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 29: co_reduce_string
29/51 Test #29: co_reduce_string .....................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 30: syncimages_status
30/51 Test #30: syncimages_status ....................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 31: sync_ring_abort_np3
31/51 Test #31: sync_ring_abort_np3 ..................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 32: sync_ring_abort_np7
32/51 Test #32: sync_ring_abort_np7 ..................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 33: simpleatomics
33/51 Test #33: simpleatomics ........................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 34: hello_multiverse
34/51 Test #34: hello_multiverse .....................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 35: coarray_burgers_pde
35/51 Test #35: coarray_burgers_pde ..................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 36: co_heat
36/51 Test #36: co_heat ..............................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 37: asynchronous_hello_world
37/51 Test #37: asynchronous_hello_world .............***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 38: put-allocatable-coarray-comp
38/51 Test #38: put-allocatable-coarray-comp .........***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 39: get-put-allocatable-comp
39/51 Test #39: get-put-allocatable-comp .............***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 40: allocatable_p2p_event_post
40/51 Test #40: allocatable_p2p_event_post ...........***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 41: static_event_post_issue_293
41/51 Test #41: static_event_post_issue_293 ..........***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 42: co_reduce-factorial
42/51 Test #42: co_reduce-factorial ..................***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 43: co_reduce-factorial-int8
43/51 Test #43: co_reduce-factorial-int8 .............***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 44: co_reduce-factorial-int64
44/51 Test #44: co_reduce-factorial-int64 ............***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 45: issue-493-coindex-slice
45/51 Test #45: issue-493-coindex-slice ..............***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 46: issue-488-multi-dim-cobounds-true
46/51 Test #46: issue-488-multi-dim-cobounds-true ....***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 47: issue-488-multi-dim-cobounds-false
47/51 Test #47: issue-488-multi-dim-cobounds-false ...***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 48: issue-503-multidim-array-broadcast
48/51 Test #48: issue-503-multidim-array-broadcast ...***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 49: issue-503-non-contig-red-ndarray
49/51 Test #49: issue-503-non-contig-red-ndarray .....***Failed  Required regular expression not found.Regex=[Test passed.
]  0.01 sec
      Start 50: test-installation-scripts.sh
50/51 Test #50: test-installation-scripts.sh .........   Passed    0.18 sec
      Start 51: ISO_Fortran_binding_tests
51/51 Test #51: ISO_Fortran_binding_tests ............   Passed    0.00 sec

4% tests passed, 49 tests failed out of 51

Total Test time (real) =   0.79 sec

The following tests FAILED:
          1 - initialize_mpi (Failed)
          2 - register (Failed)
          3 - register_vector (Failed)
          4 - register_alloc_vector (Failed)
          5 - allocate_as_barrier (Failed)
          6 - allocate_as_barrier_proc (Failed)
          7 - get_array (Failed)
          8 - get_self (Failed)
          9 - get_convert_nums (Failed)
         10 - get_convert_char_array (Failed)
         11 - get_with_offset_1d (Failed)
         12 - whole_get_array (Failed)
         13 - strided_get (Failed)
         14 - send_array (Failed)
         15 - convert-before-put (Failed)
         16 - send_with_vector_index (Failed)
         17 - strided_sendget (Failed)
         18 - get_with_vector_index (Failed)
         19 - co_sum (Failed)
         20 - co_broadcast (Failed)
         21 - co_min (Failed)
         22 - co_max (Failed)
         23 - syncall (Failed)
         24 - syncimages (Failed)
         25 - syncimages2 (Failed)
         26 - duplicate_syncimages (Failed)
         27 - co_reduce (Failed)
         28 - co_reduce_res_im (Failed)
         29 - co_reduce_string (Failed)
         30 - syncimages_status (Failed)
         31 - sync_ring_abort_np3 (Failed)
         32 - sync_ring_abort_np7 (Failed)
         33 - simpleatomics (Failed)
         34 - hello_multiverse (Failed)
         35 - coarray_burgers_pde (Failed)
         36 - co_heat (Failed)
         37 - asynchronous_hello_world (Failed)
         38 - put-allocatable-coarray-comp (Failed)
         39 - get-put-allocatable-comp (Failed)
         40 - allocatable_p2p_event_post (Failed)
         41 - static_event_post_issue_293 (Failed)
         42 - co_reduce-factorial (Failed)
         43 - co_reduce-factorial-int8 (Failed)
         44 - co_reduce-factorial-int64 (Failed)
         45 - issue-493-coindex-slice (Failed)
         46 - issue-488-multi-dim-cobounds-true (Failed)
         47 - issue-488-multi-dim-cobounds-false (Failed)
         48 - issue-503-multidim-array-broadcast (Failed)
         49 - issue-503-non-contig-red-ndarray (Failed)
Errors while running CTest
*** Error code 8

Stop.

So a lot of tests seem to fail. I tested this in 11.1 amd64.
Comment 3 Anton Shterenlikht 2018-06-11 05:36:02 UTC
Please see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226722

I'd appreciate any help.

What you see can also happen if gethostbyname doesn't return anything useful.

But I think the best option is to forbid running tests as a
privileged user.
Comment 4 Anton Shterenlikht 2018-08-17 09:58:51 UTC
Obsoleted by
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230689
update to 2.2.0