From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: pybitmessage, python2-pyqt-4 - strace and packages Date: Tue, 05 Jul 2016 21:08:23 +0000 Message-ID: <871t37iyig.fsf@we.make.ritual.n0.is> References: <87twg86iwe.fsf@we.make.ritual.n0.is> <8737nrfb9i.fsf@elephly.net> <87shvqgzcc.fsf@we.make.ritual.n0.is> <87vb0kkxaw.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKXaB-0006HI-Jj for guix-devel@gnu.org; Tue, 05 Jul 2016 17:08:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKXa7-0002cK-JX for guix-devel@gnu.org; Tue, 05 Jul 2016 17:08:39 -0400 Received: from 93-95-228-168.1984.is ([93.95.228.168]:41251 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKXa7-0002bE-4r for guix-devel@gnu.org; Tue, 05 Jul 2016 17:08:35 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id 9b2df55f TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Tue, 5 Jul 2016 21:08:29 +0000 (UTC) In-Reply-To: <87vb0kkxaw.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 05 Jul 2016 15:51:35 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hi, Ricardo Wurmus writes: > ng writes: > >>> […] >>>> open("/gnu/store/2mz84alls2i314x4506wdw15zwmz82n8-python-2.7.10/lib/python2.7/site-packages/PyQt4.so", >>>> O_RDONLY) = -1 ENOENT (No such file or directory) >>>> open("/gnu/store/2mz84alls2i314x4506wdw15zwmz82n8-python-2.7.10/lib/python2.7/site-packages/PyQt4module.so", >>>> O_RDONLY) = -1 ENOENT (No such file or directory) >>>> open("/gnu/store/2mz84alls2i314x4506wdw15zwmz82n8-python-2.7.10/lib/python2.7/site-packages/PyQt4.py", >>>> O_RDONLY) = -1 ENOENT (No such file or directory) >>>> open("/gnu/store/2mz84alls2i314x4506wdw15zwmz82n8-python-2.7.10/lib/python2.7/site-packages/PyQt4.pyc", >>>> O_RDONLY) = -1 ENOENT (No such file or directory) >>>> write(1, "ERROR: The PyQt4 package is not "..., 104ERROR: The PyQt4 >>>> package is not available. PyBitmessage requires PyQt 4.8 or later >>>> and Qt 4.7 or later. >>> >>> Have you checked what files are installed by your pyqt-4 package? Do >>> any of the files that are searched for appear in the output of that >>> package? >> >> tree level 3 looks like this of python2-pyqt-4: >> (shadowwalker) ng0 >> /gnu/store/y0r1d5sgskvpxi2k64afjrc35c8l3bqs-python2-pyqt-4-4.11.4$ >> tree -L 3 > […] > >> So packages are in python2.7 ... i don't know the consensus for >> Guix, should it be 2.7.10 or 2.7 in folder structure? 2.7 makes >> more sense to me. > > The directory is usually called “./lib/python2.7/site-packages/”, so > that’s fine. Your response wasn’t clear, though: have you actually > confirmed that the files it looks for are installed by your > “python2-pyqt-4” package? They are there, but not in the expected place. From pyqt's perspective I changed nothing, I just leave it as the other pyqt's. > If they are in fact there you would need to augment the PYTHONPATH. > This is done automatically by the “python-build-system”. Is there a > good reason you are using the “gnu-build-system” here? > > ~~ Ricardo That I need to run make on the file which gets copied to $PREFIX/lib/ is not a reason to use gnu-build-system. What is, is that I started this package on the base of thinking that a lack of a setup.py or similar files means that I'll use either trivial- or gnu-build-system. They even have an Makefile for the project itself, but it's useless for us, we would need to rewrite as much as I recreate currently. And my setup.py file I contributed is not included at the moment, they are working very slow it seems. The lack of a specific file does not mean I can not use the specific system, I just have to rewrite parts. So I will try again with python build system, see what changes in the results. -- ♥Ⓐ ng0 For non-prism friendly talk find me on http://www.psyced.org SecuShare – http://secushare.org