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

Python fails to install with empty ABI flags #54896

Closed
Arfrever mannequin opened this issue Dec 12, 2010 · 5 comments
Closed

Python fails to install with empty ABI flags #54896

Arfrever mannequin opened this issue Dec 12, 2010 · 5 comments
Assignees
Labels
build The build process and cross-build

Comments

@Arfrever
Copy link
Mannequin

Arfrever mannequin commented Dec 12, 2010

BPO 10687
Nosy @warsaw
Files
  • 10687.diff
  • 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/warsaw'
    closed_at = <Date 2010-12-13.18:06:28.405>
    created_at = <Date 2010-12-12.18:34:04.126>
    labels = ['build']
    title = 'Python fails to install with empty ABI flags'
    updated_at = <Date 2010-12-13.18:06:28.404>
    user = 'https://bugs.python.org/Arfrever'

    bugs.python.org fields:

    activity = <Date 2010-12-13.18:06:28.404>
    actor = 'barry'
    assignee = 'barry'
    closed = True
    closed_date = <Date 2010-12-13.18:06:28.405>
    closer = 'barry'
    components = ['Build']
    creation = <Date 2010-12-12.18:34:04.126>
    creator = 'Arfrever'
    dependencies = []
    files = ['20032']
    hgrepos = []
    issue_num = 10687
    keywords = ['patch']
    message_count = 5.0
    messages = ['123845', '123879', '123883', '123884', '123888']
    nosy_count = 2.0
    nosy_names = ['barry', 'Arfrever']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue10687'
    versions = ['Python 3.2']

    @Arfrever
    Copy link
    Mannequin Author

    Arfrever mannequin commented Dec 12, 2010

    $ make DESTDIR=/var/tmp/portage/dev-lang/python-3.2_pre20101212/image/ altinstall 
    Creating directory /usr/bin
    Creating directory /usr/lib64
    /usr/bin/install -c python /var/tmp/portage/dev-lang/python-3.2_pre20101212/image//usr/bin/python3.2
    if test -f /var/tmp/portage/dev-lang/python-3.2_pre20101212/image//usr/bin/python3.2 -o -h /var/tmp/portage/dev-lang/python-3.2_pre20101212/image//usr/bin/python3.2; \
    then rm -f /var/tmp/portage/dev-lang/python-3.2_pre20101212/image//usr/bin/python3.2; \
    else true; \
    fi
    (cd /var/tmp/portage/dev-lang/python-3.2_pre20101212/image//usr/bin; ln python3.2 python3.2)
    ln: accessing `python3.2': No such file or directory
    make: *** [altbininstall] Error 1

    @Arfrever Arfrever mannequin added the build The build process and cross-build label Dec 12, 2010
    @warsaw
    Copy link
    Member

    warsaw commented Dec 13, 2010

    Please include your ./configure command too

    @warsaw warsaw self-assigned this Dec 13, 2010
    @warsaw
    Copy link
    Member

    warsaw commented Dec 13, 2010

    I've tested the following patch with both ./configure --prefix=/tmp/python and ./configure --without-pymalloc --prefix=/tmp/python. Both seem to work as expected.

    Note that this patch fixes a small drive-by bug I found, and it makes editing Makefile.pre.in nicer for Emacsers (without I hope affecting other editor users).

    @Arfrever
    Copy link
    Mannequin Author

    Arfrever mannequin commented Dec 13, 2010

    The patch works correctly for me.

    @warsaw
    Copy link
    Member

    warsaw commented Dec 13, 2010

    Thanks for testing it! r87213

    @warsaw warsaw closed this as completed Dec 13, 2010
    @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