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

Bug 835652

Summary: net-im/coturn ebuild tries to use /var/tmp and fails
Product: Gentoo Linux Reporter: Forza <forza>
Component: Current packagesAssignee: Andreas Schürch <nativemad>
Status: RESOLVED FIXED    
Severity: normal CC: forza, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge.log
emerge --info

Description Forza 2022-03-20 11:02:03 UTC
Created attachment 767437 [details]
emerge.log

I emerged net-im/coturn-4.5.2 and it looked like it emerged successfully, but it actually failed to install any binaries. The ebuild log file shows that it attempts to access /var/tmp outside of its sandbox.
Comment 1 Forza 2022-03-20 11:03:06 UTC
Created attachment 767438 [details]
emerge --info
Comment 2 Forza 2022-03-20 11:25:37 UTC
Tried energing without sandbox and users and ox but that failed too. I finally got it merged by doing

× ebuild coturn-4.5.2.ebuild prepare
* manually run "./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --without-sqlite"
* ebuild coturn-4.5.2 ebuild merge

So it seems that there is some issue in the configure script?
Comment 3 Forza 2022-03-20 11:28:18 UTC
I shouldn't type from the phone... Autocorrect is playing tricks on me.

I meant to say "Tried emerging without sandbox and usersandbox but that failed too."
Comment 4 Larry the Git Cow gentoo-dev 2022-05-19 03:43:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23af4fed2d7cc961e7df0ccb0765e590e673f9ab

commit 23af4fed2d7cc961e7df0ccb0765e590e673f9ab
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-19 03:41:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-19 03:41:36 +0000

    net-im/coturn: fix automagic OpenSSL dep
    
    Also:
    - Fix calling AR, CC directly
    - Fix TMPDIR usage
    
    Bug: https://bugs.gentoo.org/729820
    Closes: https://bugs.gentoo.org/835652
    Closes: https://bugs.gentoo.org/724918
    Signed-off-by: Sam James <sam@gentoo.org>

 net-im/coturn/coturn-4.5.2-r1.ebuild               | 17 +++++++++---
 net-im/coturn/coturn-9999.ebuild                   | 31 +++++++++++++++-------
 .../coturn/files/coturn-4.5.2-respect-TMPDIR.patch | 24 +++++++++++++++++
 3 files changed, 59 insertions(+), 13 deletions(-)