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: fix dependencies on AIX #8285

Closed
wants to merge 3 commits into from
Closed

Conversation

mhdawson
Copy link
Member

@mhdawson mhdawson commented Aug 26, 2016

Checklist

  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

addons test

Description of change

addon tests were still starting to run before the node exp file
creation was complete.

  • remove process_outputs_as_sources as it did not fix the
    problem
  • update create_expfile.sh so that exp file is created in a
    temporary file and then renamed to final name so that
    file is only visible once it is complete
  • update target used in building addons so that for
    AIX it depends on the exp file being available

Fixes: #8285

addon tests were still starting to run before the node exp file
creation was complete.

- remove process_outputs_as_sources as it did not fix the
  problem
- update create_expfile.sh so that exp file is created in a
  temporary file and then renamed to final name so that
  file is only visible once it is complete
- update target used in building addons so that for
  AIX it depends on the exp file being available
@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Aug 26, 2016
@mhdawson
Copy link
Member Author

Ok got only passes with about 20 runs with this patch, unless I'm even more unlucky than before it seems to stop the addon tests from running before the node.exp file is complete and ready.

@mhdawson
Copy link
Member Author

@bnoordhuis

@mhdawson
Copy link
Member Author

@mhdawson
Copy link
Member Author

CI run looks ok with only one Windows failures that looks un-related.

@@ -87,7 +87,7 @@ uninstall:
$(PYTHON) tools/install.py $@ '$(DESTDIR)' '$(PREFIX)'

clean:
-rm -rf out/Makefile $(NODE_EXE) $(NODE_G_EXE) out/$(BUILDTYPE)/$(NODE_EXE)
-rm -rf out/Makefile $(NODE_EXE) $(NODE_G_EXE) out/$(BUILDTYPE)/$(NODE_EXE) out/$(BUIDLTYPE)/node.exp
Copy link
Member

@bnoordhuis bnoordhuis Aug 27, 2016

Choose a reason for hiding this comment

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

Typo: s/BUIDLTYPE/BUILDTYPE/

EDIT: Also, please try to stay within 80 columns.

@mhdawson
Copy link
Member Author

@bnoordhuis, thanks was considering whether to combine or not but though I'd see what you thought. Have update to reflect your comments.

@mhdawson
Copy link
Member Author

@bnoordhuis suggestion lead to the following errors: Makefile:141: *** Recursive variable `DOCBUILDSTAMP_PREREQS' references itself (eventually). Stop.
Build step 'Execute shell' marked build as failure

Will have to look to see if there is a way around that.

@mhdawson
Copy link
Member Author

@bnoordhuis ok think I fixed it with other form of assignment.

@bnoordhuis
Copy link
Member

LGTM but s/addon/Addon/ (or 'Add-on') in the commit log.

@mhdawson
Copy link
Member Author

@mhdawson
Copy link
Member Author

CI run looks ok except for unrelated failures on arm.

@MylesBorins
Copy link
Contributor

Failures look unrelated LGTM with @bnoordhuis's note

@mhdawson
Copy link
Member Author

Landed as 1657f12

mhdawson added a commit that referenced this pull request Aug 29, 2016
Addon tests were still starting to run before the node exp file
creation was complete.

- remove process_outputs_as_sources as it did not fix the
  problem
- update create_expfile.sh so that exp file is created in a
  temporary file and then renamed to final name so that
  file is only visible once it is complete
- update target used in building Addons so that for
  AIX it depends on the exp file being available

PR-URL: #8285
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
@mhdawson mhdawson closed this Aug 29, 2016
@Fishrock123 Fishrock123 mentioned this pull request Sep 6, 2016
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Sep 8, 2016
Addon tests were still starting to run before the node exp file
creation was complete.

- remove process_outputs_as_sources as it did not fix the
  problem
- update create_expfile.sh so that exp file is created in a
  temporary file and then renamed to final name so that
  file is only visible once it is complete
- update target used in building Addons so that for
  AIX it depends on the exp file being available

PR-URL: nodejs#8285
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Fishrock123 pushed a commit that referenced this pull request Sep 9, 2016
Addon tests were still starting to run before the node exp file
creation was complete.

- remove process_outputs_as_sources as it did not fix the
  problem
- update create_expfile.sh so that exp file is created in a
  temporary file and then renamed to final name so that
  file is only visible once it is complete
- update target used in building Addons so that for
  AIX it depends on the exp file being available

PR-URL: #8285
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
@MylesBorins
Copy link
Contributor

@mhdawson I've backported this to v4.x, please let me know if it shouldn't be

MylesBorins pushed a commit that referenced this pull request Sep 30, 2016
Addon tests were still starting to run before the node exp file
creation was complete.

- remove process_outputs_as_sources as it did not fix the
  problem
- update create_expfile.sh so that exp file is created in a
  temporary file and then renamed to final name so that
  file is only visible once it is complete
- update target used in building Addons so that for
  AIX it depends on the exp file being available

PR-URL: #8285
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins pushed a commit that referenced this pull request Oct 10, 2016
Addon tests were still starting to run before the node exp file
creation was complete.

- remove process_outputs_as_sources as it did not fix the
  problem
- update create_expfile.sh so that exp file is created in a
  temporary file and then renamed to final name so that
  file is only visible once it is complete
- update target used in building Addons so that for
  AIX it depends on the exp file being available

PR-URL: #8285
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
rvagg pushed a commit that referenced this pull request Oct 18, 2016
Addon tests were still starting to run before the node exp file
creation was complete.

- remove process_outputs_as_sources as it did not fix the
  problem
- update create_expfile.sh so that exp file is created in a
  temporary file and then renamed to final name so that
  file is only visible once it is complete
- update target used in building Addons so that for
  AIX it depends on the exp file being available

PR-URL: #8285
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins pushed a commit that referenced this pull request Oct 26, 2016
Addon tests were still starting to run before the node exp file
creation was complete.

- remove process_outputs_as_sources as it did not fix the
  problem
- update create_expfile.sh so that exp file is created in a
  temporary file and then renamed to final name so that
  file is only visible once it is complete
- update target used in building Addons so that for
  AIX it depends on the exp file being available

PR-URL: #8285
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Oct 26, 2016
@mhdawson mhdawson deleted the aixaddon2 branch March 15, 2017 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants