Due to my build failure rate, I was proposed to check the configure line between doing a command line build and using the rpmbuild tool.
To Check out the differences between the two, you would simply look at the config.log file.
This file contains all the information gathered during the configure and make section.
So I have provided the two config.log files for you: Command Line | Rpmbuild
When I used the diff command between the two files. There wasn't much differences.
The main difference is for my rpmbuild method i used the --disable-rpath option to try to disable the rpath errors I've been getting but sadly it did not help.
Below is the output from diff command. If you haven't used or heard of diff before, what it does is compares files and displays the differences between files.
[bchao@ireland gcc-4.5]$ diff config.log ../rpmbuild/BUILD/gcc-4.5/config.log
7c7
< $ ./configure --disable-mulitlib --- > $ ./configure --disable-rpath --disable-multilib
1039c1039
< toplevel_configure_arguments="'./configure"> TOPLEVEL_CONFIGURE_ARGUMENTS='./configure --disable-rpath --disable-multilib'
1052c1052
< build_configargs="'--cache-file="../config.cache" languages="c,c++,fortran,java,lto,objc'\''" name="'\''s,y,y,'\''"> build_configargs='--cache-file=../config.cache '\''--disable-rpath'\'' '\''--disable-multilib'\'' '\''--enable-languages=c,c++,fortran,java,lto,objc'\'' --program-transform-name='\''s,y,y,'\'' --disable-option-checking'
1080c1080
< host_configargs="'--cache-file="./config.cache" languages="c,c++,fortran,java,lto,objc'\''" name="'\''s,y,y,'\''"> host_configargs='--cache-file=./config.cache '\''--disable-rpath'\'' '\''--disable-multilib'\'' '\''--enable-languages=c,c++,fortran,java,lto,objc'\'' --program-transform-name='\''s,y,y,'\'' --disable-option-checking'
1116c1116
< target_configargs="'--cache-file="./config.cache" languages="c,c++,fortran,java,lto,objc'\''" name="'\''s,y,y,'\''"> target_configargs='--cache-file=./config.cache '\''--disable-rpath'\'' '\''--disable-multilib'\'' '\''--enable-languages=c,c++,fortran,java,lto,objc'\'' --program-transform-name='\''s,y,y,'\'' --disable-option-checking'
On a side note...
Here is what is left for GCC packaging.
1. Fix rpath issue.
2. Fix cpio issue
3. Fix %files section so that the at the end of the installation all files know where to go.
My Bare Spec File
Sunday, April 18, 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment