Error compile /usr/ports/databases/postgresql-plruby (FreeBSD 7-STABLE)

Andrei V. Lavreniyuk andy.lavr at reactor-xg.kiev.ua
Thu Apr 10 01:03:20 UTC 2008


Hi!


FreeBSD mail.local 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Apr  8 20:12:36 EEST 
2008     root at mail.local:/usr/obj/usr/src/sys/SMP-MAIL  i386



-------------------------------------

===>  Extracting for postgresql-plruby-0.5.0
=> MD5 Checksum OK for ruby/plruby-0.5.0.tar.gz.
=> SHA256 Checksum OK for ruby/plruby-0.5.0.tar.gz.
===>   postgresql-plruby-0.5.0 depends on file: /usr/local/bin/ruby18 - found
/usr/bin/find /usr/ports/databases/postgresql-plruby/work/plruby-0.5.0 -name '*~' -delete
===>  Patching for postgresql-plruby-0.5.0
===>   postgresql-plruby-0.5.0 depends on file: /usr/local/bin/ruby18 - found
/usr/local/bin/ruby18 -i -pe 'gsub /test_mklang\.sql/, "../createlang.sql"'  /usr/ports/databases/postgresql-plruby/work/plruby-0.5.0/test/*/runtest
===>   postgresql-plruby-0.5.0 depends on executable: postgres - found
===>   postgresql-plruby-0.5.0 depends on file: /usr/local/bin/ruby18 - found
===>   postgresql-plruby-0.5.0 depends on shared library: pq.5 - found
===>  Configuring for postgresql-plruby-0.5.0
cd /usr/ports/databases/postgresql83-server && make -DBATCH patch


  =========== BACKUP YOUR DATA! =============
  As always, backup your data before
  upgrading. If the upgrade leads to a higher
  minor revision (e.g. 7.3.x -> 7.4), a dump
  and restore of all databases is
  required. This is *NOT* done by the port!

  Press ctrl-C *now* if you need to pg_dump.
  ===========================================

===>  Vulnerability check disabled, database not found
===>  Found saved configuration for postgresql-server-8.3.1
===>  Extracting for postgresql-server-8.3.1
=> MD5 Checksum OK for postgresql/postgresql-8.3.1.tar.bz2.
=> SHA256 Checksum OK for postgresql/postgresql-8.3.1.tar.bz2.
===>  Patching for postgresql-server-8.3.1
===>  Applying FreeBSD patches for postgresql-server-8.3.1
===>  Running extconf.rb to configure
checking for catalog/pg_proc.h... yes
checking for rb_hash_delete() in ruby.h... yes
checking for rb_block_call()... no
checking for server/utils/array.h... no
checking for utils/array.h... yes
creating Makefile
creating Makefile
creating Makefile
creating Makefile
creating Makefile
creating Makefile

 ========================================================================
 After the installation use *something like this* to create the language
 plruby


   create function plruby_call_handler() returns language_handler
   as '/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd7/plruby.so'
   language 'C';

   create trusted language 'plruby'
   handler plruby_call_handler
   lancompiler 'PL/Ruby';

 ========================================================================
===>  Building for postgresql-plruby-0.5.0
cc -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd7 -I. -DHAVE_CATALOG_PG_PROC_H -DHAVE_RB_HASH_DELETE -DHAVE_UTILS_ARRAY_H -I/usr/local/include -fPIC -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=native -mtune=native -mmmx -msse2 -msse3 -fno-strict-aliasing -fstack-protector -Wformat -Wformat-security -s -march=prescott   -fPIC -I/usr/local/include/postgresql/server -DHAVE_RB_HASH_DELETE -DHAVE_RB_INITIALIZE_COPY -DPG_UTILS_ARRAY -DPG_PL_TRYCATCH -DPLRUBY_ENABLE_CONVERSION -DRUBY_CAN_USE_AUTOLOAD -DRUBY_CAN_USE_MARSHAL_DUMP -DPG_PL_VERSION=83 -DPLRUBY_CALL_HANDLER=plruby_call_handler -DPLRUBY_VALIDATOR=plruby_validator -c 
plruby.c
cc -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd7 -I. -DHAVE_CATALOG_PG_PROC_H -DHAVE_RB_HASH_DELETE -DHAVE_UTILS_ARRAY_H -I/usr/local/include -fPIC -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=native -mtune=native -mmmx -msse2 -msse3 -fno-strict-aliasing -fstack-protector -Wformat -Wformat-security -s -march=prescott   -fPIC -I/usr/local/include/postgresql/server -DHAVE_RB_HASH_DELETE -DHAVE_RB_INITIALIZE_COPY -DPG_UTILS_ARRAY -DPG_PL_TRYCATCH -DPLRUBY_ENABLE_CONVERSION -DRUBY_CAN_USE_AUTOLOAD -DRUBY_CAN_USE_MARSHAL_DUMP -DPG_PL_VERSION=83 -DPLRUBY_CALL_HANDLER=plruby_call_handler -DPLRUBY_VALIDATOR=plruby_validator -c 
plplan.c
plplan.c: In function 'pl_plan_init':
plplan.c:148: error: too few arguments to function 'typenameType'
*** Error code 1

Stop in /usr/ports/databases/postgresql-plruby/work/plruby-0.5.0/src.
*** Error code 1

Stop in /usr/ports/databases/postgresql-plruby/work/plruby-0.5.0.
*** Error code 1

Stop in /usr/ports/databases/postgresql-plruby.







--------------------------------------


-- 
Best regards, Andrei Lavreniyuk (andy.lavr at gmail.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080410/408f1099/attachment.pgp


More information about the freebsd-ports mailing list