NetBSD Problem Report #39553
From www@NetBSD.org Mon Sep 15 17:22:46 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id AA66563B8E3
for <gnats-bugs@gnats.netbsd.org>; Mon, 15 Sep 2008 17:22:46 +0000 (UTC)
Message-Id: <20080915172246.799C563B842@narn.NetBSD.org>
Date: Mon, 15 Sep 2008 17:22:46 +0000 (UTC)
From: hasso@estpak.ee
Reply-To: hasso@estpak.ee
To: gnats-bugs@NetBSD.org
Subject: net/py-twisted problems
X-Send-Pr-Version: www-1.0
>Number: 39553
>Category: pkg
>Synopsis: net/py-twisted problems
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: epg
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 15 17:25:00 +0000 2008
>Closed-Date: Fri Sep 19 17:55:23 +0000 2008
>Last-Modified: Fri Sep 19 17:55:23 +0000 2008
>Originator: Hasso Tepper
>Release: DragonFly
>Organization:
>Environment:
DragonFly
>Description:
=> Checking file-check results for py24-twisted-8.1.0
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: /usr/pkg/lib/python2.4/site-packages/twisted/python/_epoll.so
ERROR: /usr/pkg/lib/python2.4/site-packages/twisted/test/generator_failure_tests.pyc
ERROR: /usr/pkg/lib/python2.4/site-packages/twisted/test/generator_failure_tests.pyo
*** Error code 1
_epoll.so is probably Linux specific and isn't just compiled in other platforms:
conftest.c:1:23: error: sys/epoll.h: No such file or directory
generator_failure_tests.py has syntax problem at least with python 2.4:
byte-compiling /usr/pkg/lib/python2.4/site-packages/twisted/test/generator_failure_tests.py to generator_failure_tests.pyc
File "/usr/pkg/lib/python2.4/site-packages/twisted/test/generator_failure_tests.py", line 66
yield
^
SyntaxError: invalid syntax
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->epg
Responsible-Changed-By: epg@NetBSD.org
Responsible-Changed-When: Mon, 15 Sep 2008 13:32:07 -0400
Responsible-Changed-Why:
I broke it, I'll fix it.
From: Eric Gillespie <epg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/39553 CVS commit: pkgsrc/net/py-twisted
Date: Tue, 16 Sep 2008 01:59:07 +0000 (UTC)
Module Name: pkgsrc
Committed By: epg
Date: Tue Sep 16 01:59:07 UTC 2008
Modified Files:
pkgsrc/net/py-twisted: Makefile PLIST distinfo
Added Files:
pkgsrc/net/py-twisted: PLIST.Linux
pkgsrc/net/py-twisted/patches: patch-ac
Log Message:
- Move _epoll.so to PLIST.Linux (fixes PR pkg/39553).
- Adjust py-OpenSSL dependency down to 0.6.
- Use egg.mk instead of extension.mk, drop PYDISTUTILSPKG, and add egg foo
to PLIST.
To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 pkgsrc/net/py-twisted/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/net/py-twisted/PLIST
cvs rdiff -r0 -r1.1 pkgsrc/net/py-twisted/PLIST.Linux
cvs rdiff -r1.5 -r1.6 pkgsrc/net/py-twisted/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/net/py-twisted/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: epg@NetBSD.org
State-Changed-When: Tue, 16 Sep 2008 13:06:24 -0400
State-Changed-Why:
I've committed fixes for NetBSD and Python 2.4; please update and confirm.
From: Hasso Tepper <hasso@estpak.ee>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/39553 (net/py-twisted problems)
Date: Wed, 17 Sep 2008 13:16:18 +0300
epg@netbsd.org wrote:
> I've committed fixes for NetBSD and Python 2.4; please update and
> confirm.
It installs now, thanks. Note that two warnings are also given in
developer mode:
=> Checking for non-existent script interpreters in py24-twisted-8.1.0
WARNING: [check-interpreter.mk] The interpreter "/usr/bin/python"
of "/usr/pkg/lib/python2.4/site-packages/twisted/mail/test/pop3testserver.py"
does not exist.
WARNING: [check-interpreter.mk] The interpreter "/bin/python"
of "/usr/pkg/lib/python2.4/site-packages/twisted/trial/test/scripttest.py"
does not exist.
--
Hasso Tepper
From: Eric Gillespie <epg@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org, hasso@estpak.ee
Subject: Re: pkg/39553 (net/py-twisted problems)
Date: Fri, 19 Sep 2008 08:59:23 -0700
Hasso Tepper <hasso@estpak.ee> writes:
> It installs now, thanks. Note that two warnings are also given in
OK, I'll close the PR.
> => Checking for non-existent script interpreters in py24-twisted-8.1.0
> WARNING: [check-interpreter.mk] The interpreter "/usr/bin/python"
> of "/usr/pkg/lib/python2.4/site-packages/twisted/mail/test/pop3testserver.py"
> does not exist.
> WARNING: [check-interpreter.mk] The interpreter "/bin/python"
> of "/usr/pkg/lib/python2.4/site-packages/twisted/trial/test/scripttest.py"
> does not exist.
I ignored those because the #! lines here don't matter, even when
running the tests, and these are never used by applications.
However, I've just noticed CHECK_INTERPRETER_SKIP; I will look at
using that to silence the warnings.
--
Eric Gillespie <*> epg@NetBSD.org
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/39553 (net/py-twisted problems)
Date: Fri, 19 Sep 2008 19:23:23 +0200
On Fri, Sep 19, 2008 at 04:00:08PM +0000, Eric Gillespie wrote:
> I ignored those because the #! lines here don't matter, even when
> running the tests, and these are never used by applications.
> However, I've just noticed CHECK_INTERPRETER_SKIP; I will look at
> using that to silence the warnings.
Please just use REPLACE_PYTHON. It is as much work and it is more
correct.
Joerg
State-Changed-From-To: feedback->closed
State-Changed-By: epg@NetBSD.org
State-Changed-When: Fri, 19 Sep 2008 13:55:23 -0400
State-Changed-Why:
Reporter confirmed fix.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.