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

"abort: repository . not found!" during the build of Python 2.7 #73907

Closed
serhiy-storchaka opened this issue Mar 4, 2017 · 2 comments
Closed
Labels
build The build process and cross-build

Comments

@serhiy-storchaka
Copy link
Member

BPO 29721
Nosy @benjaminp, @bitdancer, @serhiy-storchaka

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 2017-06-15.14:48:28.339>
created_at = <Date 2017-03-04.19:21:19.601>
labels = ['build']
title = '"abort: repository . not found!" during the build of Python 2.7'
updated_at = <Date 2017-06-15.14:48:28.337>
user = 'https://github.com/serhiy-storchaka'

bugs.python.org fields:

activity = <Date 2017-06-15.14:48:28.337>
actor = 'serhiy.storchaka'
assignee = 'none'
closed = True
closed_date = <Date 2017-06-15.14:48:28.339>
closer = 'serhiy.storchaka'
components = ['Build']
creation = <Date 2017-03-04.19:21:19.601>
creator = 'serhiy.storchaka'
dependencies = []
files = []
hgrepos = []
issue_num = 29721
keywords = []
message_count = 2.0
messages = ['288991', '296104']
nosy_count = 3.0
nosy_names = ['benjamin.peterson', 'r.david.murray', 'serhiy.storchaka']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue29721'
versions = ['Python 2.7']

@serhiy-storchaka
Copy link
Member Author

The message "abort: repository . not found!" is output to stderr three times during the build of Python 2.7. To be more precise, it happens during the build of getbuildinfo.c.

$ touch Modules/getbuildinfo.c
$ make -s
abort: repository . not found!
abort: repository . not found!
abort: repository . not found!
libpython2.7.a(posixmodule.o): у функції «posix_tmpnam»:
/home/serhiy/py/cpython2.7/./Modules/posixmodule.c:7614: попередження: the use of `tmpnam_r' is dangerous, better use `mkstemp'
libpython2.7.a(posixmodule.o): у функції «posix_tempnam»:
/home/serhiy/py/cpython2.7/./Modules/posixmodule.c:7561: попередження: the use of `tempnam' is dangerous, better use `mkstemp'
building dbm using gdbm

Python build finished, but the necessary bits to build these modules were not found:
_bsddb bsddb185 sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

All works correctly when build Python 3.x.

This looks related to bpo-12346.

@serhiy-storchaka serhiy-storchaka added build The build process and cross-build labels Mar 4, 2017
@serhiy-storchaka
Copy link
Member Author

The issue no longer reproduced.

@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