<?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>233358</bug_id>
          
          <creation_ts>2008-07-30 08:23 0000</creation_ts>
          <short_desc>net-proxy/privoxy-3.0.9_beta should _always_ use external pcre</short_desc>
          <delta_ts>2008-07-30 19:59:03 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>flameeyes@gentoo.org</reporter>
          <assigned_to>net-proxy@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2008-07-30 08:23:07 0000</bug_when>
            <thetext>Gentoo policy is not to use bundled libraries, so having it depend on an USE flag is a bad idea. Also, with pcre USE flag off, privoxy fails in this way:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `pcre/get.o&apos; is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `pcre/maketables.o&apos; is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `pcre/study.o&apos; is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `pcre/pcre.o&apos; is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `pcre/pcreposix.o&apos; is incompatible with i386:x86-64 output
pcre/maketables.o: In function `__sbtoupper&apos;:
/usr/include/_ctype.h:143: undefined reference to `__mb_sb_limit&apos;
/usr/include/_ctype.h:143: undefined reference to `_CurrentRuneLocale&apos;
pcre/maketables.o: In function `__sbtolower&apos;:
/usr/include/_ctype.h:157: undefined reference to `__mb_sb_limit&apos;
/usr/include/_ctype.h:157: undefined reference to `_CurrentRuneLocale&apos;
pcre/maketables.o: In function `__isctype&apos;:
/usr/include/_ctype.h:129: undefined reference to `_DefaultRuneLocale&apos;
pcre/maketables.o: In function `__sbmaskrune&apos;:
/usr/include/_ctype.h:110: undefined reference to `__mb_sb_limit&apos;
/usr/include/_ctype.h:110: undefined reference to `_CurrentRuneLocale&apos;
collect2: ld returned 1 exit status
make: *** [privoxy] Error 1

because there is a prebuilt version in the tarball too.

And also, configure reports:

configure: WARNING: You are using the static PCRE code which is scheduled for removal, for details see:
    https://sourceforge.net/mailarchive/message.php?msg_id=20080511195555.2dc6cfdc%40fabiankeil.de


Solution: drop the pcre USE flag and always enable dynamic pcre with libpcre as an hard dependency.

Thanks,
Diego</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2008-07-30 19:59:03 0000</bug_when>
            <thetext>Hmm... I think pcre support was optional in 3.0.3.

Fixed in 3.0.9_beta-r1. </thetext>
          </long_desc>
      
    </bug>

</bugzilla>