From owner-freebsd-ports-bugs@freebsd.org Sat Aug 22 11:09:07 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9A069BE67B for ; Sat, 22 Aug 2015 11:09:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AEB3F16A6 for ; Sat, 22 Aug 2015 11:09:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7MB97xV062061 for ; Sat, 22 Aug 2015 11:09:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202566] lang/ghc : new version fails with "permission denied" on DragonFly poudriere Date: Sat, 22 Aug 2015 11:09:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marino@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2015 11:09:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202566 Bug ID: 202566 Summary: lang/ghc : new version fails with "permission denied" on DragonFly poudriere Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: haskell@FreeBSD.org Reporter: marino@FreeBSD.org Assignee: haskell@FreeBSD.org Flags: maintainer-feedback?(haskell@FreeBSD.org) I am wondering if lang/ghc now builds in an illegal area. When trying to build the new version of GHC (using a patched version of lang/ghc to bring in 7.6.3 bootstrap from dragonfly) I get this error: [89 of 89] Compiling Main ( utils/ghc-cabal/Main.hs, bootstrapping/Main.o ) Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal ... "touch" utils/ghc-cabal/dist/build/tmp/ghc-cabal "cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal inplace/bin/ghc-cabal "inplace/bin/ghc-cabal" configure libraries/binary dist-boot "" --with-ghc="/wrkdirs/lang/ghc/work/ghc-7.6.3-boot/bin/ghc-7.6.3" --with-ghc-pkg="/wrkdirs/lang/ghc/work/ghc-7.6.3-boot/bin/ghc-pkg-7.6.3" --package-db=/wrkdirs/lang/ghc/work/ghc-7.10.2/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --disable-library-profiling --disable-shared --with-hscolour="/wrkdirs/lang/ghc/work/slaves_prefix/bin/HsColour" --configure-option=CFLAGS="-pipe -I/usr/local/include -O2 -fno-strict-aliasing -fno-stack-protector " --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options="-pipe -I/usr/local/include -O2 -fno-strict-aliasing -fno-stack-protector " --configure-option=--with-iconv-includes="/usr/local/include" --configure-option=--with-iconv-libraries="/usr/local/lib" --configure-option=--with-gmp-includes="/usr/local/include" --configure-option=--with-gmp-libraries="/usr/local/lib" --constraint "binary == 0.7.5.0" --constraint "Cabal == 1.22.4.0" --constraint "hpc == 0.6.0.2" --constraint "bin-package-db == 0.0.0.0" --constraint "hoopl == 3.10.0.2" --constraint "transformers == 0.4.2.0" --constraint "terminfo == 0.4.0.1" --with-gcc="gcc" --configure-option=--with-cc="gcc" --with-ar="/usr/bin/ar" "inplace/bin/ghc-cabal" configure utils/hsc2hs dist "" --with-ghc="/wrkdirs/lang/ghc/work/ghc-7.6.3-boot/bin/ghc-7.6.3" --with-ghc-pkg="/wrkdirs/lang/ghc/work/ghc-7.6.3-boot/bin/ghc-pkg-7.6.3" --package-db=/wrkdirs/lang/ghc/work/ghc-7.10.2/libraries/bootstrapping.conf --disable-library-for-ghci --disable-library-vanilla --disable-library-profiling --disable-shared --with-hscolour="/wrkdirs/lang/ghc/work/slaves_prefix/bin/HsColour" --configure-option=CFLAGS="-pipe -I/usr/local/include -O2 -fno-strict-aliasing -fno-stack-protector " --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options="-pipe -I/usr/local/include -O2 -fno-strict-aliasing -fno-stack-protector " --configure-option=--with-iconv-includes="/usr/local/include" --configure-option=--with-iconv-libraries="/usr/local/lib" --configure-option=--with-gmp-includes="/usr/local/include" --configure-option=--with-gmp-libraries="/usr/local/lib" --constraint "binary == 0.7.5.0" --constraint "Cabal == 1.22.4.0" --constraint "hpc == 0.6.0.2" --constraint "bin-package-db == 0.0.0.0" --constraint "hoopl == 3.10.0.2" --constraint "transformers == 0.4.2.0" --constraint "terminfo == 0.4.0.1" --with-gcc="gcc" --configure-option=--with-cc="gcc" --with-ar="/usr/bin/ar" Configuring hsc2hs-0.67... Configuring binary-0.7.5.0... ghc-cabal: /usr/bin/ar: permission denied utils/hsc2hs/ghc.mk:15: recipe for target 'utils/hsc2hs/dist/package-data.mk' failed My guess is /usr/bin/ar is trying to assemble something in a read-only mount in poudriere, which should never happen. (This is also a violation on FreeBSD but poudriere there doesn't break when it happens) Can you guys confirm this is indeed what is happening and if so, where is it building and how can we make it build in $WRKDIR instead? full log (won't be there forever): http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/20150822_035817/logs/errors/ghc-7.10.2.log -- You are receiving this mail because: You are the assignee for the bug.