Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Scummvm 0.12.0 fails, "unrecognised option: --infodir"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
vputz
Guru
Guru


Joined: 16 Mar 2005
Posts: 310
Location: Oxford, England

PostPosted: Mon Feb 02, 2009 5:03 pm    Post subject: Scummvm 0.12.0 fails, "unrecognised option: --infodir&q Reply with quote

Hmm, for some reason I'm unable to update from scummvm-0.11.1 to scummvm-0.12.0. I would paste the error, but I'm ssh'd to my box at home on X11 on my Mac, but Firefox is in Cocoa, and no power on earth will let me copy-and-paste between them, which FILLS ME WITH RAGE (I've read a few articles on this, but none seem to help).

Anyway, suffice it to say that the ebuild is trying to call .configure with many options, including "--infodir=/usr/share/info". The ebuild fails immediately, saying "error: unrecognised option: --infodir=/usr/share/info", "Try './configure --help' for more information."

Any suggestions? I'm a touch puzzled by this, but can't find much info.
[/bug]
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Feb 04, 2009 4:23 am    Post subject: Reply with quote

Code:
/home/daffy $ emerge -pv scummvm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] games-engines/scummvm-0.12.0  USE="alsa flac mp3 ogg vorbis zlib -debug -fluidsynth" 5,845 kB

What USE flags did you use and what arch are you on? x86 here.
Back to top
View user's profile Send private message
vputz
Guru
Guru


Joined: 16 Mar 2005
Posts: 310
Location: Oxford, England

PostPosted: Wed Feb 04, 2009 10:57 am    Post subject: Reply with quote

It's x86 here too. I've hopefully got a copy/pasteable terminal, so first here's the emerge output (relevant bit)

Code:

Creating config.h
Creating config.mk
>>> Source configured.
>>> root +sandbox() /var/tmp/portage/games-engines/scummvm-0.12.0
>>> Compiling source in /var/tmp/portage/games-engines/scummvm-0.12.0/work/scummvm-0.12.0 ...
 * econf called in src_compile instead of src_configure
 * econf: updating scummvm-0.12.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating scummvm-0.12.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --build=i686-pc-linux-gnu
Running ScummVM configure...
error: unrecognised option: --infodir=/usr/share/info
Try `./configure --help' for more information.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/games-engines/scummvm-0.12.0/work/scummvm-0.12.0/config.log
 *
 * ERROR: games-engines/scummvm-0.12.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2300:  Called games_src_compile
 *             environment, line 1292:  Called egamesconf
 *             environment, line  649:  Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games'
 *               ebuild.sh, line  529:  Called die
 * The specific snippet of code:
 *                      die "econf failed"


Here are use flags:

Code:

freevo vputz # equery uses scummvm
[ Searching for packages matching scummvm... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for games-engines/scummvm-0.11.1 ]
 U I
 + + alsa       : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 - - debug      : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 + + flac       : Adds support for FLAC: Free Lossless Audio Codec
 - - fluidsynth : compile with support for fluidsynth
 + + mp3        : Add support for reading mp3 files
 + + ogg        : Adds support for the Ogg container format (commonly used by Vorbis, Theora and flac)
 + + vorbis     : Adds support for the OggVorbis audio codec
 + + zlib       : Adds support for zlib (de)compression


I can't see anything too cosmic about an info dir. Relevant bits of make.conf are

Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
FEATURES="ccache"
#distcc"
CCACHE_SIZE="2G"
USE="aac apache2 bacula-console bash-completion bash-completionbzip2
     cdparanoiacrypt dga divx4linux dvb emacs exif fftw flac gpg gpgme idn
     imagemagick imap joystick latex lircmad madwifi math mmap mysql physfs
     sasl smtp sndfile uk_bleb uk_rt unicode v4l v4l2 vcd vhosts videos wifi
     x264 xvid xvmc"


(which makes me realize I have a few problems in make.conf regarding spacing, so I'll clean those up--and I'm not using distcc any more so "-j 5" may be a bit optimistic...)
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Feb 04, 2009 11:15 pm    Post subject: Reply with quote

Comment out your MAKEOPTS so that it uses the default and see what happens. If that doesn't work, try setting it to "-j1".
Back to top
View user's profile Send private message
vputz
Guru
Guru


Joined: 16 Mar 2005
Posts: 310
Location: Oxford, England

PostPosted: Thu Feb 05, 2009 12:07 am    Post subject: Reply with quote

No dice; same problem with --info-dir. Could this have something to do with the config.guess, config.sub business?
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Thu Feb 05, 2009 1:01 am    Post subject: Reply with quote

Try disabling ccache.
Back to top
View user's profile Send private message
vputz
Guru
Guru


Joined: 16 Mar 2005
Posts: 310
Location: Oxford, England

PostPosted: Wed Feb 11, 2009 5:40 pm    Post subject: Reply with quote

Yabba:

I tried that, no dice again. Some more input which may be important: I'm using the sunrise and games overlays. But more importantly, I think this error may be relevant:

Code:

>>> Compiling source in /var/tmp/portage/games-engines/scummvm-0.12.0/work/scummvm-0.12.0 ...
 * econf called in src_compile instead of src_configure
 * econf: updating scummvm-0.12.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating scummvm-0.12.0/config.sub with /usr/share/gnuconfig/config.sub
...
 * ERROR: games-engines/scummvm-0.12.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2300:  Called games_src_compile
 *             environment, line 1292:  Called egamesconf
 *             environment, line  649:  Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games'
 *               ebuild.sh, line  529:  Called die
 * The specific snippet of code:
 *                      die "econf failed"


...specifically, the bit where econf is called. I'm not sure, but the ebuild has this rather significant-sounding section:

Code:

        # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
        # mpeg2 support needs vorbis (bug #79149) so turn it off if -oggvorbis
        ./configure \
                $(use_enable debug) \
                $(use_enable alsa) \
                $(use_enable mp3 mad) \
                $(use_enable flac) \
                $(use_enable zlib) \
                $(use_enable x86 nasm) \
                ${myconf} \
                || die "configure failed"


...which sounds to me like the ebuild should be calling configure itself, rather than ever calling econf. It's doing that part correctly and avoiding econf during configure, but during the compilation phase, it calls econf anyway--invalidating the configuration.

I'm not clear on what's borked here--the ebuild, or my environment somehow such that "src_compile" is calling econf when it shouldn't be; I'm not clear on the innards of portage to know if one of the overlays is screwing with the process somehow.

Any clues?
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Feb 11, 2009 10:41 pm    Post subject: Reply with quote

I don't know what to tell you. It works fine for me. Of course I'm not using any overlays except my own, and it only has two packages in it.
Back to top
View user's profile Send private message
pengi
n00b
n00b


Joined: 03 Apr 2003
Posts: 54
Location: Sweden

PostPosted: Thu Feb 26, 2009 10:58 am    Post subject: Reply with quote

I've got exactly this problem with scummvm-0.12.0 too.

Seems like src_compile is inherited from games.eclass, which triggeres egamesconf, which runs econf with all those parameters.

I solved it by copying the scummvm ebuild to my local overlay and created a new src_compile function wich doesn't trigger econf, just emake.

I don't know the correct way of doing it, and I don't know naming convension of ebuild, so I leave it to someone else to file a bug report...


Code:
src_compile() {
        emake || die "emake failed"
}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum