dns/djbdns [do-package] Error code 1

David Thiel lx at redundancy.redundancy.org
Wed Feb 19 18:50:42 UTC 2014


Interesting, I can't seem to replicate it here. It doesn't seem like
MAKE_JOBS_UNSAFE would apply, but perhaps try that?

On 02/19, Chad J. Milios wrote:
> there seems to be a timing issue. can anyone else please confirm this 
> problem is happening? I haven't gone ahead and tried any non-default 
> values of vfs.timestamp_precision.
> 
> make package
> fails 26/30 times
> 
> make && sleep 1 && make package
> succeeds 50/50 times
> 
> Thanks in advance.
> 
> here is the full output of a failed run:
> 
> ===>  Found saved configuration for djbdns-1.05_14
> ===> Fetching all distfiles required by djbdns-1.05_17,1 for building
> ===>  Extracting for djbdns-1.05_17,1
> => SHA256 Checksum OK for djbdns-1.05.tar.gz.
> => SHA256 Checksum OK for djbdns-1.05-man-20031023.tar.gz.
> ===>  Patching for djbdns-1.05_17,1
> ===>  Applying FreeBSD patches for djbdns-1.05_17,1
> ===>  Configuring for djbdns-1.05_17,1
> ===>  Building for djbdns-1.05_17,1
> cat warn-auto.sh dnstracesort.sh  | sed s}HOME}"`head -1 conf-home`"}g  
>  > dnstracesort
> cat warn-auto.sh rts.sh  | sed s}HOME}"`head -1 conf-home`"}g  > rts
> ( cat warn-auto.sh;  echo 'main="$1"; shift';  echo exec "`head -1 
> conf-ld`"  '-o "$main" "$main".o ${1+"$@"}'  ) > load
> ( cat warn-auto.sh;  echo exec "`head -1 conf-cc`" '-c ${1+"$@"}'  ) > 
> compile
> chmod 755 dnstracesort
> chmod 755 compile
> chmod 755 load
> chmod 755 rts
> ( cat warn-auto.sh;  echo CC=\'`head -1 conf-cc`\';  echo LD=\'`head -1 
> conf-ld`\';  cat find-systype.sh;  ) | sh > systype
> cat warn-auto.sh choose.sh  | sed s}HOME}"`head -1 conf-home`"}g > choose
> ./compile alloc.c
> ./compile alloc_re.c
> chmod 755 choose
> ./compile auto-str.c
> auto-str.c:8: warning: conflicting types for built-in function 'puts'
> ./compile axfrdns-conf.c
> ./compile buffer.c
> ./compile buffer_1.c
> ./compile buffer_2.c
> ./compile buffer_copy.c
> ./compile buffer_get.c
> ./compile buffer_put.c
> ./compile buffer_read.c
> ./compile buffer_write.c
> ./compile byte_chr.c
> ./compile byte_copy.c
> ./compile byte_cr.c
> ./compile byte_diff.c
> ./compile byte_zero.c
> ./compile case_diffb.c
> ./compile case_diffs.c
> ./compile case_lowerb.c
> ./compile chkshsgr.c
> ./compile droproot.c
> ./compile env.c
> ./compile error.c
> ./compile error_str.c
> ./compile fmt_ulong.c
> ./compile generic-conf.c
> ./compile getln.c
> ./compile getln2.c
> ./compile hier.c
> ./compile install.c
> ./compile instcheck.c
> ./compile ip4_fmt.c
> ./compile ip4_scan.c
> ./compile ndelay_off.c
> ./compile ndelay_on.c
> ./compile okclient.c
> ./compile open_read.c
> ./compile open_trunc.c
> ./compile openreadclose.c
> ./compile pickdns-conf.c
> ./compile qlog.c
> ./compile rbldns-conf.c
> ./compile readclose.c
> ./compile scan_ulong.c
> ./compile seek_set.c
> ./compile sgetopt.c
> ./compile socket_accept.c
> ./compile socket_bind.c
> ./compile socket_conn.c
> ./compile socket_listen.c
> ./compile socket_recv.c
> ./compile socket_send.c
> ./compile socket_tcp.c
> ./compile socket_udp.c
> ./compile str_chr.c
> ./compile str_diff.c
> ./compile str_len.c
> ./compile str_rchr.c
> ./compile str_start.c
> ./compile stralloc_cat.c
> ./compile stralloc_catb.c
> ./compile stralloc_cats.c
> ./compile stralloc_copy.c
> ./compile stralloc_eady.c
> ./compile stralloc_num.c
> ./compile stralloc_opyb.c
> ./compile stralloc_opys.c
> ./compile stralloc_pend.c
> ./compile strerr_die.c
> ./compile strerr_sys.c
> ./compile subgetopt.c
> ./compile tinydns-conf.c
> ./compile uint16_pack.c
> ./compile uint16_unpack.c
> ./compile utime.c
> ./compile walldns-conf.c
> ( ( ./compile trylsock.c &&  ./load trylsock -lsocket -lnsl ) >/dev/null 
> 2>&1  && echo -lsocket -lnsl || exit 0 ) > socket.lib
> ( ( ./compile tryulong32.c && ./load tryulong32 && ./tryulong32 ) 
>  >/dev/null 2>&1  && cat uint32.h2 || cat uint32.h1 ) > uint32.h
> ./choose c trydrent direntry.h1 direntry.h2 > direntry.h
> rm -f trylsock.o trylsock
> ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h
> ./choose c trysysel select.h1 select.h2 > select.h
> ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h
> rm -f tryulong32.o tryulong32
> ( case "`cat systype`" in  sunos-5.*) cat hasdevtcp.h2 ;;  *) cat 
> hasdevtcp.h1 ;;  esac ) > hasdevtcp.h
> ( cat warn-auto.sh;  echo 'main="$1"; shift';  echo 'rm -f "$main"';  
> echo 'ar cr "$main" ${1+"$@"}';  case "`cat systype`" in sunos-5.*) ;;  
> unix_sv*) ;;  irix64-*) ;;  irix-*) ;;  dgux-*) ;; hp-ux-*) ;;  sco*) 
> ;;  *) echo 'ranlib "$main"' ;;  esac  ) > makelib
> ./load chkshsgr
> chmod 755 makelib
> ./compile cdb.c
> ./compile cdb_hash.c
> ./compile cdb_make.c
> ./compile rbldns-data.c
> ./compile uint32_pack.c
> ./compile uint32_unpack.c
> ./makelib alloc.a alloc.o alloc_re.o getln.o getln2.o stralloc_cat.o 
> stralloc_catb.o stralloc_cats.o  stralloc_copy.o stralloc_eady.o 
> stralloc_num.o  stralloc_opyb.o stralloc_opys.o stralloc_pend.o
> ./makelib buffer.a buffer.o buffer_1.o buffer_2.o  buffer_copy.o 
> buffer_get.o buffer_put.o strerr_die.o  strerr_sys.o
> ./makelib env.a env.o
> ./makelib getopt.a sgetopt.o subgetopt.o
> ./makelib unix.a buffer_read.o buffer_write.o error.o  error_str.o 
> ndelay_off.o ndelay_on.o open_read.o  open_trunc.o openreadclose.o 
> readclose.o seek_set.o  socket_accept.o socket_bind.o socket_conn.o 
> socket_listen.o  socket_recv.o socket_send.o socket_tcp.o socket_udp.o
> ./chkshsgr || ( cat warn-shsgr; exit 1 )
> ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h
> ./compile axfr-get.c
> ./compile axfrdns.c
> ./compile cache.c
> ./compile cachetest.c
> ./compile dd.c
> ./compile dns_dfd.c
> ./compile dns_domain.c
> ./compile dns_dtda.c
> ./compile dns_ip.c
> ./compile dns_ipq.c
> ./compile dns_mx.c
> ./compile dns_name.c
> ./compile dns_nd.c
> ./compile dns_packet.c
> ./compile dns_random.c
> ./compile dns_rcip.c
> ./compile dns_rcrw.c
> ./compile dns_resolve.c
> ./compile dns_sortip.c
> ./compile dns_transmit.c
> ./compile dns_txt.c
> ./compile dnscache-conf.c
> ./compile dnscache.c
> ./compile dnsfilter.c
> ./compile dnsip.c
> ./compile dnsipq.c
> ./compile dnsmx.c
> ./compile dnsname.c
> ./compile dnsq.c
> ./compile dnsqr.c
> ./compile dnstrace.c
> ./compile dnstxt.c
> dnsq.c: In function 'main':
> dnsq.c:97: warning: incompatible implicit declaration of built-in 
> function '_exit'
> dnsqr.c: In function 'main':
> dnsqr.c:65: warning: incompatible implicit declaration of built-in 
> function '_exit'
> ./compile iopause.c
> ./compile log.c
> ./compile parsetype.c
> ./compile pickdns-data.c
> ./compile pickdns.c
> ./compile printpacket.c
> ./compile printrecord.c
> ./compile query.c
> ./compile random-ip.c
> ./compile rbldns.c
> ./compile response.c
> ./compile roots.c
> ./compile server.c
> ./compile tai_add.c
> ./compile tai_now.c
> ./compile tai_pack.c
> ./compile tai_sub.c
> ./compile tai_uint.c
> ./compile tai_unpack.c
> ./compile taia_add.c
> ./compile taia_approx.c
> ./compile taia_frac.c
> ./compile taia_less.c
> ./compile taia_now.c
> ./compile taia_pack.c
> ./compile taia_sub.c
> ./compile taia_tai.c
> ./compile taia_uint.c
> ./compile tdlookup.c
> ./compile timeoutread.c
> ./compile timeoutwrite.c
> ./compile tinydns-data.c
> tinydns-data.c: In function 'main':
> tinydns-data.c:254: warning: passing argument 2 of 'uint32_unpack_big' 
> from incompatible pointer type
> tinydns-data.c:257: warning: passing argument 2 of 'uint32_unpack_big' 
> from incompatible pointer type
> tinydns-data.c:260: warning: passing argument 2 of 'uint32_unpack_big' 
> from incompatible pointer type
> tinydns-data.c:263: warning: passing argument 2 of 'uint32_unpack_big' 
> from incompatible pointer type
> tinydns-data.c:266: warning: passing argument 2 of 'uint32_unpack_big' 
> from incompatible pointer type
> ./compile tinydns-edit.c
> ./compile tinydns-get.c
> ./compile tinydns.c
> ./compile walldns.c
> ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o  byte_diff.o 
> byte_zero.o case_diffb.o case_diffs.o  case_lowerb.o fmt_ulong.o 
> ip4_fmt.o ip4_scan.o scan_ulong.o  str_chr.o str_diff.o str_len.o 
> str_rchr.o str_start.o  uint16_pack.o uint16_unpack.o uint32_pack.o 
> uint32_unpack.o
> ./makelib cdb.a cdb.o cdb_hash.o cdb_make.o
> ./compile prot.c
> ./makelib dns.a dns_dfd.o dns_domain.o dns_dtda.o dns_ip.o dns_ipq.o 
> dns_mx.o dns_name.o dns_nd.o dns_packet.o  dns_random.o dns_rcip.o 
> dns_rcrw.o dns_resolve.o  dns_sortip.o dns_transmit.o dns_txt.o
> ./makelib libtai.a tai_add.o tai_now.o tai_pack.o  tai_sub.o tai_uint.o 
> tai_unpack.o taia_add.o taia_approx.o  taia_frac.o taia_less.o 
> taia_now.o taia_pack.o taia_sub.o  taia_tai.o taia_uint.o
> ./load auto-str buffer.a unix.a byte.a
> ./load utime byte.a
> ./load rbldns-data cdb.a alloc.a buffer.a unix.a byte.a
> ./load cachetest cache.o libtai.a buffer.a alloc.a unix.a  byte.a
> ./load axfr-get iopause.o timeoutread.o timeoutwrite.o  dns.a libtai.a 
> alloc.a buffer.a unix.a byte.a
> ./load axfrdns iopause.o droproot.o tdlookup.o response.o  qlog.o prot.o 
> timeoutread.o timeoutwrite.o dns.a libtai.a  alloc.a env.a cdb.a 
> buffer.a unix.a byte.a
> ./load dnscache droproot.o okclient.o log.o cache.o  query.o response.o 
> dd.o roots.o iopause.o prot.o dns.a  env.a alloc.a buffer.a libtai.a 
> unix.a byte.a  `cat  socket.lib`
> ./load dnsfilter iopause.o getopt.a dns.a env.a libtai.a  alloc.a 
> buffer.a unix.a byte.a  `cat socket.lib`
> ./load dnsip iopause.o dns.a env.a libtai.a alloc.a  buffer.a unix.a 
> byte.a  `cat socket.lib`
> ./load dnsipq iopause.o dns.a env.a libtai.a alloc.a  buffer.a unix.a 
> byte.a  `cat socket.lib`
> ./load dnsmx iopause.o dns.a env.a libtai.a alloc.a  buffer.a unix.a 
> byte.a  `cat socket.lib`
> ./load dnsname iopause.o dns.a env.a libtai.a alloc.a  buffer.a unix.a 
> byte.a  `cat socket.lib`
> ./load dnsq iopause.o printrecord.o printpacket.o  parsetype.o dns.a 
> env.a libtai.a buffer.a alloc.a unix.a  byte.a  `cat socket.lib`
> ./load dnsqr iopause.o printrecord.o printpacket.o  parsetype.o dns.a 
> env.a libtai.a buffer.a alloc.a unix.a  byte.a  `cat socket.lib`
> ./load dnstrace dd.o iopause.o printrecord.o parsetype.o  dns.a env.a 
> libtai.a alloc.a buffer.a unix.a byte.a  `cat  socket.lib`
> ./load dnstxt iopause.o dns.a env.a libtai.a alloc.a  buffer.a unix.a 
> byte.a  `cat socket.lib`
> ./load pickdns server.o response.o droproot.o qlog.o  prot.o dns.a env.a 
> libtai.a cdb.a alloc.a buffer.a unix.a  byte.a  `cat socket.lib`
> ./load pickdns-data cdb.a dns.a alloc.a buffer.a unix.a  byte.a
> ./load random-ip dns.a libtai.a buffer.a unix.a byte.a
> ./load rbldns server.o response.o dd.o droproot.o qlog.o  prot.o dns.a 
> env.a libtai.a cdb.a alloc.a buffer.a unix.a  byte.a  `cat socket.lib`
> ./load tinydns server.o droproot.o tdlookup.o response.o  qlog.o prot.o 
> dns.a libtai.a env.a cdb.a alloc.a buffer.a  unix.a byte.a `cat socket.lib`
> ./load tinydns-edit dns.a alloc.a buffer.a unix.a byte.a
> ./load tinydns-get tdlookup.o response.o printpacket.o printrecord.o 
> parsetype.o dns.a libtai.a cdb.a buffer.a  alloc.a unix.a byte.a
> ./load walldns server.o response.o droproot.o qlog.o  prot.o dd.o dns.a 
> env.a cdb.a alloc.a buffer.a unix.a  byte.a  `cat socket.lib`
> ./load tinydns-data cdb.a dns.a alloc.a buffer.a unix.a  byte.a
> ./auto-str auto_home `head -1 conf-home` > auto_home.c
> ./compile auto_home.c
> ./load axfrdns-conf generic-conf.o auto_home.o buffer.a  unix.a byte.a
> ./load dnscache-conf generic-conf.o auto_home.o libtai.a  buffer.a 
> unix.a byte.a
> ./load install hier.o auto_home.o buffer.a unix.a byte.a
> ./load instcheck hier.o auto_home.o buffer.a unix.a byte.a
> ./load pickdns-conf generic-conf.o auto_home.o buffer.a  unix.a byte.a
> ./load rbldns-conf generic-conf.o auto_home.o buffer.a  unix.a byte.a
> ./load tinydns-conf generic-conf.o auto_home.o buffer.a  unix.a byte.a
> ./load walldns-conf generic-conf.o auto_home.o buffer.a  unix.a byte.a
> ===>  Staging for djbdns-1.05_17,1
> ===>   djbdns-1.05_17,1 depends on executable: setuidgid - found
> ===>   djbdns-1.05_17,1 depends on executable: tcpserver - found
> ./compile install.c
> ./compile hier.c
> ./compile auto_home.c
> ./load install hier.o auto_home.o buffer.a unix.a byte.a
> ./compile instcheck.c
> ./load instcheck hier.o auto_home.o buffer.a unix.a byte.a
> ===>   Generating temporary packing list
> ===> Creating users and/or groups.
> ./install
> ./instcheck
> ====> Compressing man pages (compress-man)
> ===> Correct pkg-plist sequence to create group(s) and user(s)
> ===>  Building package for djbdns-1.05_17,1
> Creating package /usr/ports/dns/djbdns/work/djbdns-1.05_17,1.tbz
> Registering depends: daemontools-0.76_16 ucspi-tcp-0.88_2.
> Registering conflicts: djbdns-tools-[0-9]*.
> Creating bzip'd tar ball in 
> '/usr/ports/dns/djbdns/work/djbdns-1.05_17,1.tbz'
> tar: bin/axfr-get: Cannot stat: No such file or directory
> tar: bin/axfrdns: Cannot stat: No such file or directory
> tar: bin/axfrdns-conf: Cannot stat: No such file or directory
> tar: bin/dnscache: Cannot stat: No such file or directory
> tar: bin/dnscache-conf: Cannot stat: No such file or directory
> tar: bin/dnsfilter: Cannot stat: No such file or directory
> tar: bin/dnsip: Cannot stat: No such file or directory
> tar: bin/dnsipq: Cannot stat: No such file or directory
> tar: bin/dnsmx: Cannot stat: No such file or directory
> tar: bin/dnsname: Cannot stat: No such file or directory
> tar: bin/dnsq: Cannot stat: No such file or directory
> tar: bin/dnsqr: Cannot stat: No such file or directory
> tar: bin/dnstrace: Cannot stat: No such file or directory
> tar: bin/dnstracesort: Cannot stat: No such file or directory
> tar: bin/dnstxt: Cannot stat: No such file or directory
> tar: bin/pickdns: Cannot stat: No such file or directory
> tar: bin/pickdns-conf: Cannot stat: No such file or directory
> tar: bin/pickdns-data: Cannot stat: No such file or directory
> tar: bin/random-ip: Cannot stat: No such file or directory
> tar: bin/rbldns: Cannot stat: No such file or directory
> tar: bin/rbldns-conf: Cannot stat: No such file or directory
> tar: bin/rbldns-data: Cannot stat: No such file or directory
> tar: bin/tinydns: Cannot stat: No such file or directory
> tar: bin/tinydns-conf: Cannot stat: No such file or directory
> tar: bin/tinydns-data: Cannot stat: No such file or directory
> tar: bin/tinydns-edit: Cannot stat: No such file or directory
> tar: bin/tinydns-get: Cannot stat: No such file or directory
> tar: bin/walldns: Cannot stat: No such file or directory
> tar: bin/walldns-conf: Cannot stat: No such file or directory
> tar: etc/dnsroots.global: Cannot stat: No such file or directory
> tar: Error exit delayed from previous errors.
> pkg_create: make_dist: tar command failed with code 256
> *** [do-package] Error code 1
> 
> Stop in /usr/ports/dns/djbdns.
> *** [package] Error code 1
> 
> Stop in /usr/ports/dns/djbdns.
> 


More information about the freebsd-ports mailing list