Skip to contentSkip to conversation

postgresql-8.1.8 : fix configure on x86

PATCH In review Bob Foerster 2 participants 2 messages Nov 5, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 postgresql-8.1.8 : fix configure on x86

Without this patch, postgres fails on configure:
| checking alignment of int... configure: error: cannot compute alignment of int, 77
NOTE: package postgresql-8.1.8-r4: task do_configure: Failed

Similar fix for arm was in 5fa3d153.

---
 site/ix86-common |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
site/ix86-common +7 -0
index 5323c7a..8a4a4c3 100644
@@ -202,6 +202,13 @@ rsync_cv_HAVE_SECURE_MKSTEMP=${rsync_cv_HAVE_SECURE_MKSTEMP=yes}
 rsync_cv_REPLACE_INET_NTOA=${rsync_cv_REPLACE_INET_NTOA=no}
 rsync_cv_REPLACE_INET_ATON=${rsync_cv_REPLACE_INET_ATON=no}
 
+# postgresql
+pgac_cv_alignof_short=2
+pgac_cv_alignof_int=4
+pgac_cv_alignof_long=4
+pgac_cv_alignof_long_long_int=8
+pgac_cv_alignof_double=8
+
 # samba
 samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 
Signature · 1 line
1.7.0.4
#1 lore raw

On Friday, November 5, 2010 at 9:06 AM, Bob Foerster wrote:

Without this patch, postgres fails on configure:| checking alignment of int... configure: error: cannot compute alignment of int, 77NOTE: package postgresql-8.1.8-r4: task do_configure: FailedSimilar fix for arm was in 5fa3d153.Signed-off-by: Bob Foerster <[email protected]>Acked-by: Christopher Larson <[email protected]>
From [email protected] Fri Nov 05 17:17:09 2010
Received: from usps1.crhc.illinois.edu ([130.126.143.230]

	helo=usps.crhc.uiuc.edu) by linuxtogo.org with esmtp (Exim 4.69)
	(envelope-from <[email protected]>) id 1PEOyM-0002IQ-AN
	for [email protected];
	Fri, 05 Nov 2010 17:17:05 +0100
Received: from usps.crhc.uiuc.edu (localhost [127.0.0.1])
	by usps.crhc.uiuc.edu (Postfix) with ESMTP id EF9393400463
	for <[email protected]>;
	Fri,  5 Nov 2010 11:16:07 -0500 (CDT)
Received: from [192.168.1.198] (unknown [63.252.64.254])
	(using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested) (Authenticated sender: johnso87)
	by usps.crhc.uiuc.edu (Postfix) with ESMTPSA id D0B29340009B
	for <[email protected]>;
	Fri,  5 Nov 2010 11:16:07 -0500 (CDT)

Message-ID: <[email protected]>
Date: Fri, 05 Nov 2010 11:16:07 -0500
From: Matt Johnson <[email protected]>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;

	rv:1.9.1.9pre) Gecko/20100217 Lightning/1.0b1 Shredder/3.0.3pre

MIME-Version: 1.0
To: [email protected]
References: <[email protected]>
In-Reply-To: <[email protected]>
X-Virus-Scanned: ClamAV using ClamSMTP
X-SA-Exim-Connect-IP: 130.126.143.230
X-SA-Exim-Mail-From: [email protected]
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level:
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE

	autolearn=ham version=3.2.5

X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000)
X-SA-Exim-Scanned: Yes (on linuxtogo.org)
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.11
Subject: Re: [oe] dm355_codecs_03_10_00_00.tar.gz
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.11
Precedence: list
Reply-To: [email protected]
List-Id: Using the OpenEmbedded metadata to build Distributions
<openembedded-devel.lists.openembedded.org>
List-Unsubscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/options/openembedded-devel>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lists.linuxtogo.org/pipermail/openembedded-devel>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>,
<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Fri, 05 Nov 2010 16:17:09 -0000

Quoted 94 lines · Klaus Schwarzkopf

Hi,

i try to install the recipe ti-codecs-dm355_3.10.00.00.bb:

MACHINE=dm355-leopard bitbake -b ti-codecs-dm355_3.10.00.00.bb

I get the following error:

klaus@ubuntu:~/development/oe$ MACHINE=dm355-leopard bitbake -b
ti-codecs-dm355_3.10.00.00.bb
NOTE: preferred version 1_13_000 of ti-codecs-dm355 not available (for
item ti-codecs-dm355)

Build Configuration:
BB_VERSION = "1.8.18"
METADATA_BRANCH = "master"
METADATA_REVISION = "a33cf7368366d425c71369339e88a50d5660b7c0"

TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "dm355-leopard"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20101104"
TARGET_FPU        = "soft"

NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 2 of 17 (ID: 8, /home/klaus/development/oe/openembedded/recipes/ti/ti-codecs-dm355_3.10.00.00.bb,

do_fetch)
NOTE: fetch ftp://gtftp01.gt.design.ti.com/arago/dm355_codecs_03_10_00_00.tar.gz --2010-11-04 20:28:42-- ftp://gtftp01.gt.design.ti.com/arago/dm355_codecs_03_10_00_00.tar.gz

           =>

`/home/klaus/development/oe/downloads/dm355_codecs_03_10_00_00.tar.gz' Resolving gtftp01.gt.design.ti.com... failed: Name or service not known.
wget: unable to resolve host address `gtftp01.gt.design.ti.com'
NOTE: fetch
http://mirrors.openembedded.org//dm355_codecs_03_10_00_00.tar.gz
--2010-11-04 20:28:42--
http://mirrors.openembedded.org//dm355_codecs_03_10_00_00.tar.gz
Resolving mirrors.openembedded.org... 82.197.159.157 Connecting to mirrors.openembedded.org|82.197.159.157|:80... connected. HTTP request sent, awaiting response... 404 Not Found

2010-11-04 20:28:42 ERROR 404: Not Found.

NOTE: fetch
http://sources.openembedded.org//dm355_codecs_03_10_00_00.tar.gz
--2010-11-04 20:28:43--
http://sources.openembedded.org//dm355_codecs_03_10_00_00.tar.gz
Resolving sources.openembedded.org... 140.211.169.165 Connecting to sources.openembedded.org|140.211.169.165|:80... connected. HTTP request sent, awaiting response... 404 Not Found

2010-11-04 20:28:43 ERROR 404: Not Found.

NOTE: fetch
http://www.angstrom-distribution.org/unstable/sources/dm355_codecs_03_10_00_00.tar.gz

--2010-11-04 20:28:43--
http://www.angstrom-distribution.org/unstable/sources/dm355_codecs_03_10_00_00.tar.gz

Resolving www.angstrom-distribution.org... 188.40.83.200 Connecting to www.angstrom-distribution.org|188.40.83.200|:80... connected.
HTTP request sent, awaiting response... 404 Not Found

2010-11-04 20:28:43 ERROR 404: Not Found.

NOTE: Task failed: Fetch failed:
ftp://gtftp01.gt.design.ti.com/arago/dm355_codecs_03_10_00_00.tar.gz;name=dm355codecsbin

ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/klaus/development/oe/openembedded/recipes/ti/ti-codecs-dm355_3.10.00.00.bb

do_fetch failed
ERROR: Task 8 (/home/klaus/development/oe/openembedded/recipes/ti/ti-codecs-dm355_3.10.00.00.bb,

do_fetch) failed
NOTE: Tasks Summary: Attempted 1 tasks of which 1 didn't need to be rerun and 1 failed.
ERROR:
'/home/klaus/development/oe/openembedded/recipes/ti/ti-codecs-dm355_3.10.00.00.bb'

failed
klaus@ubuntu:~/development/oe$

Quoted 10 lines

Where is the file? Is the recipe to old?

Thanks!

Regards,
Klaus

Klaus,
ti-codecs is now at 3.10.00.02, but I think the larger issue is
just one of server-side directory reorganization since the recipe was updated. That tarball is part of the DVSDK, which can be downloaded here
http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_10/latest/index_FDS.html
We should probably update the recipe at some point not to attempt
to fetch the tarball directly, unless someone else has it hosted separately. -Matt

Signature · 4 lines
Matt Johnson
Graduate Student
University of Illinois at Urbana-Champaign, Dept. of ECE
Coordinated Science Lab, Rm. 213