leycec / raiagent

Third-party Gentoo overlay. Ride the Lagrangian point between awesomeness and volatile compounds.
32 stars 14 forks source link

laymansync module's module_spec is old #53

Closed opncow closed 8 years ago

opncow commented 8 years ago

I get the following when running eix-update:

~ # eix-update 
Reading Portage settings...
Building database (/var/cache/eix/portage.eix)...
[...]
[2] "raiagent" /usr/portage/local/layman/raiagent (cache: parse|ebuild*#metadata-md5#metadata-flat#assign)
     Reading category   2|167 (  1): app-admin...laymansync module's module_spec is old, missing attribute: 'sourcefile'.  Backward compatibility may be removed in the future.
File: /usr/lib64/python3.4/site-packages/portage/sync/modules/laymansync/__init__.py
laymansync module's module_spec is old, missing attribute: 'sourcefile'.  Backward compatibility may be removed in the future.
File: /usr/lib64/python3.4/site-packages/portage/sync/modules/laymansync/__init__.py
     Reading category 167|167 (100) Finished           
[...]     
Applying masks...
Calculating hash tables...
Writing database file /var/cache/eix/portage.eix...
Database contains 19485 packages in 167 categories.

I do not know what or if something is wrong, but still wanted to report it.

leycec commented 8 years ago

Thumbs up for this preemptive strike on a possible issue. :rocket:

The following lines suggest a laymansync issue unrelated to this repository... but, of course, I would say that. I don't particularly want to do any work, so I'm happy to blame the lame layman for this:

File: /usr/lib64/python3.4/site-packages/portage/sync/modules/laymansync/__init__.py
laymansync module's module_spec is old, missing attribute: 'sourcefile'.  Backward compatibility may be removed in the future.

If you haven't already, consider migrating from the old /var/lib/layman/make.conf file to the new /etc/portage/repos.conf directory. Specifically, ensure that you have layman >= 2.3.0 with the optional sync-plugin-portage USE flag enabled. If after doing so you're still stumbling into the same brick wall, consider submitting a bug at the official Gentoo bug tracker.

As this could genuinely be a raiagent issue, I'll leave this open for the moment. Stranger things have happened. Like my toupée.

opncow commented 8 years ago

Thanks for the suggestion! I already migrated to the new layout some time ago.

But you seem to be right. That day the message was constantly shown below raiagent on eix-sync. That made me think that it is a problem with the raiagent overlay. Now on sync it appears below another one, so it really seems to be not related to raiagent.

Sorry for opening the issue so fast. I usually do not do that. For the first time, however, I could not find anything on google about a (this) message besides the python code that creates it. And that unfortunately does not give me a clue what is going wrong. I just though there were some changes in layman that your overlay does not respect, yet.

opncow commented 8 years ago

Updated to latest layman (2.4.1-r1) and the warning is gone btw...

leycec commented 8 years ago

Fist-pump! Thanks for tackling this head-on. Isn't it nice when emerge @world actually fixes all of your problems? :sun_with_face: