Subject: pkg/15908: Various gnome-related pkgs have build problems on 1.4.2: gnome-media
To: None <gnats-bugs@gnats.netbsd.org>
From: Olaf Seibert <rhialto@polderland.nl>
List: netbsd-bugs
Date: 03/14/2002 14:25:35
>Number: 15908
>Category: pkg
>Synopsis: Various gnome-related pkgs have build problems on 1.4.2: gnome-media
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 14 05:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Olaf Seibert
>Release: pkgsrc supped just now
>Organization:
>Environment:
System: NetBSD klei.intern.polderland.nl 1.4.2 NetBSD 1.4.2 (KIELDRECHT) #15: Wed Jul 11 18:02:11 CEST 2001 root@klei.intern.polderland.nl:/usr/src/sys/arch/i386/compile/KIELDRECHT i386
>Description:
When building gnome-media on 1.4.2, it fails with the following error:
gmake[3]: Entering directory `/usr/tmp/audio/gnome-media/work/gnome-media-1.2.3/gmix'
cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\" -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/pkg/lib/glib/include -I/usr/pkg/include/glib -I/usr/pkg/include/orbit-1.0 -I/usr/X11R6/include/gtk-1.2 -DGNOME_ICONDIR=\""/usr/X11R6/share/pixmaps"\" -I/usr/pkg/include -O2 -Wall -Wunused -c gmix.c
In file included from gmix.c:70:
gmix.h:47: syntax error before `mixer_info'
gmix.c: In function `open_device':
gmix.c:558: structure has no member named `info'
gmix.c:560: structure has no member named `info'
gmix.c: In function `get_one_device_config':
gmix.c:830: structure has no member named `info'
gmix.c:834: structure has no member named `info'
gmix.c:840: structure has no member named `info'
gmix.c:843: structure has no member named `info'
gmix.c:845: structure has no member named `info'
gmix.c:848: structure has no member named `info'
gmix.c:853: structure has no member named `info'
gmix.c: In function `put_one_device_config':
gmix.c:903: structure has no member named `info'
gmix.c:905: structure has no member named `info'
gmix.c:908: structure has no member named `info'
gmix.c:910: structure has no member named `info'
gmix.c:912: structure has no member named `info'
gmix.c:915: structure has no member named `info'
gmix.c:920: structure has no member named `info'
gmix.c: In function `fill_in_device_guis':
gmix.c:995: structure has no member named `info'
gmake[3]: *** [gmix.o] Error 1
gmake[3]: Leaving directory `/usr/tmp/audio/gnome-media/work/gnome-media-1.2.3/gmix'
>How-To-Repeat:
type 'make' in the directory of the package.
>Fix:
I recall fixing this before so I don't understand why nobody else
seems to run into the same problem.
patch-ac introduces this fragment into gmix/gmix.c:
#if !defined(HAVE_MIXER_INFO) && !defined(SOUND_MIXER_INFO)
typedef struct {
char id[20];
char name[40];
} mixer_info;
#endif
This should be placed into gmix.h instead. patch-ac should be
amended to remove the change.
--- gmix.h.dist Mon Jun 11 19:50:47 2001
+++ gmix.h Thu Mar 14 14:21:36 2002
@@ -36,6 +36,13 @@
} mixer_info;
#endif
+#if !defined(HAVE_MIXER_INFO) && !defined(SOUND_MIXER_INFO)
+typedef struct {
+ char id[20];
+ char name[40];
+} mixer_info;
+#endif
+
/*
* All, that is known about a mixer-device
*/
-Olaf.
--
___ Olaf 'Rhialto' Seibert - rhialto@polder --They that can give up essential
\X/ land.nl --liberty to purchase a little temporary safety
--------------deserve neither liberty or safety. - Benjamin Franklin, 1759
---People will accept your ideas much more readily if you tell them that
---Benjamin Franklin said it first. - Unknown
>Release-Note:
>Audit-Trail:
>Unformatted: