pkgsrc-Users archive

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

Re: gem'izing ruby-gnome2-*?



wiz@ wrote:

> On Wed, Jan 20, 2016 at 02:02:35AM +0900, Izumi Tsutsui wrote:
> > Ah, yes, I forgot to add files under meta-pkgs/ruby-gnome2.
> > I used the following one:
> 
> Thank you, that fixed the problem I saw.
> 
> I now see PLIST problems in two packages though:
> 
> => Checking file-check results for ruby21-gnome2-glib-3.0.7
> ERROR: ************************************************************
> ERROR: The following files are in /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg but not in the PLIST:
> ERROR:         /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/glib2-3.0.7/gem.build_complete
> ERROR:         /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/glib2-3.0.7/glib-enum-types.h
> ERROR:         /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/glib2-3.0.7/glib2.so
> ERROR:         /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/glib2-3.0.7/rbgcompat.h
> ERROR:         /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/glib2-3.0.7/rbglib.h
> ERROR:         /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/glib2-3.0.7/rbglib2conversions.h
> ERROR:         /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/glib2-3.0.7/rbglibdeprecated.h
> ERROR:         /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/glib2-3.0.7/rbgobject.h
> ERROR:         /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/glib2-3.0.7/rbgutil.h
> ERROR:         /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/glib2-3.0.7/rbgutil_list.h
> ERROR:         /scratch/devel/ruby-gnome2-glib/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/glib2-3.0.7/rbgutildeprecated.h
> *** Error code 1
> 
> => Checking file-check results for ruby21-rcairo-1.14.3
> ERROR: ************************************************************
> ERROR: The following files are in /scratch/graphics/ruby-rcairo/work/.destdir/usr/pkg but not in the PLIST:
> ERROR:         /scratch/graphics/ruby-rcairo/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/cairo-1.14.3/cairo.so
> ERROR:         /scratch/graphics/ruby-rcairo/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/cairo-1.14.3/gem.build_complete
> ERROR:         /scratch/graphics/ruby-rcairo/work/.destdir/usr/pkg/lib/ruby/gems/2.1.0/extensions/x86_64-netbsd/2.1.0/cairo-1.14.3/rb_cairo.h
> *** Error code 1
> 
> (same for other ruby versions of these two)
> 
> For this reason, 60 (3 ruby versions x 20) other packages are not even
> tried building in the bulk build, so there might be more PLIST issues
> hiding.
> 
> Do you have PKG_DEVELOPER=yes in your /etc/mk.conf?

Yes. 

---
USR_OBJMACHINE=yes
OBJMACHINE=yes
MKHOSTOBJ=yes

# pkgsrc settings
PACKAGES?=      ${_PKGSRCDIR}/packages/${MACHINE_ARCH}

MASTER_SORT_RANDOM=no
#MASTER_SITE_OVERRIDE=ftp://ftp7.jp.netbsd.org/pub/pkgsrc/distfiles/
MASTER_SITE_MOZILLA=ftp://ftp.jaist.ac.jp/pub/mozilla.org/
MASTER_SITE_OPENOFFICE=ftp://ftp.kddlabs.co.jp/office/openoffice/
MASTER_SORT=jaist.ac.jp ring.gr.jp jp

ALLOW_VULNERABLE_PACKAGES=yes
SKIP_LICENSE_CHECK=yes
PKG_DEVELOPER=yes
PKG_VERBOSE=yes

MAKE_JOBS=6

PKG_OPTIONS.mlterm=cairo fribidi gdk_pixbuf2 xft2 ibus mlterm-fb canna wnn4
PKG_OPTIONS.kinput2=-wnn4 canna -sj3

PHP_AUTO_REGISTER_EXT=yes
---

Note all PLIST files are generated by "make print-PLIST".
Actually there is no "extensions" dir in WRKDIR after make package:

---
mirage-% ls -l /usr/pkgsrc/devel/ruby-gnome2-glib/work.i386/.destdir/usr/pkg/lib/ruby/gems/2.0.0/
total 28
drwxr-xr-x  7 tsutsui  tsutsui  512 Jan 20 23:30 ./
drwxr-xr-x  3 tsutsui  tsutsui  512 Jan 20 23:30 ../
drwxr-xr-x  2 tsutsui  tsutsui  512 Jan 20 23:30 build_info/
drwxr-xr-x  2 tsutsui  tsutsui  512 Jan 20 23:30 cache/
drwxr-xr-x  3 tsutsui  tsutsui  512 Jan 20 23:30 doc/
drwxr-xr-x  3 tsutsui  tsutsui  512 Jan 20 23:30 gems/
drwxr-xr-x  2 tsutsui  tsutsui  512 Jan 20 23:30 specifications/
mirage-% 
---

My tree is pkgsrc-2015Q4 based, and no error on x86_64 7.0 either.
Some updates are necessary on HEAD?

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index