NetBSD Problem Report #58248

From www@netbsd.org  Sun May 12 00:09:05 2024
Return-Path: <www@netbsd.org>
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 89C111A9247
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 May 2024 00:09:05 +0000 (UTC)
Message-Id: <20240512000904.1B0961A9249@mollari.NetBSD.org>
Date: Sun, 12 May 2024 00:09:04 +0000 (UTC)
From: oshima-ya@yagoto-urayama.jp
Reply-To: oshima-ya@yagoto-urayama.jp
To: gnats-bugs@NetBSD.org
Subject: misc/indi requires multimedia/libogg and multimedia/libthreora
X-Send-Pr-Version: www-1.0

>Number:         58248
>Category:       pkg
>Synopsis:       misc/indi requires multimedia/libogg and multimedia/libthreora
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 12 00:10:00 +0000 2024
>Closed-Date:    Sun May 12 07:29:46 +0000 2024
>Last-Modified:  Sun May 12 07:30:02 +0000 2024
>Originator:     Yaushi Oshima
>Release:        pkgsrc-current after 2024-03-14, pkgsrc-2024Q1
>Organization:
>Environment:
NetBSD sudachi 10.0_STABLE NetBSD 10.0_STABLE (GENERIC) #1: Thu Apr 25 18:07:50 JST 2024  oshima@sudachi:/export/netbsd-10/20240425/obj/amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
When building misc/indi (by dependencies of misc/stellarium) ; 

In file included from /tmp/pkgmk/misc/indi/work.sudachi/indi-2.0.7/libs/indibase/stream/recorder/theorarecorder.cpp:22:
/tmp/pkgmk/misc/indi/work.sudachi/indi-2.0.7/libs/indibase/stream/recorder/theorarecorder.h:26:10: fatal error: ogg/ogg.h: No such file or directory
   26 | #include <ogg/ogg.h>
      |          ^~~~~~~~~~~
compilation terminated.
--- libs/indibase/CMakeFiles/indidriver_OBJECT.dir/stream/recorder/theorarecorder.cpp.o ---
*** [libs/indibase/CMakeFiles/indidriver_OBJECT.dir/stream/recorder/theorarecorder.cpp.o] Error code 1

Maybe, indi will use libogg and libtheora.

>How-To-Repeat:
make in pkgsrc/misc/indi

>Fix:
Add buildlink  for multimedia/libogg and libtheora

--- misc/indi/Makefile.orig
+++ misc/indi/Makefile
@@ -23,6 +23,8 @@
 .include "../../geography/libnova/buildlink3.mk"
 .include "../../math/fftw/buildlink3.mk"
 .include "../../math/gsl/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../multimedia/libtheora/buildlink3.mk"
 # not checked but used
 .include "../../www/curl/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"

>Release-Note:

>Audit-Trail:
From: Yasushi Oshima <oshima-ya@yagoto-urayama.jp>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/58248: misc/indi requires multimedia/libogg and
 multimedia/libthreora
Date: Sun, 12 May 2024 09:34:07 +0900 (JST)

 >>Category:       pkg
 >>Responsible:    pkg-manager
 >>Synopsis:       misc/indi requires multimedia/libogg and multimedia/libthreora
 >>Arrival-Date:   Sun May 12 00:10:00 +0000 2024



 >Release:        pkgsrc-current after 2024-03-14, pkgsrc-2024Q1
 This is my mistake.

 This release is:

 pkgsrc-current after 2024-05-03

 Thanks,

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 12 May 2024 07:29:46 +0000
State-Changed-Why:
It looks like this finds ogg/theora when it's installed, but
then the build fails because buildlink3 hides the headers/libs.

I've added the dependency to the package, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58248 CVS commit: pkgsrc/misc/indi
Date: Sun, 12 May 2024 07:28:59 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Sun May 12 07:28:59 UTC 2024

 Modified Files:
 	pkgsrc/misc/indi: Makefile

 Log Message:
 indi: enable ogg/theora support

 Requested by Yaushi Oshima in PR 58248.


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/indi/Makefile

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.