Skip to contentSkip to conversation

bzip2-full-native_1.0.5.bb problem and possible fix

DISCUSSION GNUtoo 3 participants 4 messages Feb 16, 2009

lore
Share & tools
lore

GNUtoo

author
#0 lore raw

hello, what's the reason of:

Quoted 1 line

cp ${STAGING_DATADIR_NATIVE}/automake*/install-sh ${S}/

in bzip2-full-native_1.0.5.bb
I've:

Quoted 1 line

| cp: will not overwrite just-created

/home/embedded/oetmp_openmoko/work/i686-linux/bzip2-full-native-1.0.5-r0/bzip2-1.0.5/install-sh' with /home/embedded/oetmp_openmoko/staging/i686-linux/usr/share/automake-1.9/install-sh'

if I remove :
cp ${STAGING_DATADIR_NATIVE}/automake*/install-sh ${S}/ It works.

should I commit the change or was this line here for a reason?

by the way here's my setup:
*om-gta02 machine
*openmoko distro

(I've also a bug device to test(armv6) (without a working LCD)) Denis.

#1 lore raw

GNUtoo:

Quoted 7 lines

I've:

Quoted 1 line

| cp: will not overwrite just-created

/home/embedded/oetmp_openmoko/work/i686-linux/bzip2-full-native-1.0.5-r0 /bzip2-1.0.5/install-sh' with /home/embedded/oetmp_openmoko/staging/i686-linux/usr/share/automake-1.9/ install-sh'

Most probably you've worked with automake 1.9, then switched to automake 1.10 (or reverse way) and got two automakes in staging directory, then this:

Quoted 1 line

cp ${STAGING_DATADIR_NATIVE}/automake*/install-sh ${S}/

which should expand as (for example)

cp ${STAGING_DATADIR_NATIVE}/automake-1.10/install-sh ${S}/

expands as

cp ${STAGING_DATADIR_NATIVE}/automake-1.10/install-sh \
	${STAGING_DATADIR_NATIVE}/automake-1.9/install-sh ${S}/

Boom.

Had this on automake switch too, not sure how to fix it better, but it's not a problem when you only use one automake (and you can clean up stale version manually if you switched from one version to another).

author
#2 lore raw
Quoted 24 lines

GNUtoo:

Quoted 7 lines

I've:

Quoted 1 line

| cp: will not overwrite just-created

/home/embedded/oetmp_openmoko/work/i686-linux/bzip2-full-native-1.0.5-r0 /bzip2-1.0.5/install-sh' with /home/embedded/oetmp_openmoko/staging/i686-linux/usr/share/automake-1.9/ install-sh'

Most probably you've worked with automake 1.9, then switched to automake 1.10 (or reverse way) and got two automakes in staging directory, then this:

Quoted 1 line

cp ${STAGING_DATADIR_NATIVE}/automake*/install-sh ${S}/

which should expand as (for example)

cp ${STAGING_DATADIR_NATIVE}/automake-1.10/install-sh ${S}/

expands as

cp ${STAGING_DATADIR_NATIVE}/automake-1.10/install-sh \
	${STAGING_DATADIR_NATIVE}/automake-1.9/install-sh ${S}/
Quoted 6 lines

Boom.

Had this on automake switch too, not sure how to fix it better, but it's not
a problem when you only use one automake (and you can clean up stale version manually if you switched from one version to another).

ah ok thanks a lot.
Denis.

#3 lore raw
In reply to Roman I Khimov

Am Mon, 16 Feb 2009 16:59:09 +0300 schrieb Roman I Khimov:

Quoted 5 lines

GNUtoo:

Quoted 4 lines

I've:

Quoted 1 line

| cp: will not overwrite just-created

`/home/embedded/oetmp_openmoko/work/i686-linux/bzip2-full-native-1.0.5-

r0

Quoted 2 lines
Quoted 2 lines

/bzip2-1.0.5/install-sh' with `/home/embedded/oetmp_openmoko/staging/i686-linux/usr/share/

automake-1.9/

Quoted 14 lines
Quoted 1 line

install-sh'

Most probably you've worked with automake 1.9, then switched to automake 1.10 (or reverse way) and got two automakes in staging directory, then this:

Quoted 1 line

cp ${STAGING_DATADIR_NATIVE}/automake*/install-sh ${S}/

which should expand as (for example)

cp ${STAGING_DATADIR_NATIVE}/automake-1.10/install-sh ${S}/

expands as

Quoted 8 lines
cp ${STAGING_DATADIR_NATIVE}/automake-1.10/install-sh \
	${STAGING_DATADIR_NATIVE}/automake-1.9/install-sh ${S}/

Boom.

Had this on automake switch too, not sure how to fix it better, but it's not a problem when you only use one automake (and you can clean up stale version manually if you switched from one version to another).

http://bugs.openembedded.net/show_bug.cgi?id=4911

It's the issue described there, right? I had this problem once but it mysteriously went away. Probably after wiping TMPDIR but "bitbake bzip2 - c clean" would have been enough?

Vitus

Signature · 1 line
Vitus Jensen, Hannover, Germany, Earth, Milky Way, Universe (current)