From samorris at netspace.net.au Tue Oct 21 16:47:51 2014 From: samorris at netspace.net.au (Stephen Morris) Date: Wed, 22 Oct 2014 10:47:51 +1100 Subject: Smart 1.5 is out! In-Reply-To: <54121736.10500@netspace.net.au> References: <978398EB-464A-41F1-925E-7BB2FFF80310@algonet.se> <540CD416.3060208@netspace.net.au> <7C3A5AF8-0DAF-45A2-B5BF-0A172E5B9C51@algonet.se> <54121736.10500@netspace.net.au> Message-ID: <5446F0A7.9010206@netspace.net.au> On 09/12/2014 07:42 AM, Stephen Morris wrote: > On 09/11/2014 07:01 AM, Anders F Bj?rklund wrote: >> Stephen Morris wrote: >> >>> Smart 1.5 doesn't build correctly under Fedora 20, what do I >>> need to do to determine why? >> A log file or error description would be a good start... >> >> It passes the unit tests on Fedora 20, always something ? >> >> Total failures: 0 >> Total tests: 938 > Hi Anders, > I'll run the build process again to get the shell output to a > file, but as far as I could see there were no errors in the process. > > If I run './setup.py build' and then run smart.py from the > location where the build places it, or run './setup.py install' and > run /usr/bin/smart I get the failure messages below in both situations. > > ./smart.py > Traceback (most recent call last): > File "./smart.py", line 27, in > from smart import init, initDistro, initPlugins, initPycurl, > initPsyco > File > "/usr/local/downloads/Smart/smart15/build/scripts-2.7/smart.py", line > 27, in > from smart import init, initDistro, initPlugins, initPycurl, > initPsyco > ImportError: cannot import name init > > The file path in the message above is relative to where the command is > being run from but the rest of the traceback is the same in both > situations. > > regards, > Steve >> >> Or do you mean that the packaging was broken, for years ? >> It was finally deleted in fc20, after being left to rot. >> >> >> I only tested with CentOS, since Fedora doesn't support it. >> And only tested with Debian, since Ubuntu doesn't either. >> >> Suppose one could set up buildbots, if it was important... >> >> >> But smart needs a downstream maintainer, or it won't work. >> >> e.g. https://bugzilla.redhat.com/show_bug.cgi?id=253184 >> >> And with it being thrown out of PackageKit, seems unlikely ? >> >> commit 59a335935eb453ae4c0bbf0210ce9c941166dec8 >> Author: Richard Hughes >> Date: Mon Sep 8 16:58:43 2014 +0100 >> >> smart: Remove the SMART backend >> >> The upstream project has been dead since 2012. >> >> >> --anders Hi Anders, I ran the build process for 1.5 and have attached the log file I produced. I also did 2 test runs, the first by doing a cd into lib.linux-x86_64-2.7/smart and running the command ../../scripts-2.7/smart.py update, which produced the following output: Traceback (most recent call last): File "../../scripts-2.7/smart.py", line 27, in from smart import init, initDistro, initPlugins, initPycurl, initPsyco File "/usr/local/downloads/Smart/smart-1.5/build/scripts-2.7/smart.py", line 27, in from smart import init, initDistro, initPlugins, initPycurl, initPsyco ImportError: cannot import name init I also did a cd into scripts-2.7 and ran the command ./smart.py update, which produced the following output: Traceback (most recent call last): File "./smart.py", line 27, in from smart import init, initDistro, initPlugins, initPycurl, initPsyco File "/usr/local/downloads/Smart/smart-1.5/build/scripts-2.7/smart.py", line 27, in from smart import init, initDistro, initPlugins, initPycurl, initPsyco ImportError: cannot import name init regards, Steve > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: build.log Type: text/x-log Size: 20305 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: samorris.vcf Type: text/x-vcard Size: 130 bytes Desc: not available URL: