Hello Guys,

We have actually got the vendor release which is using "Kirkstone" and Our
base layers are "thud". So we migrated our base layers to kirkstone
compatible.
After that we triggered the build and facing issue for fetching the
premirror path.

Actually we have uploaded our packages into perforce repo and we are
downloading the packages from perforce only.

Previously with thud it is working fine but after kirkstone migration we
are facing issues to fetch our packages from perforce.

Please find the error log.
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/fetch2/perforce.py",
line 84, in Perforce.urldata_init(ud=<bb.fetch2.FetchData object at
0x7fc6fa0647c0>, d=<bb.data_smart.DataSmart object at 0x7fc6f6035610>):
             if delim != -1:
    >            (ud.user, ud.pswd) = path.split('@')[0].split(':')
                 ud.path = path.split('@')[1]
ValueError: too many values to unpack (expected 2)

ERROR: Command execution failed: Traceback (most recent call last):
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/command.py",
line 126, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/command.py",
line 607, in buildTargets
    command.cooker.buildTargets(pkgs_to_build, task)
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/cooker.py",
line 1579, in buildTargets
    bb.event.fire(bb.event.BuildStarted(buildname, ntargets),
self.databuilder.mcdata[mc])
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/event.py",
line 216, in fire
    fire_class_handlers(event, d)
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/event.py",
line 123, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/event.py",
line 93, in execute_handler
    ret = handler(event)
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/../poky/meta/classes/uninative.bbclass",
line 72, in defaultuninative_event_fetchloader
    fetcher.download()
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/fetch2/__init__.py",
line 1736, in download
    done = m.try_mirrors(self, ud, self.d, mirrors)
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/fetch2/__init__.py",
line 1602, in try_mirrors
    return bool(try_mirrors(fetch, d, urldata, mirrors, check))
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/fetch2/__init__.py",
line 1125, in try_mirrors
    uris, uds = build_mirroruris(origud, mirrors, ld)
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/fetch2/__init__.py",
line 996, in build_mirroruris
    adduri(origud, uris, uds, mirrors, origud.mirrortarballs or [None])
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/fetch2/__init__.py",
line 979, in adduri
    newud = FetchData(newuri, ld)
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/fetch2/__init__.py",
line 1317, in __init__
    self.method.urldata_init(self, d)
  File
"/data/home/Gareta/VW_ConMod_gclient/sources/craton2-yocto-build/poky/bitbake/lib/bb/fetch2/perforce.py",
line 84, in urldata_init
    (ud.user, ud.pswd) = path.split('@')[0].split(':')
ValueError: too many values to unpack (expected 2)

Can you guys help me to resolve this issue?

Regards,
Pravin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58754): https://lists.yoctoproject.org/g/yocto/message/58754
Mute This Topic: https://lists.yoctoproject.org/mt/95533456/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to