strange port build problems

Joe Marcus Clarke marcus at marcuscom.com
Sat Jul 26 13:16:24 EDT 2008


On Fri, 2008-07-25 at 14:00 +0200, Frank Wall wrote:
> Hello,
> 
> I am new to tinderbox, but it already helped me a lot in trying to 
> establish a method to provide binary port updates. Thank you for 
> this nice piece of software.
> 
> Currently I have a problem with two ports that won't build and thus
> broke the whole build process :-( Maybe someone can give a hint on 
> what I'm doing wrong...
> 
> The first port is mail/spamass-rules_du_jour which fails to build because
> of a missing dependency:
> 
>   pkg_add: could not find package libssh2-0.18 !
>   pkg_add: autoload of dependency '/tmp/depends/curl-7.18.0.tbz' failed!
>   error in dependency gnupg-2.0.9_1.tbz, exiting
> 
> It seems to be related to missing libssh2-0.18. Well, I don't know 
> where this dependency come from... I have build curl without support 
> for LIBSSH:
> 
>   _OPTIONS_READ=curl-7.18.0
>   WITHOUT_CARES=true
>   WITHOUT_CURL_DEBUG=true
>   WITHOUT_GNUTLS=true
>   WITHOUT_IPV6=true
>   WITHOUT_KERBEROS4=true
>   WITH_LDAP=true
>   WITHOUT_LDAPS=true
>   WITHOUT_LIBIDN=true
>   WITHOUT_LIBSSH2=true
>   WITHOUT_NTLM=true
>   WITH_OPENSSL=true
> 
> But I didn't bother, added sysutils/libssh2 and built it. But 
> tinderbox still says it's not there, although it is:
> 
>   # ls -l ../packages/7.0-STANDARD/All/libssh2-0.18.tbz 
>   -rw-r--r--  1 root  wheel  157197 Jul 25 13:07 ../packages/7.0-STANDARD/All/libssh2-0.18.tbz

If you're not using the Tinderbox port, there was a bug with OPTIONS
that was only recently fixed.  Adding WITHOUT_LIBSSH2 to one of the .env
files was a known workaround.  I highly recommend you either go with the
port, or move to the 3.0 snap from CVS.

> 
> The second port is sysutils/screen, which is listed as DUD and
> therfore does not build. I decided to ignore this and built this
> port with -noduds. But now everytime I try to rebuild everything
> it stops with an error:
> 
>   (./tinderbuild -nullfs -b 7.0-STANDARD)
> 
>   ==> make.0 <==
>   screen-4.0.3_4
>   /usr/ports/sysutils/screen
>   skipping screen-4.0.3_4 (found in duds)
>   *** Error code 1
>   `all' not remade because of errors.
> 
> So my current status is a bit frustrating. Yesterday I was able to
> add and built all ports without problems (lessons learned from my 
> first attempt). But today I can't rebuild the ports :-(

You'll need to continually run with -noduds if you want to build duds.
Note: ports will only be rebuilt if they have changed.  Therefore, if
you've built everything in the database yesterday, and none of the ports
have had a PORTREVISION bump, then there's nothing for TB to do.  You'd
have to run tinderbuild with the -cleanpackages argument to override
this.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://marcuscom.com/pipermail/tinderbox-list/attachments/20080726/a828700f/attachment.bin>


More information about the tinderbox-list mailing list