[KLUG Members] RPM Build Error

Adam Tauno Williams members@kalamazoolinux.org
Mon, 6 Jan 2003 15:02:11 -0500


I'm trying to build the rpm from spec for mlview (gnome-mlview), which is a
GNOME XML viewer.  But it keeps dying at the last step with an error -

+ cat
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note
Processing files: mlview-0.0.2-1
error: Symlink points to BuildRoot: /usr/bin/gnome-mlview ->
/var/tmp/mlview-0.0.2-1-root//usr/bin/mlv
Finding  Provides: /usr/lib/rpm/find-provides
Finding  Requires: /usr/lib/rpm/find-requires
Provides: libmlview.so.0 libmlview.so.0
PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <=
3.0.4-1
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: libxml2 >= 2.4.22 gnome-libs >= 1.2.11 libart_lgpl.so.2
libaudiofile.so.0 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) 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 libgtk-1.2.so.0 libICE.so.6
libmlview.so.0 libm.so.6 libSM.so.6 libX11.so.6 libXext.so.6 libXi.so.6
libxml2.so.2 libz.so.1
RPM build errors:
    Symlink points to BuildRoot: /usr/bin/gnome-mlview ->
/var/tmp/mlview-0.0.2-1-root//usr/bin/mlv

But I'm not enough of an RPM guru to figure out what that means or how to hack
the .spec file to fix it.  

If I go into /usr/src/redhat/BUILD/mlview... and do a make;make install and it
installs and works fine.  But I'd like to have the RPM.