[opensuse-packaging] need help with bugzilla 3.4.5 .spec file
Hello, I am trying to compile the bugzilla 3.4.5x series with a spec file saw from here and adapted a copy of it The last compile attempt I got shows these errors. Processing files: bugzilla-3.4.5-30.1.noarch warning: File listed twice: /etc/apache2/conf.d/bugzilla.conf warning: File listed twice: /srv/bugzilla/contrib/bugzilla-submit/bugzilla-submit.xml warning: File listed twice: /srv/bugzilla/contrib/cmdline/bugslink Finding Provides: /usr/lib/rpm/find-provides bugzilla Finding Requires: /usr/lib/rpm/find-requires bugzilla Finding Supplements: /usr/lib/rpm/find-supplements bugzilla Provides: perl(Bugzilla) perl(Bugzilla::Attachment) perl(Bugzilla::Attachment::PatchReader) perl(Bugzilla::Auth) perl(Bugzilla::Auth::Login) perl(Bugzilla::Auth::Login::CGI) perl(Bugzilla::Auth::Login::Cookie) perl(Bugzilla::Auth::Login::Env) perl(Bugzilla::Auth::Login::Stack) perl(Bugzilla::Auth::Persist::Cookie) perl(Bugzilla::Auth::Verify) perl(Bugzilla::Auth::Verify::DB) perl(Bugzilla::Auth::Verify::LDAP) perl(Bugzilla::Auth::Verify::RADIUS) perl(Bugzilla::Auth::Verify::Stack) perl(Bugzilla::Bug) perl(Bugzilla::BugMail) perl(Bugzilla::CGI) perl(Bugzilla::Chart) perl(Bugzilla::Classification) perl(Bugzilla::Component) perl(Bugzilla::Config) perl(Bugzilla::Config::Admin) perl(Bugzilla::Config::Attachment) perl(Bugzilla::Config::Auth) perl(Bugzilla::Config::BugChange) perl(Bugzilla::Config::BugFields) perl(Bugzilla::Config::BugMove) perl(Bugzilla::Config::Common) perl(Bugzilla::Config::Core) perl(Bugzilla::Config::DependencyGraph) perl(Bugzilla::Config::GroupSecurity) perl(Bugzilla::Config::LDAP) perl(Bugzilla::Config::MTA) perl(Bugzilla::Config::PatchViewer) perl(Bugzilla::Config::Query) perl(Bugzilla::Config::RADIUS) perl(Bugzilla::Config::ShadowDB) perl(Bugzilla::Config::UserMatch) perl(Bugzilla::Constants) perl(Bugzilla::DB) perl(Bugzilla::DB::Mysql) perl(Bugzilla::DB::Oracle) perl(Bugzilla::DB::Oracle::st) perl(Bugzilla::DB::Pg) perl(Bugzilla::DB::Schema) perl(Bugzilla::DB::Schema::Mysql) perl(Bugzilla::DB::Schema::Oracle) perl(Bugzilla::DB::Schema::Pg) perl(Bugzilla::Error) perl(Bugzilla::Field) perl(Bugzilla::Field::Choice) perl(Bugzilla::Flag) perl(Bugzilla::FlagType) perl(Bugzilla::Group) perl(Bugzilla::Hook) perl(Bugzilla::Install) perl(Bugzilla::Install::CPAN) perl(Bugzilla::Install::DB) perl(Bugzilla::Install::Filesystem) perl(Bugzilla::Install::Localconfig) perl(Bugzilla::Install::Requirements) perl(Bugzilla::Install::Util) perl(Bugzilla::Job::Mailer) perl(Bugzilla::JobQueue) perl(Bugzilla::JobQueue::Runner) perl(Bugzilla::Keyword) perl(Bugzilla::Mailer) perl(Bugzilla::Milestone) perl(Bugzilla::Object) perl(Bugzilla::Product) perl(Bugzilla::Search) perl(Bugzilla::Search::Quicksearch) perl(Bugzilla::Search::Saved) perl(Bugzilla::Series) perl(Bugzilla::Status) perl(Bugzilla::Template) perl(Bugzilla::Template::Plugin::Bugzilla) perl(Bugzilla::Template::Plugin::Hook) perl(Bugzilla::Template::Plugin::User) perl(Bugzilla::Token) perl(Bugzilla::Update) perl(Bugzilla::User) perl(Bugzilla::User::Setting) perl(Bugzilla::User::Setting::Lang) perl(Bugzilla::User::Setting::Skin) perl(Bugzilla::User::Setting::Timezone) perl(Bugzilla::Util) perl(Bugzilla::Version) perl(Bugzilla::WebService) perl(Bugzilla::WebService::Bug) perl(Bugzilla::WebService::Bugzilla) perl(Bugzilla::WebService::Constants) perl(Bugzilla::WebService::Product) perl(Bugzilla::WebService::Server) perl(Bugzilla::WebService::Server::XMLRPC) perl(Bugzilla::WebService::User) perl(Bugzilla::WebService::Util) perl(Bugzilla::XMLRPC::Deserializer) perl(Bugzilla::XMLRPC::Serializer) perl(Pod::Simple::HTML::Bugzilla) perl(Pod::Simple::HTMLBatch::Bugzilla) perl(Support::Files) perl(Support::Systemexec) perl(Support::Templates) perl(extensions::example::lib::AuthLogin) perl(extensions::example::lib::AuthVerify) perl(extensions::example::lib::ConfigExample) perl(extensions::example::lib::WSExample) Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: /bin/bash /bin/sh /usr/bin/env /usr/bin/perl /usr/local/bin/python /usr/local/bin/ruby Checking for unpackaged file(s): /usr/lib/rpm/check-files /usr/src/packages/BUILDROOT/bugzilla-3.4.5-30.1.x86_64 Wrote: /usr/src/packages/SRPMS/bugzilla-3.4.5-30.1.src.rpm Wrote: /usr/src/packages/RPMS/noarch/bugzilla-3.4.5-30.1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LsyoqA + umask 022 + cd /usr/src/packages/BUILD + cd bugzilla-3.4.5 + rm -rf /usr/src/packages/BUILDROOT/bugzilla-3.4.5-30.1.x86_64 + exit 0 ... checking for files with abuild user/group ... running 00-check-install-rpms ... installing all built rpms Preparing packages for installation... bugzilla-3.4.5-30.1 ... running 01-check-debuginfo ... testing for empty debuginfo packages ... running 02-check-gcc-output ... testing for serious compiler warnings (using /usr/lib/build/checks-data/check_gcc_output) (using //.build.log) ... running 03-check-binary-kernel-log ... running 04-check-filelist ... checking filelist ... running 05-check-invalid-requires "/usr/local/bin/python" is not allowed as Requires. "/usr/local/bin/ruby" is not allowed as Requires. mount: / is busy System halted. 1. Any ideas what is causing these errors "/usr/local/bin/python" is not allowed as Requires. "/usr/local/bin/ruby" is not allowed as Requires. Specfile -> https://build.opensuse.org/package/view_file?file=bugzilla.spec&package=bugzillatest&project=home%3Adoiggl Last log -> https://build.opensuse.org/package/view_file?file=bugzilla.spec&package=bugzillatest&project=home%3Adoiggl Project -> https://build.opensuse.org/package/show?package=bugzillatest&project=home%3Adoiggl Any help appreciated. Thanks Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Dne 23.2.2010 14:08, doiggl@velocitynet.com.au napsal(a):
Hello, I am trying to compile the bugzilla 3.4.5x series with a spec file saw from here and adapted a copy of it
1. Any ideas what is causing these errors "/usr/local/bin/python" is not allowed as Requires. "/usr/local/bin/ruby" is not allowed as Requires.
This seems to come from automated requires scanner. See:
Finding Provides: /usr/lib/rpm/find-provides bugzilla Finding Requires: /usr/lib/rpm/find-requires bugzilla Finding Supplements: /usr/lib/rpm/find-supplements bugzilla (...) Requires: /bin/bash /bin/sh /usr/bin/env /usr/bin/perl /usr/local/bin/python /usr/local/bin/ruby
Those look very much like shebang commands extracted from executable scripts. You'll have to patch the files to not use /usr/local and "/usr/bin/env something". hope this helps m. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
doiggl@velocitynet.com.au
-
Jan Matejek