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

Syntax error in ldap/admin/src/scripts/ns-accountstatus.pl.in #1843

Closed
389-ds-bot opened this issue Sep 13, 2020 · 5 comments
Closed

Syntax error in ldap/admin/src/scripts/ns-accountstatus.pl.in #1843

389-ds-bot opened this issue Sep 13, 2020 · 5 comments
Labels
closed: fixed Migration flag - Issue
Milestone

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/48783

  • Created at 2016-03-31 22:38:52 by nhosoi (@nhosoi)
  • Closed as Fixed
  • Assigned to nobody

Opening a ticket on behalf of Andrey Cherepanov "cas@altlinux.ru":
On 03/31/2016 03:46 AM, Andrey Cherepanov wrote:

Our build system detects syntax error in ldap/admin/src/scripts/ns-accountstatus.pl.in:

String found where operator expected at /usr/src/tmp/389-ds-base-buildroot/usr/sbin/ns-accountstatus.pl line 34, near "STDERR " [-i] [-g seconds]\n\n""
(Do you need to predeclare STDERR?)
syntax error at /usr/src/tmp/389-ds-base-buildroot/usr/sbin/ns-accountstatus.pl line 34, near "print"

See attached patch to fix it.

Small note: ldap/admin/src/scripts/db2index.in use Bash4 syntax construction (|&), but use interpreter /bin/sh
Not all Linux distributives have /bin/sh as symlink to /bin/bash4

@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 13, 2020
@389-ds-bot 389-ds-bot added this to the 1.3.5.2 milestone Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from nhosoi (@nhosoi) at 2016-03-31 22:39:30

patch provided by Andrey Cherepanov.
389-ds-base-fix-syntax-errors.patch

@389-ds-bot
Copy link
Author

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2016-04-01 05:48:46

commit 694a0b613d0c2115fe383ec7dcc52f2ab2cc4af3
Total 7 (delta 5), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
16445ac..10787a0 master -> master

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2016-04-01 05:49:12

Reviewed and commited. Thanks for the patch Andrey!

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2017-02-11 23:06:52

Metadata Update from @Firstyear:

  • Issue set to the milestone: 1.3.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant