Skip to contentSkip to conversation

libmikmod_3.2.0-beta2, build error

DISCUSSION mail mail 3 participants 4 messages Oct 2, 2009 – Oct 14, 2009

lore
Share & tools
lore

mail mail

author
#0 lore raw

Log file here:
NOTE: Running task 1371 of 2265 (ID: 1561,
/home/derek/mini2440/oe/openembedded/recipes/libmikmod/
libmikmod_3.2.0-beta2.bb, do_package)
ERROR: QA Issue with libmikmod: No GNU_HASH in the elf binary:
'/home/derek/mini2440/oe/tmp/work/armv4t-angstrom-linux-gnueabi/libmikmod-3.2.0-beta2-r0/install/libmikmod/usr/lib/libmikmod.so.3.0.0'
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Error in executing:
/home/derek/mini2440/oe/openembedded/recipes/libmikmod/
libmikmod_3.2.0-beta2.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
/home/derek/mini2440/oe/openembedded/recipes/libmikmod/
libmikmod_3.2.0-beta2.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
/home/derek/mini2440/oe/openembedded/recipes/libmikmod/
libmikmod_3.2.0-beta2.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
/home/derek/mini2440/oe/openembedded/recipes/libmikmod/
libmikmod_3.2.0-beta2.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Build of /home/derek/mini2440/oe/openembedded/recipes/libmikmod/
libmikmod_3.2.0-beta2.bb do_package failed

#1 lore raw
Quoted 8 lines · On Friday 02 October 2009 17:40:53 mail mail wrote:

Log file here:
NOTE: Running task 1371 of 2265 (ID: 1561, /home/derek/mini2440/oe/openembedded/recipes/libmikmod/ libmikmod_3.2.0-beta2.bb, do_package)
ERROR: QA Issue with libmikmod: No GNU_HASH in the elf binary:
'/home/derek/mini2440/oe/tmp/work/armv4t-angstrom-linux-gnueabi/libmikmod-3 .2.0-beta2-r0/install/libmikmod/usr/lib/libmikmod.so.3.0.0' ERROR: QA run
found fatal errors. Please consider fixing them.

Did you consider doing the above? The libmikmod buildsystem is ignoring the OE LDFLAGS...

z.

#2 lore raw

Should be as easy as the following git diff. Correct me if I am wrong.

Regards,
Michael

(quoted diff) +0 -0

b/recipes/libmikmod/libmikmod_3.2.0-beta2.bb
index 07e3af9..fd23568 100644

recipes/libmikmod/libmikmod_3.2.0-beta2.bb +4 -0
@@ -3,8 +3,12 @@ SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "LGPL"
 
+PR="r1"
+
 DEFAULT_PREFERENCE = "-1"
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 SRC_URI = "\
   http://mikmod.raphnet.net/files/libmikmod-${PV}.tar.gz \
   file://m4.patch;patch=1 \

Am Samstag, den 03.10.2009, 12:14 +0200 schrieb Holger Hans Peter Freyther:

Quoted 15 lines · On Friday 02 October 2009 17:40:53 mail mail wrote:
Quoted 8 lines

Log file here:
NOTE: Running task 1371 of 2265 (ID: 1561, /home/derek/mini2440/oe/openembedded/recipes/libmikmod/ libmikmod_3.2.0-beta2.bb, do_package)
ERROR: QA Issue with libmikmod: No GNU_HASH in the elf binary:
'/home/derek/mini2440/oe/tmp/work/armv4t-angstrom-linux-gnueabi/libmikmod-3 .2.0-beta2-r0/install/libmikmod/usr/lib/libmikmod.so.3.0.0' ERROR: QA run
found fatal errors. Please consider fixing them.

Did you consider doing the above? The libmikmod buildsystem is ignoring the OE LDFLAGS...

z.

#3 lore raw
Quoted 13 lines · On Sunday 04 October 2009 19:22:51 Michael Lippautz wrote:

Should be as easy as the following git diff. Correct me if I am wrong.

Regards,
Michael

recipes/libmikmod/libmikmod_3.2.0-beta2.bb +0 -0
index 07e3af9..fd23568 100644
@@ -3,8 +3,12 @@ SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "LGPL"

recipes/libmikmod/libmikmod_3.2.0-beta2.bb SECTION = "libs" · line 14

Quoted 10 lines
recipes/libmikmod/libmikmod_3.2.0-beta2.bb +4 -0
 
+PR="r1"
+
 DEFAULT_PREFERENCE = "-1"
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 SRC_URI = "\
   http://mikmod.raphnet.net/files/libmikmod-${PV}.tar.gz \
   file://m4.patch;patch=1 \

Could you come up with a patch along the lines of the ldflags.patch applied in the other libmidmod directory?

holger