Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224211 - sci-geosciences/mapserver-5.2.1 version bump
Summary: sci-geosciences/mapserver-5.2.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
: 222521 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-30 09:18 UTC by kunitoki (Lucio Asnaghi)
Modified: 2009-08-08 14:16 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mapserver-5.0.2.ebuild (mapserver-5.0.2.ebuild,7.69 KB, text/plain)
2008-05-30 09:19 UTC, kunitoki (Lucio Asnaghi)
Details
mapserver-5.0.2.ebuild (mapserver-5.0.2.ebuild,7.66 KB, text/plain)
2008-05-30 09:48 UTC, kunitoki (Lucio Asnaghi)
Details
mapserver-5.0.2.ebuild (mapserver-5.0.2.ebuild,7.67 KB, text/plain)
2008-05-30 09:49 UTC, kunitoki (Lucio Asnaghi)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kunitoki (Lucio Asnaghi) 2008-05-30 09:18:43 UTC
this new ebuild update the package and adds oracle support (reported to work)
Comment 1 kunitoki (Lucio Asnaghi) 2008-05-30 09:19:13 UTC
Created attachment 154807 [details]
mapserver-5.0.2.ebuild
Comment 2 kunitoki (Lucio Asnaghi) 2008-05-30 09:48:15 UTC
Created attachment 154817 [details]
mapserver-5.0.2.ebuild

this new version fixes some problems when no oracle use flag enabled
Comment 3 kunitoki (Lucio Asnaghi) 2008-05-30 09:49:46 UTC
Created attachment 154819 [details]
mapserver-5.0.2.ebuild

final version
Comment 4 Hanno Böck gentoo-dev 2008-06-08 15:44:51 UTC
*** Bug 222521 has been marked as a duplicate of this bug. ***
Comment 5 Rodrigo Severo 2008-06-26 23:56:49 UTC
(In reply to comment #3)
> final version

This ebuild with the tcl use flag set produced the error messages below on my machine. Remuving the tcl use flag fixed the issue.

>>> Unpacking mapserver-5.0.2.tar.gz to /var/tmp/portage/sci-geosciences/mapserver-5.0.2/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/local/portage/sci-geosciences/mapserver/files/mapserver_tcl.patch-r1
 *   ( mapserver_tcl.patch-r1 )

 *
 * ERROR: sci-geosciences/mapserver-5.0.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 6734:  Called epatch 'src_unpack'
 *             environment, line 2641:  Called die
 * The specific snippet of code:
 *                   die "Cannot find \$EPATCH_SOURCE!";
 *  The die message:
 *   Cannot find $EPATCH_SOURCE!
 *
 * 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-geosciences/mapserver-5.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/mapserver-5.0.2/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""

# emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
Timestamp of tree: Thu, 26 Jun 2008 20:03:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -DSAVING_ALWAYS_PERMIT"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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 /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -DSAVING_ALWAYS_PERMIT"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en pt_BR"
MAKEOPTS="-j3"
PKGDIR="/var/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/java-experimental /usr/local/portage /usr/local/portage-casa /usr/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acpi alsa amd64 arts audiofile avi bzip2 bzlib cairo cddb cdparanoia cdr cli cracklib crypt cups dbus dga divx dlloader dri dts dvd dvdr dvdread edl eds emboss encode evo faac faad fam fame ffmpeg fftw firefox flac foomaticdb fortran gd gdbm gif gimp gimpprint glitz gmedia gmp gpm hal iconv imagemagick imlib isdnlog jbig jpeg jpeg2k kde kdeenablefinal lcms lirc live lzo mad matroska md5sum midi mikmod mjpeg mmx mmxext mng mp3 mpeg mudflap musepack musicbrainz ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp oss pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline realmedia reflection scanner sdl session sndfile speex spell spl sse sse2 ssl subversion svg tcpd tga theora tiff tk truetype unicode usb utempter v4l v4l2 vcd vhosts vorbis wma wmf wmp x264 xine xinerama xml xorg xv xvid xvmc zlib zoran" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt_BR" LIRC_DEVICES="pctv" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 6 Rodrigo Severo 2008-06-27 00:20:12 UTC
(In reply to comment #3)
> mapserver-5.0.2.ebuild
> 
> final version

Renaming this ebuild to mapserver-5.0.3.ebuild emerged well and mapserver seems to be working fine.

I haven't tried the tcl use flag with 5.0.3. because I bet the problem would remain the same.

Comment 7 Rodrigo Severo 2008-06-27 15:22:15 UTC
Some extra info. The tcl use flag produces the same error with the 5.0.3 ebuild.

Both the 5.0.2 and the 5.0.3 ebuilds produce the error below unless I call emerge with -j1 (as in MAKEOPTS="-j1" emerge mapserver).

i686-pc-linux-gnu-g++ -O3 -march=i686 -fomit-frame-pointer -pipe -DSAVING_ALWAYS_PERMIT -fPIC -Wall   -DNEED_NONBLOCKING_STDERR   -DHAVE_VSNPRINTF -DNEED_STRLCAT  -DUSE_EPPL   -DUSE_MING_FLASH    -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS  -DUSE_PDF    -DUSE_GDAL  -DUSE_ICONV -DUSE_FASTCGI  -DUSE_POSTGIS   -DUSE_ZLIB  -I/usr/include        -I/usr/include -I/usr/include/postgresql/libpq-4          sortshp.o  -L. -lmapserver -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz -lXpm -lX11   -lpdf -ljpeg -lfreetype -lpng -lz -lXpm -lX11   -ljpeg  -L/usr/lib -lgdal -L/usr/lib -lexpat -ljasper -ljpeg -lgeotiff -ltiff -lpng -lpq -L/usr/lib -lpq -lz -lm -lrt -ldl -rdynamic -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto -lming -L/usr/lib -lpq      -lc -lfcgi -lz  -lm -lstdc++  -o sortshp
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lmapserver
collect2: ld returned 1 exit status
distcc[17685] ERROR: compile (null) on localhost failed
make: *** [sortshp] Error 1
make: *** Waiting for unfinished jobs....
Comment 8 Rodrigo Severo 2008-08-03 23:20:13 UTC
mapserver 5.2.0 source available at <http://download.osgeo.org/mapserver/mapserver-5.2.0.tar.gz>.
Comment 9 FENOY Gérald (RETIRED) gentoo-dev 2008-08-08 11:13:08 UTC
If you use the same ebuild as the mapserver-5.0.0-r1 that was allready in the portage tree you will be able to compile and use the mapserver-5.2.0 version. I encountred some issues compiling the perl support. Except this, everything seems right in the use of mapserver itself. Note that I didn't test the java support by now but I will.

I think it could be better to put directly the 5.2.0 version as the mapserver devs ask users to update to this version.

Let me know if you think there is any relevance to add 5.0.X anymore to the portage tree.

The -j1 issue was allready corrected in the mapserver-5.0.0-r1.
Comment 10 Rodrigo Severo 2008-08-08 11:32:37 UTC
(In reply to comment #9)
> If you use the same ebuild as the mapserver-5.0.0-r1 that was allready in the
> portage tree you will be able to compile and use the mapserver-5.2.0 version.

It works fine for me.

> I think it could be better to put directly the 5.2.0 version as the mapserver
> devs ask users to update to this version.
> 
> Let me know if you think there is any relevance to add 5.0.X anymore to the
> portage tree.

Not for me. Let's jump straight to 5.2.0.

> The -j1 issue was allready corrected in the mapserver-5.0.0-r1.

Yes, it's fine here too.
Comment 11 Ragnar Østerø 2008-08-15 22:20:41 UTC

(In reply to comment #10)
> (In reply to comment #9)
> > If you use the same ebuild as the mapserver-5.0.0-r1 that was allready in the
> > portage tree you will be able to compile and use the mapserver-5.2.0 version.
> 
> It works fine for me.
> 
> > I think it could be better to put directly the 5.2.0 version as the mapserver
> > devs ask users to update to this version.
> > 
> > Let me know if you think there is any relevance to add 5.0.X anymore to the
> > portage tree.
> 
> Not for me. Let's jump straight to 5.2.0.
> 
> > The -j1 issue was allready corrected in the mapserver-5.0.0-r1.
> 
> Yes, it's fine here too.
> 

I tested it using:
# cd /usr/portage/sci-geosciences/mapserver
# cp mapserver-5.0.0-r1.ebuild mapserver-5.2.0.ebuild
# ebuild mapserver-5.2.0.ebuild digest
# emerge mapserver 

Appears to work.
Just needs to be added to official portage.
Comment 14 Federico Ferri (RETIRED) gentoo-dev 2009-08-08 14:16:41 UTC
bump to 5.4.2