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

psfex tries to build with the wrong cc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: psfex

      Description

      The eupspkg.cfg.sh file (in $LSSTSW/build/psfex/ups) allows a rebuild to incorrectly use whatever flavor of cc is found. The call to scons in build() should probably include cc="$CC", just like default_build() in $EUPS_DIR/lib/eupspkg.sh does.

      This was discussed in the hipchat DM Newbies room on 2016-09-22. In my case, on macOS Sierra, psfex was attempting to build with homebrew's gcc instead of clang. This caused the build to fail.

        Attachments

          Issue Links

            Activity

            mrawls Meredith Rawls created issue -
            tjenness Tim Jenness made changes -
            Field Original Value New Value
            Description The eupspkg.cfg.sh file (in $LSSTSW/build/psfex/ups) allows a rebuild to incorrectly use whatever flavor of cc is found. The call to scons in build() should probably include cc="$CC", just like default_build() in $EUPS_DIR/lib/eupspkg.sh does.

            This was discussed in the hipchat DM Newbies room on 2016-09-22. In my case, on macOS Sierra, psfex was attempting to build with homebrew's gcc instead of clang. This caused the build to fail.
            The {{eupspkg.cfg.sh}} file (in {{$LSSTSW/build/psfex/ups}}) allows a rebuild to incorrectly use whatever flavor of {{cc}} is found. The call to scons in build() should probably include {{cc="$CC"}}, just like {{default_build()}} in {{$EUPS_DIR/lib/eupspkg.sh}} does.

            This was discussed in the hipchat DM Newbies room on 2016-09-22. In my case, on macOS Sierra, psfex was attempting to build with homebrew's gcc instead of clang. This caused the build to fail.
            tjenness Tim Jenness made changes -
            Description The {{eupspkg.cfg.sh}} file (in {{$LSSTSW/build/psfex/ups}}) allows a rebuild to incorrectly use whatever flavor of {{cc}} is found. The call to scons in build() should probably include {{cc="$CC"}}, just like {{default_build()}} in {{$EUPS_DIR/lib/eupspkg.sh}} does.

            This was discussed in the hipchat DM Newbies room on 2016-09-22. In my case, on macOS Sierra, psfex was attempting to build with homebrew's gcc instead of clang. This caused the build to fail.
            The {{eupspkg.cfg.sh}} file (in {{$LSSTSW/build/psfex/ups}}) allows a rebuild to incorrectly use whatever flavor of {{cc}} is found. The call to scons in {{build()}} should probably include {{cc="$CC"}}, just like {{default_build()}} in {{$EUPS_DIR/lib/eupspkg.sh}} does.

            This was discussed in the hipchat DM Newbies room on 2016-09-22. In my case, on macOS Sierra, psfex was attempting to build with homebrew's {{gcc}} instead of {{clang}}. This caused the build to fail.
            tjenness Tim Jenness made changes -
            Watchers Meredith Rawls [ Meredith Rawls ] Meredith Rawls, Nate Lust [ Meredith Rawls, Nate Lust ]
            swinbank John Swinbank made changes -
            Assignee John Swinbank [ swinbank ]
            gcomoretto Gabriele Comoretto [X] (Inactive) made changes -
            Remote Link This issue links to "Page (Confluence)" [ 23281 ]
            swinbank John Swinbank made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            swinbank John Swinbank made changes -
            Reviewers Tim Jenness [ tjenness ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            tjenness Tim Jenness made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            tjenness Tim Jenness made changes -
            Assignee John Swinbank [ swinbank ]
            swinbank John Swinbank made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]

              People

              Assignee:
              swinbank John Swinbank
              Reporter:
              mrawls Meredith Rawls
              Reviewers:
              Tim Jenness
              Watchers:
              John Swinbank, Meredith Rawls, Nate Lust, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.