[Lldb-commits] New llvm build server account request

Kamil Rytarowski via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 20 13:46:08 PDT 2015

Hash: SHA256

Hello Ying,

I'm in trouble with my attempts to connect my NetBSD/amd64 machine to
the LLDB/LLVM build zone.

My host is NetBSD-7.0 (with buildslave ID: lldb-amd64-ninja-netbsd7).
I use pkgsrc (2015Q3) to ship packages. I'm attaching a list of
installed ones to this mail.

I talked with Joerg and it was decided to go for CMake and Ninja, we
don't want to change it for now (at least till single machine will be
plugged in).

Please try to spawn local NetBSD session and connect to the staging
buildbot and debug it locally, to cut the number of iterations between
me and the Galina.

I'm adding here a short tutorial to get to reproduce quickly the setup
of mine. It will take you like 2-5 minutes to get into installed
system (depends of an internet connection).

1. Prepare a disk image.
$ qemu-img create -f qcow2 netbsd7.0_amd64 10G

2. Get an installation media.
- -com.iso

3. Spawn installation
$ qemu-system-x86_64 \
	-enable-kvm \
	-net user \
	-m 2G \
	-cdrom boot-com.iso \
	-nographic \
	-smp cores=2 \
	-hda netbsd7.0_amd64 \
	-boot d

4. Inside the installer push ctrl-c and get the command line.

5. Setup network connection:
# dhcpcd

6. Go to a writable dir, like /tmp
# cd /tmp

7. Fetch the autoinst.sh script of mine
# ftp ftp://ftp.netbsd.org/pub/NetBSD/misc/kamil/autoinst.sh

# sh autoinst.sh -s 128 -r mypass -c com0 -C 9600 -p wd0

(take a coffee break)

8. If everything went OK, just type:
# poweroff

9. Start your newly installed system
qemu-system-x86_64 \
	-enable-kvm \
	-net user \
	-m 2G \
	-nographic \
	-smp cores=2 \
	-hda netbsd7.0_amd64 \
	-boot c
(root password is empty)

10. Install dependencies from pkgsrc, like:
# cd /usr/pkgsrc/devel/cmake && make install

Please install packags needed for buildslave, create dedicated user
and try to connect it to the salve.

Thank you in advance,

On 20.10.2015 21:40, Galina Kistanova wrote:
> Hello Kamil,
> It looks like you are missing dependencies for the LLDB builder
> you have chosen. 
> http://lab.llvm.org:8014/builders/lldb-amd64-ninja-netbsd7/builds/75/s
The getLLDBScriptCommandsFactory build factory does not document
> the assumed dependency, so you may want to contact Ying Chen, who 
> is the author for the complete list of dependencies.
> Another thing you may want to do is to reconsider the builder you 
> want to use. Maybe LLDBBuilder.getLLDBBuildFactory would work 
> better for you, though it requires autoconfig and make.
> I'm adding the LLDB mail list in case somebody has an idea of what 
> would be the easiest way to get the NetBSD builder for LLDB up and 
> running.
> Hello everyone,
> Kamil is on the mission of getting LLDB builder for NetBSDwhich 
> would build clang+LLVM, then LLDB and run tests. What is the 
> shortest and less painful route there? Any suggestions? Just 
> looking at the source code of the current set of the LLDB builders,
> it is hard to tell which one is the "main".
> Thanks
> Galina

Version: GnuPG v2

-------------- next part --------------
$ pkg_info                                                                                                                                         
digest-20121220     Message digest wrapper utility
checkperms-1.11     Check and correct file permissions
gmake-4.1nb1        GNU version of 'make' utility
libtool-base-2.4.2nb10 Generic shared library support script (the script itself)
libarchive-3.1.2nb1 Library to read/create different archive formats
gsed-4.2.2nb4       GNU implementation of sed, the POSIX stream editor
perl-5.22.0         Practical Extraction and Report Language
pkg-config-0.28     System for managing library compile/link flags
libidn-1.32         Internationalized Domain Names command line tool
curl-7.44.0         Client that groks URLs
cmake-3.3.1         Cross platform make
ncurses-6.0nb1      CRT screen handling and optimization package
mg-20110905nb2      Small, fast, public domain EMACS style editor
re2c-       Deterministic Finite State Automaton generator
readline-6.3nb3     GNU library that can recall and edit previous input
libffi-3.2.1        Foreign function interface
python27-2.7.10     Interpreted, interactive, object-oriented programming language
ninja-build-1.6.0   Ninja is a small build system with a focus on speed
swig-1.3.38nb1      Simplified Wrapper and Interface Generator (version 1)
bsdtar-3.1.2nb1     Fast multi-format tape archiver
py27-expat-2.7.10   Python interface to expat
py27-setuptools-18.3.1 New Python packaging system
py27-nose-1.3.7     Unittest-based testing framework for python
py27-pip-1.5.6nb1   Installs Python packages as an easy_install replacement
py27-pbr-1.6.0      Python Build Reasonableness
py27-six-1.9.0      Python 2 and 3 compatibility utilities
py27-mock-1.3.0     Python testing framework
py27-sqlalchemy-1.0.8 Python SQL toolkit and Object Relational Mapper
py27-Tempita-0.5.2  Small Python templating language
py27-decorator-3.4.0 Generic Python decorator utilities
py27-sqlalchemy-migrate-0.9.6 Schema migration tool for SQLAlchemy
py27-iso8601-0.1.10 Simple Python module to parse ISO 8601 dates
py27-pretend-1.0.8  Library for stubbing in Python
py27-requests-2.7.0 HTTP library, written in Python, for human beings
m4-1.4.17           GNU version of UNIX m4 macro language processor
bison-3.0.4nb2      GNU yacc(1) replacement
bash-4.3.039        The GNU Bourne Again Shell
p5-Net-3.07         Perl5 modules to access and use network protocols
libyaml-0.1.6nb1    YAML 1.1 parser and emitter written in C
py27-yaml-3.11      Collection of libraries to process YAML with Python
py27-py-1.4.30      Python development support library
py27-test-2.7.2     Python testing tool
py27-asn1-0.1.8     ITU Abstract Syntax Notification for Python
py27-cffi-1.2.1     Foreign Function Interface for Python calling C code
py27-cparser-2.14   C parser in Python
py27-idna-2.0       Python module for Internationalized Domain Names in Applications (IDNA)
py27-ipaddress-1.0.14 Port of the python 3.3+ ipaddress module to 2.6 and 2.7
py27-enum34-1.0.4   Python module for enums like in python-3.4
py27-cryptography-1.0.1 Cryptographic recipes and primitives for Python
py27-OpenSSL-0.15.1 Python interface to the OpenSSL library
py27-ZopeInterface-4.1.2 The zope.interface package used in Zope 3 and Twisted
py27-twisted-15.4.0 Framework for writing networked applications
py27-markupsafe-0.23 Implements a XML/HTML/XHTML Markup safe string for Python
py27-jinja2-2.7.3   Small but fast and easy to use stand-alone template engine
py27-sqlite2-2.6.3nb9 SQLite database adapter for Python
py27-buildbot-0.8.8 Continuous integration system
p5-Error-0.17024nb1 Perl extension module for try/throw/catch exception handling
p5-TimeDate-2.30nb2 Perl5 TimeDate distribution
p5-MailTools-2.14nb1 Perl5 modules related to mail applications
p5-Digest-HMAC-1.03nb5 Perl5 module for HMAC
p5-Net-IP-1.26nb3   Perl extension for manipulating IPv4/IPv6 addresses
p5-Socket6-0.25nb1  Perl5 module to support getaddrinfo() and getnameinfo()
p5-IO-Socket-INET6-2.72nb1 Perl object interface for AF_INET|AF_INET6 domain sockets
p5-Net-DNS-1.01     Perl5 module for DNS resolution
p5-Net-Domain-TLD-1.73nb1 Work with TLD names
p5-IO-CaptureOutput-1.11.04nb1 Capture STDOUT and STDERR from Perl code, subprocesses, or XS
p5-Email-Valid-1.196nb1 Perl5 module for testing validity of an email address
p5-Net-LibIDN-0.12nb7 Perl bindings for GNU Libidn
p5-Sub-Uplevel-0.2500nb1 Apparently run a function in a higher stack frame
p5-Test-Exception-0.40 Test exception based code
p5-Test-Warn-0.30nb1 Perl extension to test methods for warnings
p5-Net-SSLeay-1.70  Perl5 module for using OpenSSL
p5-Mozilla-CA-20150826 Mozilla's CA cert bundle for Perl
p5-IO-Socket-SSL-2.019 Perl5 SSL socket interface class
p5-Net-SMTP-SSL-1.03 Perl5 module providing SSL support for Net::SMTP
p5-GSSAPI-0.28nb6   Perl extension providing access to the GSSAPIv2 library
p5-Authen-SASL-2.16nb3 Perl module to handle SASL authentication
git-base-2.5.2      GIT Tree History Storage Tool (base package)
scons-2.3.6         Python-based, open-source build system
apr-1.5.2           Apache Portable Runtime
apr-util-1.5.4nb2   Apache Portable Runtime utilities
serf-1.3.8          High-performance asynchronous HTTP client library
subversion-base-1.9.1 Version control system, base programs and libraries
ncursesw-6.0nb1     Wide character CRT screen handling and optimization package
p5-gettext-1.05nb11 Perl5 module interface to C I18N functions
help2man-1.47.1     Generate simple manual pages from program output
autoconf-2.69nb6    Generates automatic source code configuration scripts
libelf-0.8.13nb1    ELF object file access library
pcre-8.37           Perl Compatible Regular Expressions library
glib2-2.44.1nb1     Some useful routines for C programming (glib2)
desktop-file-utils-0.22 Utilities to manage desktop entries
htop-1.0.1nb1       Enhanced version of top utility
mozilla-rootcerts-1.0.20150804 Root CA certificates from the Mozilla Project
py27-buildbot-slave-0.8.8 Buildbot slave
py27-virtualenv-13.1.2 Virtual Python Environment builder
netcat-1.10nb3      Read and write data across network connections

More information about the lldb-commits mailing list