You are not logged in.
Trying to install google-talkplugin from https://aur.archlinux.org/packages/google-talkplugin/
During the installation, I check package with namcap and get following output:
google-talkplugin E: Insecure RPATH '/opt/google/talkplugin/lib' in file ('opt/google/talkplugin/libnpgtpo3dautoplugin.so')
google-talkplugin E: ELF file ('opt/google/talkplugin/libnpo1d.so') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/libnpgtpo3dautoplugin.so') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/libnpgoogletalk.so') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/libgoogletalkremoting.so') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/GoogleTalkPlugin') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/lib/libCgGL.so') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/lib/libCg.so') outside of a valid path.
google-talkplugin W: Referenced library 'libCgGL.so' is an uninstalled dependency
google-talkplugin W: Referenced library 'libCg.so' is an uninstalled dependency
google-talkplugin E: Missing custom license directory (usr/share/licenses/google-talkplugin)
google-talkplugin E: Dependency alsa-lib detected and not included (libraries ['usr/lib/libasound.so.2'] needed in files ['opt/google/talkplugin/GoogleTalkPlugin'])
google-talkplugin W: Dependency included and not needed ('libpng12')
google-talkplugin W: Dependency libgl included but already satisfied
google-talkplugin W: Dependency included and not needed ('lsb-release')
Should I just ignore these errors and warnings, or do something to fix these things?
Thanks in advance for any help you are able to provide.
Last edited by piaodan (2013-04-07 06:38:26)
Offline
If you're on a single-user system, the rpath isn't really that big of a deal. You can strip it with chrpath if you really want to.
Offline
google-talkplugin E: ELF file ('opt/google/talkplugin/libnpo1d.so') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/libnpgtpo3dautoplugin.so') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/libnpgoogletalk.so') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/libgoogletalkremoting.so') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/GoogleTalkPlugin') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/lib/libCgGL.so') outside of a valid path.
google-talkplugin E: ELF file ('opt/google/talkplugin/lib/libCg.so') outside of a valid path.
google-talkplugin W: Referenced library 'libCgGL.so' is an uninstalled dependency
google-talkplugin W: Referenced library 'libCg.so' is an uninstalled dependency
these errors are due to the installation in opt/google/talkplugin , should not be a problem .
google-talkplugin E: Missing custom license directory (usr/share/licenses/google-talkplugin)
This is a problem.
The google-talkplugin PKGBUILD has license=('custom:google') and in those cases it's MANDATORY to install the license in the correct location.
google-talkplugin E: Dependency alsa-lib detected and not included (libraries ['usr/lib/libasound.so.2'] needed in files ['opt/google/talkplugin
/GoogleTalkPlugin'])
namcap is 99.9% accurate in these things, alsa-lib should be added.
(it also makes sense that a talkplugin depends on audio being present).
The remaining 3 messages should be looked at by the maintainer, there may be good reasons for including those dependencies.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
google-talkplugin E: Missing custom license directory (usr/share/licenses/google-talkplugin)
This is a problem.
The google-talkplugin PKGBUILD has license=('custom:google') and in those cases it's MANDATORY to install the license in the correct location.
what's custom license directory?
where is the correct location for google license?
Offline
Look in /usr/share/licenses/ on your system.
Licenses used by many packages (GPL, LGPL, etc) are put in a subfolder of /usr/share/licenses/common/ .
For packages using those licenses, putting them in the license array in the PKGBUILD is enough.
If a package is released under a non-common license, we use custom in license array and have the PKGBUILD copy the licenses to
the folder /usr/share/licenses/$pkgname/ .
If we omit the license, any use of the package violates the rights of the owner and in theory we could be sued for that.
The wiki gives a more formal description here : Arch_Packaging_Standards#Licenses
for the googletalkplugin, the license needs to be present in /usr/share/licenses/googletalkplugin after installation.
This is usually done somewhere in the package() section of the PKGBUILD by an install command as mentioned in the wiki.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline