Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578884 - dev-haskell/*: I cannot build haskell packages (ACCESS DENIED: execvpe)
Summary: dev-haskell/*: I cannot build haskell packages (ACCESS DENIED: execvpe)
Status: RESOLVED DUPLICATE of bug 578516
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-03 01:56 UTC by Maciej Piechotka
Modified: 2016-04-11 08:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2016-04-03 01:56:51 UTC
It affects multiple packages:

>>> Configuring source in /var/tmp/portage/dev-haskell/wai-3.2.0.1/work/wai-3.2.0.1 ...
 * Using cabal-1.22.8.0.
 * Prepending /usr/lib64/ghc-7.10.3 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.22.8.0 --make /var/tmp/portage/dev-haskell/wai-3.2.0.1/work/wai-3.2.0.1/Setup.lhs -threaded -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/wai-3.2.0.1/work/wai-3.2.0.1/Setup.lhs, /var/tmp/portage/dev-haskell/wai-3.2.0.1/work/wai-3.2.0.1/Setup.o )
 * ACCESS DENIED:  execvpe:      /usr/lib64/distcc/bin/x86_64-pc-linux-gnu-gcc

<no location info>:
    Warning: Couldn't figure out C compiler information!
             Make sure you're using GNU gcc, or clang
Linking setup ...
 * ACCESS DENIED:  execvpe:      /usr/lib64/distcc/bin/x86_64-pc-linux-gnu-gcc

<no location info>:
    Warning: Couldn't figure out linker information!
             Make sure you're using GNU ld, GNU gold or the built in OS X linker, etc.
./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=wai-3.2.0.1/ghc-7.10.3 --datadir=/usr/share/ --datasubdir=wai-3.2.0.1/ghc-7.10.3 --disable-tests --ghc-option=-j4 --ghc-option=-optc-O2 --ghc-option=-optc-pipe --ghc-option=-optc-ggdb --ghc-option=-optc-Wa,--compress-debug-sections --ghc-option=-optc-march=ivybridge --ghc-option=-optc-mmmx --ghc-option=-optc-mno-3dnow --ghc-option=-optc-msse --ghc-option=-optc-msse2 --ghc-option=-optc-msse3 --ghc-option=-optc-mssse3 --ghc-option=-optc-mno-sse4a --ghc-option=-optc-mcx16 --ghc-option=-optc-msahf --ghc-option=-optc-mno-movbe --ghc-option=-optc-maes --ghc-option=-optc-mno-sha --ghc-option=-optc-mpclmul --ghc-option=-optc-mpopcnt --ghc-option=-optc-mno-abm --ghc-option=-optc-mno-lwp --ghc-option=-optc-mno-fma --ghc-option=-optc-mno-fma4 --ghc-option=-optc-mno-xop --ghc-option=-optc-mno-bmi --ghc-option=-optc-mno-bmi2 --ghc-option=-optc-mno-tbm --ghc-option=-optc-mavx --ghc-option=-optc-mno-avx2 --ghc-option=-optc-msse4.2 --ghc-option=-optc-msse4.1 --ghc-option=-optc-mno-lzcnt --ghc-option=-optc-mno-rtm --ghc-option=-optc-mno-hle --ghc-option=-optc-mrdrnd --ghc-option=-optc-mf16c --ghc-option=-optc-mfsgsbase --ghc-option=-optc-mno-rdseed --ghc-option=-optc-mno-prfchw --ghc-option=-optc-mno-adx --ghc-option=-optc-mfxsr --ghc-option=-optc-mxsave --ghc-option=-optc-mxsaveopt --ghc-option=-optc-mno-avx512f --ghc-option=-optc-mno-avx512er --ghc-option=-optc-mno-avx512cd --ghc-option=-optc-mno-avx512pf --ghc-option=-optc-mno-prefetchwt1 --ghc-option=-optc-mno-clflushopt --ghc-option=-optc-mno-xsavec --ghc-option=-optc-mno-xsaves --ghc-option=-optc-mno-avx512dq --ghc-option=-optc-mno-avx512bw --ghc-option=-optc-mno-avx512vl --ghc-option=-optc-mno-avx512ifma --ghc-option=-optc-mno-avx512vbmi --ghc-option=-optc-mno-clwb --ghc-option=-optc-mno-pcommit --ghc-option=-optc-mno-mwaitx --ghc-option=-optc--param --ghc-option=-optcl1-cache-size=32 --ghc-option=-optc--param --ghc-option=-optcl1-cache-line-size=64 --ghc-option=-optc--param --ghc-option=-optcl2-cache-size=8192 --ghc-option=-optc-mtune=ivybridge --ghc-option=-optc-fgcse-sm --ghc-option=-optc-fgcse-las --ghc-option=-optc-fgcse-after-reload --ghc-option=-optc-floop-block --ghc-option=-optc-floop-interchange --ghc-option=-optc-ftree-loop-distribution --ghc-option=-optc-floop-strip-mine --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,--hash-style=both --ghc-option=-optl-Wl,--sort-common --ghc-option=-optl-Wl,--no-keep-memory --disable-executable-stripping --docdir=/usr/share/doc/wai-3.2.0.1 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping
Configuring wai-3.2.0.1...
 * ACCESS DENIED:  execvpe:      /usr/bin/ghc
setup: /usr/bin/ghc: permission denied
 * ghc-pkg check: 'checking for other broken packages:'
 * ERROR: dev-haskell/wai-3.2.0.1::haskell failed (configure phase):
 *   setup configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_configure
 *   environment, line 2861:  Called haskell-cabal_src_configure
 *   environment, line 1964:  Called cabal-configure
 *   environment, line  583:  Called cabal-show-brokens-and-die 'setup configure failed'
 *   environment, line  681:  Called die
 * The specific snippet of code:
 *       die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/wai-3.2.0.1::haskell'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/wai-3.2.0.1::haskell'`.
 * The complete build log is located at '/var/log/portage/dev-haskell:wai-3.2.0.1:20160402-213217.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/wai-3.2.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/wai-3.2.0.1/work/wai-3.2.0.1'
 * S: '/var/tmp/portage/dev-haskell/wai-3.2.0.1/work/wai-3.2.0.1'
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-32238.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: execvpe
S: deny
P: /usr/lib64/distcc/bin/x86_64-pc-linux-gnu-gcc
A: /usr/lib64/distcc/bin/x86_64-pc-linux-gnu-gcc
R: /usr/bin/distcc
C: /usr/lib64/ghc-7.10.3/bin/ghc -B/usr/lib64/ghc-7.10.3 -optc-fno-stack-protector -package Cabal-1.22.8.0 --make /var/tmp/portage/dev-haskell/wai-3.2.0.1/work/wai-3.2.0.1/Setup.lhs -threaded -dynamic -o setup 

F: execvpe
S: deny
P: /usr/lib64/distcc/bin/x86_64-pc-linux-gnu-gcc
A: /usr/lib64/distcc/bin/x86_64-pc-linux-gnu-gcc
R: /usr/bin/distcc
C: /usr/lib64/ghc-7.10.3/bin/ghc -B/usr/lib64/ghc-7.10.3 -optc-fno-stack-protector -package Cabal-1.22.8.0 --make /var/tmp/portage/dev-haskell/wai-3.2.0.1/work/wai-3.2.0.1/Setup.lhs -threaded -dynamic -o setup 

F: execvpe
S: deny
P: /usr/bin/ghc
A: /usr/bin/ghc
R: /usr/bin/ghc-7.10.3
C: ./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=wai-3.2.0.1/ghc-7.10.3 --datadir=/usr/share/ --datasubdir=wai-3.2.0.1/ghc-7.10.3 --disable-tests --ghc-option=-j4 --ghc-option=-optc-O2 --ghc-option=-optc-pipe --ghc-option=-optc-ggdb --ghc-option=-optc-Wa,--compress-debug-sections --ghc-option=-optc-march=ivybridge --ghc-option=-optc-mmmx --ghc-option=-optc-mno-3dnow --ghc-option=-optc-msse --ghc-option=-optc-msse2 --ghc-option=-optc-msse3 --ghc-option=-optc-mssse3 --ghc-option=-optc-mno-sse4a --ghc-option=-optc-mcx16 --ghc-option=-optc-msahf --ghc-option=-optc-mno-movbe --ghc-option=-optc-maes --ghc-option=-optc-mno-sha --ghc-option=-optc-mpclmul --ghc-option=-optc-mpopcnt --ghc-option=-optc-mno-abm --ghc-option=-optc-mno-lwp --ghc-option=-optc-mno-fma --ghc-option=-optc-mno-fma4 --ghc-option=-optc-mno-xop --ghc-option=-optc-mno-bmi --ghc-option=-optc-mno-bmi2 --ghc-option=-optc-mno-tbm --ghc-option=-optc-mavx --ghc-option=-optc-mno-avx2 --ghc-option=-optc-msse4.2 --ghc-option=-optc-msse4.1 --ghc-option=-optc-mno-lzcnt --ghc-option=-optc-mno-rtm --ghc-option=-optc-mno-hle --ghc-option=-optc-mrdrnd --ghc-option=-optc-mf16c --ghc-option=-optc-mfsgsbase --ghc-option=-optc-mno-rdseed --ghc-option=-optc-mno-prfchw --ghc-option=-optc-mno-adx --ghc-option=-optc-mfxsr --ghc-option=-optc-mxsave --ghc-option=-optc-mxsaveopt --ghc-option=-optc-mno-avx512f --ghc-option=-optc-mno-avx512er --ghc-option=-optc-mno-avx512cd --ghc-option=-optc-mno-avx512pf --ghc-option=-optc-mno-prefetchwt1 --ghc-option=-optc-mno-clflushopt --ghc-option=-optc-mno-xsavec --ghc-option=-optc-mno-xsaves --ghc-option=-optc-mno-avx512dq --ghc-option=-optc-mno-avx512bw --ghc-option=-optc-mno-avx512vl --ghc-option=-optc-mno-avx512ifma --ghc-option=-optc-mno-avx512vbmi --ghc-option=-optc-mno-clwb --ghc-option=-optc-mno-pcommit --ghc-option=-optc-mno-mwaitx --ghc-option=-optc--param --ghc-option=-optcl1-cache-size=32 --ghc-option=-optc--param --ghc-option=-optcl1-cache-line-size=64 --ghc-option=-optc--param --ghc-option=-optcl2-cache-size=8192 --ghc-option=-optc-mtune=ivybridge --ghc-option=-optc-fgcse-sm --ghc-option=-optc-fgcse-las --ghc-option=-optc-fgcse-after-reload --ghc-option=-optc-floop-block --ghc-option=-optc-floop-interchange --ghc-option=-optc-ftree-loop-distribution --ghc-option=-optc-floop-strip-mine --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,--hash-style=both --ghc-option=-optl-Wl,--sort-common --ghc-option=-optl-Wl,--no-keep-memory --disable-executable-stripping --docdir=/usr/share/doc/wai-3.2.0.1 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping 
 * --------------------------------------------------------------------------------
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2016-04-11 08:17:42 UTC
bug #578516 tracks this sandbox bug. You need to downgrade to working sandbox version.

*** This bug has been marked as a duplicate of bug 578516 ***