pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45809: graphics/libggi fails packaging on NetBSD-5.1_STABLE/i386, pkgsrc-2011Q4



>Number:         45809
>Category:       pkg
>Synopsis:       graphics/libggi fails packaging on NetBSD-5.1_STABLE/i386, 
>pkgsrc-2011Q4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 09 19:25:00 +0000 2012
>Originator:     John D. Baker
>Release:        5.1_STABLE/i386, pkgsrc-2011Q4
>Organization:
>Environment:
NetBSD slate.technoskunk.fur 5.1_STABLE NetBSD 5.1_STABLE (SLATE) #30: Sun Jan  
8 19:02:12 CST 2012  
sysop%slate.technoskunk.fur@localhost:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/SLATE
 i386

>Description:
Packaging graphics/libggi with pkgsrc-2011Q4 fails on
NetBSD-5.1_STABLE/i386 as follows:

[...]
=> Automatic manual page handling
pkg_create: can't stat 
`/d0/build/pkgsrc/graphics/libggi/work/.destdir/usr/pkg/lib/ggi/helper/helper_x_dga.la'
===> Building binary package for libggi-2.2.2
=> Creating binary package /d0/build/netbsd-5/packages/i386/All/libggi-2.2.2.tgz
pkg_create: can't stat 
`/d0/build/pkgsrc/graphics/libggi/work/.destdir/usr/pkg/lib/ggi/helper/helper_x_dga.la'
pkg_create: lstat failed for file lib/ggi/helper/helper_x_dga.la: No such file 
or directory
*** Error code 2

Stop.
make: stopped in /d0/local/pkgsrc/graphics/libggi
[...]
>How-To-Repeat:
attempt to package/install graphics/libggi with pkgsrc-2011Q4 on
NetBSD-5.1_STABLE/i386 (other arch/machine?) (dependency of
multimedia/mplayer with PKG_OPTIONS.mplayer+=ggi in this case).

The machine in question is uing the in-tree Xorg for NetBSD-5.1.

IIRC it packages fine on a machine running NetBSD-current/i386 (tested
with pkgsrc-HEAD during freeze period).

Scrolling back through the config dialog, I found:

  checking for X11/extensions/xf86dga.h... no
configure:17751: checking for X11/extensions/xf86dga.h
configure:17767: cc -c -O2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/pkg/in
clude -pedantic -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/
usr/pkg/include -I/usr/X11R7/include conftest.c >&5
In file included from conftest.c:97:
/d0/build/pkgsrc/graphics/libggi/work/.buildlink/include/X11/extensions/xf86dga.
h:9:2: warning: #warning is a GCC extension
/d0/build/pkgsrc/graphics/libggi/work/.buildlink/include/X11/extensions/xf86dga.
h:9:2: warning: #warning "xf86dga.h is obsolete and may be removed in the future
."
/d0/build/pkgsrc/graphics/libggi/work/.buildlink/include/X11/extensions/xf86dga.
h:10:2: warning: #warning is a GCC extension
/d0/build/pkgsrc/graphics/libggi/work/.buildlink/include/X11/extensions/xf86dga.
h:10:2: warning: #warning "include <X11/extensions/Xxf86dga.h> instead."
/d0/build/pkgsrc/graphics/libggi/work/.buildlink/include/X11/extensions/xf86dga.
h:11:37: error: X11/extensions/Xxf86dga.h: No such file or directory
configure:17773: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "libggi"
| #define PACKAGE_TARNAME "libggi"
| #define PACKAGE_VERSION "2.2.2"
| #define PACKAGE_STRING "libggi 2.2.2"
| #define PACKAGE_BUGREPORT "http://www.ggi-project.org/contact.html";
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRNCAT 1
| #define HAVE_STRNCPY 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRLCAT 1
| #define HAVE_ASPRINTF 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOUL 1
| #define HAVE_STRTOLL 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_DECL_STRNCASECMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_SIGINTERRUPT 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SIGINTERRUPT 1
| #define HAVE_STRTOULL 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_GGI_GII_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_SHM_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ST_RDEV 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SOCKLEN_T 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_SETENV 1
| #define HAVE_PUTENV 1
| #define HAVE_GETOPT 1
| #define HAVE_RANDOM 1
| #define HAVE_HERROR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SIGPENDING 1
| #define HAVE_FORK 1
| #define HAVE_KILL 1
| #define DO_SWAR_NONE 1
| #define HAVE_LIBC 1
| #define BUILTIN_DEFAULT 1
| #define BUILTIN_DISPLAY 1
| #define BUILTIN_HELPER_MANSYNC 1
| #define HAVE_XINITIMAGE 1
| /* end confdefs.h.  */
| #include <X11/Xlib.h>
| 
| #include <X11/extensions/xf86dga.h>
configure:17797: result: no
[...]
The relevant section of "config.log" says:

[...]


>Fix:
Workaround:  don't build anything with ggi support?



Home | Main Index | Thread Index | Old Index