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

Reply via email to