Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627930 - app-portage/layman - !!! Repository 'deter' has sync-type attribute set to unsupported value: 'laymansync'
Summary: app-portage/layman - !!! Repository 'deter' has sync-type attribute set to un...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Layman Overlay Manager project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 710650
  Show dependency tree
 
Reported: 2017-08-15 16:08 UTC by dtr
Modified: 2022-01-24 07:22 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info layman (laymfail,2.82 KB, text/plain)
2017-08-15 16:08 UTC, dtr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dtr 2017-08-15 16:08:32 UTC
Created attachment 489118 [details]
emerge --info layman

I have layman built with sync-plugin-portage, but env-update prints me a dozen of messages like this:

!!! Repository 'deter' has sync-type attribute set to unsupported value: 'laymansync'
!!! Installed sync-types are: '['cvs', 'git', 'rsync', 'svn', 'webrsync']'
Comment 1 Alex HeadHunter Pyattaev 2019-01-23 13:47:43 UTC
Similar issue with science overlay. I think main issue is that it is unclear how to address this. Maybe error message could clarify that?
Comment 2 Sander Sweers 2019-08-21 11:39:12 UTC
So this module is only installed for the python targets layman supports. Currently this does _NOT_ include python 3.7 and this is my default python target.

If you run into this make sure to either
1) switch to a python target that is supported by layman with eselect python
2) modify the ebuild and update PYTHON_COMPAT to include 3_7

for the maintainer, please add python 3.7, it works fine for me.
Comment 3 Sven Eden 2019-08-27 15:02:58 UTC
app-portage/layman-2.4.2-r2 now supports Python 3.7

Unfortunately it is no longer possible to add any overlay. They all quit with:

--------
* CLI: Errors occurred processing action add
* Exception caught installing repository "kde":
* unterminated character set at position 1
--------

So it seems layman isn't fully compatible with Python 3.7, yet?
Comment 4 Reva Denis 2020-02-13 09:05:38 UTC
Ok, what about now?
Comment 5 Alexei Colin 2020-04-05 18:02:13 UTC
Same story when python3.8 is the preferred system-wide choice. To avoid having to switch the default python interpreter version system-wide (in my case from 3.8 down to 3.6), I ended up overriding the version just for portage with a shell alias:

    alias emerge='EPYTHON=python3.6 emerge'
    alias ebuild='EPYTHON=python3.6 ebuild'

May add the above to ~/.bashrc for automatic setup upon shell startup.
Comment 6 Brian Dolbec gentoo-dev 2020-04-24 18:54:26 UTC
layman for Py 3.7,8 is broken.  I have a fix and will be releasing 2.4.3 soon.

As for the original problem, I think what has happened is that portage was updated and installed to a new version of python that layman was not re-installed to as well.  That would cause emerge to puke the error you are reporting.  If you check. a way to confirm this is to eselect python to a version layman is installed to.  emerge should not complain then.
Comment 7 Anthony Segredo 2020-04-24 19:03:59 UTC
It sounds like it's easier to re-install layman than change python and maybe break other packages.
Comment 8 Brian Dolbec gentoo-dev 2020-04-25 00:02:22 UTC
It may be possible for portage use changes to python_targets to trigger rebuilds for tools dep'ing on it.

That or add code to detect the imbalance and report it on the commandline
Comment 9 Brian Dolbec gentoo-dev 2020-04-25 00:47:55 UTC
layman-2.4.3 is released with python 3.7 and 3.8 properly supported and working
Comment 10 John (EBo) David 2022-01-24 07:22:43 UTC
I can confirm the same behavior today after updating to the latest stable portage.  With the re-install suggestion above I was able to get it to working again.  Thanks!  

I wonder if there is a way to trigger an automatic layman reinstall when a new version of portage is installed?