Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-1163

Deal with optional packages in install

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Labels:
      None
    • Templates:
    • Team:
      SQuaRE

      Description

      If a package being installed has an optional dependency that is available on the user's machine at install time, it will be pulled in to the install. However, when that package is required as a dependency itself, that optional dependency isn't setup and the installation fails.

      Specifically, Andrew Connolly reports:

      Dont have any logs left but the message was
      DirectoryInstaller(["/Users/ajc/LSST/Software/lsst/DarwinX86/obs_sdss/8.0.0.0+5/bin"], ["bin"])
      DirectoryInstaller(["/Users/ajc/LSST/Software/lsst/DarwinX86/obs_sdss/8.0.0.0+5/etc"], ["etc"])
      eups expandtable: Processing /Users/ajc/LSST/Software/lsst/DarwinX86/obs_sdss/8.0.0.0+5/ups/obs_sdss.table: Product pykg_config is a dependency for pipe_tasks 8.0.0.1+3, but is not setup
      scons: *** [table] Error 9
      scons: building terminated because of errors.
      + exit -5
      eups distrib: Failed to build obs_sdss-8.0.0.0+5.eupspkg: Command:
      source /Users/ajc/LSST/Software/lsst/eups/bin/setups.sh; export EUPS_PATH=/Users/ajc/LSST/Software/lsst; (/Users/ajc/LSST/Software/lsst/EupsBuildDir/DarwinX86/obs_sdss-8.0.0.0+5/build.sh) >> /Users/ajc/LSST/Software/lsst/EupsBuildDir/DarwinX86/obs_sdss-8.0.0.0+5/build.log 2>&1 4>/Users/ajc/LSST/Software/lsst/EupsBuildDir/DarwinX86/obs_sdss-8.0.0.0+5/build.msg
      exited with code 251

      Should the install be doing a setup -k instead of setup -j, to ensure all dependencies are satisfied?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                price Paul Price
                Watchers:
                Andrew Connolly, Paul Price, Robert Lupton, Simon Krughoff
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel