{"thread":{"id":"50124","subject":"[PATCH v4 2/4] config.mak.uname: support for modern HPE NonStop config.","startedAt":"2018-12-28T20:03:08Z","lastAt":"2019-01-03T21:36:27Z","messageCount":4,"participants":["randall.s.becker@rogers.com","Junio C Hamano"],"isPatch":true,"patchVersion":4,"patchTotal":4},"messages":[{"id":"365916","messageId":"20181228200243.19728-1-randall.s.becker@rogers.com","threadId":"50124","inReplyTo":null,"subject":"[PATCH v4 2/4] config.mak.uname: support for modern HPE NonStop config.","fromName":"","fromEmail":"randall.s.becker@rogers.com","sentAt":"2018-12-28T20:02:43Z","receivedAt":"2018-12-28T20:03:08Z","isPatch":true,"sender":{"key":"randall.s.becker@rogers.com","avatar":null},"body":"From: \"Randall S. Becker\" <rsbecker@nexbridge.com>\n\nA number of configuration options are not automatically detected by\nconfigure mechanisms, including the location of Perl and Python.\n\nThere was a problem at a specific set of operating system versions\nthat caused getopt to have compile errors. Account for this by\nproviding emulation defines for those versions.\n\nSigned-off-by: Randall S. Becker <rsbecker@nexbridge.com>\n---\n config.mak.uname | 34 +++++++++++++++++++++++++++++-----\n 1 file changed, 29 insertions(+), 5 deletions(-)\n\ndiff --git a/config.mak.uname b/config.mak.uname\nindex 3ee7da0e23..aa4432ac2f 100644\n--- a/config.mak.uname\n+++ b/config.mak.uname\n@@ -441,26 +441,45 @@ ifeq ($(uname_S),NONSTOP_KERNEL)\n \t# INLINE='' would just replace one set of warnings with another and\n \t# still not compile in c89 mode, due to non-const array initializations.\n \tCC = cc -c99\n+\t# Build down-rev compatible objects that don't use our new getopt_long.\n+\tifeq ($(uname_R).$(uname_V),J06.21)\n+\t\tCC += -WRVU=J06.20\n+\tendif\n+\tifeq ($(uname_R).$(uname_V),L17.02)\n+\t\tCC += -WRVU=L16.05\n+\tendif\n+\n \t# Disable all optimization, seems to result in bad code, with -O or -O2\n \t# or even -O1 (default), /usr/local/libexec/git-core/git-pack-objects\n \t# abends on \"git push\". Needs more investigation.\n-\tCFLAGS = -g -O0\n+\tCFLAGS = -g -O0 -Winline\n \t# We'd want it to be here.\n \tprefix = /usr/local\n- \t# Our's are in ${prefix}/bin (perl might also be in /usr/bin/perl).\n+\t# perl and python must be in /usr/bin on NonStop - supplied by HPE\n+\t# with operating system in that managed directory.\n-\tPERL_PATH = ${prefix}/bin/perl\n-\tPYTHON_PATH = ${prefix}/bin/python\n-\n+\tPERL_PATH = /usr/bin/perl\n+\tPYTHON_PATH = /usr/bin/python\n+\t# The current /usr/coreutils/rm at lowest support level does not work\n+\t# with the git test structure. Long paths as in\n+\t# 'trash directory...' cause rm to terminate prematurely without fully\n+\t# removing the directory at OS releases J06.21 and L17.02.\n+\t# Default to the older rm until those two releases are deprecated.\n+\tRM = /bin/rm -f\n \t# As detected by './configure'.\n \t# Missdetected, hence commented out, see below.\n \t#NO_CURL = YesPlease\n \t# Added manually, see above.\n+\tNEEDS_SSL_WITH_CURL = YesPlease\n+\tNEEDS_CRYPTO_WITH_SSL = YesPlease\n+\tHAVE_DEV_TTY = YesPlease\n \tHAVE_LIBCHARSET_H = YesPlease\n \tHAVE_STRINGS_H = YesPlease\n \tNEEDS_LIBICONV = YesPlease\n \tNEEDS_LIBINTL_BEFORE_LIBICONV = YesPlease\n \tNO_SYS_SELECT_H = UnfortunatelyYes\n \tNO_D_TYPE_IN_DIRENT = YesPlease\n+\tNO_GETTEXT = YesPlease\n \tNO_HSTRERROR = YesPlease\n \tNO_STRCASESTR = YesPlease\n \tNO_MEMMEM = YesPlease\n@@ -470,8 +489,13 @@ ifeq ($(uname_S),NONSTOP_KERNEL)\n \tNO_MKDTEMP = YesPlease\n \t# Currently libiconv-1.9.1.\n \tOLD_ICONV = UnfortunatelyYes\n-\tNO_REGEX = YesPlease\n+\tNO_REGEX=NeedsStartEnd\n \tNO_PTHREADS = UnfortunatelyYes\n\n \t# Not detected (nor checked for) by './configure'.\n \t# We don't have SA_RESTART on NonStop, unfortunalety.\n-- \n2.17.0.10.gb132f7033\n\n"},{"id":"366099","messageId":"xmqqimz5h6et.fsf@gitster-ct.c.googlers.com","threadId":"50124","inReplyTo":"20181228200243.19728-1-randall.s.becker@rogers.com","subject":"Re: [PATCH v4 2/4] config.mak.uname: support for modern HPE NonStop config.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2019-01-03T19:45:14Z","receivedAt":"2019-01-03T19:45:19Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"randall.s.becker@rogers.com writes:\n\n> @@ -470,8 +489,13 @@ ifeq ($(uname_S),NONSTOP_KERNEL)\n>  \tNO_MKDTEMP = YesPlease\n>  \t# Currently libiconv-1.9.1.\n>  \tOLD_ICONV = UnfortunatelyYes\n> -\tNO_REGEX = YesPlease\n> +\tNO_REGEX=NeedsStartEnd\n>  \tNO_PTHREADS = UnfortunatelyYes\n>\n>  \t# Not detected (nor checked for) by './configure'.\n>  \t# We don't have SA_RESTART on NonStop, unfortunalety.\n\nThe hunk header claims that the preimage has 8 lines while the\npostimage has 13 lines, adding 5 new lines in total.  But that is\nnot what we can see in the hunk.\n\nIt is unclear to me if the numbers on the hunk header are bogus, or\nthe patch text was truncated, so I cannot use these two patches with\nconfidence.  The first hunk had the same issue, and 1/4 too.\n\nI do not see v4 3/4 and v4 4/4, either.  It's not like you are the\nonly person who sends patches to the mailing list, and not having\nthe patches as responses to a cover letter for proper threading\nmakes it very hard to see which patches belong to the same series\nand if all the necessary patches in a series have become available.\nIs it possible to arrange that to happen?\n\nThanks.\n"},{"id":"366100","messageId":"006501d4a39e$b99fe0d0$2cdfa270$@rogers.com","threadId":"50124","inReplyTo":"xmqqimz5h6et.fsf@gitster-ct.c.googlers.com","subject":"RE: [PATCH v4 2/4] config.mak.uname: support for modern HPE NonStop config.","fromName":"","fromEmail":"randall.s.becker@rogers.com","sentAt":"2019-01-03T19:58:39Z","receivedAt":"2019-01-03T19:58:46Z","isPatch":true,"sender":{"key":"randall.s.becker@rogers.com","avatar":null},"body":"On January 3, 2019 14:45, Junio C Hamano wrote:\n> To: randall.s.becker@rogers.com\n> Cc: git@vger.kernel.org; Randall S. Becker <rsbecker@nexbridge.com>\n> Subject: Re: [PATCH v4 2/4] config.mak.uname: support for modern HPE\n> NonStop config.\n> \n> randall.s.becker@rogers.com writes:\n> \n> > @@ -470,8 +489,13 @@ ifeq ($(uname_S),NONSTOP_KERNEL)\n> >  \tNO_MKDTEMP = YesPlease\n> >  \t# Currently libiconv-1.9.1.\n> >  \tOLD_ICONV = UnfortunatelyYes\n> > -\tNO_REGEX = YesPlease\n> > +\tNO_REGEX=NeedsStartEnd\n> >  \tNO_PTHREADS = UnfortunatelyYes\n> >\n> >  \t# Not detected (nor checked for) by './configure'.\n> >  \t# We don't have SA_RESTART on NonStop, unfortunalety.\n> \n> The hunk header claims that the preimage has 8 lines while the postimage\n> has 13 lines, adding 5 new lines in total.  But that is not what we can\nsee in\n> the hunk.\n> \n> It is unclear to me if the numbers on the hunk header are bogus, or the\npatch\n> text was truncated, so I cannot use these two patches with confidence.\nThe\n> first hunk had the same issue, and 1/4 too.\n> \n> I do not see v4 3/4 and v4 4/4, either.  It's not like you are the only\nperson\n> who sends patches to the mailing list, and not having the patches as\n> responses to a cover letter for proper threading makes it very hard to see\n> which patches belong to the same series and if all the necessary patches\nin a\n> series have become available.\n> Is it possible to arrange that to happen?\n> \n> Thanks.\n\nI will reissue the whole package for you. I think I hacked it badly. Will\nget to it after $DAYJOB is done.\n\n\n"},{"id":"366111","messageId":"xmqq5zv5h19k.fsf@gitster-ct.c.googlers.com","threadId":"50124","inReplyTo":"006501d4a39e$b99fe0d0$2cdfa270$@rogers.com","subject":"Re: [PATCH v4 2/4] config.mak.uname: support for modern HPE NonStop config.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2019-01-03T21:36:23Z","receivedAt":"2019-01-03T21:36:27Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"<randall.s.becker@rogers.com> writes:\n\n> I will reissue the whole package for you. I think I hacked it badly. Will\n> get to it after $DAYJOB is done.\n\nThanks.\n"}]}