Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Feb 2015 01:30:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        perl@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 197404] [patch] net/p5-IO-Interface fix modbuild on FreeBSD
Message-ID:  <bug-197404-14331-H3pnRPkMCw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197404-14331@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197404-14331@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Lawrence Chen <beastie@tardisi.com> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to perl@FreeBSD.org:
Bug 197404: [patch] net/p5-IO-Interface fix modbuild on FreeBSD
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197404



--- Description ---
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 <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer perl@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197404-14331-H3pnRPkMCw>