Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2013 15:06:17 +0100
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        ports@freebsd.org
Subject:   oddness with py27-ldap2 port vs poudiere package, also how to sign digests.txz?
Message-ID:  <51CD9859.4030404@unsane.co.uk>

next in thread | raw e-mail | index | archive | help
I build my packages locally using poudriere-devel
root@bsdpkgbuild:~ # pkg info poudriere-devel
poudriere-devel-3.0.99.20130614

I am trying to add py-ldap2 however I'm getting errors installing
py27-ldap2 from packages which I dont when I build it locally.

The output when I try to install the package I have build and put in my
repo:

root@ipamtest:~ # pkg install py27-ldap2
Updating repository catalogue
digests.txz                                                                                   
100%   22KB  22.4KB/s  22.4KB/s   00:00    
pkg: fopen((null)): Bad address
pkg: /etc/ssl/certs/pkg.cert: error:04077068:rsa routines:RSA_verify:bad
signature
pkg: Invalid signature, removing repository.
pkg: No digest falling back on legacy catalog format
repo.txz                                                                                      
100%  185KB 185.4KB/s 185.4KB/s   00:00    
pkg: Repo "repo-packagesite" upgrade schema 2001 to 2002: Modify shlib
tracking to add 'provided' capability
pkg: Repo "repo-packagesite" upgrade schema 2002 to 2003: Add abstract
metadata capability
pkg: Repo "repo-packagesite" upgrade schema 2003 to 2004: Add manifest
digest field
pkg: Repo "repo-packagesite" upgrade schema 2004 to 2005: Rename
'abstract metadata' to 'annotations'
The following 1 packages will be installed:

    Installing py27-ldap2: 2.4.12

The installation will require 724 kB more space

107 kB to be downloaded

Proceed with installing packages [y/N]: y
pkg: cached package py27-ldap2-2.4.12: checksum mismatch, fetching from
remote
py27-ldap2-2.4.12.txz                                                                         
100%  108KB 107.6KB/s 107.6KB/s   00:00    
Checking integrity... done
[1/1] Installing py27-ldap2-2.4.12...defines: HAVE_SASL HAVE_TLS
HAVE_LIBLDAP_R
extra_compile_args:
extra_objects:
include_dirs: /opt/openldap-RE24/include /usr/include/sasl /usr/include
library_dirs: /opt/openldap-RE24/lib /usr/lib
libs: ldap_r
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
warning: no files found matching 'Makefile'
warning: no files found matching 'Modules/LICENSE'
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
In file included from Modules/LDAPObject.c:9:
Modules/errors.h:8:18: error: lber.h: No such file or directory
Modules/errors.h:9:18: error: ldap.h: No such file or directory
In file included from Modules/LDAPObject.c:9:
Modules/errors.h:12: error: expected ')' before '*' token
In file included from Modules/LDAPObject.c:11:
Modules/LDAPObject.h:12:2: error: #error Current python-ldap requires
OpenLDAP 2.x
In file included from Modules/LDAPObject.c:11:
Modules/LDAPObject.h:23: error: expected specifier-qualifier-list before
'LDAP'
Modules/LDAPObject.h:31: error: expected ')' before '*' token
In file included from Modules/LDAPObject.c:12:
Modules/ldapcontrol.h:11: error: expected ')' before '*' token
Modules/ldapcontrol.h:12: error: expected declaration specifiers or
'...' before 'LDAPControl'
Modules/ldapcontrol.h:13: error: expected ')' before '*' token
In file included from Modules/LDAPObject.c:13:
Modules/message.h:11: error: expected ')' before '*' token
In file included from Modules/LDAPObject.c:14:
Modules/berval.h:10: warning: 'struct berval' declared inside parameter list
Modules/berval.h:10: warning: its scope is only this definition or
declaration, which is probably not what you want
Modules/berval.h:12: warning: 'struct berval' declared inside parameter list
Modules/berval.h:13: warning: 'struct berval' declared inside parameter list
Modules/LDAPObject.c:18:18: error: sasl.h: No such file or directory
Modules/LDAPObject.c:26: error: expected ')' before '*' token
Modules/LDAPObject.c: In function 'dealloc':
Modules/LDAPObject.c:42: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:43: error: 'LDAPObject' has no member named 'valid'
Modules/LDAPObject.c:44: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:44: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:45: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:46: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:46: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:47: error: 'LDAPObject' has no member named 'valid'
Modules/LDAPObject.c:49: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c: In function 'not_valid':
Modules/LDAPObject.c:65: error: 'LDAPObject' has no member named 'valid'
Modules/LDAPObject.c: At top level:
Modules/LDAPObject.c:76: error: expected ')' before '*' token
Modules/LDAPObject.c:103: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
Modules/LDAPObject.c:194: error: expected ')' before '*' token
Modules/LDAPObject.c:206: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
Modules/LDAPObject.c: In function 'l_ldap_unbind_ext':
Modules/LDAPObject.c:332: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:332: error: (Each undeclared identifier is reported
only once
Modules/LDAPObject.c:332: error: for each function it appears in.)
Modules/LDAPObject.c:332: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:333: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:341: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:346: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:350: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:350: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:351: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:352: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:352: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:357: error: 'LDAP_SUCCESS' undeclared (first use in
this function)
Modules/LDAPObject.c:358: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:358: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c:360: error: 'LDAPObject' has no member named 'valid'
Modules/LDAPObject.c: In function 'l_ldap_abandon_ext':
Modules/LDAPObject.c:373: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:373: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:374: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:382: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:387: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:391: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:391: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:392: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:393: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:393: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:398: error: 'LDAP_SUCCESS' undeclared (first use in
this function)
Modules/LDAPObject.c:399: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:399: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c: In function 'l_ldap_add_ext':
Modules/LDAPObject.c:414: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:414: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:415: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:419: error: 'LDAPMod' undeclared (first use in this
function)
Modules/LDAPObject.c:419: error: 'mods' undeclared (first use in this
function)
Modules/LDAPObject.c:429: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:434: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:438: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:438: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:439: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:440: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:440: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:445: error: 'LDAP_SUCCESS' undeclared (first use in
this function)
Modules/LDAPObject.c:446: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:446: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c: In function 'l_ldap_simple_bind':
Modules/LDAPObject.c:462: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:462: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:463: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:464: error: storage size of 'cred' isn't known
Modules/LDAPObject.c:467: error: 'ber_len_t' undeclared (first use in
this function)
Modules/LDAPObject.c:467: error: expected ';' before 'cred_len'
Modules/LDAPObject.c:472: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:477: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:481: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:481: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:482: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:482: error: 'LDAP_SASL_SIMPLE' undeclared (first
use in this function)
Modules/LDAPObject.c:483: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:483: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:488: error: 'LDAP_SUCCESS' undeclared (first use in
this function)
Modules/LDAPObject.c:489: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:489: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c: At top level:
Modules/LDAPObject.c:553: error: expected declaration specifiers or
'...' before 'sasl_interact_t'
Modules/LDAPObject.c: In function 'interaction':
Modules/LDAPObject.c:562: error: 'interact' undeclared (first use in
this function)
Modules/LDAPObject.c:569: error: 'LDAP_OPERATIONS_ERROR' undeclared
(first use in this function)
Modules/LDAPObject.c:589: error: 'LDAP_SUCCESS' undeclared (first use in
this function)
Modules/LDAPObject.c: At top level:
Modules/LDAPObject.c:601: error: expected ')' before '*' token
Modules/LDAPObject.c: In function 'l_ldap_sasl_interactive_bind_s':
Modules/LDAPObject.c:627: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:627: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:628: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:634: error: 'LDAP_SASL_QUIET' undeclared (first use
in this function)
Modules/LDAPObject.c:653: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:658: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:674: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:677: error: expected expression before ')' token
Modules/LDAPObject.c:686: error: 'LDAP_SUCCESS' undeclared (first use in
this function)
Modules/LDAPObject.c:687: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:687: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c: In function 'l_ldap_compare_ext':
Modules/LDAPObject.c:745: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:745: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:746: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:751: error: storage size of 'value' isn't known
Modules/LDAPObject.c:754: error: 'ber_len_t' undeclared (first use in
this function)
Modules/LDAPObject.c:754: error: expected ';' before 'value_len'
Modules/LDAPObject.c:759: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:764: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:768: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:768: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:769: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:770: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:770: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:775: error: 'LDAP_SUCCESS' undeclared (first use in
this function)
Modules/LDAPObject.c:776: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:776: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c: In function 'l_ldap_delete_ext':
Modules/LDAPObject.c:790: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:790: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:791: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:800: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:805: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:809: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:809: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:810: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:811: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:811: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:816: error: 'LDAP_SUCCESS' undeclared (first use in
this function)
Modules/LDAPObject.c:817: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:817: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c: In function 'l_ldap_modify_ext':
Modules/LDAPObject.c:832: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:832: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:833: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:837: error: 'LDAPMod' undeclared (first use in this
function)
Modules/LDAPObject.c:837: error: 'mods' undeclared (first use in this
function)
Modules/LDAPObject.c:847: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:852: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:856: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:856: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:857: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:858: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:858: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:864: error: 'LDAP_SUCCESS' undeclared (first use in
this function)
Modules/LDAPObject.c:865: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:865: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c: In function 'l_ldap_rename':
Modules/LDAPObject.c:881: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:881: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:882: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:892: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:897: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:901: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:901: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:902: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:903: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:903: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:908: error: 'LDAP_SUCCESS' undeclared (first use in
this function)
Modules/LDAPObject.c:909: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:909: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c: In function 'l_ldap_result4':
Modules/LDAPObject.c:920: error: 'LDAP_RES_ANY' undeclared (first use in
this function)
Modules/LDAPObject.c:929: error: 'LDAPMessage' undeclared (first use in
this function)
Modules/LDAPObject.c:929: error: 'msg' undeclared (first use in this
function)
Modules/LDAPObject.c:946: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:946: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:947: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:948: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:948: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:951: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:951: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c:963: error: 'LDAP_TIMEOUT' undeclared (first use in
this function)
Modules/LDAPObject.c:969: error: 'LDAP_SUCCESS' undeclared (first use in
this function)
Modules/LDAPObject.c:971: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:971: error: 'serverctrls' undeclared (first use in
this function)
Modules/LDAPObject.c:972: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:972: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:973: error: 'LDAP_RES_SEARCH_ENTRY' undeclared
(first use in this function)
Modules/LDAPObject.c:975: error: 'LDAP_RES_SEARCH_REFERENCE' undeclared
(first use in this function)
Modules/LDAPObject.c:977: error: 'LDAP_RES_INTERMEDIATE' undeclared
(first use in this function)
Modules/LDAPObject.c:981: error: 'LDAP_RES_EXTENDED' undeclared (first
use in this function)
Modules/LDAPObject.c:983: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:986: warning: passing argument 1 of
'LDAPberval_to_object' from incompatible pointer type
Modules/LDAPObject.c:991: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:994: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:994: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:998: error: 'LDAP_REFERRAL' undeclared (first use
in this function)
Modules/LDAPObject.c:1004: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1004: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c:1007: warning: assignment makes pointer from
integer without a cast
Modules/LDAPObject.c:1008: error: 'LDAP_NO_MEMORY' undeclared (first use
in this function)
Modules/LDAPObject.c:1009: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1009: error: 'LDAP_OPT_ERROR_NUMBER' undeclared
(first use in this function)
Modules/LDAPObject.c:1011: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1011: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c:1015: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1015: warning: assignment makes pointer from
integer without a cast
Modules/LDAPObject.c: In function 'l_ldap_search_ext':
Modules/LDAPObject.c:1057: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:1057: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:1058: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:1085: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:1090: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:1094: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1094: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1095: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1097: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1097: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1103: error: 'LDAP_SUCCESS' undeclared (first use
in this function)
Modules/LDAPObject.c:1104: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1104: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c: In function 'l_ldap_whoami_s':
Modules/LDAPObject.c:1117: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:1117: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:1118: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:1129: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:1134: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:1138: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1138: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1139: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1140: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1140: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1145: error: 'LDAP_SUCCESS' undeclared (first use
in this function)
Modules/LDAPObject.c:1146: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1146: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c:1148: warning: passing argument 1 of
'LDAPberval_to_object' from incompatible pointer type
Modules/LDAPObject.c: In function 'l_ldap_start_tls_s':
Modules/LDAPObject.c:1164: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1165: error: 'LDAP_SUCCESS' undeclared (first use
in this function)
Modules/LDAPObject.c:1166: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1166: error: 'LDAP_OPT_ERROR_NUMBER' undeclared
(first use in this function)
Modules/LDAPObject.c:1167: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1167: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c: In function 'l_ldap_passwd':
Modules/LDAPObject.c:1211: error: storage size of 'user' isn't known
Modules/LDAPObject.c:1213: error: storage size of 'oldpw' isn't known
Modules/LDAPObject.c:1215: error: storage size of 'newpw' isn't known
Modules/LDAPObject.c:1219: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:1219: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:1220: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:1228: error: 'ber_len_t' undeclared (first use in
this function)
Modules/LDAPObject.c:1228: error: expected ';' before 'user_len'
Modules/LDAPObject.c:1229: error: expected ';' before 'oldpw_len'
Modules/LDAPObject.c:1230: error: expected ';' before 'newpw_len'
Modules/LDAPObject.c:1235: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:1240: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:1244: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1244: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1245: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1252: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1252: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1257: error: 'LDAP_SUCCESS' undeclared (first use
in this function)
Modules/LDAPObject.c:1258: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1258: warning: return makes pointer from integer
without a cast
Modules/LDAPObject.c: In function 'l_ldap_extended_operation':
Modules/LDAPObject.c:1270: error: variable 'reqvalue' has initializer
but incomplete type
Modules/LDAPObject.c:1270: warning: excess elements in struct initializer
Modules/LDAPObject.c:1270: warning: (near initialization for 'reqvalue')
Modules/LDAPObject.c:1270: warning: excess elements in struct initializer
Modules/LDAPObject.c:1270: warning: (near initialization for 'reqvalue')
Modules/LDAPObject.c:1270: error: storage size of 'reqvalue' isn't known
Modules/LDAPObject.c:1273: error: 'LDAPControl' undeclared (first use in
this function)
Modules/LDAPObject.c:1273: error: 'server_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:1274: error: 'client_ldcs' undeclared (first use in
this function)
Modules/LDAPObject.c:1285: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:1290: error: too many arguments to function
'LDAPControls_from_object'
Modules/LDAPObject.c:1294: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1294: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1295: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1300: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1300: error: 'LDAPObject' has no member named '_save'
Modules/LDAPObject.c:1305: error: 'LDAP_SUCCESS' undeclared (first use
in this function)
Modules/LDAPObject.c:1306: error: 'LDAPObject' has no member named 'ldap'
Modules/LDAPObject.c:1306: warning: return makes pointer from integer
without a cast
error: Setup script exited with error: command 'cc' failed with exit
status 1
pkg: POST-INSTALL script failed
 done
root@ipamtest:~ #

and similar on
pkg remove py27-ldap2

however building from ports locally works as expected, any hints?

Also since the update to pkg I get

Updating repository catalogue
digests.txz                                                                                   
100%   22KB  22.4KB/s  22.4KB/s   00:00    
pkg: fopen((null)): Bad address
pkg: /etc/ssl/certs/pkg.cert: error:04077068:rsa routines:RSA_verify:bad
signature
pkg: Invalid signature, removing repository.
pkg: No digest falling back on legacy catalog format
repo.txz                                                                                      
100%  185KB 185.4KB/s 185.4KB/s   00:00    
pkg: Repo "repo-packagesite" upgrade schema 2001 to 2002: Modify shlib
tracking to add 'provided' capability
pkg: Repo "repo-packagesite" upgrade schema 2002 to 2003: Add abstract
metadata capability
pkg: Repo "repo-packagesite" upgrade schema 2003 to 2004: Add manifest
digest field
pkg: Repo "repo-packagesite" upgrade schema 2004 to 2005: Rename
'abstract metadata' to 'annotations'

every time I update the repo, is this expected? I'm signing my repo
using a certificate which has up till now been working as expected.

any suggestions welcome.

Vince



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51CD9859.4030404>