Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 182306
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Steve Arnold <nerdboy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tim Harder <radhermit@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 182306 depends on: Show dependency tree
Bug 182306 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-17 07:44 0000
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.

------- Comment #1 From Steve Arnold 2007-07-03 20:14:51 0000 -------
1.4.2 is now in portage; needs active testing...

------- Comment #2 From Emiliano Vavassori 2007-07-04 18:54:40 0000 -------
(In reply to comment #0)
> 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.

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/ .

------- Comment #3 From Jaska K 2007-07-31 08:01:36 0000 -------
(In reply to comment #1)
> 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'
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'
make[1]: *** [sublibs] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sci-libs/gdal-1.4.2/work/gdal-1.4.2/ogr'
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 'src_compile'
  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
'/var/tmp/portage/sci-libs/gdal-1.4.2/temp/bui
ld.log'.



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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/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"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en_GB fi"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--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-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage"
USE="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" ALSA_CARDS="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"
ALSA_PCM_PLUGINS="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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en_GB fi" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev vmware"
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="berkdb perl ssl -big-tables
-cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux)
-static" 0 kB

------- Comment #4 From Tim Harder 2007-07-31 14:45:15 0000 -------
(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.

------- Comment #5 From Jaska K 2007-08-01 09:02:41 0000 -------
(In reply to comment #4)
> (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.
> 

Well, recompling gdal after recompiling mysql does not help. Is there something
else to try?

------- Comment #6 From Jaska K 2007-08-01 09:41:36 0000 -------
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
> /* default to skip thread priority */
> /* #undef DEFAULT_SKIP_THREAD_PRIORITY */
> 
17a21,24
> /* Disables the use of --init-file, --skip-grant-tables and --bootstrap
>    options */
> /* #undef DISABLE_GRANT_OPTIONS */
> 
50c57
< #define HAVE_ATOMIC_ADD 1
---
> /* #undef HAVE_ATOMIC_ADD */
53c60
< #define HAVE_ATOMIC_SUB 1
---
> /* #undef HAVE_ATOMIC_SUB */
218a226,229
> /* Define to 1 if you have the declaration of `tgoto', and to 0 if you don't.
>    */
> #define HAVE_DECL_TGOTO 1
> 
431c442
< #define HAVE_LINUX_CONFIG_H 1
---
> /* #undef HAVE_LINUX_CONFIG_H */
798a810,812
> /* Define to 1 if you have the <sys/prctl.h> header file. */
> #define HAVE_SYS_PRCTL_H 1
> 
948c962
< /* Machine type name, eg sun10 */
---
> /* Machine type name, eg sparc */
967c981
< #define NDB_VERSION_BUILD 26
---
> #define NDB_VERSION_BUILD 44
1067c1081
< /* Name of system, eg solaris */
---
> /* Name of system, eg sun-solaris */
1079a1094,1096
> /* Define to 1 if time_t is unsigned */
> /* #undef TIME_T_UNSIGNED */
> 
1110c1127
< #define VERSION "5.0.26"
---
> #define VERSION "5.0.44"

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug