pkgsrc-Users archive

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

Re: gem'izing ruby-gnome2-*?



On Thu, Jan 21, 2016 at 12:41:32AM +0900, Izumi Tsutsui wrote:
> Note all PLIST files are generated by "make print-PLIST".
> Actually there is no "extensions" dir in WRKDIR after make package:

For me the build log contains a section about 'building native extensions':

===> Overriding tools for ruby22-rcairo-1.14.3
===> Extracting for ruby22-rcairo-1.14.3
Unpacked gem: '/scratch/graphics/ruby-rcairo/work/cairo-1.14.3'
===> Patching for ruby22-rcairo-1.14.3
===> Creating toolchain wrappers for ruby22-rcairo-1.14.3
src=/usr/pkg/lib/pkgconfig/fixesproto.pc  dst=/scratch/graphics/ruby-rcairo/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /scratch/graphics/ruby-rcairo/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for ruby22-rcairo-1.14.3
=> Checking for portability problems in extracted files
===> Building for ruby22-rcairo-1.14.3
=> Removing backup files of patch before build
WARNING:  description and summary are identical
WARNING:  open-ended dependency on pkg-config (>= 1.1.5) is not recommended
  if pkg-config is semantically versioned, use:
    add_runtime_dependency 'pkg-config', '~> 1.1', '>= 1.1.5'
WARNING:  open-ended dependency on bundler (>= 0, development) is not recommended
  if bundler is semantically versioned, use:
    add_development_dependency 'bundler', '~> 0'
WARNING:  open-ended dependency on test-unit-notify (>= 0, development) is not recommended
  if test-unit-notify is semantically versioned, use:
    add_development_dependency 'test-unit-notify', '~> 0'
WARNING:  open-ended dependency on rake-compiler (>= 0, development) is not recommended
  if rake-compiler is semantically versioned, use:
    add_development_dependency 'rake-compiler', '~> 0'
WARNING:  open-ended dependency on packnga (>= 0, development) is not recommended
  if packnga is semantically versioned, use:
    add_development_dependency 'packnga', '~> 0'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: cairo
  Version: 1.14.3
  File: cairo-1.14.3.gem
=> Unwrapping files-to-be-installed.
===> Installing for ruby22-rcairo-1.14.3
=> Generating pre-install file lists
=> Installing gem into installation root
Building native extensions.  This could take a while...
Successfully installed cairo-1.14.3
Parsing documentation for cairo-1.14.3
Installing ri documentation for cairo-1.14.3
Done installing documentation for cairo after 0 seconds
1 gem installed
=> Cleaning intermediate gem build files
rm cairo-1.14.3/ext/cairo/rb_cairo_text_extents.o
rm cairo-1.14.3/ext/cairo/rb_cairo_text_cluster.o
rm cairo-1.14.3/ext/cairo/rb_cairo_surface.o
rm cairo-1.14.3/ext/cairo/rb_cairo_scaled_font.o
rm cairo-1.14.3/ext/cairo/rb_cairo_region.o
rm cairo-1.14.3/ext/cairo/rb_cairo_rectangle.o
rm cairo-1.14.3/ext/cairo/rb_cairo_quartz_surface.o
rm cairo-1.14.3/ext/cairo/rb_cairo_private.o
rm cairo-1.14.3/ext/cairo/rb_cairo_pattern.o
rm cairo-1.14.3/ext/cairo/rb_cairo_path.o
rm cairo-1.14.3/ext/cairo/rb_cairo_matrix.o
rm cairo-1.14.3/ext/cairo/rb_cairo_io.o
rm cairo-1.14.3/ext/cairo/rb_cairo_glyph.o
rm cairo-1.14.3/ext/cairo/rb_cairo_font_options.o
rm cairo-1.14.3/ext/cairo/rb_cairo_font_face.o
rm cairo-1.14.3/ext/cairo/rb_cairo_font_extents.o
rm cairo-1.14.3/ext/cairo/rb_cairo_exception.o
rm cairo-1.14.3/ext/cairo/rb_cairo_device.o
rm cairo-1.14.3/ext/cairo/rb_cairo_context.o
rm cairo-1.14.3/ext/cairo/rb_cairo_constants.o
rm cairo-1.14.3/ext/cairo/rb_cairo.o
rm cairo-1.14.3/ext/cairo/cairo.so
rm cairo-1.14.3/ext/cairo/Makefile
rm cairo-1.14.3/ext/cairo/.RUBYARCHDIR.time
rm -f gem_make.out
rm -f mkmf.log
=> gem install
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for ruby22-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.2.0/extensions/x86_64-netbsd/2.2.0/cairo-1.14.3/cairo.so
ERROR:         /scratch/graphics/ruby-rcairo/work/.destdir/usr/pkg/lib/ruby/gems/2.2.0/extensions/x86_64-netbsd/2.2.0/cairo-1.14.3/gem.build_complete
ERROR:         /scratch/graphics/ruby-rcairo/work/.destdir/usr/pkg/lib/ruby/gems/2.2.0/extensions/x86_64-netbsd/2.2.0/cairo-1.14.3/rb_cairo.h
*** Error code 1

I wonder why that's different for you.

I'm on 7.99.25/amd64

I'll fix the PLISTs locally.
 Thomas


Home | Main Index | Thread Index | Old Index