[FZH] rpmlint error, need support.

Liang Suilong liangsuilong在gmail.com
星期一 四月 26 12:19:49 UTC 2010


1. 说你在 %description 里面有个单词打错了,不过如果你确认你这个单词没有错,你可以忽略它。rpmlint 的词库的确比较小。

2. %changlog 里面说你的版本号错了,你应该用 0.7.3-1。如果你更改了,最好把 release 里加 1,即是 0.7.3-2。

3 和 4 最后的那两个应该是和源代码有关系,可能需要 patch,这个看不懂。

rpmlint 里面的解释是这样的。

shared-lib-calls-exit:
This library package calls exit() or _exit(), probably in a non-fork()
context. Doing so from a library is strongly discouraged - when a library
function calls exit(), it prevents the calling program from handling the
error, reporting it to the user, closing files properly, and cleaning up any
state that the program has. It is preferred for the library to return an
actual error code and let the calling program decide how to handle the
situation.

On Mon, Apr 26, 2010 at 8:07 PM, Devil Wang <wxjeacen在gmail.com> wrote:

> *-BASH-4.0.35$ rpmlint /root/rpmbuild/RPMS/i686/clish-0.7.3-1.fc13.i686.rpm
> clish.i686: W: spelling-error %description -l en_US Arbitary -> Arbitrary,
> Arbitrarily, Arbitrager
> clish.i686: W: incoherent-version-in-changelog 0.7.3-1.2 ['0.7.3-1.fc13',
> '0.7.3-1']
> clish.i686: W: shared-lib-calls-exit /usr/lib/libclish.so.0.0.0
> exit在GLIBC_2.0
> clish.i686: W: shared-lib-calls-exit /usr/lib/liblub.so.0.0.0
> exit在GLIBC_2.0
> 1 packages and 0 specfiles checked; 0 errors, 4 warnings.
>
> as u can see the mentioned error logs.
> "shared-lib-call-exit " how can i fix it?
>
> Your help will be appreciated.
> *
> --
> Thanks & Regards
>
> Linux Developer : Devil Wang
> _______________________________________________
> Chinese mailing list
> Chinese at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/chinese
>



-- 
Fedora && Debian User, former Ubuntu User
My Page: http://www.liangsuilong.info
Fedora Project Contributor -- Packager && Ambassador
https://fedoraproject.org/wiki/User:Liangsuilong


关于邮件列表 Chinese 的更多信息