NetBSD Problem Report #56708

From john@daisy.zia.io  Sun Feb 13 17:53:51 2022
Return-Path: <john@daisy.zia.io>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 4E87C1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 13 Feb 2022 17:53:51 +0000 (UTC)
Message-Id: <202202131753.21DHrkL5019431@daisy.zia.io>
Date: Sun, 13 Feb 2022 17:53:46 GMT
From: john@klos.com
Reply-To: john@klos.com
To: gnats-bugs@NetBSD.org
Subject: audio/libvorbis fails on macOS El Capitan
X-Send-Pr-Version: 3.95

>Number:         56708
>Category:       pkg
>Synopsis:       audio/libvorbis fails on macOS El Capitan
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 13 17:55:00 +0000 2022
>Closed-Date:    
>Last-Modified:  Sun May 15 05:57:39 +0000 2022
>Originator:     John Klos
>Release:        macOS El Capitan
>Organization:

>Environment:


System: Darwin PowTow.local 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64
Architecture: x86_64
Machine: amd64
>Description:

Attempting to build multimedia/ffmpeg5 fails on El Capitan with:
--- registry.lo ---
In file included from registry.c:17:
In file included from ../include/vorbis/codec.h:25:
In file included from /Users/kris/pkgsrc/audio/libvorbis/work/.buildlink/include/ogg/ogg.h:24:
/Users/kris/pkgsrc/audio/libvorbis/work/.buildlink/include/ogg/os_types.h:75:12: error: unknown type name 'u_int16_t'
   typedef u_int16_t ogg_uint16_t;
           ^
/Users/kris/pkgsrc/audio/libvorbis/work/.buildlink/include/ogg/os_types.h:77:12: error: unknown type name 'u_int32_t'
   typedef u_int32_t ogg_uint32_t;
           ^
/Users/kris/pkgsrc/audio/libvorbis/work/.buildlink/include/ogg/os_types.h:79:12: error: unknown type name 'u_int64_t'
   typedef u_int64_t ogg_uint64_t;
           ^



>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56708 CVS commit: pkgsrc/multimedia/libogg
Date: Sun, 15 May 2022 05:50:49 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Sun May 15 05:50:49 UTC 2022

 Modified Files:
 	pkgsrc/multimedia/libogg: distinfo
 	pkgsrc/multimedia/libogg/patches: patch-include_ogg_os__types.h

 Log Message:
 PR 56708 John Klos: audio/libvorbis fails on macOS El Capitan

 When including <stdint.h>, use the types it defines, not the legacy
 ones with extra (internal) underscores.


 To generate a diff of this commit:
 cvs rdiff -u -r1.19 -r1.20 pkgsrc/multimedia/libogg/distinfo
 cvs rdiff -u -r1.2 -r1.3 \
     pkgsrc/multimedia/libogg/patches/patch-include_ogg_os__types.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 15 May 2022 05:57:39 +0000
State-Changed-Why:
With luck that will fix it; you'll need to rebuild libogg though.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.