Hello! It seems that rpmbuild program is trying to include /usr/share/info/dir file as a part of libgeda. This is wrong since the file is already owned by info package (at least on my FC4). I cannot guess why this had happen, because the log is not complete. Please try something like
rpmbuild --rebuild libgeda-20050313-1.fc4.src.rpm >>libgeda.log 2>>libgeda.log which place all output into libgeda.log. You must delete, rename or move log file between each try (new data is always appended). Wojciech Kazubski > Hello, > > > can someone give me some tricks to compile cleanly the following rpm > on RHEL3 ? > > > rpmbuild --rebuild libgeda-20050313-1.fc4.src.rpm > > + strip /var/tmp/libgeda-20050313/usr/lib/libgeda.a > + strip /var/tmp/libgeda-20050313/usr/lib/libgeda.so.23.0.0 > + /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/libgeda-20050313 > 0 blocks > find: /var/tmp/libgeda-20050313/usr/lib/debug: No such file or directory > + /usr/lib/rpm/redhat/brp-compress > gunzip: ./usr/share/info/libgedadoc.info-2 already exists; do you wish > to overwrite (y or n)? y > gunzip: ./usr/share/info/libgedadoc.info-3 already exists; do you wish > to overwrite (y or n)? y > + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip > + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip > + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip > /usr/bin/objdump Processing files: libgeda-20050313-1.fc4 > Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.80644 > + umask 022 > + cd /usr/src/redhat/BUILD > + cd libgeda-20050313 > + DOCDIR=/var/tmp/libgeda-20050313/usr/share/doc/libgeda-20050313 > + export DOCDIR > + rm -rf /var/tmp/libgeda-20050313/usr/share/doc/libgeda-20050313 > + /bin/mkdir -p /var/tmp/libgeda-20050313/usr/share/doc/libgeda-20050313 > + cp -pr AUTHORS BUGS COPYING ChangeLog HACKING README TODO > /var/tmp/libgeda-20050313/usr/share/doc/libgeda-20050313 > + exit 0 > Provides: libgeda.so.23 > Requires(interp): /bin/sh /bin/sh /bin/sh > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > Requires(post): /bin/sh > Requires(preun): /bin/sh > Requires(postun): /bin/sh > Requires: 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) libcrypt.so.1 libdl.so.2 > libgdk-x11-2.0.so.0 libgdk_pixbuf-2.0.so.0 libglib-2.0.so.0 > libgmodule-2.0.so.0 libgobject-2.0.so.0 libguile-ltdl.so.1 > libguile.so.12 libm.so.6 libm.so.6(GLIBC_2.0) libpango-1.0.so.0 > libpangox-1.0.so.0 libpangoxft-1.0.so.0 libpthread.so.0 > libpthread.so.0(GLIBC_2.0) libqthreads.so.12 > Processing files: libgeda-devel-20050313-1.fc4 > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > Requires: libgeda = 20050313-1.fc4 > Processing files: libgeda-debuginfo-20050313-1.fc4 > Checking for unpackaged file(s): /usr/lib/rpm/check-files > /var/tmp/libgeda-20050313 > error: Installed (but unpackaged) file(s) found: > /usr/share/info/dir > > > RPM build errors: > user wk does not exist - using root > group wk does not exist - using root > user wk does not exist - using root > group wk does not exist - using root > user wk does not exist - using root > group wk does not exist - using root > Installed (but unpackaged) file(s) found: > /usr/share/info/dir > > > Sincere Regards,