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

OS400 sh makefile.sh > makelog 2>&1 fails. #9896

Closed
johnsherrill opened this issue Nov 11, 2022 · 3 comments
Closed

OS400 sh makefile.sh > makelog 2>&1 fails. #9896

johnsherrill opened this issue Nov 11, 2022 · 3 comments
Labels

Comments

@johnsherrill
Copy link

johnsherrill commented Nov 11, 2022

File CHANGES has line(s) that are longer that 240 bytes. It can not be copied to ${TARGETLIB]/DOCS, makefile.sh ends with these lines in makelog:
CPC7305: Member CHANGES added to file DOCS in CURLIBMI1.
CPDA037: Could not write to member CHANGES in file DOCS in library CURLIBMI1.
CPC7309: Member CHANGES removed from file DOCS in CURLIBMI1.
CPFA0D4: File system error occurred. Error number 3003.

Editing the file to remove the long line(s) allows it to work.

@bagder bagder added the script label Nov 11, 2022
@bagder
Copy link
Member

bagder commented Nov 11, 2022

Who knew a system could refuse to copy a file if it has too long lines!

The CHANGES file in the release tarball is generated by log2changes.pl

@icing
Copy link
Contributor

icing commented Nov 11, 2022

UNIX eliminating record lengths in files is a quite forgotten feature. 😌

bagder added a commit that referenced this issue Nov 11, 2022
Also, only use author names in the output.

Fixes #9896
Reported-by: John Sherrill
@johnsherrill
Copy link
Author

johnsherrill commented Nov 14, 2022

Another option is since all the documentation is available in the curl directory and easily accessible there, there is really no reason to copy the documentation to a physical file (IBMi term for a non-stream-file). So just eliminate the copy.

@bagder bagder closed this as completed in 9805109 Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants