Skip to contentSkip to conversation

org.oe.dev autotools.bbclass: from OM. Needed as commit 85a5e185b6a21e42e4243ad17befe40373025e0e alone will break uclibc/gettext builds.

oe-commits Graeme Gregory 2 participants 3 messages May 12, 2008 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 2 lines · likewise commit

autotools.bbclass: from OM. Needed as commit 85a5e185b6a21e42e4243ad17befe40373025e0e alone will break uclibc/gettext builds.

I was specifically asked not to merge this from OM to OE until more investigation was carried out.

Review

Quoted 3 lines
(quoted diff) +1 -1
-		cp -fpPR "$from"/* "$to"
+		cp -fpPR -t "$to" "$from"/*

Isnt this a reverse diff of a previous change for no real reason?

Review

Quoted 4 lines
(quoted diff) +2 -2
-				echo "oe_libinstall -C ${S} -so $(basename $i .la) ${STAGING_LIBDIR}/${dir}"
-				oe_libinstall -C ${S} -so $(basename $i .la) ${STAGING_LIBDIR}/${dir}
+				echo "oe_libinstall -C ${STAGE_TEMP}/${libdir}/${dir} -so $(basename $i .la) ${STAGING_LIBDIR}/${dir}"
+				oe_libinstall -C ${STAGE_TEMP}/${libdir}/${dir} -so $(basename $i .la) ${STAGING_LIBDIR}/${dir}

And this section was under discussion with Holger, RP and myself.

I dont think this commit should have gone in without discussion.

Graeme

#2 lore raw
Quoted 10 lines · Graeme Gregory
Quoted 2 lines · likewise commit

autotools.bbclass: from OM. Needed as commit 85a5e185b6a21e42e4243ad17befe40373025e0e alone will break uclibc/gettext builds.

I was specifically asked not to merge this from OM to OE until more investigation was carried out.

Review

Quoted 3 lines
(quoted diff) +1 -1
-		cp -fpPR "$from"/* "$to"
+		cp -fpPR -t "$to" "$from"/*

Isnt this a reverse diff of a previous change for no real reason?

Yes, that reverts a fix that was made and is unrelated to the problem you're trying to fix :(

Quoted 8 lines

Review

Quoted 4 lines
(quoted diff) +2 -2
-				echo "oe_libinstall -C ${S} -so $(basename $i .la) ${STAGING_LIBDIR}/${dir}"
-				oe_libinstall -C ${S} -so $(basename $i .la) ${STAGING_LIBDIR}/${dir}
+				echo "oe_libinstall -C ${STAGE_TEMP}/${libdir}/${dir} -so $(basename $i .la) ${STAGING_LIBDIR}/${dir}"
+				oe_libinstall -C ${STAGE_TEMP}/${libdir}/${dir} -so $(basename $i .la) ${STAGING_LIBDIR}/${dir}

And this section was under discussion with Holger, RP and myself.

I dont think this commit should have gone in without discussion.

and whilst this "fixes" certain issues, it will cause all kinds of other subtle changes. What we don't know is whether that will result in breakage or not. It hasn't for OpenMoko but that doesn't mean its the right thing to do. I doubt you've taken the time to understand what this does and what the potential implications are :(.

I think the proper fix will be to stop using oe_libinstall entirely here and instead do something like:

http://www.rpsys.net/openzaurus/temp/autotools.patch

This patch is as yet untested but I'll try and give it some testing...

Cheers,

Richard