Bug 145873

Summary: [build] cannot buildworld 8.0-STABLE
Product: Base System Reporter: Andrei Lavreniyuk <andy.lavr>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 8.0-STABLE   
Hardware: Any   
OS: Any   

Description Andrei Lavreniyuk 2010-04-20 10:20:00 UTC
etc/src.conf:

WITHOUT_OPENSSL=true
WITHOUT_INET6=true
WITHOUT_INET6_SUPPORT=true


-------------------------------

# pkg_info -E openssl\*
openssl-1.0.0



-------------------------------



===> sbin/ggate (depend)
===> sbin/ggate/ggatec (depend)
rm -f .depend
mkdep -f .depend -a    -D_FORTIFY_SOURCE=2 -DMAX_SEND_SIZE=32768 -DLIBGEOM -I/usr/src/sbin/ggate/ggatec/../shared /usr/src/sbin/ggate/ggatec/ggatec.c /usr/src/sbin/ggate/ggatec/../shared/ggate.c
echo ggatec: /usr/obj/usr/src/tmp/usr/lib/libc.a /usr/obj/usr/src/tmp/usr/lib/libgeom.a /usr/obj/usr/src/tmp/usr/lib/libsbuf.a /usr/obj/usr/src/tmp/usr/lib/libbsdxml.a /usr/obj/usr/src/tmp/usr/lib/libutil.a /usr/obj/usr/src/tmp/usr/lib/libpthread.a >> .depend
===> sbin/ggate/ggated (depend)
rm -f .depend
mkdep -f .depend -a    -D_FORTIFY_SOURCE=2 -I/usr/src/sbin/ggate/ggated/../shared /usr/src/sbin/ggate/ggated/ggated.c /usr/src/sbin/ggate/ggated/../shared/ggate.c
echo ggated: /usr/obj/usr/src/tmp/usr/lib/libc.a /usr/obj/usr/src/tmp/usr/lib/libpthread.a >> .depend
===> sbin/ggate/ggatel (depend)
rm -f .depend
mkdep -f .depend -a    -D_FORTIFY_SOURCE=2 -DLIBGEOM -I/usr/src/sbin/ggate/ggatel/../shared /usr/src/sbin/ggate/ggatel/ggatel.c /usr/src/sbin/ggate/ggatel/../shared/ggate.c
echo ggatel: /usr/obj/usr/src/tmp/usr/lib/libc.a /usr/obj/usr/src/tmp/usr/lib/libgeom.a /usr/obj/usr/src/tmp/usr/lib/libsbuf.a /usr/obj/usr/src/tmp/usr/lib/libbsdxml.a /usr/obj/usr/src/tmp/usr/lib/libutil.a >> .depend
===> sbin/growfs (depend)
rm -f .depend
mkdep -f .depend -a    -D_FORTIFY_SOURCE=2 /usr/src/sbin/growfs/growfs.c
echo growfs: /usr/obj/usr/src/tmp/usr/lib/libc.a  >> .depend
===> sbin/gvinum (depend)
rm -f .depend
mkdep -f .depend -a    -D_FORTIFY_SOURCE=2 -I/usr/src/sbin/gvinum/../../sys /usr/src/sbin/gvinum/gvinum.c /usr/src/sbin/gvinum/../../sys/geom/vinum/geom_vinum_share.c
echo gvinum: /usr/obj/usr/src/tmp/usr/lib/libc.a /usr/obj/usr/src/tmp/usr/lib/libreadline.a /usr/obj/usr/src/tmp/usr/lib/libtermcap.a /usr/obj/usr/src/tmp/usr/lib/libdevstat.a /usr/obj/usr/src/tmp/usr/lib/libkvm.a /usr/obj/usr/src/tmp/usr/lib/libgeom.a >> .depend
===> sbin/hastctl (depend)
yacc -d -v /usr/src/sbin/hastctl/../hastd/parse.y
cp y.tab.c parse.c
lex -t  /usr/src/sbin/hastctl/../hastd/token.l > token.c
rm -f .depend
mkdep -f .depend -a    -D_FORTIFY_SOURCE=2 -I/usr/src/sbin/hastctl/../hastd -DINET -DYY_NO_UNPUT /usr/src/sbin/hastctl/../hastd/activemap.c /usr/src/sbin/hastctl/../hastd/ebuf.c /usr/src/sbin/hastctl/../hastd/hast_proto.c /usr/src/sbin/hastctl/hastctl.c /usr/src/sbin/hastctl/../hastd/metadata.c /usr/src/sbin/hastctl/../hastd/nv.c parse.c /usr/src/sbin/hastctl/../hastd/pjdlog.c /usr/src/sbin/hastctl/../hastd/proto.c /usr/src/sbin/hastctl/../hastd/proto_common.c /usr/src/sbin/hastctl/../hastd/proto_tcp4.c /usr/src/sbin/hastctl/../hastd/proto_uds.c token.c /usr/src/sbin/hastctl/../hastd/subr.c
/usr/src/sbin/hastctl/../hastd/hast_proto.c:40:25: error: openssl/sha.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sbin/hastctl.
*** Error code 1

Stop in /usr/src/sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
Comment 1 Andrei V. Lavreniyuk 2010-04-22 07:47:14 UTC
Hi!


Source tree updated - 09:00 22.04.2010 GMT+3


make buildworld error ...  :(


===> sbin/hastctl (depend)
yacc -d -v /usr/src/sbin/hastctl/../hastd/parse.y
cp y.tab.c parse.c
lex -t  /usr/src/sbin/hastctl/../hastd/token.l > token.c
rm -f .depend
mkdep -f .depend -a    -D_FORTIFY_SOURCE=2 
-I/usr/src/sbin/hastctl/../hastd -DINET -DYY_NO_UNPUT 
/usr/src/sbin/hastctl/../hastd/activemap.c 
/usr/src/sbin/hastctl/../hastd/ebuf.c 
/usr/src/sbin/hastctl/../hastd/hast_proto.c 
/usr/src/sbin/hastctl/hastctl.c 
/usr/src/sbin/hastctl/../hastd/metadata.c 
/usr/src/sbin/hastctl/../hastd/nv.c parse.c 
/usr/src/sbin/hastctl/../hastd/pjdlog.c 
/usr/src/sbin/hastctl/../hastd/proto.c 
/usr/src/sbin/hastctl/../hastd/proto_common.c 
/usr/src/sbin/hastctl/../hastd/proto_tcp4.c 
/usr/src/sbin/hastctl/../hastd/proto_uds.c token.c 
/usr/src/sbin/hastctl/../hastd/subr.c
/usr/src/sbin/hastctl/../hastd/hast_proto.c:40:25: error: openssl/sha.h: 
No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sbin/hastctl.
*** Error code 1

Stop in /usr/src/sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.






-- 
  Best regards, Andrei V. Lavreniyuk.
Comment 2 Andriy Gapon 2010-04-22 22:26:18 UTC
on 22/04/2010 09:47 Andrei V. Lavreniyuk said the following:
> /usr/src/sbin/hastctl/../hastd/hast_proto.c:40:25: error: openssl/sha.h:
> No such file or directory

Sorry if this will sound harsh, but I have to ask: do you genuinely do not see
any connection between this error and you having WITHOUT_OPENSSL=true in your
src.conf; or do you want to ask or say more than what you are asking or saying?

If the former, then shouldn't you first try to discuss the problem (e.g. on the
mailing lists) before opening the PR?
If the latter, then why don't you just ask/say what you have in mind?  Or even
better, again, discuss it?

P.S.
Yes, I see that you have openssl from ports installed.

-- 
Andriy Gapon
Comment 3 Garrett Cooper 2010-04-23 02:08:39 UTC
    Pawel (pjd) committed a fix for this in SVN revision r207070 .
This should be MFCed back to STABLE as appropriate.
Thanks,
-Garrett
Comment 4 Andriy Gapon 2010-10-08 10:42:15 UTC
Can this PR be closed now?

-- 
Andriy Gapon
Comment 5 Andriy Gapon freebsd_committer freebsd_triage 2010-12-05 13:17:29 UTC
State Changed
From-To: open->closed

Closing based on followup history.