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

python3 fails to build if directory or sysroot contains "*icc*" string #77522

Closed
locutusofborg mannequin opened this issue Apr 23, 2018 · 6 comments
Closed

python3 fails to build if directory or sysroot contains "*icc*" string #77522

locutusofborg mannequin opened this issue Apr 23, 2018 · 6 comments
Labels
3.8 only security fixes build The build process and cross-build

Comments

@locutusofborg
Copy link
Mannequin

locutusofborg mannequin commented Apr 23, 2018

BPO 33341
Nosy @terryjreedy, @vstinner, @vadmium
Superseder
  • bpo-28584: ICC compiler check is too permissive
  • Files
  • icc-find.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2018-05-17.15:31:11.576>
    created_at = <Date 2018-04-23.10:12:22.359>
    labels = ['build', '3.8']
    title = 'python3 fails to build if directory or sysroot contains "*icc*" string'
    updated_at = <Date 2018-05-19.00:38:18.642>
    user = 'https://bugs.python.org/locutusofborg'

    bugs.python.org fields:

    activity = <Date 2018-05-19.00:38:18.642>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-05-17.15:31:11.576>
    closer = 'terry.reedy'
    components = ['Build']
    creation = <Date 2018-04-23.10:12:22.359>
    creator = 'locutusofborg'
    dependencies = []
    files = ['47596']
    hgrepos = []
    issue_num = 33341
    keywords = ['patch']
    message_count = 6.0
    messages = ['315656', '315805', '315854', '316920', '316945', '316948']
    nosy_count = 4.0
    nosy_names = ['terry.reedy', 'vstinner', 'martin.panter', 'locutusofborg']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '28584'
    type = 'compile error'
    url = 'https://bugs.python.org/issue33341'
    versions = ['Python 3.8']

    @locutusofborg
    Copy link
    Mannequin Author

    locutusofborg mannequin commented Apr 23, 2018

    Hello, as said, in yocto we pass in $CC environment, also the --sysroot keyword.

    If --sysroot contains the "*icc*" or "*gcc*" in path, the build fails because of wrong autoconf checks.

    checking in a case switch for *icc* seems bad to me, I propose to change it with something like
    "*icc" so we might exclude when icc is not the compiler.

    I know this isn't a strong patch, but maybe we can apply it while writing some better detect code.

    The build fails as descripted in the yocto bug
    https://bugzilla.yoctoproject.org/show_bug.cgi?id=12703

    @locutusofborg locutusofborg mannequin added 3.8 only security fixes build The build process and cross-build labels Apr 23, 2018
    @locutusofborg
    Copy link
    Mannequin Author

    locutusofborg mannequin commented Apr 26, 2018

    I signed the contributor agreement, even if such patches shouldn't need any kind of license

    @terryjreedy
    Copy link
    Member

    Thank you. Yes, we require a signed CA for something this non-trivial.

    Victor, I don't know who maintains configure. If you don't, maybe you know who does.

    @vadmium
    Copy link
    Member

    vadmium commented May 17, 2018

    Maybe this is the same as bpo-28584, about the ${CC} variable rather than “sysroot”. In any case, the patch looks unrelated.

    @locutusofborg
    Copy link
    Mannequin Author

    locutusofborg mannequin commented May 17, 2018

    This was the patch I wanted to add, but I picked up a wrong one (a vbox one)

    In any case, duplicate of bpo-28584

    @terryjreedy
    Copy link
    Member

    icc-find.patch (and a 2nd version) has been uploaded to bpo-28584 also. I unlinked the erroneous upload 'patch'.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes build The build process and cross-build
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants