Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402459 - games-engines/scummvm-tools-1.4.0: configure fails if /tmp is mounted noexec
Summary: games-engines/scummvm-tools-1.4.0: configure fails if /tmp is mounted noexec
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-06 21:38 UTC by Alexander Tsoy
Modified: 2012-02-06 22:34 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 Alexander Tsoy 2012-02-06 21:38:18 UTC
configure script creates executable in /tmp directory and compiler test fails when /tmp is mounted whith noexec option. Some strings from configure script:


if type mktemp > /dev/null 2>&1 ; then
        TMPO=`mktemp /tmp/scummvm-conf.XXXXXXXXXX`
else
        TMPO=./scummvm-tools-conf
fi

...

test_compiler() {
...
        eval "$1 $CXXFLAGS $LDFLAGS -o $TMPO$HOSTEXEEXT tmp_cxx_compiler.cpp" 2> /dev/null && eval "$TMPO$HOSTEXEEXT 2> /dev/null" && cc_check_clean tmp_cxx_compiler.cpp
}


Build log:

>>> Unpacking source...
>>> Unpacking scummvm-tools-1.4.0.tar.bz2 to /var/tmp/portage/games-engines/scummvm-tools-1.4.0/work
>>> Source unpacked in /var/tmp/portage/games-engines/scummvm-tools-1.4.0/work
>>> Preparing source in /var/tmp/portage/games-engines/scummvm-tools-1.4.0/work/scummvm-tools-1.4.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-engines/scummvm-tools-1.4.0/work/scummvm-tools-1.4.0 ...
Running ScummVM Tools configure...
Looking for C++ compiler... none found!
 * ERROR: games-engines/scummvm-tools-1.4.0 failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_configure
 *   environment, line 2523:  Called die
 * The specific snippet of code:
 *       ./configure --enable-verbose-build --mandir=/usr/share/man --prefix=/usr/games --libdir=/usr/games/lib $(use_enable flac) $(use_enable iconv) $(use_enable iconv freetype) $(use_enable mad) $(use_enable png) $(use_enable vorbis) || die
 * 
 * If you need support, post the output of 'emerge --info =games-engines/scummvm-tools-1.4.0',
 * the complete build log and the output of 'emerge -pqv =games-engines/scummvm-tools-1.4.0'.
 * The complete build log is located at '/var/tmp/portage/games-engines/scummvm-tools-1.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-engines/scummvm-tools-1.4.0/temp/environment'.
 * S: '/var/tmp/portage/games-engines/scummvm-tools-1.4.0/work/scummvm-tools-1.4.0'

Reproducible: Always
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2012-02-06 22:34:39 UTC
fixed.