From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 10:37:11 2020 Received: (at 39258) by debbugs.gnu.org; 28 Feb 2020 15:37:11 +0000 Received: from localhost ([127.0.0.1]:33664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7hhP-0008Mf-KR for submit@debbugs.gnu.org; Fri, 28 Feb 2020 10:37:11 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:41494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7hhM-0008MU-RV for 39258@debbugs.gnu.org; Fri, 28 Feb 2020 10:37:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=81EbGKfW6K41ZVd6p90G+qVKXf30O7pu/B6c80fF3Sw=; b=VsrjF4RwphOTqdZo+9bq60HmQ lrQ32e9tyWqv7btEEdmZrfLYi7EGY9EgkZ34vyjQhHfeXr7sjigMmnnjmOPJtWibLAgbQeh9vipiS urqZ39PQdGlIz0D9oFjnH/cb89emnnbMKtbGU9xr1PNmyZpJEekS7dPiStQTvRiGBAm8s=; Received: from [192.168.2.1] (helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1j7hhC-001ixc-Ew; Fri, 28 Feb 2020 21:06:58 +0530 From: Arun Isaac To: Pierre Neidhardt , 39258@debbugs.gnu.org Subject: Re: [PATCH 0/4] Xapian for Guix package search In-Reply-To: <87eeuf5dty.fsf@ambrevar.xyz> References: <20200227204150.30985-1-arunisaac@systemreboot.net> <87eeuf5dty.fsf@ambrevar.xyz> Date: Fri, 28 Feb 2020 21:06:54 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39258 Cc: ludo@gnu.org, zimon.toutoune@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain > I can't build your patch though: > > ice-9/eval.scm:293:34: no code for module (xapian xapian) Sorry, I forgot to mention this in my patch cover letter. The above error is happening because of the new guile-xapian dependency. It's a little tricky to get right at the moment. Here goes. Drop into a guix development environment. $ guix environment guix Commit patch 1 (the patch that adds guile-xapian) alone, and build. $ git am 0001-gnu-Add-guile-xapian.patch $ make Then, drop into an environment where guile-xapian is available. $ ./pre-inst-env guix environment guix --ad-hoc guile-xapian Apply the other 3 patches and build. $ git am 0002-build-self-Add-guile-xapian-to-Guix-dependencies.patch 0003-gnu-Generate-xapian-package-search-index.patch 0004-gnu-Use-xapian-index-for-package-search.patch $ make Now, the build should have completed successfully. Let's do a test guix pull to actually test the new guix search. $ ./pre-inst-env guix pull -p /tmp/test Then, run the guix search in /tmp/test. $ /tmp/test/bin/guix search game That's it! :-) This whole process will be simpler if the guile-xapian package is pushed to master and guile-xapian added as an input to the guix package in gnu/packages/package-management.scm. But, for now... --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl5ZM5YACgkQLiXui2GA K7OmQwf+M9OBdWM5FdfL+jv9P6BB+KsTqEHEM/UhQGhjgXQVj0TBP9F0L/dIKLlR 1fSe8k4ZUgXNJVeMzkt9qUt+Q7TfDzu9WRkQ3lh+dh7d4fPIvYUchmg3eqJ5lvw0 jvYhiwCu/PNguvbACpV0FRRHspV6gZLtICfxPTg+3LYVRgIkEknxmekbCcrYQWa1 0x7FJ0vUkWylzn35Sim0sEeInCaTtJFwlBqRwxSd1+0r8BoYwsj8g8f3YKRlV9jT 9rRPNLdrqP88RBXMu19u4uAzHag61irD/k8cSQSl4o1hBLNDX7OLxDdhmN6MON1n eRhv5MrzYMVdcSvSlW4VZivTyBrT1Q== =GMio -----END PGP SIGNATURE----- --=-=-=--