Return-Path: X-Original-To: apmail-httpd-packagers-archive@www.apache.org Delivered-To: apmail-httpd-packagers-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F19079872 for ; Fri, 2 Mar 2012 10:40:52 +0000 (UTC) Received: (qmail 65396 invoked by uid 500); 2 Mar 2012 10:40:52 -0000 Mailing-List: contact packagers-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: packagers@httpd.apache.org Delivered-To: mailing list packagers@httpd.apache.org Received: (qmail 65044 invoked by uid 99); 2 Mar 2012 10:40:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 10:40:52 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mamfelt@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-lpp01m010-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 10:40:43 +0000 Received: by lahe6 with SMTP id e6so2694298lah.18 for ; Fri, 02 Mar 2012 02:40:23 -0800 (PST) Received-SPF: pass (google.com: domain of mamfelt@gmail.com designates 10.152.111.229 as permitted sender) client-ip=10.152.111.229; Authentication-Results: mr.google.com; spf=pass (google.com: domain of mamfelt@gmail.com designates 10.152.111.229 as permitted sender) smtp.mail=mamfelt@gmail.com; dkim=pass header.i=mamfelt@gmail.com Received: from mr.google.com ([10.152.111.229]) by 10.152.111.229 with SMTP id il5mr8127758lab.19.1330684823074 (num_hops = 1); Fri, 02 Mar 2012 02:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1ahdhGy8L1aKK06sB9j7u5u3Sl6q+R1KQKqdqj/4f10=; b=FE8Fn7f+JDnBXtX/lXB8pK1li3VF56qt/UppFE2NwjVGbuCtsTeIpFiML5IIJM91fb Z3BX/aVnpccU/DDkJ5tuQzlvL2CtLDV6Nji3u4+8CV8wg+mT7DVkkXAlxyZWhcfIeL6J 9MWWuGphCx5Mgy5DKxEH6JpOkU0IwEIoyrksVRkxRKx/eVTRnlKFPAAWUPe/HaEEAgP/ 57aqPnu5UuS/qs17rb5kCmJ07XoZRr/UT1qV/VOGJ1sKnvbzFzb6YfbPXbgb0JP2gNJo Wujfr+3guikjE742OfJkVL863Nb6ob8y4eH9Ek4eFWIS9UjyiWtaWbI4vmbniKvg664A XHWA== MIME-Version: 1.0 Received: by 10.152.111.229 with SMTP id il5mr6658961lab.19.1330684822993; Fri, 02 Mar 2012 02:40:22 -0800 (PST) Received: by 10.112.75.42 with HTTP; Fri, 2 Mar 2012 02:40:22 -0800 (PST) Date: Fri, 2 Mar 2012 11:40:22 +0100 Message-ID: Subject: TESTING: build/aix/buildaix.ksh for httpd-2.2.22 - successful From: Michael Felt To: dev@httpd.apache.org, dev@apr.apache.org, packagers@httpd.apache.org Content-Type: multipart/alternative; boundary=f46d04083a012eb96504ba4034fd X-Virus-Checked: Checked by ClamAV on apache.org --f46d04083a012eb96504ba4034fd Content-Type: text/plain; charset=ISO-8859-1 TESTING: build/aix/buildaix.ksh (actually three custom build/aix directories for each of: apr 1.4.6, apr-util 1.4.1 and httpd 2.2.22) This is followup to https://mail.google.com/mail/?shva=1#search/label%3aaixtools-httpd+build+label%3aaixtools-httpd+build+aix+commit/135c4383c0a161ee I am going to do some further clean-up work, and submit for inclusion into apr "trunks" and httpd-2.2.22 (Vote needed for httpd I assume) ===== Results ==== short message: once we got gcc out of the way, the scripts ran successfully using vac.C version 11 It seems that configure in some/all continue to call gcc even though cc is in the path earlier; in other words, gcc seems to ALWAYS be chosen in preference to any other complier (setting CC might prevent that, but unsure). Tried to load the 4.2.0-3 gcc, but it complained about a downlevel (we could not find it - rpm.rte >= 6.1.0.0) Another reason to not use these mysterious RPM (dependancies) files - imho... ******* UPDATE ****** - while typing note, customer upgraded to gcc 4.2.0, uninstalled all ASF.* filesets, and reran scripts ***** gcc failed with 4.2.0 update to latest gcc customer had failed on AIX 7.1 root@abcd1234:/tmp/apr-1.4.6> ./build/aix/buildaix.ksh + ./configure --enable-layout=AIX > build/aix/configure.out rm: conftest*: No such file or directory grep: can't open /tmp/apr-1.4.6/libtool rm: libtoolT: No such file or directory + make > build/aix/make.out collect2: library libgcc_s not found make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. + make install DESTDIR=/var/tmp/root/apr.1.4.6 > build/aix/install.out collect2: library libgcc_s not found make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. make install returned an error root@abcd1234:/tmp/apr-1.4.6> rpm -qa | grep gcc libgcc-4.2.0-3 gcc-4.2.0-3 ======== cannot install gcc 4.4.6 on AIX 7.1 .... root@abcd1234:/tmp/apr-1.4.6> rpm -ihv /software/LinuxToolBox/RPMS/gcc-4.4.6-1.aix6.1.ppc.rpm /software/LinuxToolBox/RPMS/libgcc-4.4.6-1.aix6.1.ppc.rpm error: failed dependencies: info is needed by gcc-4.4.6-1 AIX-rpm < 6.2.0.0 is needed by gcc-4.4.6-1 AIX-rpm < 6.2.0.0 is needed by libgcc-4.4.6-1 root@abcd1234:/tmp/apr-1.4.6> ===== What follows are errors encountered because gcc was in the PATH (/usr/bin/gcc -> /opt/freeware/bin/gcc) even though /usr/vac/bin was first directory in PATH variable. ========== AIX oslevel: 7100-01-02-1150 AIX toolbox gcc-4.0.0-1 libgcc-4.0.0-1 configure was defaulting to gcc even though vac was in the path earlier. Only by moving /usr/bin/gcc to /usr/bin/gcc.foo was the IBM compiler seen and used. See error messages below (will try to get latest AIX Toolbox gcc installed - from ftp.software.ibm.com ... snip -rw-rw-r-- 1 35092 200 4004237 Mar 2 2006 gcc-4.0.0-1.aix5.1.ppc.rpm -rw-rw-r-- 1 35092 200 3827777 Mar 26 2008 gcc-4.0.0-1.aix5.2.ppc.rpm -rw-rw-r-- 1 35092 200 3828578 Mar 2 2006 gcc-4.0.0-1.aix5.3.ppc.rpm -rw-rw-r-- 1 35092 200 4489625 Feb 21 2008 gcc-4.2.0-2.aix5.3.ppc.rpm -rw-rw-r-- 1 35092 200 4487292 Feb 21 2008 gcc-4.2.0-2.aix6.1.ppc.rpm -rw-rw-r-- 1 35092 200 4582111 Mar 26 2008 gcc-4.2.0-3.aix5.3.ppc.rpm -rw-rw-r-- 1 35092 200 4593640 Mar 26 2008 gcc-4.2.0-3.aix6.1.ppc.rpm ... snip >From snip above, the compiler currently installed on the AIX 7.1 system was only packaged for AIX 5.X, so not too surprising that something might not be 100% root@abcd1234:/tmp/apr-1.4.6> ./build/aix/buildaix.ksh + ./configure --enable-layout=AIX > build/aix/configure.out rm: conftest*: No such file or directory grep: can't open /tmp/apr-1.4.6/libtool configure: WARNING: pthread.h: present but cannot be compiled configure: WARNING: pthread.h: check for missing prerequisite headers? configure: WARNING: pthread.h: see the Autoconf documentation configure: WARNING: pthread.h: section "Present But Cannot Be Compiled" configure: WARNING: pthread.h: proceeding with the compiler's result configure: WARNING: sys/shm.h: present but cannot be compiled configure: WARNING: sys/shm.h: check for missing prerequisite headers? configure: WARNING: sys/shm.h: see the Autoconf documentation configure: WARNING: sys/shm.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/shm.h: proceeding with the compiler's result configure: WARNING: sys/file.h: present but cannot be compiled configure: WARNING: sys/file.h: check for missing prerequisite headers? configure: WARNING: sys/file.h: see the Autoconf documentation configure: WARNING: sys/file.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/file.h: proceeding with the compiler's result configure: WARNING: fcntl.h: present but cannot be compiled configure: WARNING: fcntl.h: check for missing prerequisite headers? configure: WARNING: fcntl.h: see the Autoconf documentation configure: WARNING: fcntl.h: section "Present But Cannot Be Compiled" configure: WARNING: fcntl.h: proceeding with the compiler's result configure: WARNING: semaphore.h: present but cannot be compiled configure: WARNING: semaphore.h: check for missing prerequisite headers? configure: WARNING: semaphore.h: see the Autoconf documentation configure: WARNING: semaphore.h: section "Present But Cannot Be Compiled" configure: WARNING: semaphore.h: proceeding with the compiler's result rm: libtoolT: No such file or directory + make > build/aix/make.out atomic/unix/mutex.c:34:5: warning: #warning Be warned: using stubs for all atomic operations file_io/unix/filedup.c: In function 'file_dup': file_io/unix/filedup.c:49: error: 'F_GETFD' undeclared (first use in this function) file_io/unix/filedup.c:49: error: (Each undeclared identifier is reported only once file_io/unix/filedup.c:49: error: for each function it appears in.) file_io/unix/filedup.c:52: error: 'FD_CLOEXEC' undeclared (first use in this function) file_io/unix/filedup.c:53: error: 'F_SETFD' undeclared (first use in this function) make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. + make install DESTDIR=/var/tmp/root/apr.1.4.6 > build/aix/install.out file_io/unix/filedup.c: In function 'file_dup': file_io/unix/filedup.c:49: error: 'F_GETFD' undeclared (first use in this function) file_io/unix/filedup.c:49: error: (Each undeclared identifier is reported only once file_io/unix/filedup.c:49: error: for each function it appears in.) file_io/unix/filedup.c:52: error: 'FD_CLOEXEC' undeclared (first use in this function) file_io/unix/filedup.c:53: error: 'F_SETFD' undeclared (first use in this function) make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. make install returned an error root@abcd1234:/tmp/apr-1.4.6> --f46d04083a012eb96504ba4034fd--