Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2014 12:34:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 191951] New: stable/10 with WITHOUT_OPENSSL not compiling multiple issues
Message-ID:  <bug-191951-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191951

            Bug ID: 191951
           Summary: stable/10 with WITHOUT_OPENSSL not compiling multiple
                    issues
           Product: Base System
           Version: 10.0-STABLE
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: david@dafnet.se

Hi
Trying to compile stable/10 WITHOUT_OPENSSL I get multiple issues.

Path: .
Working Copy Root Path: /usr/src
URL: https://svn0.eu.freebsd.org/base/stable/10
Relative URL: ^/stable/10
Repository Root: https://svn0.eu.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 268740
Node Kind: directory
Schedule: normal
Last Changed Author: hselasky
Last Changed Rev: 268738
Last Changed Date: 2014-07-16 08:22:35 +0200 (Wed, 16 Jul 2014)

openssl/ssl.h missing in multiple places in libldns

In file included from /usr/src/lib/libldns/../../contrib/ldns/zone.c:11:
In file included from /usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:30:10: fatal error:
'openssl/ssl.h' file not found


so I add WITHOUT_LDNS

/usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmpcrypto.c:370:1:
error: conflicting types for 'snmp_passwd_to_keys'
snmp_passwd_to_keys(struct snmp_user *user, char *passwd __unused)
^
/usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmp.h:273:16: note:
previous declaration is here
enum snmp_code snmp_passwd_to_keys(struct snmp_user *, char *);
               ^
/usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmpcrypto.c:382:1:
error: conflicting types for 'snmp_get_local_keys'
snmp_get_local_keys(struct snmp_user *user, uint8_t *eid __unused,
^
/usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmp.h:274:16: note:
previous declaration is here
enum snmp_code snmp_get_local_keys(struct snmp_user *, uint8_t *, uint32_t);
               ^
2 errors generated.
*** [snmpcrypto.So] Error code 1


so I add WITHOUT_BSNMP

--- all_subdir_libfetch ---
--- common.So ---
cc  -fpic -DPIC  -O2 -pipe  -I. -DINET6 -DFTP_COMBINE_CWDS -std=iso9899:1999
-Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -Wold-style-definition
-Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable -c
/usr/src/lib/libfetch/common.c -o common.So
/usr/src/lib/libfetch/common.c:808:43: error: unused parameter 'URL'
[-Werror,-Wunused-parameter]
fetch_ssl(conn_t *conn, const struct url *URL, int verbose)
                                          ^
1 error generated.
*** [common.So] Error code 1

make[5]: stopped in /usr/src/lib/libfetch

This I don't know how to solve. LDNS should be able to compile without openssl
with reduced functionality.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191951-8>