Mailinglist Archive: opensuse-packaging (67 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Need help in freetype & fontconfig build breakages in OBS
- From: Marcus Meissner <meissner@xxxxxxx>
- Date: Sun, 18 Jul 2010 10:20:07 +0200
- Message-id: <20100718082007.GE416@xxxxxxx>
On Sun, Jul 18, 2010 at 09:52:35AM +0530, Anshul Jain wrote:
You need to apply the use_unix.diff patch from our 11.3 freetype2 package,
as freetype2 checks for /sbin/init presence to detect UNIX systems (which
is not in the chroot).
I have attached the patch for reference.
Ciao, Marcus
Index: freetype-2.3.12/builds/toplevel.mk
===================================================================
--- freetype-2.3.12.orig/builds/toplevel.mk 2010-03-31 16:24:31.000000000
+0200
+++ freetype-2.3.12/builds/toplevel.mk 2010-03-31 16:31:02.000000000 +0200
@@ -120,7 +120,7 @@ ifdef check_platform
#
# Note: This test is duplicated in `builds/unix/detect.mk'.
#
- is_unix := $(strip $(wildcard /sbin/init) \
+ is_unix := $(strip $(wildcard /bin/ls) \
$(wildcard /usr/sbin/init) \
$(wildcard /hurd/auth))
ifneq ($(is_unix),)
Index: freetype-2.3.12/builds/unix/detect.mk
===================================================================
--- freetype-2.3.12.orig/builds/unix/detect.mk 2009-03-14 14:45:26.000000000
+0100
+++ freetype-2.3.12/builds/unix/detect.mk 2010-03-31 16:31:16.000000000
+0200
@@ -18,7 +18,7 @@ ifeq ($(PLATFORM),ansi)
# Note: this test is duplicated in "builds/toplevel.mk".
#
- is_unix := $(strip $(wildcard /sbin/init) \
+ is_unix := $(strip $(wildcard /bin/ls) \
$(wildcard /usr/sbin/init) \
$(wildcard /hurd/auth))
ifneq ($(is_unix),)
Hi,
I have a question regarding some build breakages with the freetype and
fontconfig packages in my OBS. I'm patching freetype and fontconfig
with some specific cherry-picked patches from Ubuntu in my OBS
athttp://download.opensuse.org/repositories/home:/anshuljain: for
11.3. I've done these for 11.2 successfully in the past and they've
worked perfectly.
I'm getting build breakage errors for freetype (live build log at:-
https://build.opensuse.org/package/live_build_log?arch=i586&package=freetype&project=home:anshuljain:ubuntu_patch_11.3&repository=openSUSE_11.3)
and fontconfig
(https://build.opensuse.org/package/live_build_log?arch=i586&package=fontconfig&project=home:anshuljain:ubuntu_patch_11.3&repository=openSUSE_11.3).
The patches get applied successfully, and the problems occur during
the configure or final packaging moments. The strange part is that
I've been able to build these with no problems on my laptop. Its the
OBS which is giving me errors.
I'd appreciate some help :)
You need to apply the use_unix.diff patch from our 11.3 freetype2 package,
as freetype2 checks for /sbin/init presence to detect UNIX systems (which
is not in the chroot).
I have attached the patch for reference.
Ciao, Marcus
Index: freetype-2.3.12/builds/toplevel.mk
===================================================================
--- freetype-2.3.12.orig/builds/toplevel.mk 2010-03-31 16:24:31.000000000
+0200
+++ freetype-2.3.12/builds/toplevel.mk 2010-03-31 16:31:02.000000000 +0200
@@ -120,7 +120,7 @@ ifdef check_platform
#
# Note: This test is duplicated in `builds/unix/detect.mk'.
#
- is_unix := $(strip $(wildcard /sbin/init) \
+ is_unix := $(strip $(wildcard /bin/ls) \
$(wildcard /usr/sbin/init) \
$(wildcard /hurd/auth))
ifneq ($(is_unix),)
Index: freetype-2.3.12/builds/unix/detect.mk
===================================================================
--- freetype-2.3.12.orig/builds/unix/detect.mk 2009-03-14 14:45:26.000000000
+0100
+++ freetype-2.3.12/builds/unix/detect.mk 2010-03-31 16:31:16.000000000
+0200
@@ -18,7 +18,7 @@ ifeq ($(PLATFORM),ansi)
# Note: this test is duplicated in "builds/toplevel.mk".
#
- is_unix := $(strip $(wildcard /sbin/init) \
+ is_unix := $(strip $(wildcard /bin/ls) \
$(wildcard /usr/sbin/init) \
$(wildcard /hurd/auth))
ifneq ($(is_unix),)
| < Previous | Next > |