Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: avoid killall(1) for 'make check' #1

Merged
merged 1 commit into from Feb 23, 2024

Conversation

orbea
Copy link
Contributor

@orbea orbea commented Feb 21, 2024

When building the multiskkserv tests with slibtool instead of GNU libtool it fails when killall src/multiskkserv fails to find any processes. This is because with slibtool it is a shell wrapper script for src/.libs/multiskkserv.

To avoid this issue a more robust check.sh script was added to run the tests and correctly kill the multiskkserv process with both GNU libtool and slibtool.

This was reported for Gentoo: https://bugs.gentoo.org/924142

When building the multiskkserv tests with slibtool instead of GNU
libtool it fails when 'killall src/multiskkserv' fails to find any
processes. This is because with slibtool it is a shell wrapper script
for 'src/.libs/multiskkserv'.

To avoid this issue a more robust 'check.sh' script was added to run the
tests and correctly kill the multiskkserv process with both GNU libtool
and slibtool.

This was reported for Gentoo: https://bugs.gentoo.org/924142
orbea added a commit to orbea/gentoo that referenced this pull request Feb 21, 2024
orbea added a commit to orbea/gentoo that referenced this pull request Feb 21, 2024
Copy link
Owner

@sina-ht sina-ht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for sending this PR.
I didn't know this old code is packaged for Gentoo.
I've tested by myself on my environment and testing with this PR is OK.

Approved and merged.

@sina-ht sina-ht merged commit 20983c7 into sina-ht:master Feb 23, 2024
@orbea orbea deleted the slibtool-check branch February 23, 2024 14:03
@orbea
Copy link
Contributor Author

orbea commented Feb 23, 2024

Thanks for the review! I made this PR to reference in the Gentoo PR, but I appreciate that even though this code base hasn't been touched in many years that my change was reviewed. :)

orbea added a commit to orbea/gentoo that referenced this pull request Feb 23, 2024
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Mar 16, 2024
Closes: https://bugs.gentoo.org/924142
Upstream-PR: sina-ht/multiskkserv#1
Upstream-Commit: sina-ht/multiskkserv@20983c7
Signed-off-by: orbea <orbea@riseup.net>
Closes: #35473
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants