[yocto] Error core-image-minimal-1.0-r0 do_rootfs (RPMTAG_CONFLICTVERSION)

Victor Palacio vpalacio at intemotechnologies.com
Wed Apr 25 08:31:37 PDT 2018


Hello,

After compiling core-image-minimal, bitbake cannot create root filesystem.

...........

ERROR: core-image-minimal-1.0-r0 do_rootfs: Index creation command 
'/media/vpalacio/LINUX_DEV/morty-imxulevk/build_mx6ul_fslcx11/tmp/sysroots/x86_64-linux/usr/bin/createrepo 
--dbpath 
/media/vpalacio/LINUX_DEV/morty-imxulevk/build_mx6ul_fslcx11/tmp/work/imx6ulevk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/rpmdb/imx6ulevk 
--update -q 
/media/vpalacio/LINUX_DEV/morty-imxulevk/build_mx6ul_fslcx11/tmp/work/imx6ulevk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/rpms/imx6ulevk' 
failed with return code 1:
Previous repo file missing: 
/media/vpalacio/LINUX_DEV/morty-imxulevk/build_mx6ul_fslcx11/tmp/work/imx6ulevk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/rpms/imx6ulevk/repodata/primary.xml.gz
==> warning: tag 266 type(0x8) != implicit type(0x0)
==> warning: tag 267 type(0x7) != implicit type(0x0)
Traceback (most recent call last):
   File 
"/media/vpalacio/LINUX_DEV/morty-imxulevk/build_mx6ul_fslcx11/tmp/sysroots/x86_64-linux/usr/share/createrepo/genpkgmetadata.py", 
line 720, in <module>
     main(sys.argv[1:])
   File 
"/media/vpalacio/LINUX_DEV/morty-imxulevk/build_mx6ul_fslcx11/tmp/sysroots/x86_64-linux/usr/share/createrepo/genpkgmetadata.py", 
line 643, in main
     mdgen.doPkgMetadata(directory)
   File 
"/media/vpalacio/LINUX_DEV/morty-imxulevk/build_mx6ul_fslcx11/tmp/sysroots/x86_64-linux/usr/share/createrepo/genpkgmetadata.py", 
line 169, in doPkgMetadata
     self.writeMetadataDocs(files, directory)
   File 
"/media/vpalacio/LINUX_DEV/morty-imxulevk/build_mx6ul_fslcx11/tmp/sysroots/x86_64-linux/usr/share/createrepo/genpkgmetadata.py", 
line 255, in writeMetadataDocs
     nodes = self._getNodes(file, directory, current)
   File 
"/media/vpalacio/LINUX_DEV/morty-imxulevk/build_mx6ul_fslcx11/tmp/sysroots/x86_64-linux/usr/share/createrepo/genpkgmetadata.py", 
line 226, in _getNodes
     basenode = dumpMetadata.generateXML(self.basedoc, self.baseroot, 
self.formatns, mdobj, self.cmds['sumtype'])
   File 
"/media/vpalacio/LINUX_DEV/morty-imxulevk/build_mx6ul_fslcx11/tmp/sysroots/x86_64-linux/usr/share/createrepo/dumpMetadata.py", 
line 690, in generateXML
     (rpmObj.conflictsList(), 'conflicts'),
   File 
"/media/vpalacio/LINUX_DEV/morty-imxulevk/build_mx6ul_fslcx11/tmp/sysroots/x86_64-linux/usr/share/createrepo/dumpMetadata.py", 
line 580, in conflictsList
     ver = self._correctVersion(self.hdr[rpm.RPMTAG_CONFLICTVERSION])
AttributeError: 'module' object has no attribute 'RPMTAG_CONFLICTVERSION'
..........

As the error trace ends at a problem with 'RPMTAG_CONFLICTVERSION', I've 
switched from package_rpm to package_ipk in local.conf.

Works fine after switching package_ipk.

Somebody knows what is happening?

Regards,


-- 

Victor M. Palacio Tárrega

vpalacio at intemotechnologies.com <mailto:icarra at intemotechnologies.com>

**

*Intemo Technologies****- Idetech Europe, S.L.*

Mov.: (+34)  670 03 66 08

Tel:     (+34) 93 336 16 51

C/ Montserrat Roig, nº 23, Pol. Ind. Pedrosa

08908 Hospitalet de Llobregat

BARCELONA (SPAIN)

| SmartCards |RFID |NFC |Biometría |

Este correo electrónico puede contener información reservada 
y/o confidencial, destinada exclusivamente para el uso del destinatario. 
Si Vd no es el destinatario o la persona encargada de distribuirlo, no 
está autorizado a copiar o entregar esta comunicación a ninguna otra 
persona. Si ha recibido este correo electrónico por error, le rogamos 
nos lo notifique inmediatamente por  teléfono o por el mismo medio. Gracias.

Privilege/Confidential Information may be contained in this e-mail and 
is intended only for use of the addressee. If you are not  the 
addressee, or the person responsible for delivering it to the person 
addressed, you may not copy or deliver this to anyone else. If you 
receive this e-mail by mistake, please notify us immediately by 
telephone or e-mail. Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180425/c203bd60/attachment.html>


More information about the yocto mailing list