NetBSD Problem Report #33831

From dauphin@enst.fr  Mon Jun 26 14:29:27 2006
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id DF02263B848
	for <gnats-bugs@gnats.netbsd.org>; Mon, 26 Jun 2006 14:29:26 +0000 (UTC)
Message-Id: <1151332166.18203@bi.enst.fr>
Date: Mon, 26 Jun 2006 16:29:26 +0200
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: multimedia/mplayer Solaris10 gcc
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         33831
>Category:       pkg
>Synopsis:       multimedia/mplayer Solaris10 gcc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 26 14:30:00 +0000 2006
>Closed-Date:    Thu Feb 07 15:23:09 +0000 2013
>Last-Modified:  Thu Feb 07 15:23:09 +0000 2013
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


gcc -I../libvo -I../../libvo -I/usr/openwin/include -O4   -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/pkg/include -I/usr/pkg/include/faad2 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/pkg/include/faad2 -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include -I.. -I/pkg/obj/multimedia/mplayer/work/MPlayer-1.0pre8 -I/pkg/obj/multimedia/mplayer/work/MPlayer-1.0pre8/libavutil -I/pkg/obj/multimedia/mplayer/work/MPlayer-1.0pre8/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o utils.o utils.c
In file included from avformat.h:18,
                 from utils.c:19:
avio.h:6: error: conflicting types for 'offset_t'
/usr_ro/sfw/bin/../lib/gcc/i386-pc-solaris2.10/3.4.3/include/sys/types.h:233: error: previous declaration of 'offset_t' was here
gmake[1]: *** [utils.o] Error 1
gmake[1]: Leaving directory `/pkg/obj/multimedia/mplayer/work/MPlayer-1.0pre8/libavformat'
gmake: *** [libavformat/libavformat.a] Error 2
*** Error code 2

Stop.



>How-To-Repeat:


bmake


>Fix:


offset_t is still define for solaris (maybe other patch needed)

--- libavformat/avio.h.orig     Sun Jun 11 20:35:49 2006
+++ libavformat/avio.h  Mon Jun 26 16:11:41 2006
@@ -3,7 +3,9 @@

 /* output byte stream handling */

+#ifndef __sun
 typedef int64_t offset_t;
+#endif

 /* unbuffered I/O */




>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Tue, 27 Jun 2006 06:35:43 +0000
Responsible-Changed-Why:
Solaris-specific problem.


From: Sergey Svishchev <svs+pr@grep.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/33831
Date: Thu, 5 Oct 2006 03:16:56 +0400

 FYI:

 "This is really an ffmpeg bug. We've been aware of this for quite awhile; 
 however, no action has been taken."

 http://article.gmane.org/gmane.comp.video.mplayer.devel/37721

 -- 
 Sergey Svishchev

State-Changed-From-To: open->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Thu, 07 Feb 2013 15:23:09 +0000
State-Changed-Why:
This does not appear to still be an issue.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.