This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: DragonFly BSD support
Type: Stage:
Components: Build Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: cameuh, georg.brandl, hyeshik.chang, jparise, loewis
Priority: normal Keywords: patch

Created on 2004-02-04 06:30 by jparise, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-dragonfly.patch jparise, 2004-02-04 06:30 DragonFly support for Python 2.4a (cvs)
IN.py jparise, 2004-02-04 06:32 For DragonFly 1.0-CURRENT (Lib/plat-dragonfly1)
python-dragonfly.patch jparise, 2004-02-12 01:51 Updated patch for Python 2.4a (cvs)
python-dragonfly.patch jparise, 2004-03-05 07:26 Updated patch for Python 2.4a (cvs)
python-dragonfly.patch jparise, 2004-08-04 04:46 Updated patch for Python 2.4a2 (cvs)
Messages (10)
msg45350 - (view) Author: Jon Parise (jparise) Date: 2004-02-04 06:30
I spent some time building a simple little patch that
gets Python up and running under DragonFly BSD.  At the
moment, DragonFly (as a platform) is nearly identical
to FreeBSD (from which is was forked), so the generated
the patch was largely mechanical.

I'll continue to make efforts to support Python on
DragonFly should things become more complicated.

The only known issue is a test case failure for
test_fcntl.  I don't know whether this failure is
unique to DragonFly at this time.  I'll investigate
that soon.

This patch is valid for DragonFly 1.0-CURRENT using
either GCC 2.95.4 or GCC 3.3.3 20040126.
msg45351 - (view) Author: Jon Parise (jparise) Date: 2004-02-04 06:32
Logged In: YES 
user_id=485579

Also, attached in the generated IN.py Lib/plat-dragonfly1.
msg45352 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-02-04 22:36
Logged In: YES 
user_id=21627

Are you willing to act as a maintainer and contact point for
the Dragonfly port?
msg45353 - (view) Author: Jon Parise (jparise) Date: 2004-02-05 00:00
Logged In: YES 
user_id=485579

Yes, I'm comfortable with that.
msg45354 - (view) Author: Jon Parise (jparise) Date: 2004-03-05 07:26
Logged In: YES 
user_id=485579

Updated the patch against the latest Python 2.4a (cvs) code.
msg45355 - (view) Author: Jon Parise (jparise) Date: 2004-03-15 02:43
Logged In: YES 
user_id=485579

The test_fcnlt failure has been corrected in the latest patch.
msg45356 - (view) Author: Hyeshik Chang (hyeshik.chang) * (Python committer) Date: 2004-07-25 04:33
Logged In: YES 
user_id=55188

I got massive errors while compiling some extension modules.
(DragonflyBSD 1.0A, python HEAD as of today)

ld build/temp.dragonfly-1.0A-RELEASE-i386-2.4/dlmodule.o
-L/usr/local/lib -o
build/lib.dragonfly-1.0A-RELEASE-i386-2.4/dl.so
/usr/libexec/binutils212/elf/ld: warning: cannot find entry
symbol _start; defaulting to 08048074
build/temp.dragonfly-1.0A-RELEASE-i386-2.4/dlmodule.o: In
function `dl_call':
/home/perky/python/Modules/dlmodule.c:82: undefined
reference to `PyTuple_Size'
/home/perky/python/Modules/dlmodule.c:84: undefined
reference to `PyExc_TypeError'
/home/perky/python/Modules/dlmodule.c:84: undefined
reference to `PyErr_SetString'
/home/perky/python/Modules/dlmodule.c:87: undefined
reference to `PyTuple_GetItem'
/home/perky/python/Modules/dlmodule.c:88: undefined
reference to `PyString_Type'
/home/perky/python/Modules/dlmodule.c:88: undefined
reference to `PyString_Type'
/home/perky/python/Modules/dlmodule.c:88: undefined
reference to `PyType_IsSubtype'
msg45357 - (view) Author: Jon Parise (jparise) Date: 2004-08-04 04:48
Logged In: YES 
user_id=485579

That's strange.  I just built Python HEAD under DragonFly
1.1-CURRENT.  I've updated the patch to reflect the latest
changes to the Python repository.

What configure arguments are you using?
msg45358 - (view) Author: cam (cameuh) Date: 2005-02-19 21:14
Logged In: YES 
user_id=463600

I'm experiencing the same issue, here is my config:

DragonFly 1.1-Stable
gcc version 2.95.4 20020320 [DragonFly]
Python cvs

# ./configure --prefix=/usr --with-fpectl --enable-shared --infodir=/usr/share/
info --mandir=/usr/share/man --with-threads

You can see the full configure/make here:
http://www.cameuh.net/dfbsd-python.txt.gz

Python is compiled fine, but there is no modules:

# ls /usr/lib/python2.3/lib-dynload/
cPickle_failed.so       struct_failed.so
msg45359 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-02-19 15:40
Logged In: YES 
user_id=1188172

Python should now compile on DragonFly with patch #1432345
applied.
History
Date User Action Args
2022-04-11 14:56:02adminsetgithub: 39900
2004-02-04 06:30:39jparisecreate