Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 Oct 2009 09:27:20 -0700 (PDT)
From:      QAT@FreeBSD.org
To:        ruby@FreeBSD.org
Subject:   [Custom LOCALBASE/PREFIX] databases/rubygem-sqlite3 - fails: makefile
Message-ID:  <20091001162721.5D0648FC33@release.ixsystems.com>

next in thread | raw e-mail | index | archive | help
The Restless Daemon identified a makefile error while trying to build:
 rubygem-sqlite3-1.2.4 maintained by ruby@FreeBSD.org
 Makefile ident: $FreeBSD: ports/databases/rubygem-sqlite3/Makefile,v 1.16 2009/08/22 21:46:02 miwi Exp $

THIS A BUILD WITH _CUSTOM_ PREFIX AND LOCALBASE, _standard_ env in rest.
Patches for testing and committing welcomed as a reply to this email.

To check if the latest version port builds OK with
standard PREFIX/LOCALBASE and with -DNOPORT* please see:
http://qat.tecnik93.com/index.php?action=list_buildports&build=7-STABLE-FPT-NPD&search_port_name=rubygem-sqlite3
PortsMon page for the port:
http://portsmon.freebsd.org/portoverview.py?category=databases&portname=rubygem-sqlite3

See http://docs.freebsd.org/cgi/mid.cgi?20090531085138.5bd9cc21 for some help

Excerpt from http://QATty.TecNik93.com/logs/7-STABLE-FPT-CustDir/rubygem-sqlite3-1.2.4.log :

building rubygem-sqlite3-1.2.4 in directory /usr/local/tinderbox/7-STABLE-FPT-CustDir
  build started at Thu Oct  1 16:26:32 UTC 2009
    port directory: /usr/ports/databases/rubygem-sqlite3
building for:  7.2-STABLE amd64

...........................<Last 40 lines of the log>..................

add_pkg pkg-config-0.23_1.tbz sqlite3-3.6.14.2.tbz swig-1.3.39.tbz ruby-1.8.7.160_4,1.tbz ruby18-gems-1.3.5.tbz
adding dependencies
pkg_add pkg-config-0.23_1.tbz
skipping pkg-config-0.23_1, already added
pkg_add sqlite3-3.6.14.2.tbz
skipping sqlite3-3.6.14.2, already added
pkg_add swig-1.3.39.tbz
skipping swig-1.3.39, already added
pkg_add ruby-1.8.7.160_4,1.tbz
skipping ruby-1.8.7.160_4,1, already added
pkg_add ruby18-gems-1.3.5.tbz
skipping ruby18-gems-1.3.5, already added
===>  Installing for rubygem-sqlite3-1.2.4
===>   rubygem-sqlite3-1.2.4 depends on executable: swig - found
===>   rubygem-sqlite3-1.2.4 depends on file: /usr/PPP/bin/gem18 - found
===>   rubygem-sqlite3-1.2.4 depends on file: /usr/PPP/bin/ruby18 - found
===>   rubygem-sqlite3-1.2.4 depends on file: /usr/PPP/bin/ruby18 - found
===>   rubygem-sqlite3-1.2.4 depends on shared library: sqlite3.8 - found
===>   Generating temporary packing list
===>  Checking if databases/rubygem-sqlite3 already installed
/usr/bin/env  /usr/PPP/bin/gem18 install -l --no-update-sources --no-ri --install-dir /usr/PPP/lib/ruby/gems/1.8 /tmp/distfiles/rubygem/sqlite3-ruby-1.2.4.gem -- --build-args 
ERROR:  Error installing /tmp/distfiles/rubygem/sqlite3-ruby-1.2.4.gem:
	ERROR: Failed to build gem native extension.

/usr/PPP/bin/ruby18 extconf.rb --build-args
checking for fdatasync() in -lrt... no
checking for sqlite3.h... no

make
make: don't know how to make ruby.h. Stop


Gem files will remain installed in /usr/PPP/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection.
Results logged to /usr/PPP/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/gem_make.out
Building native extensions.  This could take a while...
*** Error code 1

Stop in /a/ports/databases/rubygem-sqlite3.
================================================================
build of /usr/ports/databases/rubygem-sqlite3 ended at Thu Oct  1 16:27:19 UTC 2009

The tarballed WRKDIR can be found here:
http://QATty.TecNik93.com/wrkdirs/7-STABLE-FPT-CustDir/rubygem-sqlite3-1.2.4.tbz


The build which triggered this BotMail was done under
tinderbox-devel-3.2_4; dsversion: 3.2 on RELENG_7 on amd64, kern.smp.cpus: 4
with tinderd_flags="-nullfs -plistcheck -onceonly" and ccache support, with:
PREFIX=/usr/PPP, LOCALBASE=/usr/PPP, X11BASE=/usr/PPP.

A description of the testing process can be found here:
http://T32.TecNik93.com/FreeBSD/QA-Tindy/


Thanks for your work on making FreeBSD better,

--
QAT - your friendly neighborhood Daemon,
preparing  a heck of an error trapping system:
 - "HMC and EOI?"
 - "Halt, Melt and Catch fire or Execute Operator Immediately."




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