[opensuse-arm] rpmbuild error - No file attributes configured
Hi, I have some errors with rpmbuild for aarch64. Once compilation is done successfully, I get an error for packaging files: error: No file attributes configured Maybe a macro file not included? Example of pkg-config: ******************************************************************************** Making install in check make[1]: Entering directory `/usr/src/packages/BUILD/pkg-config-0.27.1/check' make[2]: Entering directory `/usr/src/packages/BUILD/pkg-config-0.27.1/check' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/packages/BUILD/pkg-config-0.27.1/check' make[1]: Leaving directory `/usr/src/packages/BUILD/pkg-config-0.27.1/check' + rm /usr/src/packages/BUILDROOT/pkg-config-0.27.1-0.aarch64/usr/share/doc/pkg-config/pkg-config-guide.html + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-suse Processing files: pkg-config-0.27.1-0.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8ntDEJ + umask 022 + cd /usr/src/packages/BUILD + cd pkg-config-0.27.1 + DOCDIR=/usr/src/packages/BUILDROOT/pkg-config-0.27.1-0.aarch64/usr/share/doc/packages/pkg-config + export DOCDIR + /bin/mkdir -p /usr/src/packages/BUILDROOT/pkg-config-0.27.1-0.aarch64/usr/share/doc/packages/pkg-config + cp -pr AUTHORS COPYING NEWS README ChangeLog pkg-config-guide.html /usr/src/packages/BUILDROOT/pkg-config-0.27.1-0.aarch64/usr/share/doc/packages/pkg-config + exit 0 error: No file attributes configured Obsoletes: pkgconfig < 0.21 Checking for unpackaged file(s): /usr/lib/rpm/check-files /usr/src/packages/BUILDROOT/pkg-config-0.27.1-0.aarch64 RPM build errors: No file attributes configure ******************************************************************************** Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
I reply to myself for archive purpose. Just add: --define "_fileattrsdir /usr/lib/rpm/fileattrs" to rpmbuild command line as a workaround. The problem seems to come from rpmbuild does not understand lua scripts correctly ATM. Guillaume Le 28/01/2013 18:09, Guillaume Gardet a écrit :
Hi,
I have some errors with rpmbuild for aarch64.
Once compilation is done successfully, I get an error for packaging files: error: No file attributes configured
Maybe a macro file not included?
Example of pkg-config: ******************************************************************************** Making install in check make[1]: Entering directory `/usr/src/packages/BUILD/pkg-config-0.27.1/check' make[2]: Entering directory `/usr/src/packages/BUILD/pkg-config-0.27.1/check' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/packages/BUILD/pkg-config-0.27.1/check' make[1]: Leaving directory `/usr/src/packages/BUILD/pkg-config-0.27.1/check' + rm /usr/src/packages/BUILDROOT/pkg-config-0.27.1-0.aarch64/usr/share/doc/pkg-config/pkg-config-guide.html + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-suse Processing files: pkg-config-0.27.1-0.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8ntDEJ + umask 022 + cd /usr/src/packages/BUILD + cd pkg-config-0.27.1 + DOCDIR=/usr/src/packages/BUILDROOT/pkg-config-0.27.1-0.aarch64/usr/share/doc/packages/pkg-config + export DOCDIR + /bin/mkdir -p /usr/src/packages/BUILDROOT/pkg-config-0.27.1-0.aarch64/usr/share/doc/packages/pkg-config + cp -pr AUTHORS COPYING NEWS README ChangeLog pkg-config-guide.html /usr/src/packages/BUILDROOT/pkg-config-0.27.1-0.aarch64/usr/share/doc/packages/pkg-config + exit 0 error: No file attributes configured Obsoletes: pkgconfig < 0.21 Checking for unpackaged file(s): /usr/lib/rpm/check-files /usr/src/packages/BUILDROOT/pkg-config-0.27.1-0.aarch64
RPM build errors: No file attributes configure ********************************************************************************
Guillaume
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (1)
-
Guillaume Gardet