Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 38483
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 29464
Assigned To: Steve Arnold <nerdboy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bernd Wurst <bugzilla-gentoo@bwurst.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 38483 depends on: Show dependency tree
Bug 38483 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-01-16 22:10 0000
Never seen this kind of problem, but 
# emerge hylafax
immediately stops at configure complainig that there is no usable C++-Compiler.

Output:
==========================================================
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/hylafax-4.1.8-r1 to /
>>> md5 src_uri ;-) hylafax-4.1.8.tar.gz
>>> Unpacking source...
>>> Unpacking hylafax-4.1.8.tar.gz to /var/tmp/portage/hylafax-4.1.8-r1/work
>>> Source unpacked.

Configuring HylaFAX (tm) (aka FlexFAX) 4.1.8.

If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.

Reading site-wide parameters from ./config.site.
Do they really still make i686-pc-linux-gnu systems?!
Using /usr/bin/gcc for a C compiler (set CC to override).
Looks like /usr/bin/gcc supports the -g option.
Using " -g" for C compiler options.
Looks like /usr/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /usr/bin/gcc supports the -M option for generating make dependencies.
./configure: line 782: [: -gt: unary operator expected
./configure: line 785: [: -eq: unary operator expected

Cannot locate a suitable C++ compiler.

We attempted to compile the following test program:

----------------------------------------------------------
class foo {
public:
    struct bar {
        int a;
        bar();
    };
    foo();
};
foo::bar::bar() { a = 0; }
foo::foo() { bar x; }
int main() { foo t; return 0; }
----------------------------------------------------------

with these compilers:

     g++

but none of them were successful.

To build this software you need a C++ compiler that supports a
reasonably modern version of C++.  In particular the compiler must
support nested types and process temporary variables according to the
ANSI Reference Manual (the ARM).

If such a compiler is in a non-standard location, you can specify its
location in several ways:

    o set the environment variable CXX
    o create a config.local or config.site file that includes a
      definition for CXX
    o supply it on the command line using -with-CXX=<pathname>

If you are trying to use GNU gcc, but you do not have version 2.6.1
or newer, then you must update your compiler (and probably libg++ as
well) before you can compile this software.  Consult the documentation
for information about obtaining an up-to-date version of gcc.

Unrecoverable error!  Once you've corrected the problem rerun this script.

!!! ERROR: net-misc/hylafax-4.1.8-r1 failed.
!!! Function src_compile, Line 51, Exitcode 1
!!! (no error message)

==========================================================

What does "Do they really still make i686-pc-linux-gnu systems?!" mean? ;-)


emerge info:
==========================================================
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.4.22-pre1)
=================================================================
System uname: 2.4.22-pre1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.12
distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://aragorn/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://www.ibiblio.org/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi apache2 arts avi berkdb bonobo cdr crypt cups dvb dvd encode esd fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib jpeg kde libg++ libwww mad maildir mbox mikmod mmx motif mozilla mpeg mysql ncurses nls nocardbus oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sasl scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb x86 xface xml2 xmms xv zlib"
==========================================================

------- Comment #1 From Steve Arnold 2004-01-17 15:45:52 0000 -------
Things that make you go "Hmmm..."  Seems to build and run fine on my box (it's
building right now).  

The only differnce in my emerge info is I have slightly older baselayout and
distcc, and I never put ~x86 in my make.conf (but I do it for specific
packages).

Hylafax does use an old configure, however, the ebuild passes the proper
parameters, and I'm not sure there's anythihng to do there that would help you.

I wonder what your ACCEPT_KEYWORDS="x86 ~x86" may have picked up?

------- Comment #2 From Heiko Wundram 2004-02-05 03:38:52 0000 -------
Duplicate: After patching ebuild to use the patch file in that patch request,
hylafax builds and installs correctly.

http://bugs.gentoo.org/show_bug.cgi?id=29464

------- Comment #3 From Alexander Gabert (RETIRED) 2004-03-03 05:26:11 0000 -------
this bug has been fixed in another hylafax version with a patch as the author
states above.

reopening the old bug and attaching this bug to the old one

please let the package maintainer append the fixing patch for the gcc building
to the affected hylafax ebuild also

thank you very much

Alex

*** This bug has been marked as a duplicate of 29464 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug