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 install fails with -j8 with python2.6/config on FreeBSD #52326

Closed
ngie-eign mannequin opened this issue Mar 6, 2010 · 4 comments
Closed

make install fails with -j8 with python2.6/config on FreeBSD #52326

ngie-eign mannequin opened this issue Mar 6, 2010 · 4 comments
Labels
build The build process and cross-build

Comments

@ngie-eign
Copy link
Mannequin

ngie-eign mannequin commented Mar 6, 2010

BPO 8079
Nosy @terryjreedy, @tiran, @ngie-eign
Files
  • all.log: make all ; make install with busted python26 package
  • clean.log: make deinstall clean run before make all; make install (all.log)
  • 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 2013-07-26.11:19:05.715>
    created_at = <Date 2010-03-06.06:40:28.780>
    labels = ['build']
    title = 'make install fails with -j8 with python2.6/config on FreeBSD'
    updated_at = <Date 2013-07-26.11:19:05.713>
    user = 'https://github.com/ngie-eign'

    bugs.python.org fields:

    activity = <Date 2013-07-26.11:19:05.713>
    actor = 'christian.heimes'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-07-26.11:19:05.715>
    closer = 'christian.heimes'
    components = ['Build']
    creation = <Date 2010-03-06.06:40:28.780>
    creator = 'ngie'
    dependencies = []
    files = ['16467', '16468']
    hgrepos = []
    issue_num = 8079
    keywords = []
    message_count = 4.0
    messages = ['100518', '185782', '193725', '193728']
    nosy_count = 4.0
    nosy_names = ['terry.reedy', 'christian.heimes', 'ngie', 'ngie.cooper']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue8079'
    versions = ['Python 2.7', 'Python 3.3']

    @ngie-eign
    Copy link
    Mannequin Author

    ngie-eign mannequin commented Mar 6, 2010

    When attempting to install and deinstall lang/python26 to run some unit tests for a change I was going to provide to the maintainer, I ran into this issue:

    install -o root -g wheel -m 444 ./../Include/ucnhash.h /usr/local/include/python2.6
    install -o root -g wheel -m 444 ./../Include/unicodeobject.h /usr/local/include/python2.6
    install -o root -g wheel -m 444 ./../Include/warnings.h /usr/local/include/python2.6
    install -o root -g wheel -m 444 ./../Include/weakrefobject.h /usr/local/include/python2.6
    install -o root -g wheel -m 444 pyconfig.h /usr/local/include/python2.6/pyconfig.h
    Creating directory /usr/local/lib/python2.6/config
    install: /usr/local/lib/python2.6/config exists but is not a directory
    *** Error code 71

    Stop in /scratch/freebsd/ports/lang/python26/work/Python-2.6.4/portbld.static.
    *** Error code 1

    Stop in /scratch/freebsd/ports/lang/python26.
    *** Error code 1

    The problem was caused by an incomplete install into ${prefix} [which I will take up with the FreeBSD project], but manifests itself because the -j value I specified, was too high. I say this because of another comment placed in a top-level Makefile at a previous job about compiling Python 2.4.2 with this particular goal (installing the modules) and race conditions.

    I would provide a patch but I'm not sure what the issue could stem from, other than a race conditions with a busted install-sh and incomplete dependencies specified in Makefile.pre.in.

    I'll provide more info if needed.

    Reproducible via the following on FreeBSD, given a fast enough machine:

    cd lang/python26; make deinstall clean; make -j8 all; make -j8 install

    [gcooper@bayonetta /scratch/freebsd/ports/lang/python26]$ uname -a
    FreeBSD bayonetta.localdomain 9.0-CURRENT FreeBSD 9.0-CURRENT #2: Thu Mar 4 13:16:39 PST 2010 gcooper@bayonetta.localdomain:/usr/obj/usr/src/sys/BAYONETTA amd64
    [gcooper@bayonetta /scratch/freebsd/ports/lang/python26]$ sysctl -a hw.model
    hw.model: Intel(R) Xeon(R) CPU W3520 @ 2.67GHz

    [From top(1)]

    Mem: 43M Active, 10G Inact, 870M Wired, 76M Cache, 1237M Buf, 537M Free
    Swap: 20G Total, 108K Used, 20G Free

    @ngie-eign ngie-eign mannequin added the build The build process and cross-build label Mar 6, 2010
    @terryjreedy
    Copy link
    Member

    Garrett, I don't know that any of our active developers use FreeBSD. Is this a problem with 2.7.3 or 3.3.0 (or 2.7.4 or 3.3.1 when they come out in a week)? If you have lost interest, please say so and we will close until such time as it becomes current again.

    @ngiecooper
    Copy link
    Mannequin

    ngiecooper mannequin commented Jul 26, 2013

    Feel free to close this. I don't have any interest in pursuing it further.

    @tiran
    Copy link
    Member

    tiran commented Jul 26, 2013

    I have never seen that kind of error with Python 2.7 or 3.3+. It's probably fixed.

    @tiran tiran closed this as completed Jul 26, 2013
    @tiran tiran added the build The build process and cross-build label Jul 26, 2013
    @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

    2 participants