From owner-freebsd-python@freebsd.org Wed Jan 22 05:48:49 2020 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7A5B122D891 for ; Wed, 22 Jan 2020 05:48:49 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 482ZG91VV5z4ZNm for ; Wed, 22 Jan 2020 05:48:49 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 3351722D88E; Wed, 22 Jan 2020 05:48:49 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3314022D88D for ; Wed, 22 Jan 2020 05:48:49 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482ZG70pQvz4ZNj for ; Wed, 22 Jan 2020 05:48:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pj1-x1036.google.com with SMTP id e11so2890692pjt.4 for ; Tue, 21 Jan 2020 21:48:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=E9QNIrjstltQPTR/jP1Ha9QUoclT+DEFxwU3TOUxQeA=; b=pHMVe8JkzB5TtvHshj8dKhWlntw7jpqkToVmF6OTuwA+v/r6GueyfqqDsNOEzc8O0h KbMe8c2gPY4KSkwrM2VYnwDoMuSqmY6x0iqcVrRY4e6o6MMXIuWsq/ZCrl8KBW9m6V2z YNx/1faxLu9SxqNlVljfbFO83jACvHnophNZu7dBUN6kb7Zqy/rAaH30KoXKNRR2/vCV an4273irAplEG/eLrkcFbkWCg7un1ciaToMYp26ZI8UAmPR3a8F2wTSfZZ3IR36jsBAj lKpqvlRbRrWoiMaFCdLqu8e1IZHlJc7WLIsdCTqoKZPMyY5kh42SOA1yfS9CP2d1XwBS rvvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:cc:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=E9QNIrjstltQPTR/jP1Ha9QUoclT+DEFxwU3TOUxQeA=; b=K9lifQmgCFayHfiiCqMdEL0gAumC8FmDRK1p5vgULST2/FmnaKX2iHJknT186swbAW 4pxlQ0J6swXPNwVghdRLpX5kr1dOYUhDKBcZo9ZmBnQ3JLJT0KnO+x4mAtGw5SvUH9Y9 NtjN0xgqsdT1+v5+VDj3xtZPNJTOlOCnwiH2uxNNIlTwiPaz7/GKNKjbWwLKGcu7ii02 BsAfniPXDY9KgqQvjYsI97VkonmFTMgot28kUS/+wjgIEXrYUrfHaMU92EkbfkXCRBqs lenr1L4XIeGrp9AGcKPl9DoOttHSZNwtysJR7F5ZjqsZnqt6QpomilXvapDuRyZ5ynWB S3kw== X-Gm-Message-State: APjAAAUwVD5QTboG0Uo1TgsfTDpyQIqEde+w5e4uJxHg0Yd2IzNmOT8Y rZrLv5rOZ/+hqPFmwZo9qyyVJiw4 X-Google-Smtp-Source: APXvYqwF/xgkl+5RySxfCu1x/KTT8NpewDO4x8iLX98Ps/mpQZnqYJbTV1ULLeI09qcZk/QntLK1EA== X-Received: by 2002:a17:902:8215:: with SMTP id x21mr9672340pln.59.1579672119642; Tue, 21 Jan 2020 21:48:39 -0800 (PST) Received: from [192.168.1.110] (180-150-68-130.b49644.syd.nbn.aussiebb.net. [180.150.68.130]) by smtp.gmail.com with ESMTPSA id o16sm43278867pgl.58.2020.01.21.21.48.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jan 2020 21:48:39 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: Python38 port missing USES=sqlite To: Darin Luckie References: Cc: python From: Kubilay Kocak Message-ID: <8b64deb5-8bd1-d9b0-f13c-2fb2778da742@FreeBSD.org> Date: Wed, 22 Jan 2020 16:48:35 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Thunderbird/73.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 482ZG70pQvz4ZNj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pHMVe8Jk; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::1036 as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-2.99 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; IP_SCORE(-0.79)[ipnet: 2607:f8b0::/32(-2.08), asn: 15169(-1.82), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[python@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 05:48:49 -0000 On 22/01/2020 3:46 pm, Darin Luckie wrote: > Oversight or intentional? > ====> Compressing man pages (compress-man) > ====> Running Q/A tests (stage-qa) > Error: /usr/local/lib/python3.8/lib-dynload/_sqlite3.so is linked to > /usr/local > /lib/libsqlite3.so.0 from databases/sqlite3 but it is not declared as a > depende > ncy > Warning: you need USES+=sqlite > readelf: Not an ELF file. > Warning: > /usr/ports/lang/python38/work/stage/usr/local/lib/libpython3.8.so.1.0- > gdb.py doesn't have a SONAME. > Warning: pkg(8) will not register it as being provided by the port. > Warning: If another port depend on it, pkg will not be able to know > where it comes from. > Warning: It is directly in /usr/local/lib, it is probably used by other > ports. > ===>>> Creating a backup package for old version python38-3.8.1 > Creating package for python38-3.8.1 > Hi Darin, The sqlite module is packaged separately as databases/py-sqlite3, and is not built/installed when building lang/python* ports. Python ports should not build/link against sqlite, even if it is installed. Was this the case on your system? ie: was databases/sqlite3 installed (unrelated to Python), when the lang/python38 port build took place? If so, this would be a bug "lang/python38: Links against sqlite3 if it is installed, before/without installing databases/py-sqlite3" ./koobs