Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#3269 closed defect (fixed)

Python 2.7.2 and GDBM

Reported by: Ivan Wagner Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

According to http://bugs.python.org/issue9420, the sed command used in the BLFS book is wrong.

In addition, LFS has upgraded to GDBM 1.9.1 which causes some test failures in Python due to this bug http://bugs.python.org/issue13007.

Also you may want to add a note that some of the tests will fail if run by root.

Change History (8)

comment:1 by Ivan Wagner, 10 years ago

Python has an optional dependency with pkg-config which results in a circular dependency. Also without pkg-config installed Python won't use libffi because the configure script depends on pkg-config to detect libffi.

comment:2 by bdubbs@…, 10 years ago

Milestone: 6.7current

comment:3 by andy@…, 10 years ago

Resolution: fixed
Status: newclosed

I don't think the sed is needed anymore so I've removed it. I've added a description of the dependency on pkgconfig when trying to use libffi.

comment:4 by Ivan Wagner, 9 years ago

Resolution: fixed
Status: closedreopened

LFS 7.1 has upgraded to use gdbm 1.10 which is causing a test failure in test_anydbm and test_whichdb. The fix is mentioned http://bugs.python.org/issue13007 here.

in reply to:  4 comment:5 by ken@…, 9 years ago

Replying to wagner17:

LFS 7.1 has upgraded to use gdbm 1.10 which is causing a test failure in test_anydbm and test_whichdb. The fix is mentioned http://bugs.python.org/issue13007 here.

Looking at that bug, all the recent activity is about Python3 (specifically 3.2.3) on OSX. I'm about to see if 2.7.3 works in my current build, and if it does I'll run the tests there.

comment:6 by ken@…, 9 years ago

Resolution: fixed
Status: reopenedclosed

With 2.7.3 (I've never run the tests before, and it was very scary to watch them apparently repeat): 350 test OK, 1 test altered the execution environment (test_distutils), 38 skipped, 3 unexpected skips on 'linux2' : test_bsddb, test_bsddb3, test_gdb. No idea which package produces bsddb, nor bsddb3, and gdb is not installed.

In particular, test_gdbm, test_anydbm, test_whichdb were all run and did not report any errors or deprecation warnings. Re-marking as fixed since I have no evidence that the previous closure was wrong.

comment:7 by ken@…, 9 years ago

Forgot to add that the book doesn't expect people to run tests as root (what people actually do in the privacy of their own systems is none of the book's business :) but the wiki is available for that sort of information.

comment:8 by bdubbs@…, 8 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.