From owner-freebsd-riscv@freebsd.org Mon Jan 21 10:06:06 2019 Return-Path: Delivered-To: freebsd-riscv@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5330014A26E7 for ; Mon, 21 Jan 2019 10:06:06 +0000 (UTC) (envelope-from dinesh.thirumurthy@gmail.com) Received: from mail-it1-x134.google.com (mail-it1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A54A81865 for ; Mon, 21 Jan 2019 10:06:05 +0000 (UTC) (envelope-from dinesh.thirumurthy@gmail.com) Received: by mail-it1-x134.google.com with SMTP id z7so15688462iti.0 for ; Mon, 21 Jan 2019 02:06:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KZJOmctDi43weuumLAYAFP4ojTZmUcAO2Wf0FCIMUdo=; b=B7hmI46iXzFiuea4bff6eQujEyM5YzlbUcq4Dk0CH9UEzVqfm66/taV/wT3dD2rEOZ a2rk5KHK/1bKRA5N/2xoeVoZInfkkwbHskM1JP+Zwx7L8ad1rmfHOAzCeMaZuoxYiXnh wa7VtzAexxZ123Cqrb7SJDOMtAcdcL1vbPs7U2vQ6/PLnR03q+n8zjXwgngkVvg0pLr9 0T3N42cAUF5f7ngnK1GP7jDgwaq0Mk76pEwNFstwtfpwgG3j5dmaums1DqQPBlFwoM74 iRnS3vAYSSFuQ6YPlKSgcG0+ZunQuWS9rKeXNGlopViOzx1MvpovEkwYsDeF8Hlm7NPf zC/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KZJOmctDi43weuumLAYAFP4ojTZmUcAO2Wf0FCIMUdo=; b=UJuHyDZiiQFwy+rNTCTFlxLeloe+b/IwiEePNaJ5HSWYZIFiv/Hun2OhKixm316yei cbUoEu4wPi+3MvaGXI4VtKMOscI1tzXbB/a9mKmvJq7wK1kKcgF6EJj5BPrLpF4oGvJy xKeXozRMdVcVVUk9pK+kcgTYvV740FzlHr4xyxGyTvtsxBJfNKiyBKYZrMKLPAWQCKg+ 7Jfg8AvNDkw7xVORF4wk8uHsHLAg2AjfcaUT9ZSDacUT1afPaKCtjdT4GgMjNjrrVnof oCj8sGfeJZ8q555S+l5r8Y1veJ/zvc+q8Z5GKvOLwTD/VNAQE3eLuXw6Xfbc35UkyHrN lAFw== X-Gm-Message-State: AJcUukfrWJ76q+ungSxWyVK6G7jAPO9KWZ1+E3L2S75upEfGgr3epoJf CAeXA6CPj3fLd5t1vCEixR4EzKjQHX/WuLsRHL77Fw== X-Google-Smtp-Source: ALg8bN5SFl6KFsGVfLL8rU8sIHPWpEs+mNrk6K049NbVb3yt3fX1oUaVr3qHxP5TO3dxIV8v7d3JSXH8Fly28jiTIBs= X-Received: by 2002:a24:b610:: with SMTP id g16mr15748621itf.3.1548065164242; Mon, 21 Jan 2019 02:06:04 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ac0:8ba4:0:0:0:0:0 with HTTP; Mon, 21 Jan 2019 02:06:03 -0800 (PST) From: Dinesh Thirumurthy Date: Mon, 21 Jan 2019 15:36:03 +0530 Message-ID: Subject: riscv-qemu build error To: freebsd-riscv Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 0A54A81865 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=B7hmI46i; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dineshthirumurthy@gmail.com designates 2607:f8b0:4864:20::134 as permitted sender) smtp.mailfrom=dineshthirumurthy@gmail.com X-Spamd-Result: default: False [-6.64 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.65)[ip: (-8.93), ipnet: 2607:f8b0::/32(-2.40), asn: 15169(-1.85), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[4.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-riscv@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD on the RISC-V instruction set architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2019 10:06:06 -0000 Hi, Following instructions at https://wiki.freebsd.org/qemu Build QEMU emulator git clone https://github.com/riscv/riscv-qemu cd riscv-qemu mkdir build && cd build ../configure --target-list=riscv64-softmmu --prefix=$PREFIX gmake gmake install Running 13.0-CURRENT on VirtualBox [dt@freebsd ~/riscv-qemu/build]$ uname -a FreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT r342707 GENERIC amd64 [dt@freebsd ~/riscv-qemu/build]$ A complaint about a missing pkg-config ... [dt@freebsd ~]$ git clone https://github.com/riscv/riscv-qemu Cloning into 'riscv-qemu'... remote: Enumerating objects: 409277, done. Receiving objects: 15% (62311/409277), 24.67 MiB | 335.00 KiB/s Receiving objects: 16% (66331/409277), 25.82 MiB | 405.00 KiB/s remote: Total 409277 (delta 0), reused 0 (delta 0), pack-reused 409277 Receiving objects: 100% (409277/409277), 160.47 MiB | 204.00 KiB/s, done. Resolving deltas: 100% (332316/332316), done. Checking out files: 100% (6481/6481), done. [dt@freebsd ~]$ cd riscv-qemu/ [dt@freebsd ~/riscv-qemu]$ mkdir build [dt@freebsd ~/riscv-qemu]$ cd build [dt@freebsd ~/riscv-qemu/build]$ ../configure --target-list=riscv64-softmmu --prefix=$HOME/bin ERROR: pkg-config binary 'pkg-config' not found [dt@freebsd ~/riscv-qemu/build]$ sudo su root@freebsd:/usr/home/dt/riscv-qemu/build # pkg install pkg-config Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'pkg-config' have been found in the repositories root@freebsd:/usr/home/dt/riscv-qemu/build # whereis pkg-config pkg-config: /usr/local/man/man8/pkg-config.8.gz root@freebsd:/usr/home/dt/riscv-qemu/build # exit [dt@freebsd ~/riscv-qemu/build]$ env | grep PATH PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/dt/bin [dt@freebsd ~/riscv-qemu/build]$ How do I resolve this? Thanks. Regards, Dinesh