I use FC6 linux. $ make rpm ... rpmbuild -ba ./snmp.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.89864 + umask 022 + cd /tmp/BUILD + LANG=C + export LANG + unset DISPLAY + cd /tmp/BUILD + rm -rf snmp-2.3.0 + /bin/gzip -dc /tmp/SOURCES/snmp-2.3.0.tar.gz + tar -xvvf - -r-xr--r-- powah/powah 1 2007-12-13 17:27:24 ./snmp-2.3.0/csnmpd.conf drwxr-xr-x Creating directory: ./snmp-2.3.0 lrwxrwxrwx powah/powah 0 2007-12-13 17:27:24 ./snmp-2.3.0/libnetsnmpagent.so.15 -> libnetsnmpagent.so.15.1.0 -rwxr-xr-x powah/powah 558807 2007-12-13 17:27:24 ./snmp-2.3.0/libnetsnmpagent.so.15.1.0 lrwxrwxrwx powah/powah 0 2007-12-13 17:27:24 ./snmp-2.3.0/libnetsnmphelpers.so.15 -> libnetsnmphelpers.so.15.1.0 -rwxr-xr-x powah/powah 443382 2007-12-13 17:27:24 ./snmp-2.3.0/libnetsnmphelpers.so.15.1.0 lrwxrwxrwx powah/powah 0 2007-12-13 17:27:24 ./snmp-2.3.0/libnetsnmpmibs.so.15 -> libnetsnmpmibs.so.15.1.0 -rwxr-xr-x powah/powah 2654334 2007-12-13 17:27:24 ./snmp-2.3.0/libnetsnmpmibs.so.15.1.0 lrwxrwxrwx powah/powah 0 2007-12-13 17:27:24 ./snmp-2.3.0/libnetsnmp.so.15 -> libnetsnmp.so.15.1.0 -rwxr-xr-x powah/powah 1323285 2007-12-13 17:27:24 ./snmp-2.3.0/libnetsnmp.so.15.1.0 -r-xr--r-- powah/powah 251 2007-12-13 17:27:24 ./snmp-2.3.0/lsnmpd.conf -r-xr--r-- powah/powah 1 2007-12-13 17:27:24 ./snmp-2.3.0/RELEASE -rwxr-xr-x powah/powah 50071 2007-12-13 17:27:24 ./snmp-2.3.0/snmpd -r-xr--r-- powah/powah 1199 2007-12-13 17:27:24 ./snmp-2.3.0/snmpd.init -rwxr-xr-x powah/powah 22573 2007-12-13 17:27:24 ./snmp-2.3.0/snmptrap -r-xr--r-- powah/powah 6 2007-12-13 17:27:24 ./snmp-2.3.0/VERSION + STATUS=0 + '[' 0 -ne 0 ']' + cd snmp-2.3.0 ... Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.89864 + umask 022 + cd /tmp/BUILD + cd snmp-2.3.0 ... + install -p /tmp/BUILD/snmp-2.3.0/snmptrap /tmp//usr/local/bin/snmptrap + install -p /tmp/BUILD/snmp-2.3.0/snmpd /tmp//usr/local/sbin/snmpd + install -p /tmp/BUILD/snmp-2.3.0/libnetsnmp.so.15 /tmp//usr/local/lib/libnetsnmp.so.15 + install -p /tmp/BUILD/snmp-2.3.0/libnetsnmpagent.so.15 /tmp//usr/local/lib/libnetsnmpagent.so.15 + install -p /tmp/BUILD/snmp-2.3.0/libnetsnmphelpers.so.15 /tmp//usr/local/lib/libnetsnmphelpers.so.15 + install -p /tmp/BUILD/snmp-2.3.0/libnetsnmpmibs.so.15 /tmp//usr/local/lib/libnetsnmpmibs.so.15 + install -p /tmp/BUILD/snmp-2.3.0/csnmpd.conf /tmp//usr/local/share/snmp/snmpd.conf + install -p /tmp/BUILD/snmp-2.3.0/lsnmpd.conf /tmp/var/net-snmp/snmpd.conf + install -p /tmp/BUILD/snmp-2.3.0/snmpd.init /tmp/etc/init.d/snmpd + /usr/lib/rpm/find-debuginfo.sh /tmp/BUILD/snmp-2.3.0 0 blocks + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot ******************************************************************************* * * WARNING: 'check-rpaths' detected a broken RPATH and will cause 'rpmbuild' * to fail. To ignore these errors, you can set the '$QA_RPATHS' * environment variable which is a bitmask allowing the values * below. The current value of QA_RPATHS is 0x0000. * * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor * issue but are introducing redundant searchpaths without * providing a benefit. They can also cause errors in multilib * environments. * 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute * nor relative filenames and can therefore be a SECURITY risk * 0x0004 ... insecure RPATHs; these are relative RPATHs which are a * SECURITY risk * 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other * RPATHs; this is just a minor issue but usually unwanted * 0x0010 ... the RPATH is empty; there is no reason for such RPATHs * and they cause unneeded work while loading libraries * 0x0020 ... an RPATH references '..' of an absolute path; this will break * the functionality when the path before '..' is a symlink * * * Examples: * - to ignore standard and empty RPATHs, execute 'rpmbuild' like * $ QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild my-package.src.rpm * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like * $ RPM_BUILD_ROOT=<top-dir> /usr/lib/rpm/check-rpaths * ******************************************************************************* ERROR 0002: file '/libnetsnmphelpers.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/libnetsnmphelpers.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/usr/local/lib/libnetsnmpagent.so.15' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/usr/local/lib/libnetsnmphelpers.so.15' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/usr/local/lib/libnetsnmphelpers.so.15' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/usr/local/lib/libnetsnmpmibs.so.15' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/usr/local/lib/libnetsnmpmibs.so.15' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/usr/local/lib/libnetsnmpmibs.so.15' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/libnetsnmpmibs.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/libnetsnmpmibs.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/libnetsnmpmibs.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/libnetsnmpagent.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/BUILD/snmp-2.3.0/libnetsnmphelpers.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/BUILD/snmp-2.3.0/libnetsnmphelpers.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/BUILD/snmp-2.3.0/libnetsnmpmibs.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/BUILD/snmp-2.3.0/libnetsnmpmibs.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/BUILD/snmp-2.3.0/libnetsnmpmibs.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/helpers/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/agent/.libs:/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] ERROR 0002: file '/BUILD/snmp-2.3.0/libnetsnmpagent.so.15.1.0' contains an invalid rpath '/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs' in [/home/powah/snmpdev/snmp/net-snmp-5.4.1/snmplib/.libs] error: Bad exit status from /var/tmp/rpm-tmp.89864 (%install) ... Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list