GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — configure script in node-v10.11.0.tar.gz source tarball appears truncated · Issue #23111 · nodejs/node

configure script in node-v10.11.0.tar.gz source tarball appears truncated #23111

New issue
Copy link
New issue
Copy link
Closed
Closed
configure script in node-v10.11.0.tar.gz source tarball appears truncated#23111
Copy link
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.

Description

@BobCochran
BobCochran
opened on Sep 27, 2018
Issue body actions
  • Version: 10.11.0 source code
  • Platform: Unix (Ubuntu 18.04 LTS)
  • Subsystem: /na

When compiling node-v10.11.0 from the source code tarball, the output of './configure --prefix=prefix returns silently. I get this:

/node-v10.11.0$ ./configure --prefix=$MY_NODE_PREFIX
$ [no output from ./configure]

in the 10.10.0 source code, the same command will result in console output giving configuration settings.

When I look at the configure file in node-v10.11.0, the file is 790 bytes in length:

-rwxr-xr-x 1 usbob2 usbob2 790 Sep 20 03:28 configure

When I look at the same file in node-v10.10.0, it is 55,153 bytes in length.

-rwxr-xr-x 1 usbob2 usbob2 55153 Sep 6 16:44 configure

Clearly, the configure file in node-v10.11.0 has been truncated and is unusable.

The tarball did sha256sum properly:

$ egrep 'node-v10.11.0.tar.gz' SHASUMS256.txt.asc | sha256sum -c -
node-v10.11.0.tar.gz: OK

The signed SHA256SUMS file did get a "GOOD SIGNATURE" when verified:

$ gpg --verify SHASUMS256.txt.asc
gpg: Signature made Thu 20 Sep 2018 07:34:32 AM EDT
gpg: using RSA key 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600
gpg: Good signature from "Michaël Zasso (Targos) [email protected]" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 8FCC A13F EF1D 0C2E 9100 8E09 770F 7A9A 5AE1 5600

Activity

  1. richardlau commented on Sep 27, 2018

    @richardlau
    richardlau
    on Sep 27, 2018
    Member
    More actions

    Coincidentally I had a coworker ask me about this yesterday.

    #22450 moved the bulk of the configure script to configure.py but also made it so that configure no longer outputs anything to the console (it still writes config.gypi) unless you pass --verbose. In my opinion suppressing all output from configure by default was a mistake and it should at least indicate it has done something, perhaps the

    creating icu_config.gypi
    creating config.gypi
    creating config.status
    creating config.mk
    

    lines reported by:

    node/configure.py

    Line 1212 in d6a6df9

    print_verbose('creating %s' % filename)

    cc @refack

  2. BobCochran commented on Sep 27, 2018

    @BobCochran
    BobCochran
    on Sep 27, 2018 via email
    Author
    More actions
    Traditionally ./configure on Unix/Linux platforms has always given output, without need to give a --verbose option. Not having output from ./configure made me think something had broken. It could make a lot of build scripts out in the wild break too, since automated scripts might be expecting console output, just as it always happens in *nix builds. The referenced change is indeed a mistake, and should be refactored to give console output for command line builds under *nix. This is not just for the convenience of IDEs.
    …
    On Wed, Sep 26, 2018 at 8:57 PM Richard Lau ***@***.***> wrote: Coincidentally I had a coworker ask me about this yesterday. #22450 <#22450> moved the bulk of the configure script to configure.py but also made it so that configure no longer outputs anything to the console (it still writes config.gypi) unless you pass --verbose. In my opinion suppressing *all* output from configure was a mistake and it should at least indicate it has done something, perhaps the creating icu_config.gypi creating config.gypi creating config.status creating config.mk lines reported by: https://github.com/nodejs/node/blob/d6a6df9ece7bb8978e573aebb0d87a272707640e/configure.py#L1212 cc @refack <https://github.com/refack> — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#23111 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ACWJychpCfPctauqFsXN-UF4WYaUqjlrks5ufCJzgaJpZM4W7tAP> .
  3. refack commented on Sep 27, 2018

    @refack
    refack
    on Sep 27, 2018
    Contributor
    More actions

    The #22450 change should have been semver-major, that one slipped through the cracks...
    One convention I did make sure we followed is the exit code (which is still 0 on success).

    The Node.js configure script is not a classical automake configure, so deciding what to output will be arbitrary anyway. So while I'm working on an improvement, what output would be preferable?

    1. creating icu_config.gypi
      creating config.gypi
      creating config.status
      creating config.mk
      
    2. configure completed successfully
      
  4. refack
    self-assigned this
    on Sep 27, 2018
  5. refack
    added
    buildIssues and PRs related to Node.js builds or CI infrastructure.
    on Sep 27, 2018
  6. BobCochran commented on Sep 27, 2018

    @BobCochran
    BobCochran
    on Sep 27, 2018
    Author
    More actions

    I'm so accustomed to the output that I've had up to and including 10.10.0:

    `~/node-v10.10.0$ ./configure --prefix=$MY_NODE_PREFIX
    creating icu_config.gypi

    • Using ICU in deps/icu-small
      creating icu_config.gypi
      { 'target_defaults': { 'cflags': [],
      'default_configuration': 'Release',
      'defines': [],
      'include_dirs': [],
      'libraries': []},
      'variables': { 'asan': 0,
      'build_v8_with_gn': 'false',
      'coverage': 'false',
      'debug_nghttp2': 'false',
      'enable_lto': 'false',
      'force_dynamic_crt': 0,
      'gas_version': '2.30',
      'host_arch': 'x64',
      'icu_data_in': '../../deps/icu-small/source/data/in/icudt62l.dat',
      'icu_endianness': 'l',
      'icu_gyp_path': 'tools/icu/icu-generic.gyp',
      'icu_locales': 'en,root',
      'icu_path': 'deps/icu-small',
      'icu_small': 'true',
      'icu_ver_major': '62',
      'llvm_version': 0,
      'node_byteorder': 'little',
      'node_debug_lib': 'false',
      'node_enable_d8': 'false',
      'node_enable_v8_vtunejit': 'false',
      'node_install_npm': 'true',
      'node_module_version': 64,
      'node_no_browser_globals': 'false',
      'node_prefix': '/home/usbob2/local',
      'node_release_urlbase': '',
      'node_shared': 'false',
      'node_shared_cares': 'false',
      'node_shared_http_parser': 'false',
      'node_shared_libuv': 'false',
      'node_shared_nghttp2': 'false',
      'node_shared_openssl': 'false',
      'node_shared_zlib': 'false',
      'node_tag': '',
      'node_target_type': 'executable',
      'node_use_bundled_v8': 'true',
      'node_use_dtrace': 'false',
      'node_use_etw': 'false',
      'node_use_openssl': 'true',
      'node_use_pch': 'false',
      'node_use_perfctr': 'false',
      'node_use_v8_platform': 'true',
      'node_with_ltcg': 'false',
      'node_without_node_options': 'false',
      'openssl_fips': '',
      'openssl_no_asm': 0,
      'shlib_suffix': 'so.64',
      'target_arch': 'x64',
      'v8_enable_gdbjit': 0,
      'v8_enable_i18n_support': 1,
      'v8_enable_inspector': 1,
      'v8_no_strict_aliasing': 1,
      'v8_optimized_debug': 0,
      'v8_promise_internal_field_count': 1,
      'v8_random_seed': 0,
      'v8_trace_maps': 0,
      'v8_typed_array_max_size_in_heap': 0,
      'v8_use_snapshot': 'true',
      'want_separate_host_toolset': 0}}
      creating config.gypi
      creating config.status
      creating config.mk
      `
      If we could keep that the same it would be great. If something must change here, then for a *nix build I would like to see console output showing the configuration files are being created and the final line 'configure completed successfully'.
  7. mscdex commented on Sep 30, 2018

    @mscdex
    mscdex
    on Sep 30, 2018
    Contributor
    More actions

    +1 to reverting to verbose by default

  8. richardlau commented on Oct 5, 2018

    @richardlau
    richardlau
    on Oct 5, 2018
    Member
    More actions

    The #22450 change should have been semver-major, that one slipped through the cracks...

    @refack Should we revert the whole of #22450 in v10.x or just the --verbose part? (Undoing the configure->configure.py change would mean any configure.py changes on master having to be manually backported to v10.x in the future.)

    cc @nodejs/release

  9. Trott commented on Nov 16, 2018

    @Trott
    Trott
    on Nov 16, 2018
    Member
    More actions

    @refack You self-assigned this one. Are you still working on it?

  10. refack commented on Nov 17, 2018

    @refack
    refack
    on Nov 17, 2018
    Contributor
    More actions

    You self-assigned this one. Are you still working on it?

    Oops I lost track of this...
    So I'm a bit conflicted; this got into node11, so that's Ok as a semver-major.
    And node10 entered LTS with this, so I'm hesitant to submit a patch now... (although it adds information, so it might be semver-minor).
    I'll make a patch for 10.x and see what the reviewers say.

    Fixed in #22450
    Fixed in #23408

  11. refack
    closed this as completedon Nov 17, 2018
  12. richardlau
    added a commit that references this issue on Mar 4, 2019

    build: indicate that configure has done something

    1e42d2c
  13. BridgeAR
    added a commit that references this issue on Mar 6, 2019

    build: indicate that configure has done something

    ceb73e7
  14. refack
    removed their assignment
    on Mar 11, 2019
  15. BridgeAR
    added 2 commits that reference this issue on Mar 12, 2019

    build: indicate that configure has done something

    1351f6e

    build: indicate that configure has done something

    240de93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.