pkgsrc-Bugs archive

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

pkg/34380: missing gsoap build dependency



>Number:         34380
>Category:       pkg
>Synopsis:       missing gsoap build dependency
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 30 09:00:00 +0000 2006
>Originator:     Jon Olsson
>Release:        N/A
>Organization:
Univits International AB
>Environment:
SunOS unknown 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-V240

pkgsrc branch: pkgsrc-2006Q2
>Description:
[snip]

if test -f y.tab.h; then  to=`echo "soapcpp2_yacc_H" | sed  -e 
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'  -e 
's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`;  sed "/^#/ s/Y_TAB_H/$to/g" y.tab.h 
>soapcpp2_yacc.ht;  rm -f y.tab.h;  if cmp -s soapcpp2_yacc.ht soapcpp2_yacc.h; 
then  rm -f soapcpp2_yacc.ht ; else  mv soapcpp2_yacc.ht soapcpp2_yacc.h;  fi;  
fi
if test -f y.output; then  mv y.output soapcpp2_yacc.output;  fi
source='soapcpp2_yacc.c' object='soapcpp2-soapcpp2_yacc.o' libtool=no  
depfile='.deps/soapcpp2-soapcpp2_yacc.Po' 
tmpdepfile='.deps/soapcpp2-soapcpp2_yacc.TPo'  depmode=gcc3 /bin/ksh 
../../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I../..    -DWITH_YACC -DWITH_LEX  
-DSUN_OS -O -c -o soapcpp2-soapcpp2_yacc.o `test -f 'soapcpp2_yacc.c' || echo 
'./'`soapcpp2_yacc.c
lex   `test -f soapcpp2_lex.l || echo './'`soapcpp2_lex.l
"soapcpp2_lex.l":line 101: Warning: Non-ASCII character of value 0xa0 in 
pattern; use -w or -e lex option.
"soapcpp2_lex.l":line 137: Warning: Non-ASCII character of value 0xa0 in 
pattern; use -w or -e lex option.
"soapcpp2_lex.l":line 144: Warning: Non-ASCII character of value 0xa0 in 
pattern; use -w or -e lex option.
sed '/^#/ s|lex.yy\.c|soapcpp2_lex.c|' lex.yy.c >soapcpp2_lex.c
rm -f lex.yy.c
source='soapcpp2_lex.c' object='soapcpp2-soapcpp2_lex.o' libtool=no  
depfile='.deps/soapcpp2-soapcpp2_lex.Po' 
tmpdepfile='.deps/soapcpp2-soapcpp2_lex.TPo'  depmode=gcc3 /bin/ksh 
../../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I../..    -DWITH_YACC -DWITH_LEX  
-DSUN_OS -O -c -o soapcpp2-soapcpp2_lex.o `test -f 'soapcpp2_lex.c' || echo 
'./'`soapcpp2_lex.c
source='symbol2.c' object='soapcpp2-symbol2.o' libtool=no  
depfile='.deps/soapcpp2-symbol2.Po' tmpdepfile='.deps/soapcpp2-symbol2.TPo'  
depmode=gcc3 /bin/ksh ../../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I../..    
-DWITH_YACC -DWITH_LEX  -DSUN_OS -O -c -o soapcpp2-symbol2.o `test -f 
'symbol2.c' || echo './'`symbol2.c
source='error2.c' object='soapcpp2-error2.o' libtool=no  
depfile='.deps/soapcpp2-error2.Po' tmpdepfile='.deps/soapcpp2-error2.TPo'  
depmode=gcc3 /bin/ksh ../../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I../..    
-DWITH_YACC -DWITH_LEX  -DSUN_OS -O -c -o soapcpp2-error2.o `test -f 'error2.c' 
|| echo './'`error2.c
source='init2.c' object='soapcpp2-init2.o' libtool=no  
depfile='.deps/soapcpp2-init2.Po' tmpdepfile='.deps/soapcpp2-init2.TPo'  
depmode=gcc3 /bin/ksh ../../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I../..    
-DWITH_YACC -DWITH_LEX  -DSUN_OS -O -c -o soapcpp2-init2.o `test -f 'init2.c' 
|| echo './'`init2.c
source='soapcpp2.c' object='soapcpp2-soapcpp2.o' libtool=no  
depfile='.deps/soapcpp2-soapcpp2.Po' tmpdepfile='.deps/soapcpp2-soapcpp2.TPo'  
depmode=gcc3 /bin/ksh ../../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I../..    
-DWITH_YACC -DWITH_LEX  -DSUN_OS -O -c -o soapcpp2-soapcpp2.o `test -f 
'soapcpp2.c' || echo './'`soapcpp2.c
gcc  -O  -Wl,-R/usr/pkg/lib -o soapcpp2  soapcpp2-soapcpp2_yacc.o  
soapcpp2-soapcpp2_lex.o soapcpp2-symbol2.o  soapcpp2-error2.o soapcpp2-init2.o  
soapcpp2-soapcpp2.o -ly -ll 
Making all in wsdl
../../soapcpp2/src/soapcpp2 -SC -pwsdl wsdl.h

**  The gSOAP Stub and Skeleton Compiler for C and C++ 2.7.7
**  Copyright (C) 2000-2006, Robert van Engelen, Genivia Inc.
**  All Rights Reserved. This product is provided "as is", without any warranty.
**  The gSOAP compiler is released under one of the following three licenses:
**  GPL, the gSOAP public license, or the commercial license by Genivia Inc.

Critical error: Cannot #import: soapcpp2 not compiled with flex
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/gsoap/work/gsoap-2.7/soapcpp2/wsdl
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/gsoap/work/gsoap-2.7/soapcpp2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/gsoap/work/gsoap-2.7/soapcpp2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/gsoap/work/gsoap-2.7
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/gsoap/work/gsoap-2.7
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/gsoap
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/devel/gsoap/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/gsoap

>How-To-Repeat:
try building pkgsrc/devel/gsoap without flex installed.


>Fix:
installing flex fixes the problem. the following patch rectifies the situation:

root@apasolaris:/usr/pkgsrc/devel/gsoap$ diff -u Makefile.orig Makefile
--- Makefile.orig       Wed Aug 30 10:53:16 2006
+++ Makefile    Wed Aug 30 10:50:25 2006
@@ -12,7 +12,7 @@
 WRKSRC=                        ${WRKDIR}/gsoap-2.7
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c++
-USE_TOOLS+=            yacc
+USE_TOOLS+=            yacc flex
 
 PKGCONFIG_OVERRIDE+=   ${WRKSRC}/gsoap++.pc.in
 PKGCONFIG_OVERRIDE+=   ${WRKSRC}/gsoap.pc.in




Home | Main Index | Thread Index | Old Index