Skip to content

Do a Chmod for configure - #749

Open
blappm wants to merge 6 commits into
easybuilders:developfrom
blappm:chmod_for_configure
Open

Do a Chmod for configure#749
blappm wants to merge 6 commits into
easybuilders:developfrom
blappm:chmod_for_configure

Conversation

@blappm

@blappm blappm commented Nov 25, 2015

Copy link
Copy Markdown

Chmod a configure file to make it always executable

martin.blapp@roche.com and others added 4 commits November 25, 2015 14:26
PYTHONPATH in the created module file.

This happens independent of an installed EB software, so it even
happens if the software was installed before and you recreate the
modulefile.
@hpcugentbot

Copy link
Copy Markdown

Automatic reply from Jenkins: Can I test this?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

please use the adjust_permissions function available from easybuild.tools.filetools for this, something like:

adjust_permissions('configure', stat.S_IXUSR, add=True)

and only import additional stuff at the top of the easyblock, where the other imports are; you'll need to add:

import stat
...
from easybuild.tools.filetools import adjust_permissions

@boegel

boegel commented Nov 25, 2015

Copy link
Copy Markdown
Member

Jenkins: ok to test

@boegel boegel added this to the v2.5.0 milestone Nov 25, 2015
@hpcugentbot

Copy link
Copy Markdown

Easyblocks unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1375/console for more details.

Please fix the reported issues by pushing additional commits to the branch corresponding with this pull request; contact @boegel if you're not sure what to do.

@hpcugentbot

Copy link
Copy Markdown

Easyblocks unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1376/console for more details.

Please fix the reported issues by pushing additional commits to the branch corresponding with this pull request; contact @boegel if you're not sure what to do.

@boegel

boegel commented Nov 26, 2015

Copy link
Copy Markdown
Member

@blappm: please ignore the failing tests, something is broken in develop (unrelated to these changes here), I'm working on fixing it; I'll retrigger the tests here when the issue is resolved

@boegel

boegel commented Nov 26, 2015

Copy link
Copy Markdown
Member

Jenkins: test this please

@hpcugentbot

Copy link
Copy Markdown

Easyblocks unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1386/console for more details.

Please fix the reported issues by pushing additional commits to the branch corresponding with this pull request; contact @boegel if you're not sure what to do.

@boegel

boegel commented Nov 26, 2015

Copy link
Copy Markdown
Member

Jenkins: ok to test

@hpcugentbot

Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1391/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel

boegel commented Nov 26, 2015

Copy link
Copy Markdown
Member

Good to go, thanks @blappm! Congratulations on your first contribution to EasyBuild, keep them coming!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this needs a check like:

if os.path.exists('configure'):

it's possible that the configure script is not present yet, and gets generated 'on-the-fly' by using

preconfigopts = './autogen.sh && '

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

wrong indentation (one or two leading spaces too much):

Failed to obtain class for ConfigureMake easyblock (not available?): unindent does not match any outer indentation level (configuremake.py, line 86)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@blappm: ping on this?

@hpcugentbot

Copy link
Copy Markdown

Easyblocks unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1392/console for more details.

Please fix the reported issues by pushing additional commits to the branch corresponding with this pull request; contact @boegel if you're not sure what to do.

@boegel boegel modified the milestones: v2.6.0, v2.5.0 Dec 14, 2015
@boegel

boegel commented Jan 23, 2016

Copy link
Copy Markdown
Member

@blappm: reping :)

@boegel boegel modified the milestones: v2.7.0, v2.6.0 Jan 23, 2016
@boegel

boegel commented Mar 9, 2016

Copy link
Copy Markdown
Member

@blappm: another ping? This needs a sync with develop and resolving one or more conflicts btw

@boegel boegel modified the milestones: v2.x, v2.7.0 Mar 9, 2016
@boegel boegel removed this from the 3.x milestone Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants