Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings and errors during rpmlint rpm generated by make rpm #115

Open
GoogleCodeExporter opened this issue May 26, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

1. What version of distcc are you using?  

bjcheny@bjcheny-ubuntu11-1:~/distcc.svn$ svn info
Path: .
URL: http://distcc.googlecode.com/svn/trunk
Repository Root: http://distcc.googlecode.com/svn
Repository UUID: 01de4be4-8c4a-0410-9132-4925637da917
Revision: 772
Node Kind: directory
Schedule: normal
Last Changed Author: fergus.henderson@gmail.com
Last Changed Rev: 772
Last Changed Date: 2012-05-17 01:45:38 +0800 (Thu, 17 May 2012)

2. What platform are you running on ?  What compilare are you using ?  Run 
"uname -a" and "cc --version" to see.

bjcheny@bjcheny-ubuntu11-1:~/distcc.svn$ uname -a
Linux bjcheny-ubuntu11-1 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 
UTC 2011 i686 i686 i386 GNU/Linux

bjcheny@bjcheny-ubuntu11-1:~/distcc.svn$ cc --version
cc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

3. What were you trying to do (e.g. "install distcc", "build Mozilla")?

After rpm is generated by "make rpm", I use rpmlint to check the rpm on redhat6.

4. What went wrong?  

[bjcheny@bjcheny-rh62 distcc.ubuntu]$ rpmlint rpm.spec distcc-*rpm
rpm.spec:8: E: hardcoded-library-path in %{_prefix}/lib
rpm.spec:19: W: hardcoded-packager-tag Google
rpm.spec:24: W: unversioned-explicit-provides distcc
rpm.spec:25: W: unversioned-explicit-obsoletes crosstool-distcc
rpm.spec:25: W: unversioned-explicit-obsoletes distcc-include-server
rpm.spec:34: W: setup-not-quiet
rpm.spec:38: W: configure-without-libdir-spec
rpm.spec:93: W: unversioned-explicit-provides distccd
rpm.spec:94: W: unversioned-explicit-obsoletes crosstool-distcc-server
rpm.spec:2: W: mixed-use-of-spaces-and-tabs (spaces: line 2, tab: line 1)
rpm.spec: W: invalid-url Source0: 
http://%{NAME}.googlecode.com/files/%{NAME}-%{VERSION}.tar.gz <urlopen error 
[Errno -2] Name or service not known>
distcc.i386: E: invalid-version 3.2rc1
distcc.i386: W: summary-ended-with-dot C Client side program for distributed 
C/C++ compilations.
distcc.i386: W: incoherent-version-in-changelog 3.0-1 ['3.2rc1-1', '3.2rc1-1']
distcc.i386: W: invalid-license GPL
distcc.i386: W: obsolete-not-provided crosstool-distcc
distcc.i386: W: obsolete-not-provided distcc-include-server
distcc.i386: E: useless-provides distcc
distcc.i386: W: unstripped-binary-or-object /usr/bin/lsdistcc
distcc.i386: W: unstripped-binary-or-object /usr/bin/distccmon-text
distcc.i386: W: unstripped-binary-or-object /usr/bin/distcc
distcc.i386: W: unstripped-binary-or-object 
/usr/lib/python2.7/site-packages/include_server/distcc_pump_c_extensions.so
distcc.i386: W: conffile-without-noreplace-flag /etc/distcc/hosts
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/compiler_defaults.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/macro_eval.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/include_analyzer_memoizing_node.
py 0644L /usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/parse_file_test.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/compress_files.py 0644L 
/usr/bin/python2.4
distcc.i386: W: file-not-utf8 /usr/share/doc/distcc/NEWS
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/include_server_test.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/parse_command_test.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/include_server.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/macro_eval_test.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/statistics.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/basics.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/cache_basics.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/setup.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/parse_command.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/include_analyzer_memoizing_node_
test.py 0644L /usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/c_extensions_test.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/parse_file.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/run.py 0644L /usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/include_analyzer_test.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/include_analyzer.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/mirror_path.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/basics_test.py 0644L 
/usr/bin/python2.4
distcc.i386: E: non-executable-script 
/usr/lib/python2.7/site-packages/include_server/mirror_path_test.py 0644L 
/usr/bin/python2.4
distcc-server.i386: E: invalid-version 3.2rc1
distcc-server.i386: W: summary-ended-with-dot C Server side program for 
distributed C/C++ compilations.
distcc-server.i386: W: invalid-license GPL
distcc-server.i386: W: invalid-url URL: https://code.google.com/p/distcc 
<urlopen error [Errno 104] Connection reset by peer>
distcc-server.i386: W: obsolete-not-provided crosstool-distcc-server
distcc-server.i386: W: unstripped-binary-or-object /usr/bin/distccd
distcc-server.i386: W: conffile-without-noreplace-flag /etc/init.d/distcc
distcc-server.i386: W: conffile-without-noreplace-flag /etc/default/distcc
distcc-server.i386: W: conffile-without-noreplace-flag 
/etc/distcc/commands.allow.sh
distcc-server.i386: W: conffile-without-noreplace-flag /etc/xinetd.d/distcc
distcc-server.i386: W: conffile-without-noreplace-flag /etc/distcc/clients.allow
distcc-server.i386: W: conffile-without-noreplace-flag /etc/logrotate.d/distcc
distcc-server.i386: E: executable-marked-as-config-file /etc/init.d/distcc
distcc-server.i386: E: standard-dir-owned-by-package /etc/xinetd.d
distcc-server.i386: E: non-executable-script /etc/distcc/commands.allow.sh 
0644L /bin/sh
distcc-server.i386: E: incoherent-logrotate-file /etc/logrotate.d/distcc
distcc-server.i386: W: empty-%pre
distcc-server.i386: W: dangerous-command-in-%post chown
distcc-server.i386: W: dangerous-command-in-%preun mv
distcc-server.i386: W: incoherent-subsys /etc/init.d/distcc $PROG
distcc-server.i386: W: incoherent-subsys /etc/init.d/distcc $PROG
distcc-server.i386: W: incoherent-subsys /etc/init.d/distcc $PROG
distcc-server.i386: W: incoherent-subsys /etc/init.d/distcc $PROG
distcc-server.i386: W: incoherent-init-script-name distcc ('distcc-server', 
'distcc-serverd')
2 packages and 1 specfiles checked; 31 errors, 40 warnings.

5. If you have an example of a compiler invocation that failed, quote it, in 
full 

N/A

6. What error logging do you get?  

N/A

7. If you got an error message on stderr, quote that error exactly. 

N/A

Although the rpm is generated on Ubuntu11, there is no rpmlint on Ubuntu11 to 
check the rpm generated. Thus I get to Redhat6 to run rpmlint to check the rpm 
package with rpm.spec.

If there is no patch available or nobody taking care of this, I'll be happy to 
commit a patch. Let me know your comments.

Original issue reported on code.google.com by compan...@gmail.com on 26 Jun 2012 at 12:38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant