cvsync doesn't work simply on 7-current with SYMVER_ENABLED=yes

Daniel Eischen deischen at freebsd.org
Wed Nov 29 10:14:47 PST 2006


On Thu, 30 Nov 2006, Norikatsu Shigemura wrote:

> 	I'm testing SYMVER_ENABLED=yes environment by using net/cvsync.
> 	Yes, it is quite simple.  You can only install and use it.  It
> 	doesn't require any setting like following.
>
> 	$ cvsync -4 -v 'cvsync://cvsync.allbsd.org/freebsd-src/rcs/?prefix=/home/ncvs'
>
>
> 	I tested -lthr case and -lpthread case.  Please see attached log.
>
> 	$ ktrace -i -t cnisuw =cvsync -4 -v 'cvsync://cvsync.allbsd.org/freebsd-src/rcs/?prefix=/home/ncvs'
> 	Parsing a URI cvsync://cvsync.allbsd.org/freebsd-src/rcs/?prefix=/home/ncvs...
> 	Connecting to cvsync.allbsd.org port 7777
> 	host 133.31.130.35 port 7777: Operation timed out
> 	service is not available at cvsync.allbsd.org port 7777

I don't understand why kqueue and kevent are not found in cvsync,
but still end up being referenced:

   $ pwd
   /usr/ports/net/cvsync/work/cvsync-0.24.19/cvsync
   $ nm cvsync | grep kqueue
   $ nm cvsync | grep kevent
   $ readelf -s /usr/local/bin/cvsync | grep kqueue
   $ readelf -s /usr/local/bin/cvsync | grep kevent

If you look for read() in the same manner, you get what you expect:

   $ readelf -s /usr/local/bin/cvsync | grep read\@
      125: 00000000    84 FUNC    GLOBAL DEFAULT  UND read at FBSD_1.0 (3)
      543: 00000000    84 FUNC    GLOBAL DEFAULT  UND read@@FBSD_1.0

-- 
DE


More information about the freebsd-current mailing list