<?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>175117</bug_id>
          
          <creation_ts>2007-04-18 15:54 0000</creation_ts>
          <short_desc>dev-libs/libusb-0.1.12-r1 always compiles c++ bindings, even when nocxx is set.</short_desc>
          <delta_ts>2008-06-07 00:59:16 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>Applications</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>oliver@schinagl.nl</reporter>
          <assigned_to>robbat2@gentoo.org</assigned_to>
          <cc>farcepest@gmail.com</cc>
    
    <cc>liquidx@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>oliver@schinagl.nl</who>
            <bug_when>2007-04-18 15:54:55 0000</bug_when>
            <thetext>libusb has special c++ bindings (yuk) in usbcpp.cpp. However when building for an embedded/c++ less system this causes failures and what not.

Ideally the configure script should check for c++ support and then simply not build c++ bindings if we don&apos;t need them anyway, based on the nocxx flag.

An intermediate solution would be to require/depend on the nocxx flag to be unset. Filing bug upstream aswell.

Reproducible: Always

Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ikelos@gentoo.org</who>
            <bug_when>2007-04-18 16:46:50 0000</bug_when>
            <thetext>I&apos;ve added liquidx to the cc list as he&apos;s mentioned as a co-maintainer of libusb in the metadata...  5:)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2007-05-11 09:50:47 0000</bug_when>
            <thetext>please include a patch for the configure stuff that you want changed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>farcepest@gmail.com</who>
            <bug_when>2007-05-24 16:57:28 0000</bug_when>
            <thetext>The &quot;failures and what not&quot; are some assembler errors about &quot;unknown psuedo-op: .weakref&quot;. I have found upgrading binutils from 2.16.1-r3 to 2.17 corrects the issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2008-06-07 00:59:16 0000</bug_when>
            <thetext>Resolved in -r3.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>