[OE-core] debian.bbclass got broken today Was: [oe-commits] Valentin Popa : xz: updated to version 5.1.1alpha

Richard Purdie richard.purdie at linuxfoundation.org
Wed May 30 13:26:28 UTC 2012


On Wed, 2012-05-30 at 15:18 +0200, Martin Jansa wrote:
> On Wed, May 30, 2012 at 02:10:13PM +0100, Richard Purdie wrote:
> > On Wed, 2012-05-30 at 14:53 +0200, Martin Jansa wrote:
> > > On Wed, May 30, 2012 at 02:20:07PM +0200, Martin Jansa wrote:
> > > > On Wed, May 30, 2012 at 02:04:43PM +0200, Martin Jansa wrote:
> > > > > On Wed, May 30, 2012 at 11:05:49AM +0000, git at git.openembedded.org wrote:
> > > > > > Module: openembedded-core.git
> > > > > > Branch: master
> > > > > > Commit: da98266f3a228cf65f279db9810a5326c8bd5422
> > > > > > URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=da98266f3a228cf65f279db9810a5326c8bd5422
> > > > > > 
> > > > > > Author: Valentin Popa <valentin.popa at intel.com>
> > > > > > Date:   Wed May 23 14:08:58 2012 +0300
> > > > > > 
> > > > > > xz: updated to version 5.1.1alpha
> > > > > 
> > > > > this upgrade is causing liblzma package name change
> > > > > -liblzma5_5.0.3-r1_armv4te.ipk
> > > > > +liblzma_5.1.1alpha-r0_armv4t.ipk
> > > > > 
> > > > > so all packages which rdepends on liblzma should get PR bump, e.g.:
> > > > >  *libsystemd-journal0
> > > > >  *libpoppler18
> > > > >  *libsdl-image-1.2-0
> > > > >  *libpoppler-glib8
> > > > >  *systemd
> > > > >  *ethumb
> > > > >  *libtiff5
> > > > >  *epdf
> > > > > 
> > > > > Cheers,
> > > > 
> > > > Looks like whole debian.bbclass got broken by todays merge in oe-core..
> > > 
> > > looking at buildhistory
> > > http://git.shr-project.org/git/?p=buildhistory.git;a=commitdiff;h=320a9a8a80f0d412cea31a534a8022bacf6545e6#patch330
> > > 
> > > it looks like run.package_do_shlibs also doesn't work (all RDEPENDS
> > > detected from shlibs are gone), can someone confirm this behavior on 
> > > his system?
> > 
> > Yes, its from:
> > 
> > http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=5996b2b58e36864edc077326a942795ca12f48da
> > 
> > I'm still trying to figure out the best course of action to fix this...
> 
> Ah, thanks for info..
> 
> so I have reverted all 3 (to be sure) locally and now trying to find and 
> rebuild everything which was built today to get sane feed again.

Its just the commit above that is broken. I've decided to revert it as
pretty much every change made by it is buggy.

The trouble is the readlines() calls return an array, the replacement
returns one big string and hence bad things start to happen.

In the debian.bbclass case, I did prove that changing it to:

						fp = os.path.join(root, f)
						cmd = (d.getVar('BUILD_PREFIX', True) or "") + "objdump -p " + fp
						try:
							lines = []
							lines = bb.process.run(cmd)[0].split("\n")
						# Some ".so" maybe ascii text, e.g: /usr/lib64/libpthread.so,
						# ingore those errors.
						except Exception:
							sys.exc_clear()

works as intended but I didn't want to try and fix up all the different
calls.

Robert: Fix the patch, test the changes more extensively this time
please and then resubmit.

Cheers,

Richard





More information about the Openembedded-core mailing list