<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>225021</bug_id>
          
          <creation_ts>2008-06-05 17:40 0000</creation_ts>
          <short_desc>sci-libs/hdf5-1.6.6: fails to compile with support for C++ (cxx) and others</short_desc>
          <delta_ts>2008-06-06 15:05:24 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>slug@aeminium.org</reporter>
          <assigned_to>sci@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>slug@aeminium.org</who>
            <bug_when>2008-06-05 17:40:44 0000</bug_when>
            <thetext>While trying to compile hdf5 with c++ support (cxx USE flag) I noticed that the parameters were being incorrectly passed to the configure script giving the following error:

./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 --enable-zlib --enable-fortran --disable-parallel --with-ssl --enable-linux-lfs --sysconfdir=/etc --infodir=/usr/share/info --libdir=/usr/lib --mandir=/usr/share/man --enable-shared --with-pic  --enable-cxx --with-pthread --enable-threadsafe --enable-production --build=i686-pc-linux-gnu
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:  --enable-cxx --with-pthread --enable-threadsafe --enable-production


I changed sci-libs/hdf5-1.6.6.ebuild:144 from
        &quot;${myconf}&quot; || die &quot;configure failed&quot;
to
        ${myconf} || die &quot;configure failed&quot;

and now it compiles successfully.



Reproducible: Always

Steps to Reproduce:
1. emerge sci-libs/hdf5
2.
3.

Actual Results:  
c++ support not compiled/installed.

Expected Results:  
It should have compiled support for c++ and installed the headers, examples, etc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2008-06-06 15:05:24 0000</bug_when>
            <thetext>Thanks much for the note. I just fixed this in portage cvs.

Best,
Markus</thetext>
          </long_desc>
      
    </bug>

</bugzilla>