RTEMS / Packages / Network Services

Go to Issues or Merge Requests


Issues

4 - Build failure of NTP

Id

4

State

closed

Type

ISSUE

Author

Ning Yang

Assignee(s)

Chris Johns

Closed by

Ning Yang

Created

2024-11-07T06:00:40.145Z

Closed

2024-11-13T09:25:06.361Z

Updated

2024-11-13T09:25:06.373Z

Milestone

6.1

Labels

network, pkg::network-services

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/4

Merges

0

./waf configure --prefix=$HOME/RTEMS_devel/rtems/6 --rtems-bsps aarch64/zynqmp_qemu
./waf

!`image <https://gitlab.rtems.org/-/project/uploads/5e70942a9ed81de58dc22d9639062871/image.png>`_

Author: Ning Yang

2024-11-07T06:01:18.919Z

changed title from build {-error.-} to build {+failed+}

Author: Chris Johns

2024-11-07T23:21:46.404Z

assigned to @chris

Author: Chris Johns

2024-11-13T09:25:04.463Z

It looks like POSIX is not enabled in the RTEMS build. The configure here should check for POSIX being enabled and fail with an error.

Author: Ning Yang

2024-11-13T09:25:04.432Z

It works. Thanks!

Author: Chris Johns

2024-11-07T23:24:16.939Z

changed title from {-b-}uild fail{-ed-} to {+B+}uild fail{+ure of NTP+}

3 - Net services failing to build

Id

3

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2024-10-24T06:54:37.622Z

Closed

2024-10-28T21:01:47.247Z

Updated

2024-10-28T21:01:47.259Z

Milestone

6.1

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/3

Merges

0

The build is failing with:

+ ./waf distclean configure '--prefix=/opt/work/xia/rtems/6' '--rtems-tools=/opt/work/chris/rtems/deploy/rtems-deployment.git/build/tmp/sb-500-staging' '--rtems=/opt/work/chris/rtems/deploy/rtems-deployment.git/build/tmp/sb-500-staging' '--rtems-bsp=aarch64/k26'
Traceback (most recent call last):
File "/opt/work/chris/rtems/deploy/rtems-deployment.git/build/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de-x86_64-freebsd14.1-1/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de/.waf3-2.1.2-5b48554f897113218781486acfe4d78e/waflib/Scripting.py", line 122, in waf_entry_point
run_commands()
File "/opt/work/chris/rtems/deploy/rtems-deployment.git/build/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de-x86_64-freebsd14.1-1/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de/.waf3-2.1.2-5b48554f897113218781486acfe4d78e/waflib/Scripting.py", line 181, in run_commands
parse_options()
File "/opt/work/chris/rtems/deploy/rtems-deployment.git/build/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de-x86_64-freebsd14.1-1/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de/.waf3-2.1.2-5b48554f897113218781486acfe4d78e/waflib/Scripting.py", line 161, in parse_options
ctx.execute()
File "/opt/work/chris/rtems/deploy/rtems-deployment.git/build/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de-x86_64-freebsd14.1-1/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de/.waf3-2.1.2-5b48554f897113218781486acfe4d78e/waflib/Options.py", line 202, in execute
super(OptionsContext,self).execute()
File "/opt/work/chris/rtems/deploy/rtems-deployment.git/build/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de-x86_64-freebsd14.1-1/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de/.waf3-2.1.2-5b48554f897113218781486acfe4d78e/waflib/Context.py", line 92, in execute
self.recurse([os.path.dirname(g_module.root_path)])
File "/opt/work/chris/rtems/deploy/rtems-deployment.git/build/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de-x86_64-freebsd14.1-1/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de/.waf3-2.1.2-5b48554f897113218781486acfe4d78e/waflib/Context.py", line 133, in recurse
user_function(self)
File "/opt/work/chris/rtems/deploy/rtems-deployment.git/build/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de-x86_64-freebsd14.1-1/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de/wscript", line 62, in options
rtems.options(opt)
File "/opt/work/chris/rtems/deploy/rtems-deployment.git/build/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de-x86_64-freebsd14.1-1/rtems-net-services-419e923cf5414e8b5655c5906a71bdcf938c43de/rtems_waf/rtems.py", line 46, in options
copts = opt.option_groups['configure options']
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^

Author: Chris Johns

2024-10-24T06:54:37.998Z

assigned to @chris

Author: Chris Johns

2024-10-24T20:52:22.184Z

This is fixed in 419e923cf5414e8b5655c5906a71bdcf938c43de yet I am seeing a build issue with RTEMS Deployment which implies the RSB packages are not updated. I am testing the merge request rtems/tools/rtems-source-builder!71.

The RSB update patch has:

-%define rtems_net_services_version 9b08a578ceece64ffda5ae0271e2d66ddc112524
+%define rtems_net_services_version 419e923cf5414e8b5655c5906a71bdcf938c43de

Author: Chris Johns

2024-10-24T22:03:56.081Z

It looks like the submodule is not right when getting the tar from gitlab. The URL is from:

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/archive/%{rtems_net_services_version}/rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}

Author: Chris Johns

2024-10-24T22:06:17.319Z

The bug is RSB net-service config needs to have the updated RTEMS Waf commit:

+ /usr/bin/bzip2 -dc /opt/work/chris/rtems/deploy/rtems-deployment.git/sources/rtems_waf-68654b4f995382765605dc16917baad4bdbf7f7c.tar.bz2

Author: Chris Johns

2024-10-28T21:01:46.904Z

Fixed with the update to the RSB.

2 - Test binaries are installed in target directory

Id

2

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Chris Johns

Created

2024-09-30T22:03:06.726Z

Closed

2024-10-25T03:26:24.573Z

Updated

2024-10-25T03:26:24.643Z

Milestone

6.1

Labels

network

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/2

Merges

1

Summary

The test executables created as part of the build are not meant to be installed. These should be adjusted so that they are no longer installed in the bin directory under the prefix/install directory.

Steps to reproduce

Author: Kinsey Moore

2024-09-30T22:03:06.921Z

assigned to @opticron

Author: Kinsey Moore

2024-10-25T02:53:14.642Z

Looks like I need to fix rtems-lwip as well.

Author: Kinsey Moore

2024-10-25T03:13:45.321Z

mentioned in merge request !7

Author: Kinsey Moore

2024-10-25T03:15:13.506Z

mentioned in merge request rtems-lwip!7

1 - Update the rtems_waf submodule to Gitlab

Id

1

State

closed

Type

ISSUE

Author

Chris Johns

Closed by

Chris Johns

Created

2024-06-11T09:54:34.621Z

Closed

2024-06-13T02:22:48.359Z

Updated

2024-06-13T02:22:48.404Z

Milestone

6.1

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/1

Merges

1

Update the rtems_waf submodule to gitlab.rtems.org

Author: Kinsey Moore

2024-06-12T15:43:55.285Z

mentioned in merge request !1

Merge Requests

8 - ntp: Ensure socketpair sockets are closed on exit

Id

8

State

merged

Merged by

Chris Johns

Merged at

2024-11-16T05:24:45.435Z

Assignee(s)

Kinsey Moore

Created

2024-11-15T15:52:22.834Z

Updated

2024-11-16T05:24:47.341Z

Milestone

6.1

Labels

pkg::ntp

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/8

Commit

b8feed99f5f9bd519af6fcd53bb416a120c16adc

Summary

ntp: Ensure socketpair sockets are closed on exit

The close() wrapper was interfering with blocking_child cleanup causing the sockets allocated during socketpair creation to remain unclosed after application shutdown. This was especially evident when the NTP daemon was started and stopped repeatedly.

Closes #5

Author: Kinsey Moore

2024-11-15T15:52:23.027Z

assigned to @opticron

Author: Chris Johns

2024-11-16T05:24:41.136Z

approved this merge request

7 - netservices.py: Prevent installation of test binaries

Id

7

State

merged

Merged by

Chris Johns

Merged at

2024-10-25T03:26:24.226Z

Assignee(s)

Kinsey Moore

Created

2024-10-25T03:13:30.993Z

Updated

2024-10-25T03:26:26.557Z

Milestone

6.1

Labels

network

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/7

Commit

0ac22a07c49d658de481bee7988cfbcfd8fe9f89

Summary

Closes #2

Author: Kinsey Moore

2024-10-25T03:13:31.695Z

assigned to @opticron

Author: Chris Johns

2024-10-25T03:26:16.946Z

approved this merge request

5 - bsd/ntp: Handle exit() calls throughout the NTP codebase

Id

5

State

merged

Merged by

Chris Johns

Merged at

2024-10-24T23:39:15.342Z

Assignee(s)

Kinsey Moore

Created

2024-08-28T01:35:56.379Z

Updated

2024-10-24T23:39:17.076Z

Milestone

6.1

Labels

pkg::ntp

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/5

Commit

1d8b0832a1d4cc74474ab75dc9077950ebc782d0

Summary

bsd/ntp: Handle exit() calls throughout the NTP codebase

Calls to exit() need to be intercepted to prevent unexpected thread exits.

Author: Kinsey Moore

2024-08-28T01:35:56.543Z

assigned to @opticron

Author: Kinsey Moore

2024-08-28T14:37:34.579Z

marked this merge request as draft

Author: Kinsey Moore

2024-08-28T14:52:40.269Z

marked this merge request as ready

Author: Kinsey Moore

2024-08-29T02:14:14.190Z

marked this merge request as draft

Author: Kinsey Moore

2024-08-29T14:12:00.597Z

added 1 commit

  • 28507040 - bsd/ntp: Handle exit() calls throughout the NTP codebase

Compare with previous version

Author: Kinsey Moore

2024-09-26T19:28:21.590Z

added 1 commit

  • cfbbae66 - bsd/ntp: Handle exit() calls throughout the NTP codebase

Compare with previous version

Author: Amar Takhar

2024-09-28T18:31:31.347Z

enabled an automatic merge when all merge checks for cfbbae660fef3da39024b77ceead23a3418ca9bb pass

Author: Kinsey Moore

2024-10-04T18:11:16.035Z

aborted the automatic merge because target branch was updated

Author: Amar Takhar

2024-10-16T15:38:31.752Z

@opticron is this meant to be draft?

Author: Kinsey Moore

2024-10-16T15:38:31.752Z

Yes, I’m trying to get verification from someone else that what is in this patch fixes their problem and that they didn’t need to make any additional changes.

Author: Kinsey Moore

2024-10-16T15:38:25.490Z

marked this merge request as ready

Author: Kinsey Moore

2024-10-16T15:38:31.768Z

resolved all threads

Author: Kinsey Moore

2024-10-16T15:38:47.201Z

added 4 commits

  • cfbbae66…419e923c - 3 commits from branch rtems/pkg:main

  • 1d8b0832 - bsd/ntp: Handle exit() calls throughout the NTP codebase

Compare with previous version

Author: Chris Johns

2024-10-24T23:39:04.505Z

approved this merge request

4 - bsd/ntp: Correct spelling in ntpsim.c

Id

4

State

merged

Merged by

Chris Johns

Merged at

2024-08-26T21:04:39.648Z

Assignee(s)

Kinsey Moore

Created

2024-08-26T20:07:49.107Z

Updated

2024-08-26T21:04:41.097Z

Milestone

6.1

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/4

Commit

9b08a578ceece64ffda5ae0271e2d66ddc112524

Summary

Author: Kinsey Moore

2024-08-26T20:07:49.679Z

assigned to @opticron

Author: Chris Johns

2024-08-26T21:04:18.463Z

approved this merge request

Author: Chris Johns

2024-08-26T21:04:24.978Z

added 4 commits

  • 9cccdeb3…c65d7c29 - 3 commits from branch rtems/pkg:main

  • 9b08a578 - bsd/ntp: Correct spelling in ntpsim.c

Compare with previous version

2 - Convert README to MarkDown

Id

2

State

merged

Merged by

Kinsey Moore

Merged at

2024-07-25T22:25:02.954Z

Assignee(s)

Amar Takhar

Created

2024-07-09T17:34:16.332Z

Updated

2024-07-25T22:25:15.852Z

Milestone

6.1

Labels

doc

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/2

Commit

c65d7c29e6997b8ed6f201bf8f6218cdb1330f72

Summary

Convert README to MarkDown

Also copies ORIGIN into README.md

Author: Amar Takhar

2024-07-09T17:34:16.481Z

assigned to @amar

Author: Gedare Bloom

2024-07-10T06:22:22.566Z

Should this section text be merged into File Origins?

Author: Amar Takhar

2024-07-10T06:22:12.452Z

changed this line in version 2 of the diff

Author: Amar Takhar

2024-07-10T06:22:22.566Z

Oh, I completely missed that section it’s old and crusty. I fixed it and moved the URL up thank you.

Author: Amar Takhar

2024-07-10T06:22:12.648Z

added 1 commit

  • e66c8a94 - Convert README to MarkDown

Compare with previous version

Author: Amar Takhar

2024-07-10T06:22:22.596Z

resolved all threads

Author: Gedare Bloom

2024-07-10T06:42:55.230Z

approved this merge request

Author: Amar Takhar

2024-07-20T21:10:20.958Z

added 3 commits

  • e66c8a94…c77dbea3 - 2 commits from branch rtems/pkg:main

  • c65d7c29 - Convert README to MarkDown

Compare with previous version

Author: Kinsey Moore

2024-07-25T22:24:58.739Z

approved this merge request

3 - Rename COPYING.bsd -> LICENSE.md

Id

3

State

merged

Merged by

Kinsey Moore

Merged at

2024-07-20T03:10:19.181Z

Assignee(s)

Amar Takhar

Created

2024-07-09T17:34:27.385Z

Updated

2024-07-20T03:10:20.980Z

Milestone

6.1

Labels

doc

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/3

Commit

c77dbea3e4ae0ae3d69ea771be9758468513b8fb

Summary

Rename COPYING.bsd -> LICENSE.md

COPYING is a GNU project layout format. Rename to LICENSE.md to be consistent with everything else.

Author: Amar Takhar

2024-07-09T17:34:27.528Z

assigned to @amar

Author: Gedare Bloom

2024-07-10T06:05:16.155Z

approved this merge request

Author: Kinsey Moore

2024-07-20T03:10:03.781Z

added 2 commits

  • fee89f0b - 1 commit from branch rtems/pkg:main

  • c77dbea3 - Rename COPYING.bsd -> LICENSE.md

Compare with previous version

Author: Kinsey Moore

2024-07-20T03:10:09.965Z

approved this merge request

1 - Update rtems_waf location

Id

1

State

merged

Merged by

Chris Johns

Merged at

2024-06-13T02:22:48.165Z

Assignee(s)

Kinsey Moore

Created

2024-06-12T15:43:51.999Z

Updated

2024-06-13T02:22:49.605Z

Milestone

6.1

Labels

tool::waf

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/1

Commit

e2f081cd0e2091f438ff6c148ff2cc8d1e5f604f

Summary

Closes #1

Author: Kinsey Moore

2024-06-12T15:43:52.200Z

assigned to @opticron

Author: Chris Johns

2024-06-13T02:22:45.013Z

approved this merge request