got the same on AIX 5.2 (PASE). 

problem for me also

2005/7/12, Doug Summers <[EMAIL PROTECTED]>:
> Doug Summers wrote:
> > Doug Summers wrote:
> >
> >> Doug Summers wrote:
> >>
> >>> Got the same results using the 2.4.1 code...
> >>>
> >>> + /tmp/rpm -bb openpkg.spec
> >>> Executing(%prep): /bin/sh -e /tmp/rpm-tmp.8866
> >>> /tmp/rpm-tmp.8866[8]: LOGNAME: This variable is read only.
> >>> error: Bad exit status from /tmp/rpm-tmp.8866 (%prep)
> >>>
> >>>
> >>> RPM build errors:
> >>>     Bad exit status from /tmp/rpm-tmp.8866 (%prep)
> >>> + echo ++ overwriting RPM installation by installing via RPM itself
> >>> ++ overwriting RPM installation by installing via RPM itself
> >>> + /tmp/rpm --install --justdb --force --noscripts --notriggers
> >>> --ignoresize /tmp/openpkg-20050706-root/openpkg/RPM/PKG/openpkg-*.rpm
> >>> error: File not found by glob:
> >>> /tmp/openpkg-20050706-root/openpkg/RPM/PKG/openpkg-*.rpm
> >>>
> >>> The bootstrap creates successfully but the rpm doesn't. When I
> >>> install it the command "openpkg rpm -qa" is empty.
> >>> ______________________________________________________________________
> >>> The OpenPKG Project                                    www.openpkg.org
> >>> User Communication List                      openpkg-users@openpkg.org
> >>
> >>
> >>
> >> This is stopping my testing of 2.4 on AIX. Without the OpenPKG RPM
> >> being created I can't make any new ones due to their dependency of
> >> OpenPKG. I'm running my initial bootstrap as root - is this the
> >> problem? None of this happened on the 2.3 sources after the
> >> compilation problems of RPM were fixed.
> >> ______________________________________________________________________
> >> The OpenPKG Project                                    www.openpkg.org
> >> User Communication List                      openpkg-users@openpkg.org
> >
> >
> > OK - got past this problem (commented out 'readonly LOGNAME' entry in
> > /etc/profile). Got make, m4, & binutils to compile (using GCC from IBM
> > AIX Toolbox). Now I'm stuck (again) compiling GCC:
> >
> > ./xgcc -B./ -B/openpkg/powerpc-ibm-aix5.1.0.0/bin/ -isystem
> > /openpkg/powerpc-ibm-aix5.1.0.0/include -isystem
> > /openpkg/powerpc-ibm-aix5.1.0.0/sys-include
> > -L/openpkg/RPM/TMP/gcc-3.4.4/obj/gcc/../ld -O2  -DIN_GCC    -W -Wall
> > -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> > -Wold-style-definition  -isystem ./include   -g -DHAVE_GTHR_DEFAULT
> > -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
> > -I/openpkg/RPM/TMP/gcc-3.4.4/obj/../gcc
> > -I/openpkg/RPM/TMP/gcc-3.4.4/obj/../gcc/.
> > -I/openpkg/RPM/TMP/gcc-3.4.4/obj/../gcc/../include   -mcpu=power
> > -DL_divdi3 -c /openpkg/RPM/TMP/gcc-3.4.4/obj/../gcc/libgcc2.c
> > -fexceptions -fnon-call-exceptions -o libgcc/power/_divdi3.o
> > /openpkg/RPM/TMP/ccWC0LQ2.s: Assembler messages:
> > /openpkg/RPM/TMP/ccWC0LQ2.s:845: Error: Unrecognized opcode: `mfcr'
> > make[3]: *** [libgcc/power/_divdi3.o] Error 1
> >
> > My next step is to uninstall binutils (OpenPKG version) and try again
> > using '--define="with_binutils no"'.
> > ______________________________________________________________________
> > The OpenPKG Project                                    www.openpkg.org
> > User Communication List                      openpkg-users@openpkg.org
> 
> After 3.5 hours my attempts to compile GCC have failed:
> 
> + subdir=pthread/power
> + '[' .pthread/power = .. ']'
> + mv '/openpkg/RPM/TMP/gcc-3.4.4-root/openpkg/lib/pthread/power/lib*.a'
> /openpkg/RPM/TMP/gcc-3.4.4-root/openpkg/lib/gcc/powerpc-ibm-aix5.1.0.0/3.4.4/pthread/power/
> mv: cannot rename
> /openpkg/RPM/TMP/gcc-3.4.4-root/openpkg/lib/pthread/power/lib*.a to
> /openpkg/RPM/TMP/gcc-3.4.4-root/openpkg/lib/gcc/powerpc-ibm-aix5.1.0.0/3.4.4/pthread/power//lib*.a:
> 
> No such file or directory
> error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.14260 (%install)
> 
> I got past the other errors by uninstalling binutils and using
> --define="with_binutils no". Anyone have any other suggestions???
> ______________________________________________________________________
> The OpenPKG Project                                    www.openpkg.org
> User Communication List                      openpkg-users@openpkg.org
>
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to