Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2004 10:53:53 -0400
From:      Randy Pratt <rpratt1950@earthlink.net>
To:        freebsd-ports@freebsd.org
Subject:   x11-toolkits/p5-GdkPixbuf
Message-ID:  <20040601105353.578b98b3.rpratt1950@earthlink.net>

next in thread | raw e-mail | index | archive | help
The p5-GdkPixbuf was originally installed as a dependency of
multimedia/dvdrip using perl-5.6.1 .  I had to switch to perl-5.8.4
because irc/xchat2's perl module would not work with 5.6.1 .  This
was discussed on freebsd-gnome thread:
http://docs.freebsd.org/cgi/mid.cgi?20040428154749.59a5584f.rpratt1950

The x11-toolkits/p5-GdkPixbuf/Makefile says:
  .if ${PERL_LEVEL} >= 500800
  BROKEN=         "Does not compile"
  .endif

I've searched the archives and can't seem to find what the errors
were which caused the port to not compile.  Obviously, I've not
been able to update this module since switching to perl-5.8.x .

I commented the BROKEN and it seemed to build.  There were some
ugly warnings but it didn't error during compile.  I additionally
tried the build on a machine with perl-5.6.1 and got similar
warnings.  (Both build outputs at the end).

Is this the same build issues that originally caused the port
to be marked as BROKEN?  Is this port still in a "Does not
compile" state?

Best regards,

Randy


==== Build on machine with perl-5.8.4 ===============================

FreeBSD kt.weeble.com 4.10-STABLE 
FreeBSD 4.10-STABLE #0: Wed May 26 11:44:34 EDT 2004
rpratt@kt.weeble.com:/usr/obj/usr/src/sys/CUSTOM  i386

kt# pwd
/usr/ports/x11-toolkits/p5-GdkPixbuf
kt# make
===>  Extracting for p5-GdkPixbuf-0.7009_1
>> Checksum OK for Gtk-Perl-0.7009.tar.gz.
===>  Patching for p5-GdkPixbuf-0.7009_1
===>  Applying FreeBSD patches for p5-GdkPixbuf-0.7009_1
===>   p5-GdkPixbuf-0.7009_1 depends on file:
 /usr/local/lib/perl5/site_perl/5.8.4/mach/Gtk.pm - found
===>   p5-GdkPixbuf-0.7009_1 depends on shared library: gdk_pixbuf.2 -
found
===>  Configuring for p5-GdkPixbuf-0.7009_1
Found Gtk::Install::Files in
 /usr/local/lib/perl5/site_perl/5.8.4/mach/Gtk/Install/
Loading pkg.defs
Dir ||
gtktypexp.c:1: gtk/gtktypeutils.h: No such file or directory
Exporting enum: GdkColorspace
Exporting enum: GdkInterpType
Exporting enum: GdkPixbufAlphaMode
Exporting enum: GdkPixbufFrameAction
Creating reference documentation
No parent info for package Gtk/XmHTML/Types
No parent info for package Gtk/HTML/Types
No parent info for package Gnome/Types
No parent info for package Gtk/GLArea/Types
No parent info for package Gtk/GladeXML/Types
Unrecognized argument in LIBS ignored: '-Wl,-E'
Writing Makefile for Gtk::Gdk::Pixbuf
===>  Building for p5-GdkPixbuf-0.7009_1
/usr/local/bin/perl5.8.4 ../tools/genext.pl GdkPixbuf </dev/null
cp build/GdkPixbufTypes.pm blib/arch/Gtk/Gdk/Pixbuf/Types.pm
cp
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/pkg
.typemap blib/arch/Gtk/Gdk/Pixbuf/Install/pkg.typemap
cp GdkPixbuf.pm blib/arch/Gtk/Gdk/Pixbuf.pm
cp
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/bui
ld/GdkPixbufTypemap blib/arch/Gtk/Gdk/Pixbuf/Install/GdkPixbufTypemap
cp build/Files.pm blib/arch/Gtk/Gdk/Pixbuf/Install/Files.pm
cp build/GdkPixbufDefs.h
blib/arch/Gtk/Gdk/Pixbuf/Install/GdkPixbufDefs.h
cp build/PerlGdkPixbufInt.h
blib/arch/Gtk/Gdk/Pixbuf/Install/PerlGdkPixbufInt.h
/usr/local/bin/perl5.8.4 /usr/local/lib/perl5/5.8.4/ExtUtils/xsubpp 
-noversioncheck -typemap /usr/local/lib/perl5/5.8.4/ExtUtils/typemap
-typemap
/usr/local/lib/perl5/site_perl/5.8.4/mach/Gtk/Install//GtkTypemap
-typemap
/usr/local/lib/perl5/site_perl/5.8.4/mach/Gtk/Install//gtk-0.99.typemap
-typemap
/usr/local/lib/perl5/site_perl/5.8.4/mach/Gtk/Install//gtk-1.2.typemap
-typemap
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/pkg
.typemap -typemap
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/bui
ld/GdkPixbufTypemap  xs/GdkPixbufLoader.xs > xs/GdkPixbufLoader.xsc &&
mv xs/GdkPixbufLoader.xsc xs/GdkPixbufLoader.c
Please specify prototyping behavior for GdkPixbufLoader.xs (see perlxs
manual)
cc -c  -I/usr/local/lib/perl5/site_perl/5.8.4/mach/Gtk/Install/
-I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
-I/usr/local/include -I/usr/X11R6/include  -I. -I./build
-I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include 
-O -pipe -O -pipe    -DVERSION=\"0.7009\"  -DXS_VERSION=\"0.7009\" -DPIC
-fPIC "-I/usr/local/lib/perl5/5.8.4/mach/CORE"  -DPERL_POLLUTE
-DLAZY_LOAD -DGTK_HVER=0x01020a -o xs/GdkPixbufLoader.o
xs/GdkPixbufLoader.c
GdkPixbufLoader.c: In function `XS_Gtk__Gdk__PixbufLoader_new':
GdkPixbufLoader.c:39: warning: passing arg 1 of `Perl_sv_2mortal' makes
pointer from integer without a cast
GdkPixbufLoader.c: In function `XS_Gtk__Gdk__PixbufLoader_write':
GdkPixbufLoader.c:58: warning: initialization makes pointer from integer
without a cast
GdkPixbufLoader.c: In function `XS_Gtk__Gdk__PixbufLoader_get_pixbuf':
GdkPixbufLoader.c:89: warning: initialization makes pointer from integer
without a cast
GdkPixbufLoader.c: In function
`XS_Gtk__Gdk__PixbufLoader_get_animation':
GdkPixbufLoader.c:119: warning: initialization makes pointer from
integer without a cast
GdkPixbufLoader.c: In function `XS_Gtk__Gdk__PixbufLoader_close':
GdkPixbufLoader.c:148: warning: initialization makes pointer from
integer without a cast
/usr/local/bin/perl5.8.4 /usr/local/lib/perl5/5.8.4/ExtUtils/xsubpp 
-noversioncheck -typemap /usr/local/lib/perl5/5.8.4/ExtUtils/typemap
-typemap
/usr/local/lib/perl5/site_perl/5.8.4/mach/Gtk/Install//GtkTypemap
-typemap
/usr/local/lib/perl5/site_perl/5.8.4/mach/Gtk/Install//gtk-0.99.typemap
-typemap
/usr/local/lib/perl5/site_perl/5.8.4/mach/Gtk/Install//gtk-1.2.typemap
-typemap
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/pkg
.typemap -typemap
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/bui
ld/GdkPixbufTypemap  xs/GdkPixbuf.xs > xs/GdkPixbuf.xsc && mv
xs/GdkPixbuf.xsc xs/GdkPixbuf.c
Please specify prototyping behavior for GdkPixbuf.xs (see perlxs manual)
cc -c  -I/usr/local/lib/perl5/site_perl/5.8.4/mach/Gtk/Install/
-I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
-I/usr/local/include -I/usr/X11R6/include  -I. -I./build
-I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include 
-O -pipe -O -pipe    -DVERSION=\"0.7009\"  -DXS_VERSION=\"0.7009\" -DPIC
-fPIC "-I/usr/local/lib/perl5/5.8.4/mach/CORE"  -DPERL_POLLUTE
-DLAZY_LOAD -DGTK_HVER=0x01020a -o xs/GdkPixbuf.o xs/GdkPixbuf.c
GdkPixbuf.xs: In function `XS_Gtk__Gdk__Pixbuf_new_from_xpm_data':
GdkPixbuf.xs:102: warning: passing arg 1 of
`gdk_pixbuf_new_from_xpm_data' from incompatible pointer type
cc -c  -I/usr/local/lib/perl5/site_perl/5.8.4/mach/Gtk/Install/
-I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
-I/usr/local/include -I/usr/X11R6/include  -I. -I./build
-I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include 
-O -pipe -O -pipe    -DVERSION=\"0.7009\"  -DXS_VERSION=\"0.7009\" -DPIC
-fPIC "-I/usr/local/lib/perl5/5.8.4/mach/CORE"  -DPERL_POLLUTE
-DLAZY_LOAD -DGTK_HVER=0x01020a -o build/GdkPixbufDefs.o
build/GdkPixbufDefs.c
Running Mkbootstrap for Gtk::Gdk::Pixbuf ()
chmod 644 Pixbuf.bs
rm -f blib/arch/auto/Gtk/Gdk/Pixbuf/Pixbuf.so
LD_RUN_PATH="/usr/X11R6/lib:/usr/local/lib" cc  -shared 
-L/usr/local/lib xs/GdkPixbufLoader.o xs/GdkPixbuf.o
build/GdkPixbufDefs.o  -o blib/arch/auto/Gtk/Gdk/Pixbuf/Pixbuf.so  
-L/usr/local/lib -L/usr/X11R6/lib -lgdk_pixbuf -lgtk12 -lgdk12
-lgmodule12 -lglib12 -lintl -lXi -lXext -lX11 -lm   
chmod 755 blib/arch/auto/Gtk/Gdk/Pixbuf/Pixbuf.so
cp Pixbuf.bs blib/arch/auto/Gtk/Gdk/Pixbuf/Pixbuf.bs
chmod 644 blib/arch/auto/Gtk/Gdk/Pixbuf/Pixbuf.bs
Manifying blib/man3/Gtk::Gdk::Pixbuf::reference.3pm
kt# 
====================================================================

===== Build on machine with perl-5.6.1 ===============================
(note: p5-GdkPixbuf port skeleton copied from latest tree to this
machine)

FreeBSD k6-2.weeble.com 4.8-RELEASE FreeBSD 
4.8-RELEASE #0: Mon Apr  7 14:49:05 EDT 2003
rpratt@k6-2.weeble.com:/usr/obj/usr/src/sys/CUSTOM  i386

k6-2# pwd
/usr/ports/x11-toolkits/p5-GdkPixbuf
k6-2# make
===>  Extracting for p5-GdkPixbuf-0.7009_1
>> Checksum OK for Gtk-Perl-0.7009.tar.gz.
===>  Patching for p5-GdkPixbuf-0.7009_1
===>  Applying FreeBSD patches for p5-GdkPixbuf-0.7009_1
===>   p5-GdkPixbuf-0.7009_1 depends on file:
/usr/local/lib/perl5/site_perl/5.6.1/mach/Gtk.pm - found
===>   p5-GdkPixbuf-0.7009_1 depends on shared library: gdk_pixbuf.2 -
found
===>  Configuring for p5-GdkPixbuf-0.7009_1
Found Gtk::Install::Files in
/usr/local/lib/perl5/site_perl/5.6.1/mach/Gtk/Install/
Loading pkg.defs
Dir ||
gtktypexp.c:1: gtk/gtktypeutils.h: No such file or directory
Exporting enum: GdkColorspace
Exporting enum: GdkInterpType
Exporting enum: GdkPixbufAlphaMode
Exporting enum: GdkPixbufFrameAction
Creating reference documentation
No parent info for package Gtk/XmHTML/Types
No parent info for package Gtk/HTML/Types
No parent info for package Gnome/Types
No parent info for package Gtk/GLArea/Types
No parent info for package Gtk/GladeXML/Types
Unrecognized argument in LIBS ignored: '-Wl,-E'
Writing Makefile for Gtk::Gdk::Pixbuf
===>  Building for p5-GdkPixbuf-0.7009_1
/usr/bin/perl5.6.1 ../tools/genext.pl GdkPixbuf </dev/null
cp build/Files.pm blib/arch/Gtk/Gdk/Pixbuf/Install/Files.pm
cp build/GdkPixbufDefs.h
blib/arch/Gtk/Gdk/Pixbuf/Install/GdkPixbufDefs.h
cp
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/bui
ld/GdkPixbufTypemap blib/arch/Gtk/Gdk/Pixbuf/Install/GdkPixbufTypemap
cp build/PerlGdkPixbufInt.h
blib/arch/Gtk/Gdk/Pixbuf/Install/PerlGdkPixbufInt.h
cp build/GdkPixbufTypes.pm blib/arch/Gtk/Gdk/Pixbuf/Types.pm
cp
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/pkg
.typemap blib/arch/Gtk/Gdk/Pixbuf/Install/pkg.typemap
cp GdkPixbuf.pm blib/arch/Gtk/Gdk/Pixbuf.pm
/usr/bin/perl5.6.1 -I/usr/local/lib/perl5/5.6.1/mach
-I/usr/local/lib/perl5/5.6.1/BSDPAN
/usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp  -noversioncheck -typemap
/usr/local/lib/perl5/5.6.1/ExtUtils/typemap -typemap
/usr/local/lib/perl5/site_perl/5.6.1/mach/Gtk/Install//GtkTypemap
-typemap
/usr/local/lib/perl5/site_perl/5.6.1/mach/Gtk/Install//gtk-0.99.typemap
-typemap
/usr/local/lib/perl5/site_perl/5.6.1/mach/Gtk/Install//gtk-1.2.typemap
-typemap
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/pkg
.typemap -typemap
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/bui
ld/GdkPixbufTypemap xs/GdkPixbuf.xs > xs/GdkPixbuf.xsc && mv
xs/GdkPixbuf.xsc xs/GdkPixbuf.c
Please specify prototyping behavior for GdkPixbuf.xs (see perlxs manual)
cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/mach/Gtk/Install/
-I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
-I/usr/local/include -I/usr/X11R6/include  -I. -I./build
-I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -O
-pipe -O -pipe    -DVERSION=\"0.7009\"  -DXS_VERSION=\"0.7009\" -DPIC
-fPIC -I/usr/local/lib/perl5/5.6.1/mach/CORE -DPERL_POLLUTE -DLAZY_LOAD
-DGTK_HVER=0x01020a -o xs/GdkPixbuf.o xs/GdkPixbuf.c
GdkPixbuf.xs: In function `XS_Gtk__Gdk__Pixbuf_new_from_xpm_data':
GdkPixbuf.xs:102: warning: passing arg 1 of
`gdk_pixbuf_new_from_xpm_data' from incompatible pointer type
/usr/bin/perl5.6.1 -I/usr/local/lib/perl5/5.6.1/mach
-I/usr/local/lib/perl5/5.6.1/BSDPAN
/usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp  -noversioncheck -typemap
/usr/local/lib/perl5/5.6.1/ExtUtils/typemap -typemap
/usr/local/lib/perl5/site_perl/5.6.1/mach/Gtk/Install//GtkTypemap
-typemap
/usr/local/lib/perl5/site_perl/5.6.1/mach/Gtk/Install//gtk-0.99.typemap
-typemap
/usr/local/lib/perl5/site_perl/5.6.1/mach/Gtk/Install//gtk-1.2.typemap
-typemap
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/pkg
.typemap -typemap
/usr/ports/x11-toolkits/p5-GdkPixbuf/work/Gtk-Perl-0.7009/GdkPixbuf/bui
ld/GdkPixbufTypemap xs/GdkPixbufLoader.xs > xs/GdkPixbufLoader.xsc && mv
xs/GdkPixbufLoader.xsc xs/GdkPixbufLoader.c
Please specify prototyping behavior for GdkPixbufLoader.xs (see perlxs
manual)
cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/mach/Gtk/Install/
-I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
-I/usr/local/include -I/usr/X11R6/include  -I. -I./build
-I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -O
-pipe -O -pipe    -DVERSION=\"0.7009\"  -DXS_VERSION=\"0.7009\" -DPIC
-fPIC -I/usr/local/lib/perl5/5.6.1/mach/CORE -DPERL_POLLUTE -DLAZY_LOAD
-DGTK_HVER=0x01020a -o xs/GdkPixbufLoader.o xs/GdkPixbufLoader.c
GdkPixbufLoader.c: In function `XS_Gtk__Gdk__PixbufLoader_new':
GdkPixbufLoader.c:38: warning: passing arg 1 of `Perl_sv_2mortal' makes
pointer from integer without a cast
GdkPixbufLoader.c: In function `XS_Gtk__Gdk__PixbufLoader_write':
GdkPixbufLoader.c:56: warning: initialization makes pointer from integer
without a cast
GdkPixbufLoader.c: In function `XS_Gtk__Gdk__PixbufLoader_get_pixbuf':
GdkPixbufLoader.c:86: warning: initialization makes pointer from integer
without a cast
GdkPixbufLoader.c: In function
`XS_Gtk__Gdk__PixbufLoader_get_animation':
GdkPixbufLoader.c:115: warning: initialization makes pointer from
integer without a cast
GdkPixbufLoader.c: In function `XS_Gtk__Gdk__PixbufLoader_close':
GdkPixbufLoader.c:143: warning: initialization makes pointer from
integer without a cast
cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/mach/Gtk/Install/
-I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
-I/usr/local/include -I/usr/X11R6/include  -I. -I./build
-I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -O
-pipe -O -pipe    -DVERSION=\"0.7009\"  -DXS_VERSION=\"0.7009\" -DPIC
-fPIC -I/usr/local/lib/perl5/5.6.1/mach/CORE -DPERL_POLLUTE -DLAZY_LOAD
-DGTK_HVER=0x01020a -o build/GdkPixbufDefs.o build/GdkPixbufDefs.c
Running Mkbootstrap for Gtk::Gdk::Pixbuf ()
chmod 644 Pixbuf.bs
rm -f blib/arch/auto/Gtk/Gdk/Pixbuf/Pixbuf.so
LD_RUN_PATH="/usr/X11R6/lib:/usr/local/lib:/usr/lib" cc  -shared 
-L/usr/local/lib xs/GdkPixbuf.o xs/GdkPixbufLoader.o
build/GdkPixbufDefs.o  -o blib/arch/auto/Gtk/Gdk/Pixbuf/Pixbuf.so  
-L/usr/local/lib -L/usr/X11R6/lib -lgdk_pixbuf -lgtk12 -lgdk12
-lgmodule12 -lglib12 -lintl -lXi -lXext -lX11 -lm  
chmod 755 blib/arch/auto/Gtk/Gdk/Pixbuf/Pixbuf.so
cp Pixbuf.bs blib/arch/auto/Gtk/Gdk/Pixbuf/Pixbuf.bs
chmod 644 blib/arch/auto/Gtk/Gdk/Pixbuf/Pixbuf.bs
Manifying blib/man3/Gtk::Gdk::Pixbuf::reference.3pm
k6-2#
======================================================================
-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040601105353.578b98b3.rpratt1950>