<?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>145244</bug_id>
          
          <creation_ts>2006-08-27 03:34 0000</creation_ts>
          <short_desc>stabilize dev-libs/log4cxx-0.9.7-r3</short_desc>
          <delta_ts>2006-10-28 01:07:06 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>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>
          <dependson>152592</dependson>
          <blocked>140707</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>ikelos@gentoo.org</reporter>
          <assigned_to>cpp@gentoo.org</assigned_to>
          <cc>ka0ttic@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>ikelos@gentoo.org</who>
            <bug_when>2006-08-27 03:34:39 0000</bug_when>
            <thetext>Looking through my overlay, I discoverd I still had an unsubmitted gcc4 patch for log4cxx.  It simply takes the DOMConfigurator:: prefix off one of the functions.

Patch to follow.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ikelos@gentoo.org</who>
            <bug_when>2006-08-27 03:35:32 0000</bug_when>
            <thetext>Created an attachment (id=95188)
log4cxx-0.9.7-r2-gcc4.patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2006-10-22 13:44:08 0000</bug_when>
            <thetext>Dear arch-team, please stabilize this package on your arch since it fixes a compilation bug (see comments). No packages in the tree actually depend on it.
I would therefore suggest a two week time window for keywording, please contact me if this isn&apos;t possible. Thanks!

Please make sure that it works both with stable unixODBC and iODBC. I&apos;ve added support for the latter one in this revision.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maekke@gentoo.org</who>
            <bug_when>2006-10-23 06:33:25 0000</bug_when>
            <thetext>doesn&apos;t emerge here dev-libs/log4cxx-0.9.7-r3  USE=&quot;doc* iodbc* odbc* threads unicode -smtp&quot;:
if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -I/usr/include/libxml2 -I/usr/include/iodbc -D_REENTRANT  -O2 -march=prescott -pipe -fomit-frame-pointer -DSQL_WCHART_CONVERT -MT odbcappender.lo -MD -MP -MF &quot;.deps/odbcappender.Tpo&quot; -c -o odbcappender.lo odbcappender.cpp; \
        then mv -f &quot;.deps/odbcappender.Tpo&quot; &quot;.deps/odbcappender.Plo&quot;; else rm -f &quot;.deps/odbcappender.Tpo&quot;; exit 1; fi
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -I/usr/include/libxml2 -I/usr/include/iodbc -D_REENTRANT -O2 -march=prescott -pipe -fomit-frame-pointer -DSQL_WCHART_CONVERT -MT odbcappender.lo -MD -MP -MF .deps/odbcappender.Tpo -c odbcappender.cpp  -fPIC -DPIC -o .libs/odbcappender.o
odbcappender.cpp: In member function &apos;void log4cxx::db::ODBCAppender::execute(const log4cxx::String&amp;)&apos;:
odbcappender.cpp:114: error: cannot convert &apos;SQLWCHAR*&apos; to &apos;SQLCHAR*&apos; for argument &apos;2&apos; to &apos;SQLRETURN SQLExecDirect(void*, SQLCHAR*, SQLINTEGER)&apos;
odbcappender.cpp: In member function &apos;virtual void* log4cxx::db::ODBCAppender::getConnection()&apos;:
odbcappender.cpp:187: error: cannot convert &apos;SQLWCHAR*&apos; to &apos;SQLCHAR*&apos; for argument &apos;2&apos; to &apos;SQLRETURN SQLConnect(void*, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT)&apos;
make[1]: *** [odbcappender.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/log4cxx-0.9.7-r3/work/log4cxx-0.9.7/src&apos;
make: *** [all-recursive] Error 1

with USE=&quot;unicode threads&quot; it emerges ok.


Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18.1 i686)
=================================================================
System uname: 2.6.18.1 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 23 Oct 2006 10:50:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=prescott -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-O2 -march=prescott -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
EMERGE_DEFAULT_OPTS=&quot;--nospinner&quot;
FEATURES=&quot;autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
LINGUAS=&quot;en de en_GB de_CH&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X a52 aac acpi alsa apache2 asf berkdb bitmap-fonts cairo cdr cdrom cli cracklib crypt cups dbus divx dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux ldap libg++ linguas_de linguas_de_CH linguas_en linguas_en_GB mad mikmod mmx mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtsp samba sdl session smp spell spl sse sse2 sse3 ssl svg tcpd test tetex theora threads truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_fbdev video_cards_i810 video_cards_vesa vorbis win32codecs wxwindows x264 xine xml xorg xprint xv xvid zlib&quot;
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2006-10-23 06:37:04 0000</bug_when>
            <thetext>Do you mind trying whether it emerges with odbc but without iodbc? TIA</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maekke@gentoo.org</who>
            <bug_when>2006-10-23 07:25:36 0000</bug_when>
            <thetext>this works:

1. emerges on x86, please note:
&gt;&gt;&gt; Compiling source in /var/tmp/portage/log4cxx-0.9.7-r3/work/log4cxx-0.9.7 ...
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
  run info &apos;(automake)Extending aclocal&apos;
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO

2. passes collision test
should I try with iodbc alone, too?

dev-libs/log4cxx-0.9.7-r3  USE=&quot;doc odbc threads unicode -iodbc -smtp&quot;

emerge --info, see comment 3</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2006-10-23 15:40:53 0000</bug_when>
            <thetext>
[ebuild  N    ] dev-libs/log4cxx-0.9.7-r3  USE=&quot;iodbc -doc -odbc -smtp -threads -unicode&quot; 

I test USE=iodbc

1) emerges fine (same messages as Markus)
2) passes collision test

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.5
Last Sync: Mon, 23 Oct 2006 05:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-O2&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test&quot;
GENTOO_MIRRORS=&quot;ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/&quot;
LANG=&quot;de_DE@euro&quot;
LC_ALL=&quot;de_DE@euro&quot;
LINGUAS=&quot;de&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.informatik.rwth-aachen.de/gentoo-portage&quot;
USE=&quot;x86 3dnow 3dnowext X Xaw3d a52 aiglx alsa artworkextra asf audiofile bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds elibc_glibc emacs emboss encode esd evo exif expat fam fat fbcon ffmpeg firefox fortran ftp gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick imap input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jikes jpeg jpeg2k kde kernel_linux ldap leim libg++ linguas_de lm_sensors mad maildir matroska mbox mhash mikmod mime mmx mmxext mng mono mp3 mpeg mpeg2 mule mysql nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg opengl pam pcre pdf perl plotutils pmu png ppds pppd preview-latex print python qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang spell spl sse ssl svg svga t1lib tcltk tcpd tetex theora thunderbird tiff truetype truetype-fonts type1-fonts udev usb userland_GNU vcd video_cards_fbdev video_cards_radeon video_cards_vesa videos vorbis win32codecs wmf wxwindows xine xml xorg xosd xv xvid zlib&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2006-10-24 01:25:48 0000</bug_when>
            <thetext>
[ebuild   R   ] dev-libs/log4cxx-0.9.7-r3  USE=&quot;iodbc odbc* -doc -smtp -threads -unicode&quot;

in connection with libiodbc 3.52.4 emerges fine</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maekke@gentoo.org</who>
            <bug_when>2006-10-24 14:02:55 0000</bug_when>
            <thetext>tested also with USE=&quot;iodbc&quot;, emerges fine now.

dev-libs/log4cxx-0.9.7-r3  USE=&quot;doc iodbc threads unicode -odbc -smtp&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2006-10-28 01:07:06 0000</bug_when>
            <thetext>x86 stable</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>95188</attachid>
            <date>2006-08-27 03:35 0000</date>
            <desc>log4cxx-0.9.7-r2-gcc4.patch</desc>
            <filename>log4cxx-0.9.7-gcc4.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdU5yIGxvZzRjeHgtMC45Ljcub3JpZy9pbmNsdWRlL2xvZzRjeHgveG1sL2RvbWNvbmZp
Z3VyYXRvci5oIGxvZzRjeHgtMC45LjcvaW5jbHVkZS9sb2c0Y3h4L3htbC9kb21jb25maWd1cmF0
b3IuaAotLS0gbG9nNGN4eC0wLjkuNy5vcmlnL2luY2x1ZGUvbG9nNGN4eC94bWwvZG9tY29uZmln
dXJhdG9yLmgJMjAwNC0wNS0xMCAxMzo0MjowNC4wMDAwMDAwMDAgKzAxMDAKKysrIGxvZzRjeHgt
MC45LjcvaW5jbHVkZS9sb2c0Y3h4L3htbC9kb21jb25maWd1cmF0b3IuaAkyMDA2LTAzLTE5IDEz
OjE1OjMwLjAwMDAwMDAwMCArMDAwMApAQCAtMjA4LDcgKzIwOCw3IEBACiAJCQkJc3BpOjpMb2dn
ZXJSZXBvc2l0b3J5UHRyJiByZXBvc2l0b3J5KTsKIAogCQlwcm90ZWN0ZWQ6Ci0JCQlTdHJpbmcg
RE9NQ29uZmlndXJhdG9yOjpzdWJzdChjb25zdCBTdHJpbmcmIHZhbHVlKTsKKwkJCVN0cmluZyBz
dWJzdChjb25zdCBTdHJpbmcmIHZhbHVlKTsKIAogCQlwcm90ZWN0ZWQ6CiAJCQl2b2lkICogYXBw
ZW5kZXJCYWc7Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>