From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Sturmfels Subject: bug#32712: Error running "create extension postgis" Date: Wed, 12 Sep 2018 13:07:21 +1000 Message-ID: <8736uf9zx2.fsf@sturm.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzvVd-00068c-PZ for bug-guix@gnu.org; Tue, 11 Sep 2018 23:08:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzvVa-0002Fu-L0 for bug-guix@gnu.org; Tue, 11 Sep 2018 23:08:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33386) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzvVa-0002Fk-Gm for bug-guix@gnu.org; Tue, 11 Sep 2018 23:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fzvVa-0001Rc-8V for bug-guix@gnu.org; Tue, 11 Sep 2018 23:08:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzvVE-00065t-2k for bug-guix@gnu.org; Tue, 11 Sep 2018 23:07:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzvVA-00027B-UM for bug-guix@gnu.org; Tue, 11 Sep 2018 23:07:40 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:44855) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fzvVA-00024J-FL for bug-guix@gnu.org; Tue, 11 Sep 2018 23:07:36 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 01EFB450 for ; Tue, 11 Sep 2018 23:07:34 -0400 (EDT) Received: from localhost (203-214-132-4.perm.iinet.net.au [203.214.132.4]) by mail.messagingengine.com (Postfix) with ESMTPA id 4D58810293 for ; Tue, 11 Sep 2018 23:07:33 -0400 (EDT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 0cc5c505 for ; Wed, 12 Sep 2018 03:07:30 +0000 (UTC) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 32712@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi Folks, When I attempt to create a database with PostGIS extensions, I get an error "could not open extension control file": $ createdb -O ben testdb $ psql testdb --command="create extension postgis" ERROR: could not open extension control file "/gnu/store/6238qjlc6cl7wld3gykcfj83ajlsrmjd-postgresql-10.5/share/extension/postgis.control": No such file or directory My GuixSD system configuration includes the PostgreSQL service and the PostGIS package, something like this: (packages (cons* ... postgis %base-packages)) (services (cons* ... (postgresql-service) %desktop-services)) If I look in the store, I see "postgis.control" in a number of places, but definitely not in the "postgresql-10.5" directory: $ find /gnu/store -name postgis.control /gnu/store/a9bnyqpxbhskf4vz6p84k4m42li4zqc8-postgis-2.4.4/share/extension/postgis.control /gnu/store/8jimyykpydhppbdbp72zr4z7l0z2fblr-profile/share/extension/postgis.control Regards, Ben --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEPn825zvdanEG+SAhAjwF4snAaPAFAluYgukACgkQAjwF4snA aPAYYw//Sq2n34rGJTXfa1Epy0fyMt7IcfBHkDaioUtNeW+lJijh10ov8tlv/ZIL FI/ENNyDXVH28+9lxNDzDD3pToB4X4m4u6b77ap9nCsfNbXsjWtaXK1SNQDaYwdw 3QSRqFA7NWo5XdL0eEGAon06AxKEhi+U8NesOCdQUt/9n5bcihSwhhAmR2r4eoXB nAxPfEU26ehEK41LRey/rmCLqoaWukjAevemg4nbBTXMmNyR7vNQ4vgwXnCSWeXv 4VrTyhw4mv6ierlZNuPxHVuEVgB+aO4pECgflTtHXyft11+1fjBhvQVt8B5+Q8Sp PoMRJJlPRd7q/HpHvhxoOaIlsjauoCkDgg4JE7uShc1w996Mp6vkNfazbLZVVtJr GMEq2mf1NN3ln4U4EzyQySh1xSz9UBJw+ufGMdsz9NEXJa2XacR7m0sBcgMqxF1v lWb1psxrPIsbu2QdJ6CkVKOp23eS4OkYCgaGTOeFz3o0UOdE7RETnFdFhAOqb0L5 AKlCVpHkt+LF0HGcg5JAxqq9hWW+Ccxg4z4yOoAm8ZLFJwuCMshJz5cF6369fEgc AceL/VmtjKfYpj1WviI8Iwgy3nhYUM8xjpHsCnX29SekwRL3h62px/dxPhgGE2PF srqnMtY22rnE+FHmdPgxUAU+a1q25wNNe7ERI0HPcvTT0A+3a70= =vXIJ -----END PGP SIGNATURE----- --=-=-=--