Subject: pkg/32970: pkgsrc graphics/xv broken by openmotif imake change?
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <nocturne@mit.edu>
List: pkgsrc-bugs
Date: 03/02/2006 20:55:04
>Number:         32970
>Category:       pkg
>Synopsis:       graphics/xv does not build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 02 20:55:04 +0000 2006
>Originator:     Eric Mumpower
>Release:        NetBSD 3.0 (plus up-to-date pkgsrc)
>Organization:
	
>Environment:
	
	
System: NetBSD mickle 3.0 NetBSD 3.0 (MICKLE) #1: Tue Feb 7 13:23:04 UTC 2006 root@mickle:/usr/src/sys/arch/i386/compile/MICKLE i386
Architecture: i386
Machine: i386
>Description:
I'm having what looks like an Imake problem when attmepting to build
the graphics/xv package.

I have built x11/openmotif from the latest available pkgsrc CVS version:
  # pkg_info | grep '^openmotif'
  openmotif-2.2.3nb2  The Open Group Motif toolkit for the X Window System

but when I run "make install" in /usr/pkgsrc/graphics/xv, the build blows
out with the following error:

> ===> Configuring for xv-3.10anb11
> /bin/mv /usr/pkgsrc/graphics/xv/work/xv-3.10a/config.h /usr/pkgsrc/graphics/xv/work/xv-3.10a/config.h.orig &&            /usr/bin/sed -e 's|@LOCALBASE@|/usr/pkg|g'              /usr/pkgsrc/graphics/xv/work/xv-3.10a/config.h.orig > /usr/pkgsrc/graphics/xv/work/xv-3.10a/config.h
> mv -f Makefile Makefile.bak
> imake -DUseInstalled -I/usr/pkg/lib/X11/config -I/usr/X11R6/lib/X11/config
> /usr/pkgsrc/graphics/xv/work/.tools/bin/imake:  warning:  Imakefile contains invalid cc input.  Please fix!
> In file included from /usr/X11R6/lib/X11/config/site.def:44,
>                  from /usr/X11R6/lib/X11/config/Imake.tmpl:86,
>                  from Imakefile.c:15:
> /usr/pkg/lib/X11/config/host.def:3: OpenMotif.def: No such file or directory
> In file included from /usr/X11R6/lib/X11/config/site.def:142,
>                  from /usr/X11R6/lib/X11/config/Imake.tmpl:151,
>                  from Imakefile.c:15:
> /usr/pkg/lib/X11/config/host.def:3: OpenMotif.def: No such file or directory
> /usr/pkgsrc/graphics/xv/work/.tools/bin/imake: Exit code 1.
>   Stop.
> *** Error code 1

I note that on December 12, 2005, the x11/openmotif package appears to
have had a commit performed which resulted in "no more imake usage". Is
this simply fallout from that change?

>How-To-Repeat:
Install stock NetBSD 3.0; check out latest pkgsrc from CVS.

Then "cd /usr/pkgsrc/graphics/xv ; make update" and wait a while.

>Fix:

>Unformatted: