So one of my main problem building gcc4.5 is the rpath errors I'm getting. I have received advises from my professor Chris Tyler, and from the Fedora Development Community via IRC on the #fedora-devel channel on irc.freenode.net server.
They have pointed to the fedora wiki page I mentioned before and as well suggested I used a patch.
But a few moments ago I found this site that sorta helps bypass the rpath errors and allows rpmbuild to continue building.
Basically, its telling me to create a environment variable for rpath. Below is the syntax I used, with the variable incorporated into the build.
time QA_RPATHS=$[ 0x0020 ] rpmbuild -ba gcc4.5.spec 2>&1 |tee error.txt
As a result, it did build further, and here is the output for my rpath error. It did in fact bypass these errors and allowed rpmbuild to keep building.
+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
WARNING 0020: file '/usr/local/bin/gij' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64:/usr/local/lib/../lib64/gcj-4.6.0-11]
WARNING 0020: file '/usr/local/bin/gij' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64:/usr/local/lib/../lib64/gcj-4.6.0-11]
WARNING 0020: file '/usr/local/bin/gserialver' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/gjarsigner' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/gkeytool' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/gjar' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/gcjh' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/gc-analyze' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/grmiregistry' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/grmic' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/gorbd' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/gcj-dbtool' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/gjavah' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/gnative2ascii' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/jv-convert' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/grmid' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/gtnameserv' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/bin/gappletviewer' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/lib64/libgij.so.11.0.0' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/lib64/libgcj-tools.so.11.0.0' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
WARNING 0020: file '/usr/local/lib64/gcj-4.6.0-11/libjvm.so' contains an rpath referencing '..' of an absolute path [/usr/local/lib/../lib64]
Now what I have to do solve this issue.
Friday, April 16, 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment