I continue to have build loops (not actual loops) I can't explain.
They do eventually run themselves out, but sometimes I see packages
rebuild 30, 40, 100 or more times.
In some cases, there are explanations for why they might rebuild a few
times, but not 10 times much less over a hundred.
For example, one package in x86_64 has rebuilt (around) 47 times in
the last 3 days. The jobhistory shows only 'rebuild counter'.
The package should have only rebuilt for i586, and in that case the
only explanation given by jobhistory is "meta change".
Several of the underlying dependencies did change over the last 3 days
(like glibc, gcc, etc...) however they all changed /at the same time/.
What I mean by that is that the source repository received a dozen or
more updated rpms (binary rpms) for i586 *only* - I expected that this
would cause each package to rebuild, but not once for each changed
dependency - that seems just silly since after the first rebuild all
subsequent rebuilds are using the exact same sources.
I am using obs rpms with version 1.6.0-7.2.
--
Jon
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
This adds the software.o.o search to osc. Usage:
osc search --binary <package>
osc search --baseproject=<distribution> <package>
The output lists the filepaths below download.o.o/repositories, which is
good enough for my use case, but improvements are welcome :).
---
osc/commandline.py | 19 +++++++++++++++----
osc/core.py | 17 ++++++++++++++---
2 files changed, 29 insertions(+), 7 deletions(-)
diff --git a/osc/commandline.py b/osc/commandline.py
index 23cfbe1..08eb871 100644
--- a/osc/commandline.py
+++ b/osc/commandline.py
@@ -4064,6 +4064,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
help='shorthand for --bugowner --package')
@cmdln.option('--csv', action='store_true',
help='generate output in CSV (separated by |)')
+ @cmdln.option('--binary', action='store_true',
+ help='search binary packages')
+ @cmdln.option('-B', '--baseproject', metavar='PROJECT',
+ help='search packages built for PROJECT (implies --binary)')
@cmdln.alias('sm')
@cmdln.alias('se')
def do_search(self, subcmd, opts, *args):
@@ -4078,15 +4082,15 @@ Please submit there instead, or use --nodevelproject to force direct submission.
osc maintained \'source package name\'
osc se ...
${cmd_option_list}
-
- osc search does not find binary rpm names. Use
- http://software.opensuse.org/search?q=binaryname
"""
if opts.mine:
opts.bugowner = True
opts.package = True
+ if opts.baseproject:
+ opts.binary = True
+
for_user = False
if opts.involved or opts.bugowner or opts.maintainer:
for_user = True
@@ -4120,6 +4124,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if opts.package:
search_list.append('@name')
search_for.append('package')
+ if opts.binary:
+ search_for = [ 'published/binary/id' ]
+ search_list = [ '@name' ]
+ if opts.baseproject:
+ extra_limiter='path/project="%s"' % opts.baseproject
if opts.limit_to_attribute:
extra_limiter='attribute/@name="%s"' % (opts.limit_to_attribute)
if not opts.substring:
@@ -4176,8 +4185,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if kind == 'package':
headline = [ '# Project', '# Package' ]
- else:
+ if kind == 'project':
headline = [ '# Project' ]
+ if kind == 'published/binary/id':
+ headline = [ '# Path' ]
if opts.verbose:
headline.append('# Title')
if opts.repos_baseurl:
diff --git a/osc/core.py b/osc/core.py
index 4dc3657..d27f1a5 100644
--- a/osc/core.py
+++ b/osc/core.py
@@ -4142,11 +4142,18 @@ def search(apiurl, search_list, kind, search_term, verbose = False, exact_matche
role_filter = role_filter.split(':')
predicate = build_xpath_predicate(search_list, search_term, exact_matches, extra_limiter)
+ element = kind
+ if kind == 'published/binary/id':
+ element = 'binary'
+ # hack: remove the surrounding [ ... ], the api does not like it in
+ # /search/published/binary/id
+ predicate.pop()
+ predicate.pop(0)
u = makeurl(apiurl, ['search', kind], ['match=%s' % quote_plus(''.join(predicate))])
f = http_GET(u)
root = ET.parse(f).getroot()
result = []
- for node in root.findall(kind):
+ for node in root.findall(element):
if role_filter:
skip = 1
for p in node.findall('person'):
@@ -4161,9 +4168,13 @@ def search(apiurl, search_list, kind, search_term, verbose = False, exact_matche
project = node.get('project')
package = node.get('name')
result.append(package)
- else:
+ result.append(project)
+ if kind == 'project':
project = node.get('name')
- result.append(project)
+ result.append(project)
+ if kind == 'published/binary/id':
+ filepath = node.get('filepath')
+ result.append(filepath)
if verbose:
title = node.findtext('title').strip()
if len(title) > 60:
--
1.6.3.2
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
Hi
I'm trying to work with git repositories of build-service on my MacOS
laptop, and noticed that in build package there is a small issue:
mbp:tmp kad$ git clone git://gitorious.org/opensuse/build.git
Initialized empty Git repository in /Users/kanevski/tmp/build/.git/
remote: Counting objects: 1590, done.
remote: Compressing objects: 100% (742/742), done.
remote: Total 1590 (delta 1059), reused 1261 (delta 842)
Receiving objects: 100% (1590/1590), 330.21 KiB, done.
Resolving deltas: 100% (1059/1059), done.
mbp:tmp kad$ cd build/
mbp:build kad$ git st
# On branch master
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: Build/Deb.pm
# deleted: Build/Kiwi.pm
# deleted: Build/Rpm.pm
# deleted: Build/Susetags.pm
# deleted: Build/Zypp.pm
#
no changes added to commit (use "git add" and/or "git commit -a")
mbp:build kad$ git co Build
mbp:build kad$ git st
# On branch master
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: build
#
no changes added to commit (use "git add" and/or "git commit -a")
This is happening because "build" script and "Build" directory is the
same filename on filesystems like MacOS where they have by default
"case insensitive" flag.
To fix that, I'm proposing small fix which consists of:
1. git mv build build.sh
2. modify Makefile to have "build.sh" installed as $(DESTDIR)$(pkglibdir)/build
See diff here: http://gitorious.org/~kad/opensuse/kad-build/commit/f19a4803e791a11cd01d32c…
Any underwater stones which I haven't noticed ?
--
br, Alexander Kanevskiy
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
Hello Mates,
i've tried to build skrooge. But i'm got: http://pastebin.ca/1839739.
As written in Common Problems i've added BUILD_REQUIRES += the missing
Packages.
---
DEVELOPERS: Sascha Manns <saigkill(a)opensuse.org>
LICENSE: GPL
SUMMARY: Personal Finance Manager END_DESCRIPTION
DESCRIPTION:
Personal Finance Manager.
END_DESCRIPTION
URL: http://sourceforge.net/project/showfiles.php?group_id=22272
BUILD_REQUIRES += sqlite libofx sharedmimeinfo ctest dart
installrequiredsystemlibraries msgfmt
--
Does anyone know what i must fix?
--
Sincerely yours
Sascha Manns
openSUSE Community & Support Agent
openSUSE Marketing Team
Blog: http://saigkill.wordpress.com
Web: http://www.open-slx.de (openSUSE Box Support German)
Web: http://www.open-slx.com (openSUSE Box Support English)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
I seem to be receiving an email about every request submitted, accepted,
refused, revoked etc in the entire OBS at the moment (or at least a
great many of them).
Anyone else experiencing this at the moment?
--
James Ogley (riggwelter) openSUSE Member GNOME Team and Planet SUSE
e: riggwelter(a)opensuse.org w: http://opensuse.org/GNOME
t: @riggwelter w: http://www.planetsuse.org
openSUSE: Get It, Discover It, Create It at http://www.opensuse.org
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
Hello Mates,
today i've tried out the generator with my existing package 'skrooge'.
My used INFO-File is:
DEVELOPERS: Sascha Manns <saigkill(a)opensuse.org>
LICENSE: GPL
SUMMARY: Personal Finance Manager
END_DESCRIPTION
URL: http://sourceforge.net/project/showfiles.php?group_id=222722
---
But now i'm getting:
sascha@linux-m4rp:~/osc/home:saigkill:kdeapps/skrooge> kde-obs-generator
kde-obs-generator(14910)/kdecore (kdelibs): KTempDir: Temporary
directory created : "/tmp/kde-sascha/kde-obs-generatorTNDxg2/"
ERROR: package maintainer has no real name set
Abgebrochen (Speicherabzug geschrieben)
How can i fix this?
--
Sincerely yours
Sascha Manns
openSUSE Community & Support Agent
openSUSE Marketing Team
Blog: http://saigkill.wordpress.com
Web: http://www.open-slx.de (openSUSE Box Support German)
Web: http://www.open-slx.com (openSUSE Box Support English)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
I've set up my own OBS system; I've noticed that newer suse distros run rpmlint prior to package completion. I've found how to simply disable this check wholesale, but is there a way I can disable it on a per-package basis?
--
Troy Telford
ttelford.groups(a)gmail.com
We are proud to announce the availability of the OBS 1.7.2 release.
The new version comes with a number of bug fixes, but also with
some new features back ported from master branch. The new functionality
allows to use existing LDAP servers for authentication. The new
instances can be setup more easily now via the admin web interface,
esp the OBS Appliance.
Special thanks go to James Oakley for his high quality bug reports
and Luke Imhoff and David Greaves for their work on the LDAP support.
The release is as usual available via the git repository
http://www.gitorious.org/opensuse/build-service/commits/1.7
via packages from openSUSE:Tools project
http://software.opensuse.org/search?baseproject=openSUSE:Tools&q=obs+server
and via appliances for USB/HDD disk images, VMware or Live CD:
http://en.opensuse.org/Build_Service/OBS-Appliance
Changes since 1.7.1 release
===========================
Backported new features:
* Admin interface in the web interface
-> can be used to connect against remote OBS instance
-> link to user, role and permission handling
* optional LDAP support for authentification.
You need to install "ruby-ldap" package and configure the LDAP
server in api config/enviroments/production.rb for this feature.
* Support caching of packages for product builds by the worker.
Fixes:
* Support build results with files larger than 4GB
* nicer diff3 output by source server
* sqlite3 setup problems fixed for webui
* webui delayed_job startup failure fixed
* worker vm setup fixes
* a number of minor bugfixes
Updater Information
===================
Updater from 1.7 releases can just update the packages and restart
all services.
Updates from earlier releases require manual steps afterwards,
please check the README.UPDATERS file for details.
--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian(a)suse.de
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
(sorry if this is a repost, I'm having difficulty subscribing, my own fault)
I cannot seem to build a project that I am a maintainer for
project: home:sipfoundry
package: sipxportlib
I can rebuild it from https://build.opensuse.org web ui, but not from osc CLI
Command
$ osc -H rebuildpac sipfoundry:home sipxportlib
and in the response I see
header: X-Opensuse-Errorcode: execute_cmd_no_permission
So is there some permission i need to trigger builds from CLI?
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
What's happening? Yesterday I build my googleearth-package.spec without
trouble, but now I get:
-----------------------------------------------------------------
----- building googleearth-package.spec (user abuild)
-----------------------------------------------------------------
-----------------------------------------------------------------
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)'
/usr/src/packages/SOURCES/googleearth-package.spec
error: %changelog not in descending chronological order
The only changelog entry the spec file contains is:
%changelog
* Thu Mar 7 2010 <email address>
- Initial OBS spec file
Why do I get this error???
--
Richard
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org