Skip to content

Mac OS build stuck #4

@ryakh

Description

@ryakh

OS version — El Capitan (10.11.2). Build gets stuck with following message:

waiting for resolver...
include/mdns.sh: line 26: 26089 Killed: 9
chroot ${shippath} ${ping} -c 1 localhost > /dev/null 2>&1

This message keeps on appearing over and over again; I have to ^C build process manually.

Here is a full trace of build

[master][~/Code/sailor] sudo -E ./sailor.sh build examples/nginx.conf
Password:
copying requirements for /usr/lib/dyld.. done
copying requirements for /usr/bin/dscl.. done
copying requirements for /usr/bin/cut.. done
copying requirements for /usr/bin/which.. done
copying requirements for /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation.. done
copying requirements for /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService.. done
copying requirements for /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation.. done
copying requirements for /usr/sbin/pwd_mkdb.. done
copying requirements for /opt/pkg/sbin/pkg_info.. done
copying requirements for /opt/pkg/bin/pkgin.. done
copying requirements for /bin/sh.. done
copying requirements for /bin/test.. done
copying requirements for /sbin/nologin.. done
copying requirements for /bin/echo.. done
copying requirements for /bin/ps.. done
copying requirements for /bin/sleep.. done
copying requirements for /usr/sbin/sysctl.. done
copying requirements for /usr/bin/logger.. done
copying requirements for /bin/kill.. done
copying requirements for /usr/bin/printf.. done
copying requirements for /bin/sh.. done
copying requirements for /sbin/ping.. done
building file list ... done
created directory /Users/ruslan/Code/sailor/src/nginx//opt/pkg/etc
pkgin/
pkgin/repositories.conf

sent 975 bytes  received 48 bytes  2046.00 bytes/sec
total size is 842  speedup is 0.82
copying requirements for pkg_install.. done
Creating binary package: pkg_install-20150901
Creating package /Users/ruslan/Code/sailor/src/nginx/tmp/pkg_install-20150901
Creating binary package: pkgin-0.9.3
Creating package /Users/ruslan/Code/sailor/src/nginx/tmp/pkgin-0.9.3
copying requirements for /opt/pkg/sbin/pkg_add.. done
copying requirements for /opt/pkg/bin/pkgin.. done
===========================================================================
$NetBSD: MESSAGE,v 1.6 2014/12/05 14:31:07 schmonz Exp $

You may wish to have the vulnerabilities file downloaded daily so that
it remains current.  This may be done by adding an appropriate entry
to a user's crontab(5) entry.  For example the entry

# download vulnerabilities file
0 3 * * * /opt/pkg/sbin/pkg_admin fetch-pkg-vulnerabilities >/dev/null 2>&1

will update the vulnerability list every day at 3AM. You may wish to do
this more often than once a day.

In addition, you may wish to run the package audit from the daily
security script.  This may be accomplished by adding the following
lines to /etc/security.local

if [ -x /opt/pkg/sbin/pkg_admin ]; then
        /opt/pkg/sbin/pkg_admin audit
fi

Alternatively this can also be acomplished by adding an entry to a user's
crontab(5) file. e.g.:

# run audit-packages
0 3 * * * /opt/pkg/sbin/pkg_admin audit

Both pkg_admin subcommands can be run as as an unprivileged user,
as long as the user chosen has permission to read the pkgdb and to write
the pkg-vulnerabilities to /opt/pkg/.pkgdb.

The behavior of pkg_admin and pkg_add can be customised with
pkg_install.conf.  Please see pkg_install.conf(5) for details.

If you want to use GPG signature verification you will need to install
GnuPG and set the path for GPG appropriately in your pkg_install.conf.
===========================================================================
waiting for resolver...
include/mdns.sh: line 26: 26089 Killed: 9               chroot ${shippath} ${ping} -c 1 localhost > /dev/null 2>&1
waiting for resolver...
include/mdns.sh: line 26: 26092 Killed: 9               chroot ${shippath} ${ping} -c 1 localhost > /dev/null 2>&1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions