pkgsrc-Bugs archive

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

pkg/41222: package x11/gtk2 will use wrong grep, ignore errors



>Number:         41222
>Category:       pkg
>Synopsis:       package x11/gtk2 will use wrong grep, ignore errors
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 15 18:45:00 +0000 2009
>Originator:     Rob Quinn
>Release:        Solaris 2.10, pkgsrc-current
>Organization:
>Environment:
>Description:
gtk2+ ignores these grep errors:

gmake[2]: Entering directory `/usr/obj/pkg/x11/gtk2/work/gtk+-2.16.0/gtk'
echo '#include <gtk/gtk.h>' > xgen-gtfsrc.c && \
          gcc -E -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"Gtk\" 
-DGTK_LIBDIR=\"/usr/pkg/lib\" -DGTK_DATADIR=\"/usr/pkg/share\" 
-DGTK_DATA_PREFIX=\"/usr/pkg\" -DGTK_SYSCONFDIR=\"/usr/pkg/libdata\" 
-DGTK_VERSION=\"2.16.0\" -DGTK_BINARY_VERSION=\"2.10.0\" 
-DGTK_HOST=\"sparc-sun-solaris2\" -DGTK_COMPILATION 
-DGTK_PRINT_BACKENDS=\"file,lpr\" -DGTK_PRINT_PREVIEW_COMMAND=\""evince 
--unlink-tempfile --preview --print-settings %s %f"\" -I.. -I../gtk -I.. 
-I../gdk -I../gdk -I../gdk-pixbuf -I../gdk-pixbuf -DGDK_DISABLE_DEPRECATED 
-DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED 
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -D_REENTRANT 
-D_PTHREADS -DXTHREADS -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pango-1.0 
-I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/libpng12 
-I/usr/openwin/include -I/usr/pkg/include/atk-1.0        -DGTK_ENABLE_BROKEN  
-DPREFIX="\
 "/usr/pkg\"" -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -D_REENTRANT 
-I/usr/include -I/usr/pkg/include/python2.5 -I/usr/pkg/include/db4 
-I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include 
-I/usr/openwin/include -I/usr/pkg/include/freetype2 -DG_DISABLE_SINGLE_INCLUDES 
-DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES 
-DGTK_DISABLE_SINGLE_INCLUDES  -I/usr/openwin/include  
-DGDK_PIXBUF_DISABLE_DEPRECATED -O -mcpu=v9 -pipe -I/usr/pkg/include 
-D_REENTRANT -I/usr/include -I/usr/pkg/include/python2.5 -I/usr/pkg/include/db4 
-I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include 
-I/usr/openwin/include -I/usr/pkg/include/freetype2 -Wall xgen-gtfsrc.c | \
          grep -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \
          sort | uniq | \
          sed '{ s/^/*tp++ = /; s/$/();/; }' > xgen-gtf \
        && cp xgen-gtf gtktypefuncs.c && rm -f xgen-gtf
grep: illegal option -- o
Usage:  grep [-c|-l|-q] [-bhinsvwx] pattern_list [file ...]
        grep [-c|-l|-q] [-bhinsvwx] [-e pattern_list]... [-f pattern_file]... 
[file...]
        grep -E [-c|-l|-q] [-bhinsvx] pattern_list [file ...]
        grep -E [-c|-l|-q] [-bhinsvx] [-e pattern_list]... [-f pattern_file]... 
[file...]
        grep -F [-c|-l|-q] [-bhinsvx] pattern_list [file ...]
        grep -F [-c|-l|-q] [-bhinsvx] [-e pattern_list]... [-f pattern_file]... 
[file...]
/usr/pkg/bin/gmake  all-recursive

>How-To-Repeat:
Sounds like the same problem another package has in #40221.

>Fix:



Home | Main Index | Thread Index | Old Index