<?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>182306</bug_id>
          
          <creation_ts>2007-06-17 07:44 0000</creation_ts>
          <short_desc>sci-libs/gdal-1.4.1 (version bump)</short_desc>
          <delta_ts>2007-08-01 09:41:36 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>2007.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>radhermit@gmail.com</reporter>
          <assigned_to>nerdboy@gentoo.org</assigned_to>
          <cc>sci-geosciences@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>radhermit@gmail.com</who>
            <bug_when>2007-06-17 07:44:30 0000</bug_when>
            <thetext>New minor version stable release series. See http://trac.osgeo.org/gdal/wiki/Release/1.4.1-News for more details of the latest changes.

The source code for all releases can be found at http://download.osgeo.org/gdal/.

Also, the website should be changed to http://www.gdal.org/ as the current homepage setting just redirects there.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nerdboy@gentoo.org</who>
            <bug_when>2007-07-03 20:14:51 0000</bug_when>
            <thetext>1.4.2 is now in portage; needs active testing...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>syntaxerrormmm@gmail.com</who>
            <bug_when>2007-07-04 18:54:40 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; New minor version stable release series. See
&gt; http://trac.osgeo.org/gdal/wiki/Release/1.4.1-News for more details of the
&gt; latest changes.

If you want to rely on a particular 1.4.1.* version, please try with the ebuilds provided by Gentoo-GIS project: http://gentoo-gis.sourceforge.net/ .</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaakko.kahkonen@fgi.fi</who>
            <bug_when>2007-07-31 08:01:36 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; 1.4.2 is now in portage; needs active testing...


 x86_64-pc-linux-gnu-g++ -Wall -march=nocona -O2 -pipe -I.. -I../.. -I/var/tmp/portag
e/sci-libs/gdal-1.4.2/work/gdal-1.4.2/port -I/var/tmp/portage/sci-libs/gdal-1.4.2/wor
k/gdal-1.4.2/gcore -I/var/tmp/portage/sci-libs/gdal-1.4.2/work/gdal-1.4.2/alg -I/var/
tmp/portage/sci-libs/gdal-1.4.2/work/gdal-1.4.2/ogr -I/var/tmp/portage/sci-libs/gdal-
1.4.2/work/gdal-1.4.2/ogr/ogrsf_frmts -I/usr/include/mysql -DOGR_ENABLED -I/var/tmp/p
ortage/sci-libs/gdal-1.4.2/work/gdal-1.4.2/port -c ogrmysqldriver.cpp  -fPIC -DPIC -o
 ../o/.libs/ogrmysqldriver.o
In file included from ogr_mysql.h:34,
                 from ogrmysqldriver.cpp:30:
/usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory
make[3]: *** [../o/ogrmysqldriver.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.4.2/work/gdal-1.4.2/ogr/
ogrsf_frmts/mysql&apos;
make[2]: *** [mysql-target] Error 2
make[2]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.4.2/work/gdal-1.4.2/ogr/
ogrsf_frmts&apos;
make[1]: *** [sublibs] Error 2
make[1]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.4.2/work/gdal-1.4.2/ogr&apos;
make: *** [ogr-target] Error 2

!!! ERROR: sci-libs/gdal-1.4.2 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call &apos;src_compile&apos;
  ebuild.sh, line 44:   Called src_compile
  gdal-1.4.2.ebuild, line 109:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant
.
!!! A complete build log is located at &apos;/var/tmp/portage/sci-libs/gdal-1.4.2/temp/bui
ld.log&apos;.



Portage 2.1.2.9 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 Intel(R) Xeon(R) CPU 5150 @ 2.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 31 Jul 2007 05:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=nocona -O2 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/share/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-march=nocona -O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://trumpetti.atm.tut.fi/gentoo/&quot;
LANG=&quot;en_US.UTF-8&quot;
LC_ALL=&quot;en_US.UTF-8&quot;
LINGUAS=&quot;en_GB fi&quot;
MAKEOPTS=&quot;-j5&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=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://trumpetti.atm.tut.fi/gentoo-portage&quot;
USE=&quot;amd64 apache2 berkdb bitmap-fonts cli cracklib crypt cups curl dri exif fontconfig fortran gd-external gdal gdbm geos gif gml gpm hdf hdf5 iconv ipv6 isdnlog java jpeg jpeg2k lcms libg++ midi ming mpeg mudflap mysql ncurses netcdf nls nptl nptlonly ogdi openmp pam pcre pdf perl php png postgis postgres ppds pppd proj python readline reflection ruby session soap spl ssl szip tcpd tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode xml xmlreader xmlwriter xorg xsl zlib&quot; ALSA_CARDS=&quot;ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;en_GB fi&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nvidia vesa fbdev vmware&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

[ebuild   R   ] dev-db/mysql-5.0.44-r1  USE=&quot;berkdb perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux) -static&quot; 0 kB
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>radhermit@gmail.com</who>
            <bug_when>2007-07-31 14:45:15 0000</bug_when>
            <thetext>(In reply to comment #3)

It looks like you are hitting bug #168931. You could try recompiling mysql if the last time you emerged it was before you updated to linux-headers-2.6.21.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaakko.kahkonen@fgi.fi</who>
            <bug_when>2007-08-01 09:02:41 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; 
&gt; It looks like you are hitting bug #168931. You could try recompiling mysql if
&gt; the last time you emerged it was before you updated to linux-headers-2.6.21.
&gt; 

Well, recompling gdal after recompiling mysql does not help. Is there something else to try?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaakko.kahkonen@fgi.fi</who>
            <bug_when>2007-08-01 09:41:36 0000</bug_when>
            <thetext>Gdal get compiled, when

1) I moved /usr/include/mysql/my_config.h to safe place.
2) Recompiled mysql and gdal

diff my_config.h.old my_config.h

14a15,17
&gt; /* default to skip thread priority */
&gt; /* #undef DEFAULT_SKIP_THREAD_PRIORITY */
&gt; 
17a21,24
&gt; /* Disables the use of --init-file, --skip-grant-tables and --bootstrap
&gt;    options */
&gt; /* #undef DISABLE_GRANT_OPTIONS */
&gt; 
50c57
&lt; #define HAVE_ATOMIC_ADD 1
---
&gt; /* #undef HAVE_ATOMIC_ADD */
53c60
&lt; #define HAVE_ATOMIC_SUB 1
---
&gt; /* #undef HAVE_ATOMIC_SUB */
218a226,229
&gt; /* Define to 1 if you have the declaration of `tgoto&apos;, and to 0 if you don&apos;t.
&gt;    */
&gt; #define HAVE_DECL_TGOTO 1
&gt; 
431c442
&lt; #define HAVE_LINUX_CONFIG_H 1
---
&gt; /* #undef HAVE_LINUX_CONFIG_H */
798a810,812
&gt; /* Define to 1 if you have the &lt;sys/prctl.h&gt; header file. */
&gt; #define HAVE_SYS_PRCTL_H 1
&gt; 
948c962
&lt; /* Machine type name, eg sun10 */
---
&gt; /* Machine type name, eg sparc */
967c981
&lt; #define NDB_VERSION_BUILD 26
---
&gt; #define NDB_VERSION_BUILD 44
1067c1081
&lt; /* Name of system, eg solaris */
---
&gt; /* Name of system, eg sun-solaris */
1079a1094,1096
&gt; /* Define to 1 if time_t is unsigned */
&gt; /* #undef TIME_T_UNSIGNED */
&gt; 
1110c1127
&lt; #define VERSION &quot;5.0.26&quot;
---
&gt; #define VERSION &quot;5.0.44&quot;</thetext>
          </long_desc>
      
    </bug>

</bugzilla>