Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106013 - cannot emerge camserv and camsource on via nehemiah
Summary: cannot emerge camserv and camsource on via nehemiah
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-14 15:40 UTC by asshat
Modified: 2005-12-08 07:55 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 asshat 2005-09-14 15:40:21 UTC
i get this from x86 emerge and emerge camsource camserv 

  
      config.status: creating relay/Makefile
  
      config.status: creating include/camserv_config.h
  
      configure: configuring in libltdl
  
      configure: running /bin/sh './configure'  --prefix=/usr
--host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--build=i386-pc-linux-gnu CC=gcc 'CFLAGS=-O2 -march=i386 -fomit-frame-pointer
-mmmx -msse -mfpmath=sse -pipe' build_alias=i386-pc-linux-gnu
host_alias=i386-pc-linux-gnu --enable-ltdl-convenience --cache-file=/dev/null
--srcdir=.
   
      configure: warning: CC=gcc: invalid host type
   
      configure: warning: CFLAGS=-O2 -march=i386 -fomit-frame-pointer -mmmx
-msse -mfpmath=sse -pipe: invalid host type
   
      configure: error: can only configure for one host and one target at a time
   
      configure: error: /bin/sh './configure' failed for libltdl
   
      sed: can't read confdefs.h: No such file or directory
  
  
      !!! Please attach the config.log to your bug report:
  
      !!! /var/tmp/portage/camserv-0.5.1-r2/work/camserv-0.5.1/config.log
  
  
      !!! ERROR: media-video/camserv-0.5.1-r2 failed.
  
     !! Function econf, Line 485, Exitcode 0
  
      !!! econf failed
  
      !!! If you need support, post the topmost build error, NOT this status
message.
  
  
      {root@ibis:/proc}emerge camserv camsource 

Reproducible: Always
Steps to Reproduce:
1.emerge
2.
3.



Expected Results:  
installed

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.4,
glibc-2.3.4.20040808-r1, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 VIA Nehemiah
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.90.0.1.1-r3
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -mmmx -msse -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -mmmx -msse -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/
ftp://darkstar.ist.utl.pt/pub/gentoo/
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://files.gentoo.gr
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.ankara.edu.tr/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.caliu.info/pub/gentoo/ ftp://ftp.cgu.edu.tw/Linux/Gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.citkit.ru/pub/Linux/gentoo ftp://ftp.dtiltas.lt/mirror/gentoo/
ftp://ftp.du.se/pub/os/gentoo ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO
ftp://ftp.gentoo.mesh-solutions.com/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.heanet.ie/pub/gentoo/
ftp://ftp.isu.edu.tw/pub/Linux/Gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.las.ic.unicamp.br/pub/gentoo/ ftp://130.207.108.136/pub/gentoo
ftp://ftp.linux.ee/pub/gentoo/distfiles/
ftp://ftp.linux.org.tr/pub/mirrors/gentoo/ ftp://ftp.lug.ro/gentoo
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://ftp.ntua.gr/pub/linux/gentoo/
ftp://ftp.physics.auth.gr/pub/mirrors/gentoo/ ftp://ftp.rhnet.is/pub/gentoo/
ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ ftp://ftp.roedu.net/pub/mirrors/gentoo.org/
ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://ftp.romnet.org/gentoo/
ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.solnet.ch/mirror/Gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.unina.it/pub/linux/distributions/gentoo
ftp://ftp.uoi.gr/mirror/OS/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://gentoo.ccccom.com
ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/
ftp://gentoo.inf.elte.hu/ ftp://gentoo.inode.at/source/
ftp://gentoo.itdnet.net/gentoo/ ftp://gentoo.kems.net/mirrors/gentoo
ftp://gentoo.ccccom.com ftp://gentoo.llarian.net/pub/gentoo
ftp://gentoo.mirrors.scphost.com/pub/mirrors/gentoo/
ftp://gentoo.mirrors.tds.net/gentoo
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.po.opole.pl
ftp://gentoo.risq.qc.ca/ ftp://gg3.net/pub/linux/gentoo/
ftp://linux.cs.lewisu.edu/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://lug.mtu.edu/gentoo
ftp://gentoo.mirrors.tds.net/gentoo ftp://mirror.aiya.ru/pub/gentoo/
ftp://mirror.averse.net/pub/gentoo ftp://mirror.etf.bg.ac.yu/gentoo/
ftp://mirror.iawnet.sandia.gov/pub/gentoo/ fanetmirror.com/pub/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://trumpetti.atm.tut.fi/gentoo/ http://adelie.polymtl.ca/
http://cudlug.cudenver.edu/gentoo/ http://darkstar.ist.utl.pt/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://ds.thn.htu.se/linux/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.ankara.edu.tr/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.caliu.info/pub/gentoo/ http://ftp.citkit.ru/pub/Linux/gentoo
http://ftp.du.se/pub/os/gentoo http://ftp.gentoo.or.kr/
http://ftp.heanet.ie/pub/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.linux.ee/pub/gentoo/distfiles/
http://ftp.lug.ro/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/
http://ftp.physics.auth.gr/pub/mirrors/gentoo/ http://ftp.rhnet.is/pub/gentoo/
http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://ftp.romnet.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.ITDNet.net/gentoo
http://gentoo.arcticnetwork.ca/ http://gentoo.binarycompass.org
http://gentoo.blueyonder.co.uk http://gentoo.ccccom.com
http://gentoo.channelx.biz/ http://gentoo.chem.wisc.edu/gentoo/
http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.cs.lewisu.edu/gentoo/
http://gentoo.ccccom.com http://gentoo.gg3.net/ http://gentoo.inf.elte.hu/
http://gentoo.inode.at/ http://gentoo.kems.net http://gentoo.llarian.net/
http://gentoo.mirror.solnet.ch http://gentoo.mirrors.easynews.com/linux/gentoo/
http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net
http://gentoo.osuosl.org/ http://gentoo.mirrors.easynews.com/linux/gentoo/
http://gentoo.po.opole.pl http://gentoo.prz.rzeszow.pl http://gentoo.scphost.com
http://gentoo.seren.com/gentoo http://gentoo.ynet.sk/pub
http://gentoo.zie.pg.gda.pl http://linuv.uv.es/mirror/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://mir.zyrianes.net/gentoo/ http://mirror.aiya.ru/pub/gentoo/
http://gentoo.seren.com/gentoo http://mirror.averse.net/pub/gentoo/
http://mirror.datapipe.net/gentoo http://mirror.espri.arizona.edu/gentoo/
http://mirror.etf.bg.ac.yu/gentoo http://mirror.gentoo.gr.jp
http://mirror.gentoo.no/ http://mirror.hamakor.org.il/pub/mirrors/gentoo/
http://mirror.isp.net.au/pub/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/
http://mirror.phy.olemiss.edu/mirror/gentoo http://mirror.datapipe.net/gentoo
http://mirror.pudas.net/gentoo http://mirror.switch.ch/mirror/gentoo/
http://mirror.uni-c.dk/pub/gentoo/ http://mirror.usu.edu/mirrors/gentoo/
http://mirrors.acm.cs.rpi.edu/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://modzer0.cs.uaf.edu/public/gentoo/ http://mymirror.asiaosc.org/gentoo/
http://open-systems.ufl.edu/mirrors/gentoo
http://pandemonium.tiscali.de/pub/gentoo/
http://open-systems.ufl.edu/mirrors/gentoo http://prometheus.cs.wmich.edu/gentoo
http://src.gentoo.pl http://trumpetti.atm.tut.fi/gentoo/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://www.las.ic.unicamp.br/pub/gentoo/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://212.219.56.146/sites/www.ibiblio.org/gentoo/ ftp://gentoo.ccccom.com
http://gentoo.ccccom.com http://gentoo.mirrors.easynews.com/linux/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 alsa apache1 apache2 apm avi berkdb bitmap-fonts chroot cpdflib crypt
cups curl dba dedicated diet eds emboss encode esd flac foomaticdb fortran gd
gd-external gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 jpeg libg++ libwww mad
mikmod minimal motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam
pdflib perl php phpbb png python quicktime readline samba sdl softquota spell
sql ssl svga tcpd texui tiff truetype truetype-fonts type1-fonts vorbis xine
xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Joe Acosta 2005-09-25 11:51:54 UTC
I'm having a similar problem emerging the camserv package.  I'm using a P233MMX
though.

I have found that part of the configure script uses the /etc/make.conf CFLAGS
that are defined and that the configure script fails if these flags are defined.  

If I run configure from /var/tmp/portage/camserv-0.5.1-r2/work/camserv-0.5 like
below:

./configure  --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--enable-ltdl-convenience --cache-file=/dev/null --srcdir=.

then configure runs through just fine.  If I put anything in the CFLAGS
configure fails and complains about the invalid host type with 2 warnings, then
the next line says something about "can only configure for one host and one
target at a t time'.

I have been able to emerge camsource though with no problem.  


Comment 2 Joe Acosta 2005-09-29 20:58:24 UTC
In further investigating this, I've found that camserv uses autoconf-2.13 and
the main build uses autoconf > 2.50.  After some googling this is actually a bug
in autoconf when the arguments are passed between version>2.50 and 2.13.  It
fails.  

If you remove autoconf 2.13 then it wont be able to compile.  I'm not sure where
all this is setup, but I think the fix it to get it to compile with autoconf 2.590+

Comment 3 Guy Martin (RETIRED) gentoo-dev 2005-11-22 05:53:35 UTC
This src_unpack make it work :

src_unpack() {

    export WANT_AUTOCONF=2.5
    unpack ${A}
    cd ${S}
    eautoconf
    epatch ${FILESDIR}/${PN}-0.5-errno.patch
    cd libltdl
    eautoconf
}


Sorry, I haven't done a patch but that should be easy to modify :)
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-08 07:55:59 UTC
Should be fixed now.