NetBSD Problem Report #41968
From kre@munnari.OZ.AU Tue Sep 1 09:02:24 2009
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 9CC9E63BAC2
for <gnats-bugs@gnats.NetBSD.org>; Tue, 1 Sep 2009 09:02:24 +0000 (UTC)
Message-Id: <200909010902.n8192Hg9017664@jade.coe.psu.ac.th>
Date: Tue, 1 Sep 2009 16:02:17 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: multimedia/mpeg_encode compilation fails with new jpeg (NetBSD 4.0 / i386)
X-Send-Pr-Version: 3.95
>Number: 41968
>Category: pkg
>Synopsis: multimedia/mpeg_encode compilation fails with new jpeg (NetBSD 4.0 / i386)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: hasso
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 01 09:05:00 +0000 2009
>Closed-Date: Wed Sep 02 07:22:40 +0000 2009
>Last-Modified: Wed Sep 02 07:22:40 +0000 2009
>Originator: Robert Elz
>Release: NetBSD 4.0 / i386 pkgsrc -current
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
multimedia/mpeg_encode (mpeg_encode-1.5bnb5) fails to compile
correctly - it looks to be a jpeg related problem (perhaps
some change in the new jpeg libraries requires alterations to this
package).
>How-To-Repeat:
I use pkg_comp with libkver and NetSBD 4.0 release sets to get a
4.0 enviroment - I use pkgsrc modular xorg rather than the x* sets.
I doubt any of that is relevant to this problem.
Building multimedia/mpeg_encode results in ...
gcc -Iheaders -O -Wall -Wmissing-prototypes -I/usr/pkg/include -c -o jpeg.o jpeg.c
jpeg.c: In function 'JMovie2JPEG':
jpeg.c:355: warning: implicit declaration of function 'read'
jpeg.c: In function 'ReadJPEG':
jpeg.c:517: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_scaled_size'
jpeg.c:583: warning: implicit declaration of function 'jcopy_sample_rows'
gmake: *** [jpeg.o] Error 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/multimedia/mpeg_encode
*** Error code 1
It looks as if mpeg_encode has had no serious changes done to
it in ages, the last 3 updates were the revbump for the jpeg
library version change (which is how I got to be recompiling it),
the removal of @dirrm's from the PLIST (which cannot possibly be
related to this problem) a couple of months ago, and the addition
of DESTDIR support in May 2008. I last (successfully) compiled
this in November 2008 (mpeg_encode-1.5bnb4) (which would have
included the DESTDIR changes).
It looks as if for this package, just a simple revbump for the
jpeg change is not enough, and actual code changes are needed too.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->hasso
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 01 Sep 2009 19:22:08 +0000
Responsible-Changed-Why:
hasso committed a fix.
State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 01 Sep 2009 19:22:08 +0000
State-Changed-Why:
Does it build for you now?
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/41968 (multimedia/mpeg_encode compilation fails with new jpeg (NetBSD 4.0 / i386))
Date: Wed, 02 Sep 2009 11:25:45 +0700
Date: Tue, 1 Sep 2009 19:22:10 +0000 (UTC)
From: wiz@NetBSD.org
Message-ID: <20090901192210.70F9463BAC2@www.NetBSD.org>
| hasso committed a fix.
| Does it build for you now?
Yes, it does, that fixed it, thanks.
kre
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 02 Sep 2009 07:22:40 +0000
State-Changed-Why:
Fixed, thanks.
>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.