Bug 676661 - [gold] "ImportError: No module named syslog" on rebuild
Summary: [gold] "ImportError: No module named syslog" on rebuild
Keywords:
Status: CLOSED DUPLICATE of bug 672043
Alias: None
Product: Fedora
Classification: Fedora
Component: python
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dave Malcolm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-10 16:16 UTC by Michal Nowak
Modified: 2013-03-08 02:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-10 17:28:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Nowak 2011-02-10 16:16:15 UTC
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.

Comment 1 Dave Malcolm 2011-02-10 17:28:33 UTC

*** This bug has been marked as a duplicate of bug 672043 ***


Note You need to log in before you can comment on or make changes to this bug.