Smart 1.5 is out!

Stephen Morris samorris at netspace.net.au
Tue Oct 21 16:47:51 PDT 2014


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 <module>
>      from smart import init, initDistro, initPlugins, initPycurl, 
> initPsyco
>    File 
> "/usr/local/downloads/Smart/smart15/build/scripts-2.7/smart.py", line 
> 27, in <module>
>      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 <richard at hughsie.com>
>> 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 <module>
     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 <module>
     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 <module>
     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 <module>
     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: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20141022/a8fda098/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samorris.vcf
Type: text/x-vcard
Size: 130 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20141022/a8fda098/attachment.vcf>


More information about the Smart mailing list