From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 8 01:30:03 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21C5DC38 for ; Sun, 8 Feb 2015 01:30:03 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2EEC185 for ; Sun, 8 Feb 2015 01:30:02 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t181U2u8078945 for ; Sun, 8 Feb 2015 01:30:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197404] [patch] net/p5-IO-Interface fix modbuild on FreeBSD Date: Sun, 08 Feb 2015 01:30:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: beastie@tardisi.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: perl@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 01:30:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197404 Bug ID: 197404 Summary: [patch] net/p5-IO-Interface fix modbuild on FreeBSD Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: perl@FreeBSD.org Reporter: beastie@tardisi.com Assignee: perl@FreeBSD.org Flags: maintainer-feedback?(perl@FreeBSD.org) Created attachment 152696 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152696&action=edit my patch After this port was upgraded from 1.06 to 1.09, I had incorrectly assumed that my port (see bug 196528) failing was a problem with its use IO::Interface methods marked as deprecated. However, this didn't solve the problem. My port would continue to fail with: Error: Illegal seek And, in dmesg, lines like this would appear: WARNING pid 10917 (perl): ioctl sign-extension ioctl ffffffffc0206933 WARNING pid 10917 (perl): ioctl sign-extension ioctl ffffffffc0206921 In deeper investigation, found that the problem was in net/p5-IO-Interface. In looking at the change log, between 1.06 and 1.09, the upstream applied a patch for a segfault in 1.07 and another in 1.08. 1.08 was also the first Git version. In 1.09, converted to use Module::Build. The problem is the CONFIGURE portion that was in Makefile.PL was not replicated into Build.PL, so it wasn't checking if it was being built on FreeBSD, OpenBSD or NetBSD. Or testing for the presence of two headerfiles. So, the compile was missing 3 compiler flags (DEFINES). I waited to see if this port would get fixed, or rolled back to 1.08, but didn't seem either wanted to take place. So, after figuring out what specific change to Build.PL I needed and fed it into 'poudriere testport', I submitted a report to cpan for IO::Interface (#101985). Made an additional change to Makefile to satisfy warning from poudriere QA. --- Comment #1 from Bugzilla Automation --- Auto-assigned to maintainer perl@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.