[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RPM problems with temp files



I seem to have a problem...

I'm trying to build an RPM file, and I keep getting the error "Unable to
open temp file" right after it finds dependancies...

For a while, the RPM system was a little messed up, because I
(somehow) had three versions of RPM installed. 

So to fix it, I took the RPM files for RPM, converted them to CPIOs,
backed up /usr/src/redhat and /var/lib/rpm, and totally removed the RPM
system. Then I reinstalled the files from the CPIOs, and reinstalled the
RPM system from the RPMs. Note that I had the problem both before and
after I did this...

Everything works alright, I can query, install, and uninstall RPM files,
I just can't seem to *BUILD* an RPM...

Trouble is, *where* is it trying to open a temp file, and *why* is it
failing to do so? It doesn't say. And yes, I am building as root, so I
have complete filesystem access...

Thinking it's just a bad spec file, I tried building another spec I had
on hand, and it just got to the "Unable to open temp file" message even
quicker.

I'm running a pretty much stock RH 6.2 system on i386 with RPM 3.0.5-9,
here is the output from the build attempt:

[LOC:ROOT SPECS] rpm -ba -vv gsysinfo.spec
Processing files: gsysinfo-1.0-0
D: File    0: 0100755 root.root	 /usr/bin/gsysinfo_applet
D: File    1: 0100644 root.root
/etc/CORBA/servers/gsysinfo_applet.gnorba
D: File    2: 0100644 root.root
/usr/share/applets/Monitors/gsysinfo_applet.desktop
D: File    3: 0100755 root.root
/usr/share/gnome/help/gsysinfo_applet/C/properties-0.html
D: File    4: 0100755 root.root
/usr/share/gnome/help/gsysinfo_applet/C/properties-1.html
D: File    5: 0100644 root.root	 /usr/doc/gsysinfo-1.0/LICENSE
D: File    6: 0100644 root.root	 /usr/doc/gsysinfo-1.0/README
Finding  Provides: (using /usr/lib/rpm/find-provides)...
Finding  Requires: (using /usr/lib/rpm/find-requires)...
Requires: gnome-core ld-linux.so.2 libICE.so.6 libIIOP.so.0
libORBit.so.0 libORBitCosNaming.so.0 libORBitutil.so.0 libSM.so.6
libX11.so.6 libXext.so.6 libXi.so.6 libart_lgpl.so.2 libaudiofile.so.0
libc.so.6 libdb.so.2 libdl.so.2 libesd.so.0 libgdk-1.2.so.0
libgdk_imlib.so.1 libglib-1.2.so.0 libgmodule-1.2.so.0 libgnome.so.32
libgnomesupport.so.0 libgnomeui.so.32 libgnorba.so.27 libgtk-1.2.so.0
libm.so.6 libnsl.so.1 libpanel_applet.so.0 libz.so.1
libc.so.6(GLIBC_2.0)
Unable to open temp file.
D: archive = gsysinfo-0.9_i386.tar.gz, fs =
/usr/src/redhat/SOURCES/gsysinfo-0.9_i386.tar.gz
D: archive = gsysinfo.spec, fs = /usr/src/redhat/SPECS/gsysinfo.spec
D: archive = etc/CORBA/servers/gsysinfo_applet.gnorba, fs =
/etc/CORBA/servers/gsysinfo_applet.gnorba
D: archive = usr/bin/gsysinfo_applet, fs = /usr/bin/gsysinfo_applet
D: archive = usr/doc/gsysinfo-1.0/LICENSE, fs =
/usr/doc/gsysinfo-1.0/LICENSE
D: archive = usr/doc/gsysinfo-1.0/README, fs =
/usr/doc/gsysinfo-1.0/README
D: archive = usr/share/applets/Monitors/gsysinfo_applet.desktop, fs =
/usr/share/applets/Monitors/gsysinfo_applet.desktop
D: archive = usr/share/gnome/help/gsysinfo_applet/C/properties-0.html,
fs = /usr/share/gnome/help/gsysinfo_applet/C/properties-0.html
D: archive = usr/share/gnome/help/gsysinfo_applet/C/properties-1.html,
fs = /usr/share/gnome/help/gsysinfo_applet/C/properties-1.html






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []