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

make_buildinfo regression with unquoted path #54710

Closed
bz2 mannequin opened this issue Nov 22, 2010 · 7 comments
Closed

make_buildinfo regression with unquoted path #54710

bz2 mannequin opened this issue Nov 22, 2010 · 7 comments
Assignees
Labels
build The build process and cross-build

Comments

@bz2
Copy link
Mannequin

bz2 mannequin commented Nov 22, 2010

BPO 10501
Nosy @loewis, @kristjanvalur, @bz2, @iritkatriel
Files
  • issue9981_regression.patch: Patch sprinkling quotes around the place
  • 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 = 'https://github.com/kristjanvalur'
    closed_at = <Date 2021-09-09.21:59:07.893>
    created_at = <Date 2010-11-22.10:01:41.621>
    labels = ['build']
    title = 'make_buildinfo regression with unquoted path'
    updated_at = <Date 2021-09-09.21:59:07.891>
    user = 'https://github.com/bz2'

    bugs.python.org fields:

    activity = <Date 2021-09-09.21:59:07.891>
    actor = 'iritkatriel'
    assignee = 'kristjan.jonsson'
    closed = True
    closed_date = <Date 2021-09-09.21:59:07.893>
    closer = 'iritkatriel'
    components = ['Build']
    creation = <Date 2010-11-22.10:01:41.621>
    creator = 'gz'
    dependencies = []
    files = ['19769']
    hgrepos = []
    issue_num = 10501
    keywords = ['patch']
    message_count = 7.0
    messages = ['122104', '122109', '122113', '122172', '122185', '127255', '401523']
    nosy_count = 4.0
    nosy_names = ['loewis', 'kristjan.jonsson', 'gz', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue10501'
    versions = ['Python 3.2']

    @bz2
    Copy link
    Mannequin Author

    bz2 mannequin commented Nov 22, 2010

    My build got broken by the change for bpo-9981 in revision 86137. The problem is it adds $(IntDir) to various places in the vcproj file, including the command line arguments to make_buildinfo, and my svn checkout is under a dir with a space in.

    Ideally it could just use a relative path, but just making sure it's quoted works too.

    @bz2 bz2 mannequin added the build The build process and cross-build label Nov 22, 2010
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Nov 22, 2010

    Kristjan, can you take a look?

    @loewis loewis mannequin assigned kristjanvalur Nov 22, 2010
    @kristjanvalur
    Copy link
    Mannequin

    kristjanvalur mannequin commented Nov 22, 2010

    Ah yes, spaces in filenames. One always forgets.
    Fixed the make_buildinfo.c (quote whole string, not just part of it) and committed in revision 86689

    @kristjanvalur kristjanvalur mannequin closed this as completed Nov 22, 2010
    @bz2
    Copy link
    Mannequin Author

    bz2 mannequin commented Nov 22, 2010

    Thanks. Don't actually need to quote the whole path, but what you've landed works for me.

    @kristjanvalur
    Copy link
    Mannequin

    kristjanvalur mannequin commented Nov 23, 2010

    I did various tests and quoting parts of the path seemed fragile, especially if the quote landed next to a backslash. This is dangerous ground :)

    @elibendersky
    Copy link
    Mannequin

    elibendersky mannequin commented Jan 28, 2011

    Please see bpo-11034

    @elibendersky elibendersky mannequin reopened this Jan 28, 2011
    @iritkatriel
    Copy link
    Member

    There is no longer a make_buildinfo.c

    @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
    build The build process and cross-build
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant