Skip to contentSkip to conversation

Fixing QA Errors?

DISCUSSION Mark Gollahon 5 participants 6 messages Mar 4, 2007 – Mar 12, 2007

lore
Share & tools
lore
#0 lore raw

A question for the insane.bbclass developers - how do I go about fixing these errors? Do we have any generalized information about what they mean (I can't find any on the wiki or via google...)?

ERROR: QA Issue: non -dev package contains symlink .so: libqtaux2 path '/work/armv5te-angstrom-linux-gnueabi/libqtaux2-1.2.2-r0/install/libqtaux2/opt/QtPalmtop/lib/libqtaux2.so'
ERROR: QA Issue: non debug package contains .debug directory: libqtaux2 path /work/armv5te-angstrom-linux-gnueabi/libqtaux2-1.2.2-r0/install/libqtaux2/opt/QtPalmtop/lib/.debug/libqtaux2.so.1.0.0

Regards,
-Mark Gollahon

===========================================================

OE Build Configuration:

BB_VERSION     = "1.6.6"
OE_REVISION    = "712cbf18ae0aff9705da999fd722fcd489e821dd"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "spitz"
DISTRO         = "angstrom"

DISTRO_VERSION = "test-20070304"
TARGET_FPU = "soft"

NOTE: preferred version 2.5 of glibc not available
NOTE: package libqtaux2-1.2.2: started
NOTE: package libqtaux2-1.2.2-r0: task do_fetch: started
NOTE: package libqtaux2-1.2.2-r0: task do_fetch: completed
NOTE: package libqtaux2-1.2.2-r0: task do_unpack: started
NOTE: Unpacking /var/tmp/OpenEmbedded/sources/opie.libqtaux_anoncvs.handhelds.org_v1_2_2_.tar.gz to /var/tmp/OpenEmbedded/Spitz/tmp/work/armv5te-angstrom-linux-gnueabi/libqtaux2-1.2.2-r0/
NOTE: package libqtaux2-1.2.2-r0: task do_unpack: completed
NOTE: package libqtaux2-1.2.2-r0: task do_patch: started
NOTE: package libqtaux2-1.2.2-r0: task do_patch: completed
NOTE: package libqtaux2-1.2.2-r0: task do_configure: started
NOTE: package libqtaux2-1.2.2-r0: task do_configure: completed
NOTE: package libqtaux2-1.2.2-r0: task do_qa_configure: started
NOTE: Checking sanity of the config.log file
NOTE: package libqtaux2-1.2.2-r0: task do_qa_configure: completed
NOTE: package libqtaux2-1.2.2-r0: task do_compile: started
NOTE: package libqtaux2-1.2.2-r0: task do_compile: completed
NOTE: package libqtaux2-1.2.2-r0: task do_install: started
NOTE: package libqtaux2-1.2.2-r0: task do_install: completed
NOTE: package libqtaux2-1.2.2-r0: task do_opie_install: started
NOTE: Section = Base or Libs. Target won't be installed automatically.
NOTE: package libqtaux2-1.2.2-r0: task do_opie_install: completed
NOTE: package libqtaux2-1.2.2-r0: task do_package: started
NOTE: DO PACKAGE QA
NOTE: Checking Package: libqtaux2-dbg
NOTE: Checking Package: libqtaux2
ERROR: QA Issue: non -dev package contains symlink .so: libqtaux2 path '/work/armv5te-angstrom-linux-gnueabi/libqtaux2-1.2.2-r0/install/libqtaux2/opt/QtPalmtop/lib/libqtaux2.so'
ERROR: QA Issue: non debug package contains .debug directory: libqtaux2 path /work/armv5te-angstrom-linux-gnueabi/libqtaux2-1.2.2-r0/install/libqtaux2/opt/QtPalmtop/lib/.debug/libqtaux2.so.1.0.0
NOTE: Checking Package: libqtaux2-doc
NOTE: Checking Package: libqtaux2-dev
NOTE: Checking Package: libqtaux2-locale
ERROR: QA ran found fatal errors. Please consider fixing them
ERROR: Error in executing: /var/tmp/OpenEmbedded/org.openembedded.dev/packages/libqtaux/libqtaux2_1.2.2.bb
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing: /var/tmp/OpenEmbedded/org.openembedded.dev/packages/libqtaux/libqtaux2_1.2.2.bb
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing: /var/tmp/OpenEmbedded/org.openembedded.dev/packages/libqtaux/libqtaux2_1.2.2.bb
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing: /var/tmp/OpenEmbedded/org.openembedded.dev/packages/libqtaux/libqtaux2_1.2.2.bb
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Gollahon schreef:

Quoted 1 line

A question for the insane.bbclass developers - how do I go about fixing these errors? Do we have any generalized information about what they mean (I can't find any on the wiki or via google...)?

There's not one definitive doc I can point you too. I can however show you an example on how to solve the errors you are seeing.

Quoted 1 line

ERROR: QA Issue: non -dev package contains symlink .so: libqtaux2 path '/work/armv5te-angstrom-linux-gnueabi/libqtaux2-1.2.2-r0/install/libqtaux2/opt/QtPalmtop/lib/libqtaux2.so'

FILES_${PN}-dev += "/opt/QtPalmtop/lib/*.so"

Quoted 1 line

ERROR: QA Issue: non debug package contains .debug directory: libqtaux2 path /work/armv5te-angstrom-linux-gnueabi/libqtaux2-1.2.2-r0/install/libqtaux2/opt/QtPalmtop/lib/.debug/libqtaux2.so.1.0.0

FILES_${PN}-dbg += "/opt/QtPalmtop/lib/.debug"

I'm not sure if the first FILES statement is correct, since I don't know about qtopia details, but the second one is correct.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF6oYpMkyGM64RGpERAk03AJ46ZBPW0OOD9lRe0R0G0t1TF5I8JgCgpL3D tbiDHrz0k37RqfzXAAU1csg=
=OzEM
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 11 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Gollahon schreef:

Quoted 1 line

A question for the insane.bbclass developers - how do I go about fixing these errors? Do we have any generalized information about what they mean (I can't find any on the wiki or via google...)?

There's not one definitive doc I can point you too. I can however show you an example on how to solve the errors you are seeing.

Quoted 1 line

ERROR: QA Issue: non -dev package contains symlink .so: libqtaux2 path '/work/armv5te-angstrom-linux-gnueabi/libqtaux2-1.2.2-r0/install/libqtaux2/opt/QtPalmtop/lib/libqtaux2.so'

Quoted 8 lines

FILES_${PN}-dev += "/opt/QtPalmtop/lib/*.so"

Quoted 1 line

ERROR: QA Issue: non debug package contains .debug directory: libqtaux2 path /work/armv5te-angstrom-linux-gnueabi/libqtaux2-1.2.2-r0/install/libqtaux2/opt/QtPalmtop/lib/.debug/libqtaux2.so.1.0.0

FILES_${PN}-dbg += "/opt/QtPalmtop/lib/.debug"

I'm not sure if the first FILES statement is correct, since I don't know about qtopia details, but the second one is correct.

Could we have FILES_${PN}-dbg default to something that works like a ".*/\.debug/.*" regexp? That way we wouldn't have to special-case every package that has binaries in non-standard locations...

regards
Philipp

#3 lore raw
In reply to Koen Kooi

Koen:

I've tried several different combinations for the FILES_ stuff, but I am still getting both errors. Since the errors show up when QA checking the libqtaux2 package (as opposed to checking the *-dev, *-doc, etc., packages), could this be more of a problem of the files not getting installed to the right place, or is that what the FILES_* spec is supposed to do?

Regards,
-Mark Gollahon

Koen Kooi wrote ..

Quoted 41 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Gollahon schreef:

Quoted 1 line

A question for the insane.bbclass developers - how do I go about fixing

these errors? Do we have any generalized information about what they mean (I can't find any on the wiki or via google...)?

There's not one definitive doc I can point you too. I can however show you an example on
how to solve the errors you are seeing.

Quoted 1 line

ERROR: QA Issue: non -dev package contains symlink .so: libqtaux2 path

'/work/armv5te-angstrom-linux-gnueabi/libqtaux2-1.2.2-r0/install/libqtaux2/opt/QtPalmtop/lib/libqtaux2.so'

FILES_${PN}-dev += "/opt/QtPalmtop/lib/*.so"

Quoted 1 line

ERROR: QA Issue: non debug package contains .debug directory: libqtaux2

path /work/armv5te-angstrom-linux-gnueabi/libqtaux2-1.2.2-r0/install/libqtaux2/opt/QtPalmtop/lib/.debug/libqtaux2.so.1.0.0

FILES_${PN}-dbg += "/opt/QtPalmtop/lib/.debug"

I'm not sure if the first FILES statement is correct, since I don't know about qtopia
details, but the second one is correct.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF6oYpMkyGM64RGpERAk03AJ46ZBPW0OOD9lRe0R0G0t1TF5I8JgCgpL3D tbiDHrz0k37RqfzXAAU1csg=
=OzEM
-----END PGP SIGNATURE-----

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 8 lines · On Monday 05 March 2007 00:02:41 Mark Gollahon wrote:

Koen:

I've tried several different combinations for the FILES_ stuff, but I am still getting both errors. Since the errors show up when QA checking the libqtaux2 package (as opposed to checking the *-dev, *-doc, etc., packages), could this be more of a problem of the files not getting installed to the right place, or is that what the FILES_* spec is supposed to do?

Try putting thos lines *before* the others.
This worked for me on librsvg.

Howewer is it planned to fix all the qa issues on the repository or have we to open a bug for every qa related question?

Niko

#5 lore raw

Hello Nicola,

Quoted 10 lines · you
Quoted 8 lines · On Monday 05 March 2007 00:02:41 Mark Gollahon wrote:

Koen:

I've tried several different combinations for the FILES_ stuff, but I am still getting both errors. Since the errors show up when QA checking the libqtaux2 package (as opposed to checking the *-dev, *-doc, etc., packages), could this be more of a problem of the files not getting installed to the right place, or is that what the FILES_* spec is supposed to do?

Quoted 5 lines

Try putting thos lines *before* the others.
This worked for me on librsvg.

Howewer is it planned to fix all the qa issues on the repository or have we to open a bug for every qa related question?

Open bug, attach patch. Feel free to open one bug for fix to a bunch
of recipes ;-)

Quoted 1 line

Niko

Signature · 2 lines
Best regards,
 Paul                            mailto:[email protected]