Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 87270

Summary: amd64: sandbox violation in php-4.3.10 + USE=imap + c-client-2002e-r2
Product: Gentoo Linux Reporter: wiktorw
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description wiktorw 2005-03-30 06:44:02 UTC
I'm trying to emerge php, having USE=imap as one of many other flags.
The portage chooses such stable combination:

net-libs/c-client-2002e-r2
dev-php/php-4.3.10

But php is unable to finish its configure step. Instead I get a sandbox
violation, saying that there is no /usr/lib/libc-client.a file.

However, when I unmask c-client package in /etc/portage/package.keywords:
net-libs/c-client ~amd64
another combination is chosen:

net-libs/c-client-2004a-r1
dev-php/php-4.3.10

In such environment php package compiles.

I tried also:

# emerge -C c-client
# emerge uw-imap
# emerge php

and it works too (I mean, compiles). But I don't really need IMAP server...
So I decided to file a bug report.

Reproducible: Always
Steps to Reproduce:
1. USE=imap
2. emerge php

Actual Results:  
...
checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
configure: error: Cannot find imap library (libc-client.a). Please check your
IMAP installation.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/php-4.3.10/work/php-4.3.10/config.log

!!! ERROR: dev-php/php-4.3.10 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-php_-_php-4.3.10-27392.log"

symlink:   /usr/lib/libc-client.a
--------------------------------------------------------------------------------


Expected Results:  
Expected is php compiled cleanly.

Probably net-libs/c-client-2004a-r1 should be marked stable on amd64.
At that point this bug will be no longer valid.

I'll post emerge info as attachment, as well as php error logs, just in case.
Comment 1 Spider (RETIRED) gentoo-dev 2005-03-30 07:00:48 UTC
*** Bug 87271 has been marked as a duplicate of this bug. ***
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-30 09:14:46 UTC

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