Date: Mon, 25 Jul 2016 00:48:19 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211353] sendmail Message-ID: <bug-211353-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211353 Bug ID: 211353 Summary: sendmail Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dave@ci.com.au Using poudriere to build of sendmail fails during staging when building on = any of my jails using: 11.0-BETA1 r302967 amd64 12.0-CURRENT r302975 amd64 This happens two recently updated ports trees I have in use: head svn 2016-07-18 11:19:38 next portsnap 2016-07-18 11:19:19 I have the following set in the make.conf used during the build: OPTIONS_DEFAULT?=3D SHMEM SEM LA NIS IPV6 TLS SASL SASLAUTHD LDAP PICKY_HELO_CHECK MILTER MILTER_SHARED MILTER_POOL The problem occurs during staging and appears to be that on O/S > 11 /usr/bin/strip gets upset while doing /usr/bin/strip /wrkdirs/usr/ports/mail/sendmail/work/stage/usr/local/sbin/* The following is seen in the logging: strip: fchmod /wrkdirs/usr/ports/mail/sendmail/work/stage/usr/local/sbin/sendmail failed: Operation not permitted I hacked around with the Makefile to get more info to be logged during the build... id uid=3D65534(nobody) gid=3D65534(nobody) groups=3D65534(nobody) env MAKEFLAGS=3D .MAKE.LEVEL.ENV=3DMAKELEVEL ARCH=3Damd64 HAVE_COMPAT_IA32_KERN= =3DYES\ LINUX_OSRELEASE=3D2.6.32 OPSYS=3DFreeBSD OSREL=3D11.0 OSVERSION=3D1100120 _OSRELEASE=3D11.0-BETA1 MAKELEVEL=3D1 META_MODE=3Dnormal .MAKE.LEVEL.ENV=3DMAKELEVEL NO_DEPENDS=3Dyes SHELL=3D/usr/sbin/nologin HOME=3D/nonexistent USER=3Dnobody UNAME_v=3DFreeBSD 11.0-BETA1 r302967 UNAME_r=3D11.0-BETA1 BLOCKSIZE=3DK MAIL=3D/var/mail/nobody STATUS=3D1 OPSYS=3DFreeBSD ARCH=3Damd64 SAVED_TERM=3Dxterm MASTERMNT=3D/u1/jails/poudriere/data/.m/fm64v11-next-default/ref HTTP_PROXY=3Dhttp://proxy.ci.com.au:3128 FORCE_PACKAGE=3Dyes PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexi= stent/bin _JAVA_VERSION_LIST_REGEXP=3D1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+ POUDRIERE_BUILD_TYPE=3Dbulk PKGNAME=3Dsendmail+tls+sasl2+ldap-8.15.2_1 OSREL=3D11.0 _OSRELEASE=3D11.0-BETA1 PYTHONBASE=3D/usr/local OLDPWD=3D/ _SMP_CPUS=3D8 PWD=3D/usr/ports/mail/sendmail HAVE_COMPAT_IA32_KERN=3DYES LINUX_OSRELEASE=3D2.6.32 MASTERNAME=3Dfm64v11-next-default SCRIPTPREFIX=3D/usr/local/share/poudriere _JAVA_VENDOR_LIST_REGEXP=3Dopenjdk\|oracle\|sun POUDRIERE_VERSION=3D3.2-pre SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh CONFIGURE_MAX_CMD_LEN=3D262144 LIBEXECPREFIX=3D/usr/local/libexec/poudriere LOCALBASE=3D/usr/local PACKAGE_BUILDING=3Dyes _JAVA_OS_LIST_REGEXP=3Dnative\|linux OSVERSION=3D1100120 FTP_PROXY=3Dhttp://proxy.xxxxx:3128 ls -lo /wrkdirs/usr/ports/mail/sendmail/work/stage/usr/local/sbin/* -rwxr-xr-x 1 nobody nobody - 95481 Jul 22 07:07 /wrkdirs/usr/ports/mail/sendmail/work/stage/usr/local/sbin/editmap -rwxr-xr-x 1 nobody nobody - 84390 Jul 22 07:07 /wrkdirs/usr/ports/mail/sendmail/work/stage/usr/local/sbin/mailstats -rwxr-xr-x 1 nobody nobody - 99334 Jul 22 07:07 /wrkdirs/usr/ports/mail/sendmail/work/stage/usr/local/sbin/makemap -rwxr-xr-x 1 nobody nobody - 99329 Jul 22 07:07 /wrkdirs/usr/ports/mail/sendmail/work/stage/usr/local/sbin/praliases -rwxr-sr-x 1 nobody nobody - 819168 Jul 22 07:07 /wrkdirs/usr/ports/mail/sendmail/work/stage/usr/local/sbin/sendmail /usr/bin/strip /wrkdirs/usr/ports/mail/sendmail/work/stage/usr/local/sbin/* strip: fchmod /wrkdirs/usr/ports/mail/sendmail/work/stage/usr/local/sbin/sendmail failed: Operation not permitted *** Error code 1 I have temporarily worked around the problem by applying the following patch the the Makefile --- Makefile.orig 2016-06-27 10:20:29.152427000 +1000 +++ Makefile 2016-07-22 11:49:40.672278000 +1000 @@ -220,7 +220,12 @@ ${RM} ${STAGEDIR}${PREFIX}/man/cat*/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vacation ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rmail - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/* + # strip fails on ${STAGEDIR}${PREFIX}/sbin/sendmail + #${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/* + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/editmap + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/mailstats + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/makemap + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/praliases ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/* post-install-DOCS-on: I temporarily added the same debugging to a build using a FreeBSD 10 jail running 10.3-RELEASE-p5 amd64 updated via ftp on 2016-07-02 10:10:43 And it appears to do exactly the same thing but it works. The only obvious difference is that the FreeBSD 10 jail is using the gnu binutils strip comm= and. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211353-13>