Am Tue, 9 May 2017 23:35:18 +0200
schrieb Marcus Hüwe
This looks really strange... in case of a missing [general] section, osc is supposed to fail earlier. Can you check if your oscrc has a [general] section?
There is no ~/.oscrc, but a ~/.osc/oscrc: [general] packagecachedir = /abuild_disk/olaf/OSbuild-packagecache su-wrapper = sudo nice -n -13 ionice -c 1 -t build-root = /abuild_disk/olaf/oscbuild/%(apihost)s/%(project)s-%(package)s/%(repo)s-%(arch)s extra-pkgs = vim ctags quilt vim-data gdb strace plaintext_passwd = 0 use_keyring = 0 [https://api.opensuse.org] user=olh passx=whatever trusted_prj=SUSE:SLE-11:SP1 openSUSE:Factory openSUSE:11.4 multimedia:libs openSUSE:11.4:Update:Test openSUSE:11.4:Update system:install:head openSUSE:12.1:Update openSUSE:12.1 Fedora:16 Mandriva:2011 RedHat:RHEL-6 Fedora:15 openSUSE:Factory:Staging:Gcc47 Kernel:HEAD devel:tools:building SUSE:SLE-11:SP2 openSUSE:12.2 home:olh:kernel:sles11sp1 openSUSE:12.2:Update devel:languages:ocaml Kernel:SLE11-SP2 Virtualization Base:System SUSE:SLE-11:SP2:Update openSUSE:Evergreen:11.4 openSUSE:12.3:Update openSUSE:12.3 Fedora:18 filesystems SUSE:SLE-11:SP3 Kernel:SLE11-SP3 openSUSE:13.1 openSUSE:13.1:Update devel:languages:go openSUSE:Factory:ARM devel:tools SUSE:SLE-12:GA Kernel:SLE12 openSUSE:13.2 devel:tools:scm network:utilities home:olh:xen-buildrequires openSUSE:13.2:Update CentOS:CentOS-7 RedHat:RHEL-7 Kernel:SLE11-SP4 SUSE:SLE-11:SP4 openSUSE:Leap:42.1 Fedora:23 Fedora:22 Fedora:21 devel:languages:ruby SUSE:SLE-12-SP1:GA openSUSE:Leap:42.1:Update devel:libraries:c_c++ devel:languages:ruby:extensions devel:languages:python KDE:Frameworks5 graphics openSUSE:Leap:42.2 security home:olh:branches:multimedia:libs SUSE:SLE-12-SP2:GA openSUSE:Leap:42.2:Update multimedia:apps
Is "obs" an alias for or a wrapper around osc? If so, how is it defined?
obs is just a wrapper: #/bin/sh exec /usr/bin/osc --config=$HOME/.osc/oscrc -A https://api.opensuse.org "$@" There where various spots in the code that hardcode ~/.oscrc. Not sure if they are all fixed already. Olaf