Re: PERL-UTIL Build Stuck on RHEL4-AMD64 - (Also on AIX 5.3)

2007-05-09 Thread Simon Mudd \(Mailing address\)
FYI I have a similar issue on AIX 5.3 so I guess the issue is generic.

The point at which things go wrong appears to be that Class-Factory-Util 
requires Module::Build.
See below.

[snip first part of /openpkg build perl-utils] (and using 
perl-util-5.8.8-20070508.src.rpm)
...
cp lib/Test/Harness/Straps.pm blib/lib/Test/Harness/Straps.pm
cp bin/prove blib/script/prove
/openpkg/b1/RPM/TMP/opkg-perl-openpkg-perl-util/perl.sh -MExtUtils::MY -e 
MY-fixin(shift) blib/script/prove
++ step 4: install
++ installing module via ExtUtils::MakeMaker environment
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/Test/Harness.pm
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/Test/Harness/Results.pm
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/Test/Harness/TAP.pod
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/Test/Harness/Point.pm
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/Test/Harness/Util.pm
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/Test/Harness/Iterator.pm
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/Test/Harness/Assert.pm
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/Test/Harness/Straps.pm
Installing /openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/bin/prove
Writing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/aix/auto/Test/Harness/.packlist
++ cleaning up environment
+ /openpkg/b1/bin/perl-openpkg -d 
/openpkg/b1/RPM/SRC/perl-util/Alias-2.32.tar.gz configure build install
++ OpenPKG perl-openpkg 2.0.1 (03-Dec-2004)
++ determined RPM  program: /openpkg/b1/libexec/openpkg/rpm (4.2.1)
++ determined Perl program: /openpkg/b1/bin/perl (5.8.8)
++ step 2: configure
++ configuring module via ExtUtils::MakeMaker environment
Checking if your kit is complete...
Looks good
Writing Makefile for Alias
++ step 3: build
++ building module via ExtUtils::MakeMaker environment
cp Alias.pm blib/lib/Alias.pm
/openpkg/b1/RPM/TMP/opkg-perl-openpkg-perl-util/perl.sh -e 'use 
ExtUtils::Mksymlists; Mksymlists(NAME = Alias, DL_FUNCS = {  }, 
FUNCLIST = [], DL_VARS = []);'
/openpkg/b1/RPM/TMP/opkg-perl-openpkg-perl-util/perl.sh 
/openpkg/b1/lib/perl/5.8.8/ExtUtils/xsubpp  -typemap 
/openpkg/b1/lib/perl/5.8.8/ExtUtils/typemap  Alias.xs  Alias.xsc  mv 
Alias.xsc Alias.c
/openpkg/b1/bin/gcc -c   -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
-DUSE_NATIVE_DLOPEN -fno-strict-aliasing -pipe -Wdeclaration-after-statement 
-I/openpkg/b1/include -D_LARGE_FILES-DVERSION=\2.32\ 
-DXS_VERSION=\2.32\  -I/openpkg/b1/lib/perl/5.8.8/aix/CORE   Alias.c
Running Mkbootstrap for Alias ()
chmod 644 Alias.bs
rm -f blib/arch/auto/Alias/Alias.so
/openpkg/b1/bin/gcc  -Wl,-bhalt:4 -Wl,-bexpall -Wl,-G -Wl,-bnoentry -lc 
-L/openpkg/b1/lib Alias.o  -o blib/arch/auto/Alias/Alias.so \
chmod 755 blib/arch/auto/Alias/Alias.so
cp Alias.bs blib/arch/auto/Alias/Alias.bs
chmod 644 blib/arch/auto/Alias/Alias.bs
++ step 4: install
++ installing module via ExtUtils::MakeMaker environment
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/aix/auto/Alias/Alias.so
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/aix/auto/Alias/Alias.bs
Files found in blib/arch: installing files in blib/lib into architecture 
dependent library tree
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/aix/Alias.pm
Writing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/aix/auto/Alias/.packlist
++ cleaning up environment
+ /openpkg/b1/bin/perl-openpkg -d 
/openpkg/b1/RPM/SRC/perl-util/Attribute-Handlers-0.78.tar.gz configure build 
install
++ OpenPKG perl-openpkg 2.0.1 (03-Dec-2004)
++ determined RPM  program: /openpkg/b1/libexec/openpkg/rpm (4.2.1)
++ determined Perl program: /openpkg/b1/bin/perl (5.8.8)
++ step 2: configure
++ configuring module via ExtUtils::MakeMaker environment
Checking if your kit is complete...
Looks good
Writing Makefile for Attribute::Handlers
++ step 3: build
++ building module via ExtUtils::MakeMaker environment
cp lib/Attribute/Handlers.pm blib/lib/Attribute/Handlers.pm
++ step 4: install
++ installing module via ExtUtils::MakeMaker environment
Installing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/Attribute/Handlers.pm
Writing 
/openpkg/b1/RPM/TMP/perl-util-5.8.8-root/openpkg/b1/lib/perl/vendor_perl/5.8.8/aix/auto/Attribute/Handlers/.packlist
++ cleaning up environment
+ /openpkg/b1/bin/perl-openpkg -d 
/openpkg/b1/RPM/SRC/perl-util/Params-Validate-0.88.tar.gz configure build 
install
++ OpenPKG perl-openpkg 2.0.1 (03-Dec-2004)
++ determined RPM  program: 

RE: Ncurses Fails on AIX - WORKING

2007-05-09 Thread Simon Mudd \(Mailing address\)
Also works fine on AIX 5.3

Name: ncurses   Source RPM:   
ncurses-5.6.20070505-20070508.src.rpm
Version:  5.6.20070505  Signature:
md5:62acbfb0e4d88cd6b0fddae44b2a03e2
Release:  20070508  Build Host:   xxx
Group:Terminal  Build System: powerpc-aix5.3
Class:BASE  Build Time:   Tue May  8 10:11:54 2007
Distrib:  OpenPKG Community Install Time: Tue May  8 10:14:33 2007
License:  MIT-style Install Size: 6317488 bytes
Packager: OpenPKG Foundation e.V.   Relocations:  /openpkg
Vendor:   Free Software Foundation
Summary:  Terminal Capability and Display Library
URL:  http://www.gnu.org/software/ncurses/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Doug Summers
Sent: 10 May 2007 06:34
To: openpkg-users@openpkg.org
Subject: Re: Ncurses Fails on AIX - WORKING


Ralf S. Engelschall wrote:
 On Sat, May 05, 2007, Doug Summers wrote:
 
  /usr/vac/bin/cc /usr/vac/bin/cc ../objects/ansi.o ../objects/charset.o
  ../objects/color.o ../objects/control.o ../objects/crum.o
 ../objects/edit.o
  ../objects/fun.o ../objects/init.o ../objects/menu.o ../objects/modes.o
  ../objects/output.o ../objects/pad.o ../objects/scan.o ../objects/sync.o
  ../objects/sysdep.o ../objects/tack.o -L../lib -lncurses
 -DHAVE_CONFIG_H
  -I../tack -I. -I. -I../include-D_ALL_SOURCE -D_LARGE_FILES
  -I/openpkg/include/ncurses  -o tack
  ld: 0711-710 ERROR: Input file /usr/vac/bin/cc
  is stripped. The file is being ignored.
  make[1]: *** [tack] Error 8
  make: *** [all] Error 2
  error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.13458 (%build)

  I built version 5.5.20061021 without any problems (GCC-build).
 That's interesting. Neither the upstream sources nor out OpenPKG
 packaging contains anything related to this /usr/vac stuff. Even a grep
 -r vac doesn't show up anything. I've no clue from where does comes.
 But my guess is this: you have the OpenPKG gcc package still not
 installed and /usr/vac/bin/cc is the system compiler ncurses finds.
 Because of a bug in the Makefiles or whatever this compiler is expanded
 twice(!) and hence the problem occurs. Can you retry with the OpenPKG
 gcc package installed?
 
  I should have been clearer on this error; it's happening with XLC  GCC.
  Substitute /usr/vac/bin/cc with /openpkg/bin/gcc and the results are the
  same.
 
 Ok, I've now found the problem. The NCURSES' tack/Makefile.in was just
 broken. I've fixed it now with ncurses-5.6.20070505-20070508 and higher.

That did the trick; just got done building on AIX 5.1.
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


RE: Perl-Util Dependency

2007-05-09 Thread Simon Mudd \(Mailing address\)

I can confirm that this also works on AIX 5.3 IF perl-module is built first.
In my case I have the following perl modules installed:

perl-db-5.8.8-20070205
perl-module-5.8.8-20070509
perl-5.8.8-20070419
perl-openpkg-5.8.8-20061013
perl-util-5.8.8-20070509

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Doug Summers
Sent: 10 May 2007 00:06
To: openpkg-users@openpkg.org
Subject: Perl-Util Dependency


I've been able to get perl-util-5.8.8-20070420 to build on rhel4-i386 
and solaris-9-sparc64 if I build perl-module-5.8.8-20070423 first.

Does this dependency need to be added to perl-util?
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org