pkgsrc-Bugs archive

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

pkg/48851: gcc48 bmake fails due to missing perl tool



>Number:         48851
>Category:       pkg
>Synopsis:       gcc48 bmake fails due to missing perl tool
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 30 00:00:00 +0000 2014
>Originator:     manphiz%gmail.com@localhost
>Release:        Darwin 13.2.0
>Organization:
>Environment:
System: 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:
        gcc48 bmake fails due to lack of perl dependency. The detailed
        error message:

------BEGIN-----

[..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-see
 d=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

-----END-----

>How-To-Repeat:
        cd ${pkgsrc_path}/lang/gcc48 && bmake
>Fix:
        "USE_TOOLS+=perl" is included in lang/gcc48/c++.mk but it is not
        referenced in any other files in lang/gcc48. Maybe perl should
        be added to USE_TOOLS as well.
        
        BTW: lang/gcc48-libs does reference lang/gcc48/c++.mk.



Home | Main Index | Thread Index | Old Index