ルギア君の戯言

雑多な記事。

kdenetwork

libosip2 がビルドできなくて、linphone がビルドできず、それで kdenetwork がビルドできてなかったんだが、libosip2 が libtool 関係のエラーだったので libtool を上げようと思ったんだが・・・gcc からになってしまったか・・・rz



時間かかりそう・・・。tmpfs の容量って無制限に許した方が良いのかな。デフォルトは 512MB だが、最近はメモリは増やしたから tmpfs には 1.5GB は取ってあるが足りないかもしれないな・・・。


→案の定足りなかったw まったくどれだけ使うんだよrz

コメントの返信

こんな具合です。libosip2 自身の問題のようにも見えますね・・・。

[lugia@arpa-castle libosip2]$ cat OmoiKondara.log
prepare buildreqs                                
prepare sources                                  

--[rm -rf libosip2/BUILD]--

--real:0.36 utime:0.00 stime:0.04

compare sha256sum of libosip2-3.3.0.tar.gz: d45e28deaa596b2d7457edefe916b4761adbd53d543180f4ff30f9c310a5f821 == d45e28deaa596b2d7457edefe916b4761adbd53d543180f4ff30f9c310a5f821 ... YES                                                        

--[cp -pfv SOURCES/libosip2-3.3.0.tar.gz /home/lugia/Momonga/PKGS/SOURCES]--
`SOURCES/libosip2-3.3.0.tar.gz' -> `/home/lugia/Momonga/PKGS/SOURCES/libosip2-3.3.0.tar.gz'                                                                     

--real:0.09 utime:0.00 stime:0.01

--[ rpmbuild -ba --target i686 --rcfile /usr/lib/rpm/rpmrc:./rpmrc:./dot.rpmrc --macros /usr/lib/rpm/macros:/usr/lib/rpm/macros.momonga:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/momonga/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/home/lugia/Momonga/pkgs/libosip2/rpmmacros libosip2.spec]--                                                              
ビルド対象プラットフォーム: i686                                                
ターゲット i686 用にビルド中                                                    
実行中(%prep): /bin/sh -e /var/tmp/rpm-tmp.pRkC9V                               
+ umask 022                                                                     
+ cd /home/lugia/Momonga/pkgs/libosip2/BUILD                                    
+ set --                                                                        
+ '[' 0 -gt 0 ']'                                                               
+ cd /home/lugia/Momonga/pkgs/libosip2/BUILD                                    
+ rm -rf libosip2-3.3.0                                                         
+ /bin/tar -xf -                                                                
+ /bin/gzip -dc /home/lugia/Momonga/pkgs/libosip2/SOURCES/libosip2-3.3.0.tar.gz 
+ STATUS=0                                                                      
+ '[' 0 -ne 0 ']'                                                               
+ cd libosip2-3.3.0                                                             
+ /bin/chmod -Rf a+r,u+w,g-w,o-w .                                              
+ exit 0                                                                        
実行中(%build): /bin/sh -e /var/tmp/rpm-tmp.4DUB6C                              
+ umask 022                                                                     
+ cd /home/lugia/Momonga/pkgs/libosip2/BUILD                                    
+ cd libosip2-3.3.0                                                             
+ '[' -f configure.in ']'                                                       
+ libtoolize --copy --force                                                     
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `scripts'.            
libtoolize: copying file `scripts/ltmain.sh'                                    
libtoolize: You should add the contents of the following files to `aclocal.m4': 
libtoolize:   `/usr/share/aclocal/libtool.m4'                                   
libtoolize:   `/usr/share/aclocal/ltoptions.m4'                                 
libtoolize:   `/usr/share/aclocal/ltversion.m4'                                 
libtoolize:   `/usr/share/aclocal/ltsugar.m4'                                   
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'                               
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and     
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.   
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.          
+ CFLAGS='-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic'                                        
+ CXXFLAGS='-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic'                                      
+ FFLAGS='-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic'                                        
+ ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-momonga-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --disable-rpath                                                            
configure: osip2                                       The GNU Open SIP library.
configure: Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Aymeric MOIZARD - <jack@atosc.org>                                                                  
Configuring libosip2 3.3.0                                                      
Building Package on linux                                                       
checking for a BSD-compatible install... /usr/bin/install -c                    
checking whether build environment is sane... yes                               
checking for gawk... gawk                                                       
checking whether make sets $(MAKE)... yes                                       
checking build system type... i686-pc-linux-gnu                                 
checking host system type... i686-pc-linux-gnu                                  
checking for i686-pc-linux-gnu-gcc... no                                        
checking for gcc... gcc                                                         
checking for C compiler default output file name... a.out                       
checking whether the C compiler works... yes                                    
checking whether we are cross compiling... no                                   
checking for suffix of executables...                                           
checking for suffix of object files... o                                        
checking whether we are using the GNU C compiler... yes                         
checking whether gcc accepts -g... yes                                          
checking for gcc option to accept ISO C89... none needed                        
checking for style of include used by make... GNU                               
checking dependency style of gcc... gcc3                                        
checking how to run the C preprocessor... gcc -E                                
checking for a BSD-compatible install... /usr/bin/install -c                    
checking for a sed that does not truncate output... /bin/sed                    
checking for grep that handles long lines and -e... /bin/grep                   
checking for egrep... /bin/grep -E                                              
checking for ld used by gcc... /usr/bin/ld                                      
checking if the linker (/usr/bin/ld) is GNU ld... yes                           
checking for /usr/bin/ld option to reload object files... -r                    
checking for BSD-compatible nm... /usr/bin/nm -B                                
checking whether ln -s works... yes                                             
checking how to recognize dependent libraries... pass_all                       
checking for ANSI C header files... yes                                         
checking for sys/types.h... yes                                                 
checking for sys/stat.h... yes                                                  
checking for stdlib.h... yes                                                    
checking for string.h... yes                                                    
checking for memory.h... yes                                                    
checking for strings.h... yes                                                   
checking for inttypes.h... yes                                                  
checking for stdint.h... yes                                                    
checking for unistd.h... yes                                                    
checking dlfcn.h usability... yes                                               
checking dlfcn.h presence... yes                                                
checking for dlfcn.h... yes                                                     
checking for i686-pc-linux-gnu-g++... no                                        
checking for i686-pc-linux-gnu-c++... no                                        
checking for i686-pc-linux-gnu-gpp... no                                        
checking for i686-pc-linux-gnu-aCC... no                                        
checking for i686-pc-linux-gnu-CC... no                                         
checking for i686-pc-linux-gnu-cxx... no                                        
checking for i686-pc-linux-gnu-cc++... no                                       
checking for i686-pc-linux-gnu-cl.exe... no                                     
checking for i686-pc-linux-gnu-FCC... no                                        
checking for i686-pc-linux-gnu-KCC... no                                        
checking for i686-pc-linux-gnu-RCC... no                                        
checking for i686-pc-linux-gnu-xlC_r... no                                      
checking for i686-pc-linux-gnu-xlC... no                                        
checking for g++... g++                                                         
checking whether we are using the GNU C++ compiler... yes                       
checking whether g++ accepts -g... yes                                          
checking dependency style of g++... gcc3                                        
checking how to run the C++ preprocessor... g++ -E                              
checking for i686-pc-linux-gnu-g77... no                                        
checking for i686-pc-linux-gnu-xlf... no                                        
checking for i686-pc-linux-gnu-f77... no                                        
checking for i686-pc-linux-gnu-frt... no                                        
checking for i686-pc-linux-gnu-pgf77... no                                      
checking for i686-pc-linux-gnu-cf77... no                                       
checking for i686-pc-linux-gnu-fort77... no                                     
checking for i686-pc-linux-gnu-fl32... no                                       
checking for i686-pc-linux-gnu-af77... no                                       
checking for i686-pc-linux-gnu-xlf90... no                                      
checking for i686-pc-linux-gnu-f90... no                                        
checking for i686-pc-linux-gnu-pgf90... no                                      
checking for i686-pc-linux-gnu-pghpf... no                                      
checking for i686-pc-linux-gnu-epcf90... no                                     
checking for i686-pc-linux-gnu-gfortran... no                                   
checking for i686-pc-linux-gnu-g95... no                                        
checking for i686-pc-linux-gnu-xlf95... no                                      
checking for i686-pc-linux-gnu-f95... no                                        
checking for i686-pc-linux-gnu-fort... no                                       
checking for i686-pc-linux-gnu-ifort... no                                      
checking for i686-pc-linux-gnu-ifc... no                                        
checking for i686-pc-linux-gnu-efc... no                                        
checking for i686-pc-linux-gnu-pgf95... no                                      
checking for i686-pc-linux-gnu-lf95... no                                       
checking for i686-pc-linux-gnu-ftn... no                                        
checking for g77... no                                                          
checking for xlf... no                                                          
checking for f77... no                                                          
checking for frt... no                                                          
checking for pgf77... no                                                        
checking for cf77... no                                                         
checking for fort77... no                                                       
checking for fl32... no                                                         
checking for af77... no                                                         
checking for xlf90... no                                                        
checking for f90... no                                                          
checking for pgf90... no                                                        
checking for pghpf... no                                                        
checking for epcf90... no                                                       
checking for gfortran... gfortran                                               
checking whether we are using the GNU Fortran 77 compiler... yes                
checking whether gfortran accepts -g... yes                                     
checking the maximum length of command line arguments... 1966080                
checking command to parse /usr/bin/nm -B output from gcc object... ok           
checking for objdir... .libs                                                    
checking for i686-pc-linux-gnu-ar... no                                         
checking for ar... ar                                                           
checking for i686-pc-linux-gnu-ranlib... no                                     
checking for ranlib... ranlib                                                   
checking for i686-pc-linux-gnu-strip... no                                      
checking for strip... strip                                                     
checking if gcc supports -fno-rtti -fno-exceptions... no                        
checking for gcc option to produce PIC... -fPIC                                 
checking if gcc PIC flag -fPIC works... yes                                     
checking if gcc static flag -static works... yes                                
checking if gcc supports -c -o file.o... yes                                    
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes  
checking whether -lc should be explicitly linked in... no                       
checking dynamic linker characteristics... GNU/Linux ld.so                      
checking how to hardcode library paths into programs... immediate               
checking whether stripping libraries is possible... yes                         
checking if libtool supports shared libraries... yes                            
checking whether to build shared libraries... yes                               
checking whether to build static libraries... no                                
configure: creating libtool                                                     
appending configuration tag "CXX" to libtool                                    
checking for ld used by g++... /usr/bin/ld                                      
checking if the linker (/usr/bin/ld) is GNU ld... yes                           
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes  
checking for g++ option to produce PIC... -fPIC                                 
checking if g++ PIC flag -fPIC works... yes                                     
checking if g++ static flag -static works... yes                                
checking if g++ supports -c -o file.o... yes                                    
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes  
checking dynamic linker characteristics... GNU/Linux ld.so                      
(cached) (cached) checking how to hardcode library paths into programs... immediate                                                                             
appending configuration tag "F77" to libtool                                    
checking if libtool supports shared libraries... yes                            
checking whether to build shared libraries... yes                               
checking whether to build static libraries... no                                
checking for gfortran option to produce PIC... -fPIC                            
checking if gfortran PIC flag -fPIC works... yes                                
checking if gfortran static flag -static works... yes                           
checking if gfortran supports -c -o file.o... yes                               
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes                                                                             
checking dynamic linker characteristics... GNU/Linux ld.so                      
(cached) (cached) checking how to hardcode library paths into programs... immediate                                                                             
checking for the pthreads library -lpthreads... no                              
checking whether pthreads work without any flags... no                          
checking whether pthreads work with -Kthread... no                              
checking whether pthreads work with -kthread... no                              
checking for the pthreads library -llthread... no                               
checking whether pthreads work with -pthread... yes                             
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE              
checking if more special flags are required for pthreads... no                  
checking for cc_r... gcc                                                        
checking semaphore.h usability... yes                                           
checking semaphore.h presence... yes                                            
checking for semaphore.h... yes                                                 
checking sys/sem.h usability... yes                                             
checking sys/sem.h presence... yes                                              
checking for sys/sem.h... yes                                                   
checking for sem_open in -lposix4... no                                         
checking for nis_add in -lnsl... yes                                            
checking for sendto in -lsocket... no                                           
checking for lrand48 in -lc... yes                                              
checking whether -Wall works... yes                                             
checking whether -Wcast-align works... yes                                      
checking whether -Wchar-subscripts works... yes                                 
checking whether -Wformat works... yes                                          
checking whether -Winline works... yes                                          
checking whether -Wmissing-declarations works... yes                            
checking whether -Wmissing-prototypes works... yes                              
checking whether -Wnested-externs works... yes                                  
checking whether -Wpointer-arith works... yes                                   
checking for ANSI C header files... (cached) yes                                
checking for string.h... (cached) yes                                           
checking for strings.h... (cached) yes                                          
checking for stdlib.h... (cached) yes                                           
checking for unistd.h... (cached) yes                                           
checking for sys/types.h... (cached) yes                                        
checking sys/unistd.h usability... yes                                          
checking sys/unistd.h presence... yes                                           
checking for sys/unistd.h... yes                                                
checking syslog.h usability... yes                                              
checking syslog.h presence... yes                                               
checking for syslog.h... yes                                                    
checking ctype.h usability... yes                                               
checking ctype.h presence... yes                                                
checking for ctype.h... yes                                                     
checking stdio.h usability... yes                                               
checking stdio.h presence... yes                                                
checking for stdio.h... yes                                                     
checking stdarg.h usability... yes                                              
checking stdarg.h presence... yes                                               
checking for stdarg.h... yes                                                    
checking varargs.h usability... no                                              
checking varargs.h presence... no                                               
checking for varargs.h... no                                                    
checking fcntl.h usability... yes                                               
checking fcntl.h presence... yes                                                
checking for fcntl.h... yes                                                     
checking time.h usability... yes                                                
checking time.h presence... yes                                                 
checking for time.h... yes                                                      
checking sys/time.h usability... yes                                            
checking sys/time.h presence... yes                                             
checking for sys/time.h... yes                                                  
checking sys/select.h usability... yes                                          
checking sys/select.h presence... yes                                           
checking for sys/select.h... yes                                                
checking assert.h usability... yes                                              
checking assert.h presence... yes                                               
checking for assert.h... yes                                                    
checking signal.h usability... yes                                              
checking signal.h presence... yes                                               
checking for signal.h... yes                                                    
checking sys/signal.h usability... yes                                          
checking sys/signal.h presence... yes                                           
checking for sys/signal.h... yes                                                
checking malloc.h usability... yes                                              
checking malloc.h presence... yes                                               
checking for malloc.h... yes                                                    
checking for struct timeval... yes                                              
configure: creating ./config.status                                             
config.status: creating libosip2.pc                                             
config.status: creating Makefile                                                
config.status: creating scripts/Makefile                                        
config.status: creating src/Makefile                                            
config.status: creating src/osipparser2/Makefile                                
config.status: creating src/osip2/Makefile                                      
config.status: creating src/test/Makefile                                       
config.status: creating src/test/res/Makefile                                   
config.status: creating include/Makefile                                        
config.status: creating include/osip2/Makefile                                  
config.status: creating include/osipparser2/Makefile                            
config.status: creating include/osipparser2/headers/Makefile                    
config.status: creating help/Makefile                                           
config.status: creating help/man/Makefile                                       
config.status: creating help/doxygen/Makefile                                   
config.status: creating platform/Makefile                                       
config.status: creating platform/rpm/Makefile                                   
config.status: creating platform/vsnet/Makefile                                 
config.status: creating platform/wince/Makefile                                 
config.status: creating include/osip2/doxygen.dox                               
config.status: creating config.h                                                
config.status: executing depfiles commands                                      
+ make -j2                                                                      
make  all-recursive                                                             
make[1]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0' に入ります
Making all in include                                                           
make[2]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include' に入ります                                                                        
Making all in osipparser2                                                       
make[3]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include/osipparser2' に入ります                                                            
Making all in headers                                                           
make[4]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include/osipparser2/headers' に入ります                                                    
make[4]: `all' に対して行うべき事はありません.                                  
make[4]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include/osipparser2/headers' から出ます                                                    
make[4]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include/osipparser2' に入ります                                                            
make[4]: `all-am' に対して行うべき事はありません.                               
make[4]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include/osipparser2' から出ます                                                            
make[3]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include/osipparser2' から出ます                                                            
Making all in osip2                                                             
make[3]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include/osip2' に入ります                                                                  
make[3]: `all' に対して行うべき事はありません.                                  
make[3]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include/osip2' から出ます                                                                  
make[3]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include' に入ります                                                                        
make[3]: `all-am' に対して行うべき事はありません.                               
make[3]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include' から出ます                                                                        
make[2]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/include' から出ます                                                                        
Making all in src                                                               
make[2]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/src' に入ります                                                                            
Making all in osipparser2                                                       
make[3]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/src/osipparser2' に入ります                                                                
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -Wall -Wcast-align -Wchar-subscripts -Wformat -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic  -pedantic -g -DENABLE_TRACE -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic -MT osip_proxy_authorization.lo -MD -MP -MF ".deps/osip_proxy_authorization.Tpo" -c -o osip_proxy_authorization.lo osip_proxy_authorization.c; \                     
        then mv -f ".deps/osip_proxy_authorization.Tpo" ".deps/osip_proxy_authorization.Plo"; else rm -f ".deps/osip_proxy_authorization.Tpo"; exit 1; fi       
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -Wall -Wcast-align -Wchar-subscripts -Wformat -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic  -pedantic -g -DENABLE_TRACE -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic -MT osip_cseq.lo -MD -MP -MF ".deps/osip_cseq.Tpo" -c -o osip_cseq.lo osip_cseq.c; \ 
        then mv -f ".deps/osip_cseq.Tpo" ".deps/osip_cseq.Plo"; else rm -f ".deps/osip_cseq.Tpo"; exit 1; fi                                                    
../../libtool: line 467: CDPATH: command not found                              
../../libtool: line 467: CDPATH: command not found                              
../../libtool: line 1145: func_opt_split: command not found                     
../../libtool: line 1145: func_opt_split: command not found                     
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
make[3]: *** [osip_cseq.lo] エラー 1
make[3]: *** 未完了のジョブを待っています....
make[3]: *** [osip_proxy_authorization.lo] エラー 1
make[3]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/src/osipparser2' から出ます
make[2]: *** [all-recursive] エラー 1
make[2]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0/src' から出ます
make[1]: *** [all-recursive] エラー 1
make[1]: ディレクトリ `/dev/shm/libosip2-3.3.0-2m.mo7/libosip2-3.3.0' から出ます
make: *** [all] エラー 2
エラー: /var/tmp/rpm-tmp.4DUB6C の不正な終了ステータス (%build)


RPM ビルドエラー:
    /var/tmp/rpm-tmp.4DUB6C の不正な終了ステータス (%build)

--real:22.26 utime:4.80 stime:6.91

--[[ -L BUILD ] && rm BUILD]--

--real:0.02 utime:0.01 stime:0.01

--[mv /dev/shm/libosip2-3.3.0-2m.mo7 BUILD]--

--real:0.12 utime:0.01 stime:0.10

Failure : libosip2
[lugia@arpa-castle libosip2]$ rpm -q libtool
libtool-2.2.6-4m.mo6.i686
[lugia@arpa-castle libosip2]$