| Summary: | [gold] "ImportError: No module named syslog" on rebuild | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Nowak <mnowak> |
| Component: | python | Assignee: | Dave Malcolm <dmalcolm> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dmalcolm, ivazqueznet, james.antill, jonathansteffan, ohudlick |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-10 17:28:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 672043 *** |
Description of problem: When rebuilding python-2.7.1-5.fc15.src.rpm on x86-64 it fails with: [...] /usr/bin/ld: Modules/posixmodule.o: in function posix_tempnam:/root/rpmbuild/BUILD/Python-2.7.1/Modules/posixmodule.c:7301: warning: the use of `tempnam' is dangerous, better use `mkstemp' /usr/bin/ld: Modules/posixmodule.o: in function posix_tmpnam:/root/rpmbuild/BUILD/Python-2.7.1/Modules/posixmodule.c:7346: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' gcc -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Xlinker -export-dynamic -o python-debug \ Modules/python.o \ -L. -lpython2.7_d -lpthread -ldl -lutil -lm Traceback (most recent call last): File "/root/rpmbuild/BUILD/Python-2.7.1/Lib/site.py", line 557, in <module> main() File "/root/rpmbuild/BUILD/Python-2.7.1/Lib/site.py", line 540, in main known_paths = addsitepackages(known_paths) File "/root/rpmbuild/BUILD/Python-2.7.1/Lib/site.py", line 319, in addsitepackages addsitedir(sitedir, known_paths) File "/root/rpmbuild/BUILD/Python-2.7.1/Lib/site.py", line 192, in addsitedir addpackage(sitedir, name, known_paths) File "/root/rpmbuild/BUILD/Python-2.7.1/Lib/site.py", line 162, in addpackage exec line File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/abrt_exception_handler.py", line 27, in <module> import syslog ImportError: No module named syslog [15673 refs] make: *** [sharedmods] Error 1 It's current rawhide as of today.