Created
October 17, 2012 20:29
-
-
Save igable/3907955 to your computer and use it in GitHub Desktop.
mlx4 SRPMS build problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install -m 644 -D /tmp/MLNX_EN/SOURCES/mlx4_ib.conf /tmp/MLNX_EN/BUILDROOT/mellanox-mlnx-en-1.5.9-1.x86_64/etc/depmod.d/mlx4_ib.conf | |
+ /usr/lib/rpm/check-buildroot | |
+ /usr/lib/rpm/redhat/brp-compress | |
+ /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 | |
+ /usr/lib/rpm/brp-python-bytecompile | |
+ /usr/lib/rpm/redhat/brp-python-hardlink | |
+ /usr/lib/rpm/redhat/brp-java-repack-jars | |
Processing files: mellanox-mlnx-en-doc-1.5.9-1.unsupported.x86_64 | |
Finding Provides: /usr/lib/rpm/redhat/find-provides | |
Requires(interp): /bin/sh | |
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 | |
Requires(postun): /bin/sh | |
Processing files: mellanox-mlnx-en-sources-1.5.9-1.unsupported.x86_64 | |
Finding Provides: /usr/lib/rpm/redhat/find-provides | |
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 | |
Processing files: mellanox-mlnx-en-utils-1.5.9-1.unsupported.x86_64 | |
Finding Provides: /usr/lib/rpm/redhat/find-provides | |
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 | |
Processing files: kmod-mellanox-mlnx-en-1.5.9-1.unsupported.x86_64 | |
Finding Provides: /usr/lib/rpm/redhat/find-provides | |
error: line 197: Illegal char '(' in: - Modified spec file to conform to KMP specifications | |
error: Failed to find Provides: | |
Provides: kernel-modules >= 2.6.32-279.9.1.el6.x86_64 mellanox-mlnx-en-kmod = 1.5.9-1.unsupported modalias(pci:v000015B3d00001000sv*sd*bc*sc*i*) = 1.0-mlnx_ofed1.5.3 | |
Requires(interp): /bin/sh /bin/sh /bin/sh | |
Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 | |
Requires(post): /sbin/depmod /bin/sh | |
Requires(preun): /bin/sh | |
Requires(postun): /sbin/depmod /bin/sh | |
RPM build errors: | |
line 197: Illegal char '(' in: - Modified spec file to conform to KMP specifications | |
Failed to find Provides: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is hack to solve this when installing with Scientific Linux.
Edit the provided install script to include the the correct output for
rpm -qf /etc/issue
for your particular binary compatible distroyou will a case statement in the install scrip and this fails if it doesn't recognize your distro
for example chang the lines:
to: