Skip to contentSkip to conversation

How to avoid oe complaining for .so symlink

DISCUSSION Andreas Müller 2 participants 3 messages Nov 13, 2011 – Nov 14, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I am preparing a recipe for tumbler (xfce). The package itself installs a symlink which seems required on a .so. OE QA complains

| ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
tumbler path '/work/armv7a-angstrom-linux-gnueabi/tumbler-0.1.22-r0/packages- split/tumbler/usr/lib/tumbler-1/plugins/cache/tumbler-cache-plugin.so'

I could workaround by removing symlink on do_install_append and adding it again at pkg_postinst but this seems crap.

The better method seems telling QA not to check for so-symlinks.

In insane.bbclass I find

ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch la2 pkgconfig la perms"

so I could set in recipe

ERROR_QA = "debug-deps dev-deps debug-files arch la2 pkgconfig la perms"

but this makes recipe immune to ERROR_QA in insane.bbclass. Is there a way to remove 'dev-so' from ERROR_QA?

Andreas

#1 lore raw
Quoted 17 lines · Andreas Müller

Hi,

I am preparing a recipe for tumbler (xfce). The package itself installs a symlink which seems required on a .so. OE QA complains

| ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
tumbler path '/work/armv7a-angstrom-linux-gnueabi/tumbler-0.1.22-r0/packages- split/tumbler/usr/lib/tumbler-1/plugins/cache/tumbler-cache-plugin.so'

I could workaround by removing symlink on do_install_append and adding it again at pkg_postinst but this seems crap.

The better method seems telling QA not to check for so-symlinks.

In insane.bbclass I find

Quoted 8 lines

ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch la2 pkgconfig la perms"

so I could set in recipe

ERROR_QA = "debug-deps dev-deps debug-files arch la2 pkgconfig la perms"

but this makes recipe immune to ERROR_QA in insane.bbclass. Is there a way

but this makes recipe immune to changes of ERROR_QA in insane.bbclass...

Quoted 8 lines

to remove 'dev-so' from ERROR_QA?

Andreas

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

#2 lore raw
In reply to Andreas Müller

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

Op 13-11-11 18:27, Andreas Müller schreef:

Quoted 20 lines

Hi,

I am preparing a recipe for tumbler (xfce). The package itself installs a
symlink which seems required on a .so. OE QA complains

| ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
tumbler path
'/work/armv7a-angstrom-linux-gnueabi/tumbler-0.1.22-r0/packages- split/tumbler/usr/lib/tumbler-1/plugins/cache/tumbler-cache-plugin.so'

I could workaround by removing symlink on do_install_append and adding it again at pkg_postinst but this seems crap.

The better method seems telling QA not to check for so-symlinks.

In insane.bbclass I find

ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch la2 pkgconfig la perms"

Quoted 6 lines

so I could set in recipe

ERROR_QA = "debug-deps dev-deps debug-files arch la2 pkgconfig la perms"

but this makes recipe immune to ERROR_QA in insane.bbclass. Is there a way to remove 'dev-so' from ERROR_QA?

INSANE_SKIP_${PN} = "dev-so"

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7A1rkACgkQMkyGM64RGpHI7gCgnH3LnoFE1VOrLvOm2gvWdR7s BQMAoKxo/N4PfCfaHlSFWEA3nbXreXIV
=eMjv
-----END PGP SIGNATURE-----