Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269535 - app-cdr/dvdisaster-0.72_rc1 fails to configure
Summary: app-cdr/dvdisaster-0.72_rc1 fails to configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
: 276501 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-12 10:48 UTC by Helmut Jarausch
Modified: 2009-11-15 14:57 UTC (History)
1 user (show)

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


Attachments
Build log (dvdisaster-0.72_rc1:20090827-235026.log,1.39 KB, text/plain)
2009-08-29 22:11 UTC, Diego Elio Pettenò (RETIRED)
Details
output of emerge --debug (emerge.LOG.lzma,4.92 KB, application/octet-stream)
2009-08-30 09:58 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2009-05-12 10:48:52 UTC
Trying to emerge app-cdr/dvdisaster-0.72_rc1  fails with
>>> Unpacking dvdisaster-0.72.rc1.tar.bz2 to /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work
>>> Source unpacked in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work
>>> Preparing source in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72.rc1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72.rc1 ...
 [33;01m*[0m QA Notice: USE Flag 'debug' not in IUSE for app-cdr/dvdisaster-0.72_rc1
bad option: `--prefix'
Use -h or --help to see options.


Reproducible: Always




emerge --info
Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-i686-Intel-R-_Pentium-R-_III_CPU_family_1266MHz-with-gentoo-2.0.0
Timestamp of tree: Tue, 12 May 2009 07:15:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/java-overlay"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="X acl acpi avahi berkdb bitmap-fonts branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png postscript ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sqlite sqlite3 sse ssl startup-notification svg sysfs tcl tcpd tetex threads tiff tk truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Luther (few) 2009-05-12 10:54:51 UTC
Please attach the config.log.
Comment 2 Helmut Jarausch 2009-05-12 11:06:13 UTC
(In reply to comment #1)
> Please attach the config.log.
> 

There is no such thing!
Here are some more lines from 
/var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/temp/build.log

>>> Unpacking source...
>>> Unpacking dvdisaster-0.72.rc1.tar.bz2 to /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work
>>> Source unpacked in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work
>>> Preparing source in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72.rc1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72.rc1 ...
 [33;01m*[0m QA Notice: USE Flag 'debug' not in IUSE for app-cdr/dvdisaster-0.72_rc1
bad option: `--prefix'
Use -h or --help to see options.

 ERROR: app-cdr/dvdisaster-0.72_rc1 failed.
Call stack:
               ebuild.sh, line   49:  Called src_configure
              environment, line 2579:  Called die
  The specific snippet of code:
       ./configure --prefix="/usr" --bindir="/usr/bin" --mandir="/usr/share/man" --docdir="/usr/share/doc" --docsubdir="${PF}" --localedir="/usr/share/locale" --buildroot="${D}" --with-nls="no" ${myconf} || die "./configure failed"
  The die message:
  ./configure failed
Comment 3 Sebastian Luther (few) 2009-05-12 11:09:45 UTC
The config.log should be in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72_rc1. If it is not there, cd to /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/ and use "find . |grep config.log".
Comment 4 Helmut Jarausch 2009-05-12 11:16:22 UTC
(In reply to comment #3)
> The config.log should be in
> /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72_rc1. If it is
> not there, cd to /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/ and use
> "find . |grep config.log".
> 

Sorry, but I've done so before and there is NO config.log anywhere.
Comment 5 Sebastian Luther (few) 2009-05-12 11:27:55 UTC
And a configure.log?
Comment 6 Helmut Jarausch 2009-05-12 11:35:04 UTC
(In reply to comment #5)
> And a configure.log?
> 

cd /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1
pfind . '/.log$/'    (Perl script which searches the whole subtree)
only gives

./temp/build.log
./temp/eclass-debug.log


I seems configure is broken, it doesn't recognize the --prefix option
(as normal)
Comment 7 Sebastian Luther (few) 2009-05-12 12:05:07 UTC
Looks like you are right. I still can't reproduce it on amd64. Assigning anyways...
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-05-13 14:27:19 UTC
(In reply to comment #0)
> Trying to emerge app-cdr/dvdisaster-0.72_rc1  fails with
> >>> Unpacking dvdisaster-0.72.rc1.tar.bz2 to /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work
> >>> Source unpacked in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work
> >>> Preparing source in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72.rc1 ...
> >>> Source prepared.
> >>> Configuring source in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72.rc1 ...
>  [33;01m*[0m QA Notice: USE Flag 'debug' not in IUSE for

Fixed this, it was missing debug from IUSE.

> app-cdr/dvdisaster-0.72_rc1
> bad option: `--prefix'
> Use -h or --help to see options.

This just can't be right, the ./configure is not autotools configure, but a custom bash script, which supports the --prefix. I just installed it here,
no probs.

So it's a guessing game here until more information is provided, I can think of..

- Where is your /bin/sh symlink pointing to?
- Try with LC_ALL=C emerge dvdisaster
Comment 9 Helmut Jarausch 2009-05-14 09:00:07 UTC
(In reply to comment #8)
> (In reply to comment #0)
> > Trying to emerge app-cdr/dvdisaster-0.72_rc1  fails with
> > >>> Unpacking dvdisaster-0.72.rc1.tar.bz2 to /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work
> > >>> Source unpacked in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work
> > >>> Preparing source in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72.rc1 ...
> > >>> Source prepared.
> > >>> Configuring source in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72.rc1 ...
> >  [33;01m*[0m QA Notice: USE Flag 'debug' not in IUSE for
> 
> Fixed this, it was missing debug from IUSE.
> 
> > app-cdr/dvdisaster-0.72_rc1
> > bad option: `--prefix'
> > Use -h or --help to see options.
> 
> This just can't be right, the ./configure is not autotools configure, but a
> custom bash script, which supports the --prefix. I just installed it here,
> no probs.
> 
> So it's a guessing game here until more information is provided, I can think
> of..
> 
> - Where is your /bin/sh symlink pointing to?
> - Try with LC_ALL=C emerge dvdisaster
> 

/bin/sh -> bash (4.0_p17-r1 here)
setting LC_ALL=C doesn't change anything.
If more strangely 

cd /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72_rc1

./configure --prefix=/usr --bindir=/usr/bin --mandir=/usr/share/man --docdir=/usr/share/doc --docsubdir=dvdisaster-0.72.rc1 --localedir=/usr/share/locale --with-nls=no --buildroot=../image

works just fine.

By the way, version 0.71.26 is installed here.
How can I do configuration and 'make' by hand and use ebuild to install it?
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2009-05-20 14:23:30 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #0)
> > > Trying to emerge app-cdr/dvdisaster-0.72_rc1  fails with
> > > >>> Unpacking dvdisaster-0.72.rc1.tar.bz2 to /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work
> > > >>> Source unpacked in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work
> > > >>> Preparing source in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72.rc1 ...
> > > >>> Source prepared.
> > > >>> Configuring source in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72.rc1 ...
> > >  [33;01m*[0m QA Notice: USE Flag 'debug' not in IUSE for
> > 
> > Fixed this, it was missing debug from IUSE.
> > 
> > > app-cdr/dvdisaster-0.72_rc1
> > > bad option: `--prefix'
> > > Use -h or --help to see options.
> > 
> > This just can't be right, the ./configure is not autotools configure, but a
> > custom bash script, which supports the --prefix. I just installed it here,
> > no probs.
> > 
> > So it's a guessing game here until more information is provided, I can think
> > of..
> > 
> > - Where is your /bin/sh symlink pointing to?
> > - Try with LC_ALL=C emerge dvdisaster
> > 
> 
> /bin/sh -> bash (4.0_p17-r1 here)
> 
> cd /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72_rc1
> 
> ./configure --prefix=/usr --bindir=/usr/bin --mandir=/usr/share/man
> --docdir=/usr/share/doc --docsubdir=dvdisaster-0.72.rc1
> --localedir=/usr/share/locale --with-nls=no --buildroot=../image
> 
> works just fine.
> 
> By the way, version 0.71.26 is installed here.
> How can I do configuration and 'make' by hand and use ebuild to install it?
> 

# cd /usr/portage/app-cdr/dvdisaster
# ebuild dvdisaster-0.72_rc1.ebuild configure

Will run the src_configure part of the .ebuild

# ebuild dvdisaster-0.72_rc1.ebuild install

Will run the install phase.

There is no other phases in this ebuild, please open the ebuild and see the src_configure yourself, and if you see something that could help, edit, save

# ebuild dvdisaster-0.72_rc1.ebuild digest

emerge =dvdisaster-0.72_rc1

Then there is the another issue.. There should be a environment file in dvdisaster's /var/tmp after it fails.. The emerge output tells about it, iirc,
this might be failing because you have something set that messes up the ./configure bash script.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2009-05-20 14:25:38 UTC
> I seems configure is broken, it doesn't recognize the --prefix option
> (as normal)

It's a bash script named as configure, it's not autotools based at all. 

Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-07-04 22:42:46 UTC
*** Bug 276501 has been marked as a duplicate of this bug. ***
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-29 22:10:00 UTC
Sorry you marked my bug dupe of this, so I _have_ to reopen this, given _it still fails to build_.

Also, please do update ChangeLog when you change the ebuild, thanks.
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-29 22:11:43 UTC
Created attachment 202654 [details]
Build log
Comment 15 Helmut Jarausch 2009-08-30 09:01:41 UTC
The same here - it still fails!
Comment 16 Helmut Jarausch 2009-08-30 09:56:55 UTC
It's strange!
If I issue the same configure (as in the attached emerge --debug log)
in /var/tmp/portage/app-cdr/dvdisaster-0.72_rc1/work/dvdisaster-0.72.rc1 
it doesn't fail.
I'm baffled.
How to debug further?
Comment 17 Helmut Jarausch 2009-08-30 09:58:04 UTC
Created attachment 202699 [details]
output of  emerge --debug
Comment 18 Helmut Jarausch 2009-11-15 14:57:14 UTC
Version 0.72.1 installs just fine here.