[oe-issues] [Bug 1798] New: ruby 1.8.5 will not build without bb changes
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Wed Jan 17 15:42:13 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=1798
Summary: ruby 1.8.5 will not build without bb changes
Product: Openembedded
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: jmills at avionpartners.com
QAContact: tinderbox-oe at gmx.net
Although the forgotten patches have been added back (thanks!), ruby still will
not build. It appears that the ";patch=1" after each patch is causing the
build process to look in packages/ruby for the patches instead of
packages/ruby/ruby-1.8.5. I tried to look up info on ";patch=1", but could not
find any.
Regardless, after removing ";patch=1", eveything built fine. Here is the bb in
plaintext (ruby_1.8.5.bb), followed by a patch
Thanks,
~james
DESCRIPTION = "Ruby is an interpreted scripting language \
for quick and easy object-oriented programming."
SECTION = "devel/ruby"
DEPENDS = "ruby-native zlib openssl"
PRIORITY = "optional"
LICENSE = "GPL"
SRC_URI = "ftp://ftp.ruby-lang.org/pub/ruby/ruby-${PV}.tar.gz \
file://extmk_run.patch \
file://disable_wide_getaddrinfo_check.patch"
S = "${WORKDIR}/ruby-${PV}"
inherit autotools
# This snippet lets compiled extensions which rely on external libraries,
# such as zlib, compile properly. If we don't do this, then when extmk.rb
# runs, it uses the native libraries instead of the target libraries, and so
# none of the linking operations succeed -- which makes extconf.rb think
# that the libraries aren't available and hence that the extension can't be
# built.
do_configure_prepend() {
sed -i "s#%%TARGET_CFLAGS%%#$TARGET_CFLAGS#;
s#%%TARGET_LDFLAGS%%#$TARGET_LDFLAGS#" ${S}/common.mk
}
=====patch=====
--- ruby_1.8.5.bb 2007-01-17 09:36:40.348385000 -0600
+++ ruby_1.8.5.bb.fixed 2007-01-17 09:33:00.990676000 -0600
@@ -6,8 +6,8 @@
LICENSE = "GPL"
SRC_URI = "ftp://ftp.ruby-lang.org/pub/ruby/ruby-${PV}.tar.gz \
- file://extmk_run.patch;patch=1 \
- file://disable_wide_getaddrinfo_check.patch;patch=1"
+ file://extmk_run.patch \
+ file://disable_wide_getaddrinfo_check.patch"
S = "${WORKDIR}/ruby-${PV}"
=====patch=====
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-issues
mailing list