Mailinglist Archive: opensuse-buildservice (349 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: Including Qmail + vpopmail + ... to BuildService
  • From: aledr <matrixworkstation@xxxxxxxxx>
  • Date: Fri, 30 Nov 2007 17:05:25 -0200
  • Message-id: <73e156130711301105v1f4cc0ebk47d5b634718af8b@xxxxxxxxxxxxxx>
I've commented the line 471 of /usr/lib/obs/server/bs_worker to enable
the root build and worked perfectly for me. To compile qmail as non
root user we have the problem of permissions.
I'm contacting You in private to send the build log and the spec file
(the spec is in a initial release).
As I said, for now, there is no way to build vpopmail as abuild, but
soon it'll be solved (according vpopmail developers).

2007/11/30, aledr <matrixworkstation@xxxxxxxxx>:
I'll do that right now. I sent a message to the vpopmail list last
month asking for a non root build, and after a while they said that
will make it possible in the next releases. I'm waiting for them, but
qmail itself is a problem, I'll try to fix It again today.

Many regards!
Thanks for your quickly replies!

2007/11/30, Adrian Schröter <adrian@xxxxxxx>:
On Friday 30 November 2007 15:41:04 wrote Adrian Schröter:
...
There are some projects at build service but or they are not updated
(like maildrop as example) or they didn't build successful.
Is there a way to apply a patch to my local build service or to
provide "build as root" int the openSuSE build service?

Just do not call the bs_worker with the --norootforbuild switch.

sorry, the build script must not be called with --norootforbuild.

search the line with --norootforbuild in bs_worker code and remove it.

bye
adrian

--

Adrian Schroeter
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
email: adrian@xxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx


--
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"

--
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"
server started "build qmail.spec" at Fri Nov 30 14:45:22 BRST 2007.

Building qmail for project 'home:Admin' repository 'openSUSE_10.3' arch 'i586'
srcmd5 '52058e38a3f11162ce81ece9b48f5fc0
Using BUILD_ROOT=/tmp/root_2
Using BUILD_ARCH=i586:i486:i386

processing specfile /tmp/root_2/.build-srcdir/qmail.spec...
running changelog2spec --target rpm --file /tmp/root_2/.build-srcdir/qmail.spec
init_buildsystem --rpmlist /tmp/root_2/.rpmlist qmail.spec ...
preinstalling aaa_base...
preinstalling acl...
preinstalling attr...
preinstalling bash...
preinstalling coreutils...
preinstalling diffutils...
preinstalling filesystem...
preinstalling fillup...
preinstalling glibc...
preinstalling grep...
preinstalling insserv...
preinstalling libacl...
preinstalling libattr...
preinstalling libbz2-1...
preinstalling libgcc42...
preinstalling libxcrypt...
preinstalling m4...
preinstalling ncurses...
preinstalling pam...
preinstalling permissions...
preinstalling popt...
preinstalling libreadline5...
preinstalling rpm...
preinstalling sed...
preinstalling tar...
preinstalling zlib...
running aaa_base preinstall script
running aaa_base postinstall script
Updating etc/sysconfig/language...
Updating etc/sysconfig/backup...
Updating etc/sysconfig/boot...
Updating etc/sysconfig/kernel...
Updating etc/sysconfig/suseconfig...
Updating etc/sysconfig/clock...
Updating etc/sysconfig/proxy...
Updating etc/sysconfig/windowmanager...
Updating etc/sysconfig/sysctl...
Updating etc/sysconfig/cron...
Updating etc/sysconfig/news...
Updating etc/sysconfig/shutdown...
Updating etc/sysconfig/sw_management...
Updating etc/passwd...unchanged
Updating etc/group...unchanged
Updating etc/shadow...new
initializing rpm db...
reordering...done
installing filesystem-10.3-50
installing keyutils-devel-1.2-42
installing openssl-certs-0.9.8e-45
installing glibc-2.6.1-18
warning: /etc/bindresvport.blacklist created as
/etc/bindresvport.blacklist.rpmnew
warning: /etc/default/nss created as /etc/default/nss.rpmnew
warning: /etc/gai.conf created as /etc/gai.conf.rpmnew
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
warning: /etc/rpc created as /etc/rpc.rpmnew
installing audit-libs-1.5.5-13
installing cpp42-4.2.1_20070724-17
installing fillup-1.42-179
installing gdbm-1.8.3-302
installing glibc-locale-2.6.1-18
installing keyutils-libs-1.2-42
installing libattr-2.4.28-81
installing libbz2-1-1.0.4-42
installing libdb-4_5-4.5.20-29
installing libltdl-3-1.5.24-17
installing libnscd-2.0.2-43
installing libsrs2-1.0.18-1.1
installing libxcrypt-2.4-71
installing mktemp-1.5-804
installing ncurses-5.6-41
installing net-tools-1.60-650
installing patch-2.5.9-219
installing perl-base-5.8.8-75
installing popt-1.7-368
installing zlib-1.2.3-75
installing libbz2-devel-1.0.4-42
installing zlib-devel-1.2.3-75
installing attr-2.4.28-81
installing file-4.21-7
installing libacl-2.2.34-75
installing libreadline5-5.2-20
installing acl-2.2.34-75
installing bash-3.2-61
installing cpp-4.2-24
installing cracklib-2.8.10-37
installing insserv-1.09.0-46
installing libcom_err2-1.40.2-20
installing libgcc42-4.2.1_20070724-17
installing libgomp42-4.2.1_20070724-17
installing libmudflap42-4.2.1_20070724-17
installing libuuid1-1.40.2-20
installing libvolume_id-114-19
installing libzio-0.4-43
installing tcpd-7.6-791
installing bzip2-1.0.4-42
installing timezone-2007g-9
WARNING: Not updating /etc/localtime with new zone file
installing less-406-16
installing libopenssl0_9_8-0.9.8e-45
installing libcom_err-devel-1.40.2-20
installing libopenssl-devel-0.9.8e-45
installing libdomainkeys-0.68-1.1
installing libmysqlclient15-5.0.45-22
installing libmysqlclient_r15-5.0.45-22
installing libstdc++42-4.2.1_20070724-17
installing openssl-0.9.8e-45
installing info-4.9-15
installing pam-0.99.8.1-15
warning: /etc/environment created as /etc/environment.rpmnew
warning: /etc/pam.d/common-account created as /etc/pam.d/common-account.rpmnew
warning: /etc/pam.d/common-auth created as /etc/pam.d/common-auth.rpmnew
warning: /etc/pam.d/common-password created as /etc/pam.d/common-password.rpmnew
warning: /etc/pam.d/common-session created as /etc/pam.d/common-session.rpmnew
warning: /etc/pam.d/other created as /etc/pam.d/other.rpmnew
warning: /etc/securetty created as /etc/securetty.rpmnew
warning: /etc/security/access.conf created as /etc/security/access.conf.rpmnew
warning: /etc/security/group.conf created as /etc/security/group.conf.rpmnew
warning: /etc/security/limits.conf created as /etc/security/limits.conf.rpmnew
warning: /etc/security/namespace.conf created as
/etc/security/namespace.conf.rpmnew
warning: /etc/security/namespace.init created as
/etc/security/namespace.init.rpmnew
warning: /etc/security/pam_env.conf created as /etc/security/pam_env.conf.rpmnew
warning: /etc/security/time.conf created as /etc/security/time.conf.rpmnew
installing automake-1.10-46
installing binutils-2.17.50.20070726-14
installing cpio-2.9-17
installing diffutils-2.8.7-80
installing findutils-4.2.31-24
installing gawk-3.1.5g-25
installing grep-2.5.2-28
installing gzip-1.3.12-34
installing libtool-1.5.24-17
installing m4-1.4.10-17
installing make-3.81-66
installing sed-4.1.5-64
installing tar-1.17-21
installing gettext-0.16-47
installing coreutils-6.9-43
warning: /etc/default/su created as /etc/default/su.rpmnew
installing cvs-1.12.12-85
installing texinfo-4.9-15
installing mysql-client-5.0.45-22
installing linux-kernel-headers-2.6.22-19
post linux-kernel-headers-2.6.22-19 /var/tmp/rpm-tmp.57322 1
`usr/include/asm' -> `asm-bi-x86_64'
installing sysvinit-2.86-102
installing autoconf-2.61-47
installing cyrus-sasl-2.1.22-82
installing groff-1.18.1.1-99
Updating etc/sysconfig/suseconfig...
installing krb5-1.6.2-22
installing perl-5.8.8-75
Updating etc/sysconfig/suseconfig...
installing aaa_base-10.3-90
warning: /etc/DIR_COLORS created as /etc/DIR_COLORS.rpmnew
warning: /etc/inittab created as /etc/inittab.rpmnew
warning: /root/.exrc created as /root/.exrc.rpmnew
Updating etc/sysconfig/language...
Updating etc/sysconfig/backup...
Updating etc/sysconfig/boot...
Updating etc/sysconfig/kernel...
Updating etc/sysconfig/suseconfig...
Updating etc/sysconfig/clock...
Updating etc/sysconfig/proxy...
Updating etc/sysconfig/windowmanager...
Updating etc/sysconfig/sysctl...
Updating etc/sysconfig/cron...
Updating etc/sysconfig/news...
Updating etc/sysconfig/shutdown...
Updating etc/sysconfig/sw_management...
Updating etc/passwd...unchanged
Updating etc/group...unchanged
Updating etc/shadow...unchanged
installing netcfg-10.3-39
warning: /etc/HOSTNAME created as /etc/HOSTNAME.rpmnew
installing openldap2-client-2.3.37-20
installing krb5-devel-1.6.2-22
installing glibc-devel-2.6.1-18
installing permissions-2007.8.10-11
warning: /etc/permissions.local created as /etc/permissions.local.rpmnew
Updating etc/sysconfig/security...
installing man-2.4.3-86
Updating etc/sysconfig/cron...
installing gettext-devel-0.16-47
installing pam-modules-10.3-47
installing gcc42-4.2.1_20070724-17
installing libmysqlclient-devel-5.0.45-22
installing rpm-4.4.2-140
Updating etc/sysconfig/services...
installing util-linux-2.12r+2.13rc2+git20070725-24
installing gcc-4.2-24
installing pwdutils-3.1.4-27
installing mysql-5.0.45-22
installing vpopmail-5.4.26-1.1
removing nis flags from /tmp/root_2/etc/nsswitch.conf...
now finalizing build dir...
Checking permissions and ownerships - using the permissions files
/tmp/Check.perms.Jn9410
setting /usr/src/packages/SOURCES/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/BUILD/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/athlon/ to root:root 1777. (wrong permissions
0755)
setting /usr/src/packages/RPMS/i386/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/i486/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/i586/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/i686/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/noarch/ to root:root 1777. (wrong permissions
0755)
setting /usr/src/packages/SPECS/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/SRPMS/ to root:root 1777. (wrong permissions 0755)
setting /usr/bin/wall to root:tty 2755. (wrong permissions 0755)
setting /usr/bin/write to root:tty 2755. (wrong permissions 0755)
Starting SuSEconfig, the SuSE Configuration Tool...
Running in full featured mode.
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.groff...
Executing /sbin/conf.d/SuSEconfig.perl...
Executing /sbin/conf.d/SuSEconfig.permissions...
Finished.
-----------------------------------------------------------------
I have the following modifications for qmail.spec:
27c27
< Release: 1.3
---
Release: 2.1
-----------------------------------------------------------------
----- building qmail.spec (user abuild)
-----------------------------------------------------------------
-----------------------------------------------------------------

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49002
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf qmail-1.03
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/qmail-1.03.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd qmail-1.03
++ /usr/bin/id -u
+ '[' 99 = 0 ']'
++ /usr/bin/id -u
+ '[' 99 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (qmailtoaster-1.3.1.patch.bz2):'
Patch #0 (qmailtoaster-1.3.1.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p0 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #1 (qmail-chkuser.patch.bz2):'
Patch #1 (qmail-chkuser.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p1 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #2 (qmail-require_auth.patch.bz2):'
Patch #2 (qmail-require_auth.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p1 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #3 (qmail-dk-0.6.beta.2.patch.bz2):'
Patch #3 (qmail-dk-0.6.beta.2.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p1 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #4 (qmail-smtpd-spf-qq-reject-logging.patch.bz2):'
Patch #4 (qmail-smtpd-spf-qq-reject-logging.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p0 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #5 (qmail-srs-qt-0.5.patch.bz2):'
Patch #5 (qmail-srs-qt-0.5.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p1 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #6 (qmailtoaster-big-dns.patch.bz2):'
Patch #6 (qmailtoaster-big-dns.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p0 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #7 (qmail-smtpd-linefeed.patch.bz2):'
Patch #7 (qmail-smtpd-linefeed.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p0 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/perl -pi -e 's|\#define AUTHCRAM||g' qmail-smtpd.c
+ /usr/bin/perl -pi -e 's|LDK_PATH|/usr/lib/libdomainkeys.a|g' Makefile
+ '[' -f /var/tmp/qmail-1.03-gcc ']'
+ echo gcc
+ '[' -f /var/tmp/qmail-1.03-show_flags ']'
+ cat
+ chmod u+x /var/tmp/qmail-1.03-show_flags
+ /var/tmp/qmail-1.03-show_flags


 RPM RELEASE: qmail-1.03-2.1
 CCFLAGS : -march=i586 -mtune=i686
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O2
-DTLS=20060104 -I/home/vpopmail/include 
 LDFLAGS : -march=i586 -mtune=i686
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O2 


+ '[' -f /var/tmp/qmail-1.03-show_flags ']'
+ rm -f /var/tmp/qmail-1.03-show_flags
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.41118
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/qmail-1.03-build
++ dirname /var/tmp/qmail-1.03-build
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/qmail-1.03-build
+ cd qmail-1.03
+ '[' -n /var/tmp/qmail-1.03-build -a /var/tmp/qmail-1.03-build '!=' / ']'
+ rm -rf /var/tmp/qmail-1.03-build
+ mkdir -p /var/tmp/qmail-1.03-build
+ echo ' Creating users and groups for qmail...'
Creating users and groups for qmail...
++ /usr/bin/id -g nofiles
+ '[' -z '' ']'
+ /usr/sbin/groupadd -g 2107 -r nofiles
Cannot lock group file: already locked.
+ :
++ /usr/bin/id -g qmail
+ '[' -z '' ']'
+ /usr/sbin/groupadd -g 2108 -r qmail
Cannot lock group file: already locked.
+ :
++ /usr/bin/id -u alias
+ '[' -z '' ']'
+ /usr/sbin/useradd -u 7790 -r -M -d /var/qmail/alias -s /sbin/nologin -c
'qmail Alias' -g qmail alias
useradd: Unknown group `qmail'.
+ :
++ /usr/bin/id -u qmaild
+ '[' -z '' ']'
+ /usr/sbin/useradd -u 7791 -r -M -d /var/qmail -s /sbin/nologin -c 'qmail
Daemon' -g qmail qmaild
useradd: Unknown group `qmail'.
+ :
++ /usr/bin/id -u qmaill
+ '[' -z '' ']'
+ /usr/sbin/useradd -u 7792 -r -M -d /var/qmail -s /sbin/nologin -c 'qmail
Logger' -g qmail qmaill
useradd: Unknown group `qmail'.
+ :
++ /usr/bin/id -u qmailp
+ '[' -z '' ']'
+ /usr/sbin/useradd -u 7793 -r -M -d /var/qmail -s /sbin/nologin -c 'qmail
Passwd' -g qmail qmailp
useradd: Unknown group `qmail'.
+ :
++ /usr/bin/id -u qmailq
+ '[' -z '' ']'
+ /usr/sbin/useradd -u 7794 -r -M -d /var/qmail -s /sbin/nologin -c 'qmail
Queue' -g qmail qmailq
useradd: Unknown group `qmail'.
+ :
++ /usr/bin/id -u qmailr
+ '[' -z '' ']'
+ /usr/sbin/useradd -u 7795 -r -M -d /var/qmail -s /sbin/nologin -c 'qmail
Remote' -g qmail qmailr
useradd: Unknown group `qmail'.
+ :
++ /usr/bin/id -u qmails
+ '[' -z '' ']'
+ /usr/sbin/useradd -u 7796 -r -M -d /var/qmail -s /sbin/nologin -c 'qmail
Send' -g qmail qmails
useradd: Unknown group `qmail'.
+ :
++ cat /var/tmp/qmail-1.03-gcc
+ echo 'gcc -march=i586 -mtune=i686 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -O2 -DTLS=20060104
-I/home/vpopmail/include'
++ cat /var/tmp/qmail-1.03-gcc
+ echo 'gcc -s -march=i586 -mtune=i686 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -O2'
+ '[' -f /var/tmp/qmail-1.03-gcc ']'
+ rm -f /var/tmp/qmail-1.03-gcc
+ make clean
rm -f `cat TARGETS`
+ make compile makelib
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
) > auto-ccld.sh
cat auto-ccld.sh make-compile.sh > make-compile
chmod 755 make-compile
cat auto-ccld.sh find-systype.sh > find-systype
chmod 755 find-systype
./find-systype > systype
( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
compile
chmod 755 compile
cat auto-ccld.sh make-makelib.sh > make-makelib
chmod 755 make-makelib
( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
makelib
chmod 755 makelib
+ make it man
cat auto-ccld.sh make-load.sh > make-load
chmod 755 make-load
( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
chmod 755 load
( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
2>&1 \
&& cat fork.h2 || cat fork.h1 ) > fork.h
rm -f tryvfork.o tryvfork
./compile qmail-local.c
cc1: error: /home/vpopmail/include: Permission denied
make: *** [qmail-local.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.41118 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.41118 (%build)
< Previous Next >
This Thread