Put: %debug_package %{nil} into your ~/.rpmmacros That'll prevent the debuginfo packages from ever getting built. On Sat, 2004-03-13 at 08:56, Guolin Cheng wrote: > Hi,all, > I got a machine installed with Fedora Core 1.0, but find when I tried to compile new packages with rpm, the rpm will always create a "debug" version empty binary rpm file under /usr/src/redhat/RPMS, > hello06.alexa.com user1 149% ls -alF /usr/src/redhat/RPMS/i386/*debug* > -rw-r--r-- 1 root root 20378 Mar 10 18:30 /usr/src/redhat/RPMS/i386/openssh-debuginfo-3.6.1p2-19.i386.rpm > -rw-r--r-- 1 root root 4043 Mar 12 23:25 /usr/src/redhat/RPMS/i386/proftpd-debuginfo-1.2.9-1.i386.rpm > -rw-r--r-- 1 root root 1671 Mar 13 01:10 /usr/src/redhat/RPMS/i386/whois-debuginfo-4.6.9-1.i386.rpm > hello06.alexa.com user1 150% rpm -qlp `ls -alF /usr/src/redhat/RPMS/i386/*debug*` > rpmq: arguments to --root (-r) must begin with a / > hello06.alexa.com guolin 151% rpm -qlp /usr/src/redhat/RPMS/i386/openssh-debuginfo-3.6.1p2-19.i386.rpm > (contains no files) > hello06.alexa.com user1 152% rpm -qlp /usr/src/redhat/RPMS/i386/proftpd-debuginfo-1.2.9-1.i386.rpm > (contains no files) > hello06.alexa.com user1153% rpm -qlp /usr/src/redhat/RPMS/i386/whois-debuginfo-4.6.9-1.i386.rpm > (contains no files) > hello06.alexa.com user1 154% > Even worse is, the rpm doesn't work with default .spec files comes with some other popular packages, like valgrind, it will stops at the very end when checking uninstalled files, I don't know why... > Processing files: valgrind-debuginfo-2.0.0-1 > Provides: libpthread.so.debug valgrind.so.debug valgrinq.so.debug vgskin_addrcheck.so.debug vgskin_cachegrind.so.debug vgskin_corecheck.so.debug vgskin_helgrind.so.debug vgskin_lackey.so.debug vgskin_memcheck.so.debug vgskin_none.so.debug > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/valgrind > error: Installed (but unpackaged) file(s) found: > /usr/include/valgrind/vg_constants_skin.h > /usr/include/valgrind/vg_kerneliface.h > /usr/include/valgrind/vg_skin.h > > RPM build errors: > Installed (but unpackaged) file(s) found: > /usr/include/valgrind/vg_constants_skin.h > /usr/include/valgrind/vg_kerneliface.h > /usr/include/valgrind/vg_skin.h > anyone know the problem and|or how to avoid the above problem? thanks a lot. > --Guolin > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list -- Link Dupont <link@xxxxxxxxxx> _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list