使用rpmbuild制作jdk的包_rpmbuild制作rpm包

本文详细介绍了如何利用rpmbuild工具制作JDK的RPM包。通过展示从源码准备到配置、编译、安装的步骤,帮助读者理解rpmbuild的使用流程及其在构建RPM包中的应用。
摘要由CSDN通过智能技术生成

1 [root@pend3 rpmbuild]# rpmbuild -ba SPECS/libmad-0.15.1b.spec2 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wpRYaU3 + umask 022

4 + cd /root/rpmbuild/BUILD5 + cd /root/rpmbuild/BUILD6 + rm -rf libmad-0.15.1b7 + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/libmad-0.15.1b.tar.gz8 + /usr/bin/tar -xf -

9 + STATUS=0

10 + '[' 0 -ne 0 ']'

11 + cd libmad-0.15.1b12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w.13 + install -pm 777 /root/rpmbuild/SOURCES/mere_doc .14 + exit 0

15 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PYGwYR16 + umask 022

17 + cd /root/rpmbuild/BUILD18 + cd libmad-0.15.1b19 + sed -i /-fforce/d configure20 + sed -i /-fforce-mem/d configure21 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'

22 +export CFLAGS23 + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'

24 +export CXXFLAGS25 + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules'

26 +export FFLAGS27 + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules'

28 +export FCFLAGS29 + LDFLAGS='-Wl,-z,relro'

30 +export LDFLAGS31 + '[' 1 == 1 ']'

32 + '[' x86_64 == ppc64le ']'

33 ++ find . -name config.guess -o -name config.sub34 + for i in '$(find . -name config.guess -o -name config.sub)'

35 ++ basename ./config.guess36 + '[' -f /usr/lib/rpm/redhat/config.guess ']'

37 + /usr/bin/rm -f ./config.guess38 ++ basename ./config.guess39 + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess40 '/usr/lib/rpm/redhat/config.guess' -> './config.guess'

41 + for i in '$(find . -name config.guess -o -name config.sub)'

42 ++ basename ./config.sub43 + '[' -f /usr/lib/rpm/redhat/config.sub ']'

44 + /usr/bin/rm -f ./config.sub45 ++ basename ./config.sub46 + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub47 '/usr/lib/rpm/redhat/config.sub' -> './config.sub'

48 + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared49 checking for a BSD-compatible install... /usr/bin/install -c50 checking whether build environment is sane... yes51 checking for gawk... gawk

52 checking whether makesets $(MAKE)... yes53 checking build system type... x86_64-redhat-linux-gnu54 checking host system type... x86_64-redhat-linux-gnu55 checking for x86_64-redhat-linux-gnu-gcc... no56 checking for gcc... gcc

57 checking for C compiler default output filename... a.out58 checking whether the C compiler works... yes59 checking whether we are cross compiling... no60 checking forsuffix of executables...61 checking for suffix of objectfiles... o62 checking whether we are using the GNU C compiler... yes63 checking whether gcc accepts -g... yes64 checking for gccoption to accept ANSI C... none needed65 checking for style of include used by make... GNU66 checking dependency style of gcc... none67 checking for a sed that does not truncate output... /usr/bin/sed

68 checking for egrep... grep -E69 checking for ld used by gcc... /usr/bin/ld

70 checking if the linker (/usr/bin/ld) is GNU ld... yes71 checking for /usr/bin/ld option to reload object files... -r72 checking for BSD-compatible nm... nm73 checking whether ln -s works... yes74 checking how to recognise dependent libraries... pass_all75 checking how to run the C preprocessor... gcc -E76 checking forANSI C header files... yes77 checking for sys/types.h... yes78 checking for sys/stat.h... yes79 checking forstdlib.h... yes80 checking for string.h... yes81 checking formemory.h... yes82 checking forstrings.h... yes83 checking forinttypes.h... yes84 checking forstdint.h... yes85 checking forunistd.h... yes86 checking dlfcn.h usability... yes87 checking dlfcn.h presence... yes88 checking fordlfcn.h... yes89 checking for x86_64-redhat-linux-gnu-g++... no90 checking for x86_64-redhat-linux-gnu-c++... no91 checking for x86_64-redhat-linux-gnu-gpp... no92 checking for x86_64-redhat-linux-gnu-aCC... no93 checking for x86_64-redhat-linux-gnu-CC... no94 checking for x86_64-redhat-linux-gnu-cxx... no95 checking for x86_64-redhat-linux-gnu-cc++... no96 checking for x86_64-redhat-linux-gnu-cl... no97 checking for x86_64-redhat-linux-gnu-FCC... no98 checking for x86_64-redhat-linux-gnu-KCC... no99 checking for x86_64-redhat-linux-gnu-RCC... no100 checking for x86_64-redhat-linux-gnu-xlC_r... no101 checking for x86_64-redhat-linux-gnu-xlC... no102 checking for g++... g++

103 checking whether we are using the GNU C++compiler... yes104 checking whether g++ accepts -g... yes105 checking dependency style of g++... none106 checking how to run the C++ preprocessor... g++ -E107 checking for x86_64-redhat-linux-gnu-g77... no108 checking for x86_64-redhat-linux-gnu-f77... no109 checking for x86_64-redhat-linux-gnu-xlf... no110 checking for x86_64-redhat-linux-gnu-frt... no111 checking for x86_64-redhat-linux-gnu-pgf77... no112 checking for x86_64-redhat-linux-gnu-fort77... no113 checking for x86_64-redhat-linux-gnu-fl32... no114 checking for x86_64-redhat-linux-gnu-af77... no115 checking for x86_64-redhat-linux-gnu-f90... no116 checking for x86_64-redhat-linux-gnu-xlf90... no117 checking for x86_64-redhat-linux-gnu-pgf90... no118 checking for x86_64-redhat-linux-gnu-epcf90... no119 checking for x86_64-redhat-linux-gnu-f95... no120 checking for x86_64-redhat-linux-gnu-fort... no121 checking for x86_64-redhat-linux-gnu-xlf95... no122 checking for x86_64-redhat-linux-gnu-ifc... no123 checking for x86_64-redhat-linux-gnu-efc... no124 checking for x86_64-redhat-linux-gnu-pgf95... no125 checking for x86_64-redhat-linux-gnu-lf95... no126 checking for x86_64-redhat-linux-gnu-gfortran... no127 checking forg77... no128 checking forf77... no129 checking forxlf... no130 checking forfrt... no131 checking forpgf77... no132 checking forfort77... no133 checking forfl32... no134 checking foraf77... no135 checking forf90... no136 checking forxlf90... no137 checking forpgf90... no138 checking forepcf90... no139 checking forf95... f95140 checking whether we are using the GNU Fortran 77compiler... yes141 checking whether f95 accepts -g... yes142 checking the maximum length of command line arguments... 32768

143 checking command to parse nm output from gcc object... ok144 checking forobjdir... .libs145 checking for x86_64-redhat-linux-gnu-ar... no146 checking for ar... ar

147 checking for x86_64-redhat-linux-gnu-ranlib... no148 checking forranlib... ranlib149 checking for x86_64-redhat-linux-gnu-strip... no150 checking forstrip... strip151 checking if gccstatic flag works... yes152 checking if gcc supports -fno-rtti -fno-exceptions... no153 checking for gcc option to produce PIC... -fPIC154 checking if gcc PIC flag -fPIC works... yes155 checking if gcc supports -c -o file.o... yes156 checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes157 checking whether -lc should be explicitly linked in... no158 checking dynamic linker characteristics... GNU/Linux ld.so159 checking how to hardcode library paths into programs... immediate160 checking whether stripping libraries is possible... yes161 checking iflibtool supports shared libraries... yes162 checking whether to build shared libraries... yes163 checking whether to build static libraries... yes164 configure: creating libtool165 appending configuration tag "CXX"to libtool166 checking for ld used by g++... /usr/bin/ld -m elf_x86_64167 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes168 checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes169 checking for g++ option to produce PIC... -fPIC170 checking if g++ PIC flag -fPIC works... yes171 checking if g++ supports -c -o file.o... yes172 checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes173 checking dynamic linker characteristics... GNU/Linux ld.so174 checking how to hardcode library paths into programs... immediate175 checking whether stripping libraries is possible... yes176 appending configuration tag "F77"to libtool177 checking iflibtool supports shared libraries... yes178 checking whether to build shared libraries... yes179 checking whether to build static libraries... yes180 checking for f95 option to produce PIC... -fPIC181 checking if f95 PIC flag -fPIC works... no182 checking if f95 supports -c -o file.o... no183 checking whether the f95 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes184 checking dynamic linker characteristics... GNU/Linux ld.so185 checking how to hardcode library paths into programs... immediate186 checking whether stripping libraries is possible... yes187 checking forANSI C header files... (cached) yes188 checking for sys/wait.h that is POSIX.1compatible... yes189 checking assert.h usability... yes190 checking assert.h presence... yes191 checking forassert.h... yes192 checking limits.h usability... yes193 checking limits.h presence... yes194 checking forlimits.h... yes195 checking forunistd.h... (cached) yes196 checking for sys/types.h... (cached) yes197 checking fcntl.h usability... yes198 checking fcntl.h presence... yes199 checking forfcntl.h... yes200 checking errno.h usability... yes201 checking errno.h presence... yes202 checking forerrno.h... yes203 checking for an ANSI C-conforming const... yes204 checking forinline... inline205 checking whether byteordering is bigendian... no206 checking forpid_t... yes207 checking for int... yes208 checking size of int... 4

209 checking for long... yes210 checking size of long... 8

211 checking for long long... yes212 checking size of long long... 8

213 checking forwaitpid... yes214 checking forfcntl... yes215 checking forpipe... yes216 checking forfork... yes217 checking whether to optimize for speed or foraccuracy... default218 checking for architecture-specific fixed-point math routines... DEFAULT219 configure: WARNING: default fixed-point math will yield limited accuracy220 checking for ISO/IEC interpretation... best accepted practices221 checking whether to enable profiling... no222 checking whether to enable debugging... default223 checking whether to enable experimental code... no224 configure: creating ./config.status225 config.status: creating Makefile226 config.status: creating msvc++/Makefile227 config.status: creating libmad.list228 config.status: creating config.h229 config.status: executing depfiles commands230 + make

231 (sed -e '1s|.*|/*|' -e '1b' -e '$s|.*| */|' -e '$b'\232 -e 's/^.*/ *&/' ./COPYRIGHT; echo; \233 echo "# ifdef __cplusplus"; \234 echo 'extern "C" {'; \235 echo "# endif"; echo; \236 if [ ".-DFPM_DEFAULT" != "." ]; then\237 echo ".-DFPM_DEFAULT" | sed -e 's|^\.-D|# define |'; echo; \238 fi; \239 sed -ne 's/^# *define *\(HAVE_.*_ASM\).*/# define \1/p'\240 config.h; echo; \241 sed -ne 's/^# *define *OPT_\(SPEED\|ACCURACY\).*/# define OPT_\1/p'\242 config.h; echo; \243 sed -ne 's/^# *define *\(SIZEOF_.*\)/# define \1/p'\244 config.h; echo; \245 for header in version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h; do\246 echo; \247 sed -n -f ./mad.h.sed ./$header; \248 done; echo; \249 echo "# ifdef __cplusplus"; \250 echo '}'; \251 echo "# endif") >mad.h252 make all-recursive253 make[1]: Entering directory `/root/rpmbuild/BUILD/libmad-0.15.1b'254 make[2]: Entering directory `/root/rpmbuild/BUILD/libmad-0.15.1b'255 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c -o version.lo version.c256 mkdir.libs257 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c version.c -fPIC -DPIC -o .libs/version.o258 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c version.c -o version.o >/dev/null 2>&1

259 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c -o fixed.lo fixed.c260 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c fixed.c -fPIC -DPIC -o .libs/fixed.o261 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c fixed.c -o fixed.o >/dev/null 2>&1

262 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c -o bit.lo bit.c263 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c bit.c -fPIC -DPIC -o .libs/bit.o264 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c bit.c -o bit.o >/dev/null 2>&1

265 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c -o timer.lo timer.c266 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c timer.c -fPIC -DPIC -o .libs/timer.o267 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c timer.c -o timer.o >/dev/null 2>&1

268 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c -o stream.lo stream.c269 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c stream.c -fPIC -DPIC -o .libs/stream.o270 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c stream.c -o stream.o >/dev/null 2>&1

271 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c -o frame.lo frame.c272 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c frame.c -fPIC -DPIC -o .libs/frame.o273 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c frame.c -o frame.o >/dev/null 2>&1

274 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c -o synth.lo synth.c275 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c synth.c -fPIC -DPIC -o .libs/synth.o276 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c synth.c -o synth.o >/dev/null 2>&1

277 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c -o decoder.lo decoder.c278 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c decoder.c -fPIC -DPIC -o .libs/decoder.o279 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c decoder.c -o decoder.o >/dev/null 2>&1

280 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c -o layer12.lo layer12.c281 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c layer12.c -fPIC -DPIC -o .libs/layer12.o282 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c layer12.c -o layer12.o >/dev/null 2>&1

283 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c -o layer3.lo layer3.c284 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c layer3.c -fPIC -DPIC -o .libs/layer3.o285 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c layer3.c -o layer3.o >/dev/null 2>&1

286 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c -o huffman.lo huffman.c287 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c huffman.c -fPIC -DPIC -o .libs/huffman.o288 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -c huffman.c -o huffman.o >/dev/null 2>&1

289 /bin/sh ./libtool --mode=link gcc -Wall -pipe -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -O -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -Wl,-z,relro -o libmad.la -rpath /usr/lib64 -version-info 2:1:2version.lo fixed.lo bit.lo timer.lo stream.lo frame.lo synth.lo decoder.lo layer12.lo layer3.lo huffman.lo290 gcc -shared .libs/version.o .libs/fixed.o .libs/bit.o .libs/timer.o .libs/stream.o .libs/frame.o .libs/synth.o .libs/decoder.o .libs/layer12.o .libs/layer3.o .libs/huffman.o -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-soname -Wl,libmad.so.0 -o .libs/libmad.so.0.2.1

291 (cd .libs && rm -f libmad.so.0 && ln -s libmad.so.0.2.1 libmad.so.0)292 (cd .libs && rm -f libmad.so && ln -s libmad.so.0.2.1libmad.so)293 ar cru .libs/libmad.a version.o fixed.o bit.o timer.o stream.o frame.o synth.o decoder.o layer12.o layer3.o huffman.o294 ranlib .libs/libmad.a295 creating libmad.la296 (cd .libs && rm -f libmad.la && ln -s ../libmad.la libmad.la)297 make[2]: Leaving directory `/root/rpmbuild/BUILD/libmad-0.15.1b'298 make[1]: Leaving directory `/root/rpmbuild/BUILD/libmad-0.15.1b'299 + exit 0

300 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.J9HX5k301 + umask 022

302 + cd /root/rpmbuild/BUILD303 + '[' /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64 '!=' / ']'

304 + rm -rf /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64305 ++ dirname /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64306 + mkdir -p /root/rpmbuild/BUILDROOT307 + mkdir /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64308 + cd libmad-0.15.1b309 + rm -rf /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64310 + make install DESTDIR=/root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64311 make install-recursive312 make[1]: Entering directory `/root/rpmbuild/BUILD/libmad-0.15.1b'313 make[2]: Entering directory `/root/rpmbuild/BUILD/libmad-0.15.1b'314 make[3]: Entering directory `/root/rpmbuild/BUILD/libmad-0.15.1b'315 mkdir -p -- . /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/lib64316 /bin/sh ./libtool --mode=install /usr/bin/install -c libmad.la /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/lib64/libmad.la317 /usr/bin/install -c .libs/libmad.so.0.2.1 /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/lib64/libmad.so.0.2.1

318 (cd /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/lib64 && rm -f libmad.so.0 && ln -s libmad.so.0.2.1 libmad.so.0)319 (cd /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/lib64 && rm -f libmad.so && ln -s libmad.so.0.2.1libmad.so)320 /usr/bin/install -c .libs/libmad.lai /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/lib64/libmad.la321 /usr/bin/install -c .libs/libmad.a /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/lib64/libmad.a322 ranlib /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/lib64/libmad.a323 chmod 644 /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/lib64/libmad.a324 libtool: install: warning: remember to run `libtool --finish /usr/lib64'325 mkdir -p -- . /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/include326 /usr/bin/install -c -m 644 mad.h /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/include/mad.h327 make[3]: Leaving directory `/root/rpmbuild/BUILD/libmad-0.15.1b'328 make[2]: Leaving directory `/root/rpmbuild/BUILD/libmad-0.15.1b'329 make[1]: Leaving directory `/root/rpmbuild/BUILD/libmad-0.15.1b'330 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /root/rpmbuild/BUILD/libmad-0.15.1b331 extracting debug info from /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/lib64/libmad.so.0.2.1

332 dwz: Too few files formultifile optimization333 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0CRC32s did match.334 symlinked /usr/lib/debug/usr/lib64/libmad.so.0.2.1.debug to /usr/lib/debug/usr/lib64/libmad.so.0.debug335 symlinked /usr/lib/debug/usr/lib64/libmad.so.0.2.1.debug to /usr/lib/debug/usr/lib64/libmad.so.debug336 516blocks337 + /usr/lib/rpm/check-buildroot338 + /usr/lib/rpm/redhat/brp-compress339 + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip340 + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1

341 + /usr/lib/rpm/redhat/brp-python-hardlink342 + /usr/lib/rpm/redhat/brp-java-repack-jars343 Processing files: libmad-0.15.1b-1.el7.x86_64344 Provides: libmad libmad = 1:0.15.1b-1.el7 libmad(x86-64) = 1:0.15.1b-1.el7 libmad.so.0()(64bit) libtool(/usr/lib64/libmad.la)345 Requires(interp): /sbin/ldconfig /sbin/ldconfig346 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1

347 Requires(post): /sbin/ldconfig348 Requires(postun): /sbin/ldconfig349 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libmad.so.0()(64bit) rtld(GNU_HASH)350 Processing files: libmad-devel-0.15.1b-1.el7.x86_64351 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fT70KP352 + umask 022

353 + cd /root/rpmbuild/BUILD354 + cd libmad-0.15.1b355 + DOCDIR=/root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/share/doc/libmad-devel-0.15.1b356 +export DOCDIR357 + /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/share/doc/libmad-devel-0.15.1b358 + cp -pr mere_doc /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64/usr/share/doc/libmad-devel-0.15.1b359 + exit 0

360 Provides: libmad-devel = 1:0.15.1b-1.el7 libmad-devel(x86-64) = 1:0.15.1b-1.el7361 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1

362 Requires: libmad.so.0()(64bit)363 Processing files: libmad-debuginfo-0.15.1b-1.el7.x86_64364 Provides: libmad-debuginfo = 1:0.15.1b-1.el7 libmad-debuginfo(x86-64) = 1:0.15.1b-1.el7365 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1

366 Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/libmad-0.15.1b-1.el7.x86_64367 Wrote: /root/rpmbuild/SRPMS/libmad-0.15.1b-1.el7.src.rpm368 Wrote: /root/rpmbuild/RPMS/x86_64/libmad-0.15.1b-1.el7.x86_64.rpm369 Wrote: /root/rpmbuild/RPMS/x86_64/libmad-devel-0.15.1b-1.el7.x86_64.rpm370 Wrote: /root/rpmbuild/RPMS/x86_64/libmad-debuginfo-0.15.1b-1.el7.x86_64.rpm371 Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.U1Yvwk372 + umask 022

373 + cd /root/rpmbuild/BUILD374 + cd libmad-0.15.1b375 + exit 0

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值