I've tried the patch with samba4 installed (which showed a different
error to yours) and without it. It builds fine without samba
installed.

Obviously you have the previous version of tds somewhere. 

Try this: find /usr/lib /usr/local/lib -name '*tdb*'

On Fri, Jun 12, 2015 at 03:16:46AM +0000, Ian Mcwilliam wrote:
> Still no dice even with cleaning everything up. 
> 
> make clean=all
> env SUBPACKAGE="-tdb" make update
> 
> Brand spanking new usr/ports/* that has the empty plist/amd64 directory. Same 
> error, same bat channel.
> 
> 
> ===>  Building package for samba-4.0.26
> Create /usr/packages/amd64/all/samba-4.0.26.tgz
> Error: Libraries in packing-lists in the ports tree
>        and libraries from installed packages don't match
> --- /tmp/dep_cache.jIhQSC1pn/portstree-samba-4.0.26     Fri Jun 12 13:02:25 
> 2015
> +++ /tmp/dep_cache.jIhQSC1pn/inst-samba-4.0.26  Fri Jun 12 13:02:25 2015
> @@ -24,7 +24,7 @@
>  -W ldb.0.0
>  -W pyldb-util.0.0
>  -W pytalloc-util.0.0
> --W tdb.4.0
> +-W tdb.5.0
>  -W tevent.0.0
>  -W lib/samba/nss_wrapper.0.0
>  -W lib/samba/socket_wrapper.0.0
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3243 
> 'wantlib-args')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1956 
> '/usr/packages/amd64/all/samba-4.0.26.tgz')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2507 
> '_internal-package')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1978 
> '/usr/ports/update/amd64/samba-4.0.26')
> *** Error 1 in /usr/mystuff/net/samba4 
> (/usr/ports/infrastructure/mk/bsd.port.mk:2487 'update')
> 
> 
> ianm-openbsd:amd64 {131} pkg_info
> alpine-2.20         UW e-mail client
> aspell-0.60.6.1p2   spell checker designed to eventually replace Ispell
> autoconf-2.13p3     automatically configure source code on many Un*x platforms
> autoconf-2.65p0     automatically configure source code on many Un*x platforms
> autoconf-2.67p0     automatically configure source code on many Un*x platforms
> autoconf-2.69p1     automatically configure source code on many Un*x platforms
> automake-1.14.1     GNU Standards-compliant Makefile generator
> avahi-0.6.31p17     framework for Multicast DNS Service Discovery
> bash-4.3.39         GNU Bourne Again Shell
> bison-2.3p2         GNU parser generator
> bzip2-1.0.6p1       block-sorting file compressor, unencumbered
> cairo-1.14.2        vector graphics library
> cups-libs-2.0.3p0   CUPS libraries and headers
> curl-7.42.1         get files from FTP, Gopher, HTTP or HTTPS servers
> cvsps-2.1p0         generate patchsets from CVS repositories
> cyrus-sasl-2.1.26p13 RFC 2222 SASL (Simple Authentication and Security Layer)
> db-4.6.21p1v0       Berkeley DB package, revision 4
> dbus-1.8.18v0       message bus system
> dbus-daemon-launch-helper-1.8.18 DBus setuid helper for starting system 
> services
> docbook-4.5p1       technical documentation XML/SGML definitions
> docbook-dsssl-1.79  modular DSSSL stylesheets for the DocBook DTD
> docbook-xsl-1.68.1p5 docbook XSL modular stylesheet
> dos2unix-7.2.2      convert DOS/MAC files to UNIX (line-endings/charset)
> e2fsprogs-1.42.12p0 utilities to manipulate ext2 filesystems
> gamin-0.1.10p21     file and directory monitoring system
> gdbm-1.11p0         GNU dbm
> gettext-0.19.4p0    GNU gettext
> git-2.4.3           GIT - Tree History Storage Tool
> glib2-2.44.1        general-purpose utility library
> gmake-4.1p0         GNU make
> gmp-5.0.2p3         library for arbitrary precision arithmetic
> gnugetopt-1.1.6     GNU getopt(1) utility
> gnutls-3.3.15       GNU Transport Layer Security library
> gobject-introspection-1.44.0 GObject Introspection
> gperf-3.0.4p0       perfect hash functions, to help write parsers
> groff-1.22.3p1      GNU troff typesetter
> help2man-1.46.6     generates simple manual pages from program output
> icu4c-55.1p0        International Components for Unicode
> iniparser-3.1p1     ini file parsing library
> intltool-0.51.0     internationalization tools
> iso8879-1986p0      character entity sets from ISO 8879:1986 (SGML)
> libdaemon-0.14p1    lightweight C library that eases the writing of daemons
> libelf-0.8.13p3     read, modify, create ELF files on any arch
> libexecinfo-0.2p5v0 clone of backtrace facility found in the GNU libc
> libffi-3.1p0        Foreign Function Interface
> libgcrypt-1.6.3     crypto library based on code used in GnuPG
> libgpg-error-1.19   error codes for GnuPG related software
> libiconv-1.14p3     character set conversion library
> libidn-1.30         internationalized string handling
> libltdl-2.4.2p1     GNU libtool system independent dlopen wrapper
> libnettle-2.7.1p2   cryptographic library
> libpaper-1.1.24p0   library for handling paper characteristics
> libsigsegv-2.10p1   library for handling page faults in user mode
> libtasn1-4.5        Abstract Syntax Notation One structure parser library
> libtool-2.4.2p0     generic shared library support script
> libusb1-1.0.9p9     library for USB device access from userspace
> libxml-2.9.2p0      XML parsing library
> libxslt-1.1.28p1    XSLT C Library for GNOME
> lynx-2.8.9pl6       console Internet browser
> lzo2-2.09           portable speedy lossless data compression library
> m4-1.4.17           GNU m4
> metaauto-1.0p1      wrapper for gnu auto*
> openldap-client-2.4.40 open-source LDAP software (client)
> openpam-20141014    Pluggable Authentication Module
> p11-kit-0.22.1p1    library for loading and enumurating of PKCS#11 modules
> p5-Error-0.17024    error/exception handling in an OO-ish way
> p5-XML-Parser-2.44  perl module for parsing XML documents
> pcre-8.37p0         perl-compatible regular expression library
> pico-5.07p3         UW text editor
> png-1.6.17          library for manipulating PNG images
> popt-1.16p0         getopt(3)-like library with a number of enhancements
> py-MarkupSafe-0.23  implements an XML/HTML/XHTML markup safe string
> py-beaker-1.6.2p3   session and caching library with wsgi middleware
> py-crypto-2.6.1p0   cryptographic tools for Python
> py-dnspython-1.11.1 DNS toolkit for Python
> py-libxml-2.9.2p0   Python bindings for libxml
> py-mako-0.9.1p1     super-fast templating language
> py-setuptools-3.4.4p2v0 simplified packaging system for Python modules
> python-2.7.10       interpreted object-oriented programming language
> rsync-3.1.1         mirroring/synchronization over low bandwidth links
> tcl-8.5.18          Tool Command Language
> tcsh-6.19.00        extended C-shell with many useful features
> tk-8.5.18           graphical toolkit for Tcl
> unzip-6.0p7         extract, list & test files in a ZIP archive
> vmwh-1.1v0          vmware userland helper for X
> xclip-0.12p0        command line interface to X selections
> xmlto-0.0.26p0      front-end for converting XML files to various formats
> xmltoman-0.4        xml to manpage converter
> xz-5.2.1            LZMA compression and decompression tools
> 
> ianm-openbsd:amd64 {132} ls -al /usr/ports/plist/amd64/
> total 168
> drwxr-xr-x  3 root  wsrc    512 Jun 12 11:50 .
> drwxr-xr-x  3 root  wsrc    512 Jun 12 11:48 ..
> -rw-r--r--  1 root  wsrc  68602 Jun 12 11:50 docbook-xsl-1.68.1p5
> drwxr-xr-x  2 root  wsrc    512 Jun 12 11:48 history
> -rw-r--r--  1 root  wsrc   8890 Jun 12 11:48 py-setuptools-3.4.4p2v0 
> 
> 
> No partial packages either.
> 
> 
> ianm-openbsd:amd64 {133} ls -al /var/db/pkg/
> total 368
> drwxr-xr-x  91 root  wheel  2560 Jun 12 11:49 .
> drwxr-xr-x   9 root  wheel   512 Jun 12 11:04 ..
> drwxr-xr-x   2 root  wheel   512 May 13 12:07 alpine-2.20
> drwxr-xr-x   2 root  wheel   512 May 13 12:07 aspell-0.60.6.1p2
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:56 autoconf-2.13p3
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:29 autoconf-2.65p0
> drwxr-xr-x   2 root  wheel   512 Apr  9 14:29 autoconf-2.67p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:12 autoconf-2.69p1
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:12 automake-1.14.1
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:17 avahi-0.6.31p17
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:50 bash-4.3.39
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:46 bison-2.3p2
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:05 bzip2-1.0.6p1
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:05 cairo-1.14.2
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:17 cups-libs-2.0.3p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 11:43 curl-7.42.1
> drwxr-xr-x   2 root  wheel   512 Jun 11 11:43 cvsps-2.1p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:44 cyrus-sasl-2.1.26p13
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:03 db-4.6.21p1v0
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:11 dbus-1.8.18v0
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:11 dbus-daemon-launch-helper-1.8.18
> drwxr-xr-x   2 root  wheel   512 Jun 12 11:49 docbook-4.5p1
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:06 docbook-dsssl-1.79
> drwxr-xr-x   2 root  wheel   512 Jun 12 11:49 docbook-xsl-1.68.1p5
> drwxr-xr-x   2 root  wheel   512 May 26 13:00 dos2unix-7.2.2
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:30 e2fsprogs-1.42.12p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:18 gamin-0.1.10p21
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:11 gdbm-1.11p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:18 gettext-0.19.4p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 11:43 git-2.4.3
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:18 glib2-2.44.1
> drwxr-xr-x   2 root  wheel   512 May 13 11:55 gmake-4.1p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:16 gmp-5.0.2p3
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:50 gnugetopt-1.1.6
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:17 gnutls-3.3.15
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:05 gobject-introspection-1.44.0
> drwxr-xr-x   2 root  wheel   512 Apr  9 14:04 gperf-3.0.4p0
> drwxr-xr-x   2 root  wheel   512 Apr 20 11:36 groff-1.22.3p1
> drwxr-xr-x   2 root  wheel   512 Jun  3 12:00 help2man-1.46.6
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:41 icu4c-55.1p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:44 iniparser-3.1p1
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:54 intltool-0.51.0
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:06 iso8879-1986p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:11 libdaemon-0.14p1
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:00 libelf-0.8.13p3
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:44 libexecinfo-0.2p5v0
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:16 libffi-3.1p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:28 libgcrypt-1.6.3
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:28 libgpg-error-1.19
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:18 libiconv-1.14p3
> drwxr-xr-x   2 root  wheel   512 May 13 11:54 libidn-1.30
> drwxr-xr-x   2 root  wheel   512 Apr  9 14:29 libltdl-2.4.2p1
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:16 libnettle-2.7.1p2
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:50 libpaper-1.1.24p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:46 libsigsegv-2.10p1
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:16 libtasn1-4.5
> drwxr-xr-x   2 root  wheel   512 Apr  9 14:29 libtool-2.4.2p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:12 libusb1-1.0.9p9
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:28 libxml-2.9.2p0
> drwxr-xr-x   2 root  wheel   512 Jun 12 11:49 libxslt-1.1.28p1
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:50 lynx-2.8.9pl6
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:02 lzo2-2.09
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:46 m4-1.4.17
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:12 metaauto-1.0p1
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:44 openldap-client-2.4.40
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:18 openpam-20141014
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:16 p11-kit-0.22.1p1
> drwxr-xr-x   2 root  wheel   512 Jun 11 11:43 p5-Error-0.17024
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:54 p5-XML-Parser-2.44
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:18 pcre-8.37p0
> drwxr-xr-x   2 root  wheel   512 May 13 12:07 pico-5.07p3
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:02 png-1.6.17
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:18 popt-1.16p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:04 py-MarkupSafe-0.23
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:04 py-beaker-1.6.2p3
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:04 py-crypto-2.6.1p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:05 py-dnspython-1.11.1
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:08 py-libxml-2.9.2p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 13:05 py-mako-0.9.1p1
> drwxr-xr-x   2 root  wheel   512 Jun 12 11:48 py-setuptools-3.4.4p2v0
> drwxr-xr-x   2 root  wheel   512 Jun 12 11:48 python-2.7.10
> drwxr-xr-x   2 root  wheel   512 Jun 11 11:43 rsync-3.1.1
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:01 tcl-8.5.18
> drwxr-xr-x   2 root  wheel   512 Jun 11 11:38 tcsh-6.19.00
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:01 tk-8.5.18
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:05 unzip-6.0p7
> drwxr-xr-x   2 root  wheel   512 Apr  9 14:18 vmwh-1.1v0
> drwxr-xr-x   2 root  wheel   512 Apr  9 14:25 xclip-0.12p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:50 xmlto-0.0.26p0
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:45 xmltoman-0.4
> drwxr-xr-x   2 root  wheel   512 Jun 11 12:28 xz-5.2.1
> 
> 
> ianm-openbsd:amd64 {136} dmesg | head
> OpenBSD 5.7-current (GENERIC.MP) #0: Thu Jun 11 10:24:17 AEST 2015
>     
> r...@ianm-openbsd.uws-libsystems.edu.au:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3141468160 (2995MB)
> avail mem = 3042451456 (2901MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (364 entries)
> bios0: vendor Phoenix Technologies LTD version "6.00" date 07/31/2013
> bios0: VMware, Inc. VMware Virtual Platform
> 
> 
> Ian McWilliam
> 
> ________________________________________
> From: Juan Francisco Cantero Hurtado [i...@juanfra.info]
> Sent: Friday, 12 June 2015 11:45 AM
> To: Ian Mcwilliam
> Cc: Jérémie Courrèges-Anglas; Ian McWilliam; OpenBSD ports; d...@openbsd.org
> Subject: Re: [update] samba-4.0.26
> 
> You need to update the subpackage "tdb" before of to build samba.
> 
> IIRC, "env SUBPACKAGE="-tdb" make update"
> 
> On Thu, Jun 11, 2015 at 11:44:30PM +0000, Ian Mcwilliam wrote:
> >  Everything updated, kernel / userland / xenocara built about an hour 
> > before trying to build. Fresh ports tree from the same time. My previous 
> > attempts at building a newer samba 4.0.x failed at the packing stage due to 
> > the perl stuff being in a different location so nothing should have been 
> > registered anywhere. I'll clean out everything throughly today and see what 
> > happens.
> >
> >
> > Ian McWilliam
> >
> > ________________________________________
> > From: Jérémie Courrèges-Anglas [j...@wxcvbn.org]
> > Sent: Thursday, 11 June 2015 7:43 PM
> > To: Ian Mcwilliam
> > Cc: Ian McWilliam; OpenBSD ports; d...@openbsd.org
> > Subject: Re: [update] samba-4.0.26
> >
> > Ian Mcwilliam <i.mcwill...@uws.edu.au> writes:
> >
> > > Hmm, I see this.
> > >
> > > ===>  Building package for samba-4.0.26
> > > Create /usr/packages/amd64/all/samba-4.0.26.tgz
> > > Error: Libraries in packing-lists in the ports tree
> > >        and libraries from installed packages don't match
> > > --- /tmp/dep_cache.jj4UL4tjY/portstree-samba-4.0.26     Thu Jun 11 
> > > 13:41:38 2015
> > > +++ /tmp/dep_cache.jj4UL4tjY/inst-samba-4.0.26  Thu Jun 11 13:41:38 2015
> > > @@ -24,7 +24,7 @@
> > >  -W ldb.0.0
> > >  -W pyldb-util.0.0
> > >  -W pytalloc-util.0.0
> > > --W tdb.4.0
> > > +-W tdb.5.0
> > >  -W tevent.0.0
> > >  -W lib/samba/nss_wrapper.0.0
> > >  -W lib/samba/socket_wrapper.0.0
> > > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3242 
> > > 'wantlib-args')
> > > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1955 
> > > '/usr/packages/amd64/all/samba-4.0.26.tgz')
> > > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2506 
> > > '_internal-package')
> > > *** Error 1 in /usr/mystuff/net/samba4 
> > > (/usr/ports/infrastructure/mk/bsd.port.mk:2486 'package')
> >
> > This looks like a local problem.  Had you already built/installed
> > samba-4.0.26 packages before?  Please rebuild after "make clean=all",
> > with an up-to-date ports tree.
> >
> > --
> > jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
> >
> 
> --
> Juan Francisco Cantero Hurtado http://juanfra.info
> 

-- 
Juan Francisco Cantero Hurtado http://juanfra.info

Reply via email to