From nobody@FreeBSD.org  Thu Dec  2 09:46:52 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E584C106567A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  2 Dec 2010 09:46:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D36158FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  2 Dec 2010 09:46:52 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oB29kqVB093529
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 2 Dec 2010 09:46:52 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id oB29kqFr093528;
	Thu, 2 Dec 2010 09:46:52 GMT
	(envelope-from nobody)
Message-Id: <201012020946.oB29kqFr093528@red.freebsd.org>
Date: Thu, 2 Dec 2010 09:46:52 GMT
From: Claudius Herder <claudius@ambtec.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysutils/duplicity-devel/ throws ioctl sign-extension ioctl ffffffff80087467
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: peter.schuller@infidyne.com

>Number:         152770
>Category:       ports
>Synopsis:       sysutils/duplicity-devel/ throws ioctl sign-extension ioctl ffffffff80087467
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sahil
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 02 09:50:06 UTC 2010
>Closed-Date:    Sun Feb 27 15:07:19 UTC 2011
>Last-Modified:  Sat Mar 31 14:50:12 UTC 2012
>Originator:     Claudius Herder
>Release:        FreeBSD 8.1-RELEASE-p1
>Organization:
>Environment:
FreeBSD server.ambtec.de 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #1: Thu Oct  7 12:02:15 CEST 2010     claudius@server.ambtec.de:/usr/obj/usr/src/sys/CUSTOM  amd64

>Description:
when using duplicity ssh backend for example:
duplicity full / ssh://user@host/backup/
dmesg shows:

WARNING pid 53481 (python2.7): ioctl sign-extension ioctl ffffffff80087467
WARNING pid 53520 (python2.7): ioctl sign-extension ioctl ffffffff80087467
WARNING pid 53551 (python2.7): ioctl sign-extension ioctl ffffffff80087467
WARNING pid 53819 (python2.7): ioctl sign-extension ioctl ffffffff80087467
WARNING pid 53960 (python2.7): ioctl sign-extension ioctl ffffffff80087467
WARNING pid 54061 (python2.7): ioctl sign-extension ioctl ffffffff80087467
WARNING pid 54093 (python2.7): ioctl sign-extension ioctl ffffffff80087467

same problem with python26
WARNING pid 82976 (python2.6): ioctl sign-extension ioctl ffffffff80087467
WARNING pid 82982 (python2.6): ioctl sign-extension ioctl ffffffff80087467
WARNING pid 82985 (python2.6): ioctl sign-extension ioctl ffffffff80087467
WARNING pid 82990 (python2.6): ioctl sign-extension ioctl ffffffff80087467
WARNING pid 82995 (python2.6): ioctl sign-extension ioctl ffffffff80087467
WARNING pid 82998 (python2.6): ioctl sign-extension ioctl ffffffff80087467
>How-To-Repeat:
Use duplicity with ssh backend
>Fix:
maybe related:
http://comments.gmane.org/gmane.comp.sysutils.backup.duplicity.general/2467

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Dec 2 09:50:12 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152770 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: peter.schuller@infidyne.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/152770: sysutils/duplicity-devel/ throws ioctl sign-extension ioctl ffffffff80087467
Date: Thu, 2 Dec 2010 09:50:10 UT

 Maintainer of sysutils/duplicity-devel,
 
 Please note that PR ports/152770 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/152770
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->sahil 
Responsible-Changed-By: sahil 
Responsible-Changed-When: Sun Feb 13 21:45:57 UTC 2011 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152770 

From: Claudius Herder <claudius@ambtec.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/152770: sysutils/duplicity-devel/ throws ioctl sign-extension
 ioctl ffffffff80087467
Date: Sun, 27 Feb 2011 15:40:22 +0100

 This is a multi-part message in MIME format.
 --------------090800000801000802010203
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 There is already a fix for this problem in py-pexpect 2.4_1
 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/misc/py-pexpect/files/patch-pexpect.py?rev=1.3;content-type=text%2Fplain
 
 --------------090800000801000802010203
 Content-Type: text/x-python;
  name="patch-pexpect.py"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch-pexpect.py"
 
 --- pexpect.py.orig	2008-08-18 18:27:05.000000000 -0400
 +++ pexpect.py	2010-06-24 15:15:26.000000000 -0400
 @@ -1437,17 +1437,7 @@
          applications like vi or curses -- applications that respond to the
          SIGWINCH signal. """
  
 -        # Check for buggy platforms. Some Python versions on some platforms
 -        # (notably OSF1 Alpha and RedHat 7.1) truncate the value for
 -        # termios.TIOCSWINSZ. It is not clear why this happens.
 -        # These platforms don't seem to handle the signed int very well;
 -        # yet other platforms like OpenBSD have a large negative value for
 -        # TIOCSWINSZ and they don't have a truncate problem.
 -        # Newer versions of Linux have totally different values for TIOCSWINSZ.
 -        # Note that this fix is a hack.
 -        TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', -2146929561)
 -        if TIOCSWINSZ == 2148037735L: # L is not required in Python >= 2.2.
 -            TIOCSWINSZ = -2146929561 # Same bits, but with sign.
 +        TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', 2148037735L)
          # Note, assume ws_xpixel and ws_ypixel are zero.
          s = struct.pack('HHHH', r, c, 0, 0)
          fcntl.ioctl(self.fileno(), TIOCSWINSZ, s)
 
 --------------090800000801000802010203--
State-Changed-From-To: feedback->closed 
State-Changed-By: sahil 
State-Changed-When: Sun Feb 27 15:07:18 UTC 2011 
State-Changed-Why:  
submitter reports that the problem is no longer present. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152770 

From: Claudius Herder <claudius_herder@ambtec.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/152770: sysutils/duplicity-devel/ throws ioctl sign-extension
 ioctl ffffffff80087467
Date: Sun, 27 Feb 2011 19:53:37 +0100

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enig4E2C3C6C63AE3A3CABB20898
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Sorry for the misleading information, but the mentioned patch only
 affects the port py-pexpect 2.4_1, duplicity uses it's own pexpect in
 /usr/local/lib/python2.7/site-packages/duplicity/pexpect.py which isn't
 patched and throws WARNING pid 54093 (python2.7): ioctl sign-extension
 ioctl ffffffff80087467 messages.
 
 
 --------------enig4E2C3C6C63AE3A3CABB20898
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAk1qnbEACgkQum7BwTrPFfFHHACgtCLHP14TtoWxVsdwIOe4w9T+
 Zp8AnA2dzJKxtfbxNpFuyZ/6/act6LEp
 =nJCo
 -----END PGP SIGNATURE-----
 
 --------------enig4E2C3C6C63AE3A3CABB20898--

From: Philip Jocks <pj@netzkommune.de>
To: bug-followup@FreeBSD.org,
 claudius@ambtec.de
Cc:  
Subject: Re: ports/152770: sysutils/duplicity-devel/ throws ioctl sign-extension ioctl ffffffff80087467
Date: Sat, 31 Mar 2012 14:31:06 +0200

 The issue still exists, since the duplicity people ship their own =
 (broken) pexpect library.
 What would be nice to have the duplicity port have a dependency on the =
 py-pexpect port and link to those files instead of using the pexpect =
 library that comes with duplicity.
 
 Philip
 
>Unformatted:
