NetBSD Problem Report #45873
From www@NetBSD.org Thu Jan 26 14:10:17 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id D94F863DDE5
for <gnats-bugs@gnats.NetBSD.org>; Thu, 26 Jan 2012 14:10:16 +0000 (UTC)
Message-Id: <20120126141016.3C60463B955@www.NetBSD.org>
Date: Thu, 26 Jan 2012 14:10:16 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: graphics/p5-GD broken on Solaris/i86 (but read the details)
X-Send-Pr-Version: www-1.0
>Number: 45873
>Category: pkg
>Synopsis: graphics/p5-GD broken on Solaris/i86 (but read the details)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkgsrc-p5-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 26 14:15:00 +0000 2012
>Closed-Date: Thu Jul 04 05:41:47 +0000 2013
>Last-Modified: Thu Jul 04 05:41:47 +0000 2013
>Originator: Jörn Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
I just realized, that with Perl 5.14, it is no longer possible to load the GD module:
$ perl -e 'use GD;'
Not a CODE reference at /usr/pkgsrc/20110809/lib/perl5/5.14.0/i386-solaris-thread-multi/DynaLoader.pm line 213.
END failed--call queue aborted at /usr/pkgsrc/20110809/lib/perl5/vendor_perl/5.14.0/i386-solaris-thread-multi/GD.pm line
A short search revealed a rather fundamental problem in ExtUtils-MakeMaker:
https://rt.cpan.org/Public/Bug/Display.html?id=68613
As a quick fix per
https://bugs.archlinux.org/task/25067
I added
CFLAGS+=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
to graphics/p5-GD/Makefile, and the error was gone.
>How-To-Repeat:
>Fix:
The problem seems to affect different architectures. I can confirm Solaris/i86 with 32bit ABI is affected, Solaris/sparc with 32bit ABI and NetBSD-5.1/i386 are not. The patch should be enclosed in an appropriate .if-clause, probably after the situation on other platforms has been evaluated.
And someone should probably take a close look on the development of ExtUtils-MakeMaker and pull up any fixes there quickly.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->pkgsrc-p5-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Thu, 26 Jan 2012 16:23:19 +0000
Responsible-Changed-Why:
one for the perl wizards
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/45873
Date: Wed, 14 Nov 2012 14:20:09 +0100
This problem has still not been fixed upstream. I was bitten again by it
after upgrading my packages and forgot to apply my local patch.
Please add this fix for the time being.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45873 CVS commit: pkgsrc/graphics/p5-GD
Date: Thu, 4 Jul 2013 05:38:55 +0000
Module Name: pkgsrc
Committed By: dholland
Date: Thu Jul 4 05:38:55 UTC 2013
Modified Files:
pkgsrc/graphics/p5-GD: Makefile
Log Message:
Add -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to CFLAGS per PR 45873.
To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/graphics/p5-GD/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 04 Jul 2013 05:41:47 +0000
State-Changed-Why:
committed, sorry about the latency
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.