pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48839: gcc48 fails to build



>Number:         48839
>Category:       pkg
>Synopsis:       gcc48 fails to build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 28 02:20:00 +0000 2014
>Originator:     Xiyue Deng
>Release:        pkgsrc-current
>Organization:
>Environment:
$ uname -a
Darwin Xiyues-MBP.local 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 
23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
>Description:
lang/gcc48 fails to bmake due to missing perl in USE_TOOLS. Detailed log:

[..snip..]
rm -f libstdc++-symbols.ver.tmp                                                 
                                                                               
libtool: compile:  /Users/dxy/pkgsrc/lang/gcc48/work/build/./gcc/xgcc 
-shared-libgcc -B/Users/dxy/pkgsrc/lang/gcc48/work/build/./gcc -nostdinc++ 
-L/Users/dxy/pkgsrc/lang/gcc48/work/build/x86_64-apple-darwin13/libstdc++-v3/src
 
-L/Users/dxy/pkgsrc/lang/gcc48/work/build/x86_64-apple-darwin13/libstdc++-v3/src/.libs
 -B/Users/dxy/pkg/gcc48/x86_64-apple-darwin13/bin/ 
-B/Users/dxy/pkg/gcc48/x86_64-apple-darwin13/lib/ -isystem 
/Users/dxy/pkg/gcc48/x86_64-apple-darwin13/include -isystem 
/Users/dxy/pkg/gcc48/x86_64-apple-darwin13/sys-include 
-I/Users/dxy/pkgsrc/lang/gcc48/work/build/x86_64-apple-darwin13/libstdc++-v3/include/x86_64-apple-darwin13
 
-I/Users/dxy/pkgsrc/lang/gcc48/work/build/x86_64-apple-darwin13/libstdc++-v3/include
 -I/Users/dxy/pkgsrc/lang/gcc48/work/gcc-4.8.2/libstdc++-v3/libsupc++ 
-I/Users/dxy/pkg/include -fno-common -DPIC -Wall -Wextra -Wwrite-strings 
-Wcast-qual -Wabi -fdiagnostics-show-location=once -fvisibility-inlines-hidden 
-ffunction-sections -fdata-sections -fra
 ndom-seed=compatibility-thread-c++0x.lo -g -pipe -O2 -I/Users/dxy/pkg/include 
-I/usr/include -std=gnu++11 -c 
../../../../gcc-4.8.2/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc -o 
compatibility-thread-c++0x.o >/dev/null 2>&1                                    
               
perl 
/Users/dxy/pkgsrc/lang/gcc48/work/gcc-4.8.2/libstdc++-v3/scripts/make_exports.pl
 \                                                                        
          libstdc++-symbols.ver \                                               
                                                                               
          .libs/compatibility.o .libs/compatibility-debug_list.o 
.libs/compatibility-debug_list-2.o .libs/compatibility-c++0x.o 
.libs/compatibility-atomic-c++0x.o .libs/compatibility-thread-c++0x.o 
.libs/compatibility-chrono.o \                                                  
                                        
         `echo  ../libsupc++/libsupc++convenience.la 
../src/c++98/libc++98convenience.la ../src/c++11/libc++11convenience.la | \     
                          
            sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \                            
                                                                               
         > libstdc++-symbols.explist || (rm -f libstdc++-symbols.explist ; exit 
1)                                                                             
ERROR: To use this tool, add USE_TOOLS+=perl to the package Makefile.           
                                                                               
gnumake[6]: *** [libstdc++-symbols.explist] Error 1                             
                                                                               
gnumake[5]: *** [all-recursive] Error 1                                         
                                                                               
gnumake[4]: *** [all-recursive] Error 1                                         
                                                                               
gnumake[3]: *** [all] Error 2                                                   
                                                                               
gnumake[2]: *** [all-stage1-target-libstdc++-v3] Error 2                        
                                                                               
gnumake[1]: *** [stage1-bubble] Error 2                                         
                                                                               
gnumake: *** [all] Error 2                                                      
                                                                               
*** Error code 2                                                                
                                                                               
                                                                                
                                                                               
Stop.                                                                           
                                                                               
bmake: stopped in /Users/dxy/pkgsrc/lang/gcc48                                  
                                                                               
WARNING: Please add USE_TOOLS+=perl to the package Makefile.                    
                                                                               
WARNING: Please add USE_TOOLS+=perl to the package Makefile.                    
                                                                               
*** Error code 1                                                                
                                                                               
                                                                                
                                                                               
Stop.                                                                           
                                                                               
bmake: stopped in /Users/dxy/pkgsrc/lang/gcc48
>How-To-Repeat:
cd $HOME/pkgsrc/lang/gcc48 && bmake
>Fix:
It seems "USE_TOOLS+= perl" does exist in lang/gcc48/c++.mk but the main 
Makefile doesn't include it.



Home | Main Index | Thread Index | Old Index