[FZH] rpmlint error, need support.

Devil Wang wxjeacen在gmail.com
星期一 四月 26 12:23:36 UTC 2010


*
*
On Mon, Apr 26, 2010 at 8:19 PM, Liang Suilong <liangsuilong在gmail.com>wrote:

> 1. 说你在 %description 里面有个单词打错了,不过如果你确认你这个单词没有错,你可以忽略它。rpmlint 的词库的确比较小。
>
> 2. %changlog 里面说你的版本号错了,你应该用 0.7.3-1。如果你更改了,最好把 release 里加 1,即是 0.7.3-2。
>

%changelog
* Mon Apr 26 2010 Devil Wang <wxjeacen在gmail.com> 0.7.3-1.2
- Modify SPEC for integrating deve files
* Fri Apr 16 2010 Devil Wang <wxjeacen在gmail.com> 0.7.3-1.1
- Initial Build for clish

My SPEC file was written as u mentioned, just add 1 as to 2.

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


I do think there is no need to add patch for this package.


>
> 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 mailing list
> Chinese at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/chinese
>



-- 
Thanks & Regards

Linux Developer : Devil Wang


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