Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409559 - x11-plugins/pidgin-sipe-1.13.0 sandbox violation in mkdir /root/.purple
Summary: x11-plugins/pidgin-sipe-1.13.0 sandbox violation in mkdir /root/.purple
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ian Whyman (thev00d00) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-24 15:23 UTC by Willard Dawson
Modified: 2012-06-30 22:02 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info,6.22 KB, text/plain)
2012-03-24 15:23 UTC, Willard Dawson
Details
build log (build.log,9.94 KB, text/plain)
2012-03-24 15:25 UTC, Willard Dawson
Details
Emerge environment (environment,88.44 KB, text/plain)
2012-03-24 15:26 UTC, Willard Dawson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willard Dawson 2012-03-24 15:23:26 UTC
Created attachment 306533 [details]
emerge --info

Conclusion of merge process with failure:

Build purple plugin
PURPLE_CFLAGS  : -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  
PURPLE_LIBS    : -lpurple -lglib-2.0  
Voice and video: disabled

Not building telepathy plugin

Not building with Kerberos 5 support

Debugging not enabled

Compiler checks disabled

configure complete. Now run 'make'

>>> Source configured.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-8362.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: mkdir
S: deny
P: /root/.purple
A: /root/.purple
R: /root/.purple
C: ./conftest 
--------------------------------------------------------------------------------
Comment 1 Willard Dawson 2012-03-24 15:25:14 UTC
Created attachment 306535 [details]
build log
Comment 2 Willard Dawson 2012-03-24 15:26:19 UTC
Created attachment 306537 [details]
Emerge environment
Comment 3 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2012-03-24 19:04:39 UTC
Annoyingly I cannot replicate on my machines...

I will have to spend some time looking into this one.
Comment 4 Robert Lanning 2012-04-12 20:01:37 UTC
To get past this error run:
# mkdir -p /root/.purple/mbpurple

Somewhere it checks for this directory and runs mkdir if it does not exist.
Comment 5 Willard Dawson 2012-04-14 14:07:58 UTC
(In reply to comment #4)
> To get past this error run:
> # mkdir -p /root/.purple/mbpurple
> 
> Somewhere it checks for this directory and runs mkdir if it does not exist.

On the one hand - not difficult to do.  On the other - should I, really?  Is there no way to fix the ebuild properly?  Not saying I can see how, though, yet at least.
Comment 6 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2012-04-14 14:56:36 UTC
Those directories dont exist on my system and it still builds without issue for me.

If I could reproduce it would make this a lot easier.

I suspect its a compile test that uses libpurple which then tries to create its prefs dir, so I may have to just strip them out.
Comment 7 Willard Dawson 2012-04-15 19:04:59 UTC
So, I created an empty /root/.purple/mbpurple directory and tried again; the emerge completed without error.  I used 'emerge -d' for a failed attempt and the successful attempt, but it did not reveal anything useful.  Perhaps there would have been a better approach.

I deleted the directory, un-emerged and emerged again. Again, the sandbox access violation.  So, at least I can consistently cause the emerge to fail.

What would be the best approach to determine the root cause?
Comment 8 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2012-06-26 21:49:12 UTC
I've just commited x11-plugins/pidgin-sipe-1.13.2 to the tree which should hopefully fix this issue.

Please give it a try

Thanks
Comment 9 Mark H. Wood 2012-06-28 14:32:03 UTC
1.13.2 is found by pidgin 2.10.4 (I see it opening the library in strace) but isn't to be found in the protocols list.  My Lync account doesn't connect, and when I edit it I don't see Office Communicator as an option.

I dropped back to 1.13.1 and my Lync connection came back.
Comment 10 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2012-06-28 15:15:46 UTC
(In reply to comment #9)

Please open a new bug for that issue attaching your emerge --info, pidgin logs and anything you deem helpful.

Thanks!
Comment 11 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2012-06-30 22:02:28 UTC
Fixed in Tree.