Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39142 - ncpfs-2.2.3 fails to compile when php is detected
Summary: ncpfs-2.2.3 fails to compile when php is detected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-23 02:26 UTC by Matthias Grimm
Modified: 2005-10-24 08:23 UTC (History)
1 user (show)

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 Matthias Grimm 2004-01-23 02:26:17 UTC
while compiling ncpfs I get this error:
config.status: creating po/Makefile
configure: configuring in contrib/php
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--enable-pam' 'CC=gcc' 'CFLAGS=-march=pentium4 -pipe -fomit-frame-pointer -Os -fexpensive-optimizations -fpic -frerun-cse-after-loop -frerun-loop-opt -foptimize-register-move' 'host_alias=i686-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
configure: warning: CC=gcc: invalid host type
configure: warning: CFLAGS=-march=pentium4 -pipe -fomit-frame-pointer -Os -fexpensive-optimizations -fpic -frerun-cse-after-loop -frerun-loop-opt -foptimize-register-move: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh './configure' failed for contrib/php

!!! ERROR: net-fs/ncpfs-2.2.3 failed.
!!! Function econf, Line 339, Exitcode 1
!!! econf failed

on a second pc w/o php installed the ebuild builds fine.

this bug looks like a duplicate of #19529, but it isn't since the ebuilds are different and the the ncpfs-configure automatically detects php, so one needs to disable php in the ebuild nowether php installed or not.


Reproducible: Always
Steps to Reproduce:
1. try to build ncpfs
2. edit line 29 of ncpfs-2.2.3.ebuild to 'econf ${myconf} --disable-php'
3. build again

Actual Results:  
ebuild compiles happilly

Expected Results:  
the ebuild should disable php all the time, since it seems that ncpfs-2.2.3 has
a major flaw in ./contrib/php

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.0-gentoo-r2)
=================================================================
System uname: 2.6.0-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -pipe -fomit-frame-pointer -Os -fexpensive-optimizations
-fpic -frerun-cse-after-loop -frerun-loop-opt -foptimize-register-move"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -pipe -fomit-frame-pointer -Os
-fexpensive-optimizations -fpic -frerun-cse-after-loop -frerun-loop-opt
-foptimize-register-move"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://bull/gentoo-portage"
USE="3dnow apache2 apm arts avi berkdb crypt cups dedicated encode foomaticdb
gdbm gif gpm imap imlib jpeg libg++ libwww mad maildir mikmod mmx motif mpeg
mysql ncurses nls oggvorbis oss pam parse-clocks pdflib perl png python
quicktime readline samba sasl sdl slang spell ssl svga tcpd truetype unicode x86
xml xml2 xmms xv zlib"
Comment 1 Wolfram Schlich (RETIRED) gentoo-dev 2004-05-13 07:16:28 UTC
confirmed here.
I guess this is an autoconf/automake issue...
Comment 2 Christian Jiresjö 2005-10-18 07:38:27 UTC
This bug should probably be closed since there is no compile problem with php in
the new stable ncpfs ebuild
Comment 3 Maurice van der Pot (RETIRED) gentoo-dev 2005-10-18 08:36:02 UTC
I'll close this bug if either Christian can confirm that 2.2.3 fails in the way 
described by Matthias with php installed, or Matthias/Wolfram can confirm that
the problem is not present in the latest stable version.
Comment 4 Christian Jiresjö 2005-10-24 08:14:34 UTC
Confirmed 2.2.3 crashes as described and 2.2.6 doesn't
Comment 5 Maurice van der Pot (RETIRED) gentoo-dev 2005-10-24 08:23:53 UTC
Alright. Thanks for your help, Christian.