Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191165 - sci-geosciences/mapserver-4.10.3 failed patch
Summary: sci-geosciences/mapserver-4.10.3 failed patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-03 17:12 UTC by Thomas Beutin
Modified: 2007-09-06 21:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Beutin 2007-09-03 17:12:33 UTC
emerging sci-geosciences/mapserver with USE flag php enabled failed for the versions 4.10.0-r1 and 4.10.3 because of either error in the ebuild file or a missing patch file (mapserver-4.10.0-r1_php.patch or mapserver-4.10.3_php.patch)

Reproducible: Always




# emerge --info
Portage 2.1.2.12 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-suspend2-r1 i686)
=================================================================
System uname: 2.6.22-suspend2-r1 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 03 Sep 2007 05:30:09 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
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.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -funroll-loops -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/bind /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=pentium-m -funroll-loops -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en en_GB en_US fr it es pt pt_BR"
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://10.6.0.1/gentoo-portage"
USE="X a52 aac acpi alsa apache2 arts audiofile avi bash-completion bcmath bdf berkdb bindist bitmap-fonts bluetooth bzip2 cairo caps cdb cddb cdparanoia cdr cli cracklib crypt ctype cups curl curlwrappers dbus dga divx4linux dri dv dvb dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fame ffmpeg firefox flac flatfile font-server foomaticdb fortran fpx ftp gd gdbm gif gimp gmp gnome gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imap imlib inifile ipv6 isdnlog java javamail javascript jbig jikes jpeg jpeg2k junit kde lcms ldap libg++ libwww logrotate logwatch lzo mad matroska mcal mhash midi mikmod milter ming mjpeg mmap mmx mng motif mp3 mpeg mudflap musicbrainz mysql ncurses network nls nptl nptlonly nsplugin odbc ogg oggvorbis opengl openmp oss pam pcmcia pcntl pcre pda pdf pdflib perl php pic png pnp posix postgres ppds pppd pvm python qt3support qt4 quicktime radius readline reflection ruby samba sasl scanner sdl session sharedext sharedmem simplexml slp sndfile snmp soap sockets speex spell spl sqlite sqlite3 sse sse2 ssl svg syslog sysvipc tcltk tcpd tetex theora tidy tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb v4l v4l2 vcd vhosts vorbis wddx wifi win32codecs wmf wxwindows x86 xface xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid yaz zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB en_US fr it es pt pt_BR" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev nv nvidia v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Beutin 2007-09-03 17:15:30 UTC
for using version 4.10.0-r1 it helps to copy mapserver-4.10.0_php.patch to mapserver-4.10.0-r1_php.patch, update the manifest and compile the package but for version 4.10.3 the patch failes
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-03 17:47:43 UTC
Maybe if you posted actual errors, someone could help. Thanks.
Comment 3 Thomas Beutin 2007-09-04 14:13:35 UTC
# emerge =sci-geosciences/mapserver-4.10.0-r1
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sci-geosciences/mapserver-4.10.0-r1 to /
 * mapserver-4.10.0.tar.gz RMD160 ;-) ...                                                                            [ ok ]
 * mapserver-4.10.0.tar.gz SHA1 ;-) ...                                                                              [ ok ]
 * mapserver-4.10.0.tar.gz SHA256 ;-) ...                                                                            [ ok ]
 * mapserver-4.10.0.tar.gz size ;-) ...                                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                               [ ok ]
 * checking mapserver-4.10.0.tar.gz ;-) ...                                                                          [ ok ]
 * 
 * Using dev-lang/php-5.2.4_pre200708051230-r2
 * 
 * Using 2 PHP versions
>>> Unpacking source...
>>> Unpacking mapserver-4.10.0.tar.gz to /var/tmp/portage/sci-geosciences/mapserver-4.10.0-r1/work

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


!!! ERROR: sci-geosciences/mapserver-4.10.0-r1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_unpack
  ebuild.sh, line 763:   Called qa_call 'src_unpack'
  ebuild.sh, line 44:   Called src_unpack
  mapserver-4.10.0-r1.ebuild, line 88:   Called epatch '/usr/portage/sci-geosciences/mapserver/files/mapserver-4.10.0-r1_php.patch'
  eutils.eclass, line 161:   Called die

!!! 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-4.10.0-r1/temp/build.log'.

!!! 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=""
and of course, the output of emerge --info
Comment 4 Thomas Beutin 2007-09-04 14:14:41 UTC
# emerge =sci-geosciences/mapserver-4.10.3   
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sci-geosciences/mapserver-4.10.3 to /
 * mapserver-4.10.3.tar.gz RMD160 ;-) ...                                                                            [ ok ]
 * mapserver-4.10.3.tar.gz SHA1 ;-) ...                                                                              [ ok ]
 * mapserver-4.10.3.tar.gz SHA256 ;-) ...                                                                            [ ok ]
 * mapserver-4.10.3.tar.gz size ;-) ...                                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                               [ ok ]
 * checking mapserver-4.10.3.tar.gz ;-) ...                                                                          [ ok ]
 * 
 * Using dev-lang/php-5.2.4_pre200708051230-r2
 * 
 * Using 2 PHP versions
 * Checking for gd compiled with truetype support...
 * Found truetype support; continuing...
>>> Unpacking source...
>>> Unpacking mapserver-4.10.3.tar.gz to /var/tmp/portage/sci-geosciences/mapserver-4.10.3/work

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


!!! ERROR: sci-geosciences/mapserver-4.10.3 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_unpack
  ebuild.sh, line 763:   Called qa_call 'src_unpack'
  ebuild.sh, line 44:   Called src_unpack
  mapserver-4.10.3.ebuild, line 109:   Called epatch '/usr/portage/sci-geosciences/mapserver/files/mapserver-4.10.3_php.patch'
  eutils.eclass, line 161:   Called die

!!! 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-4.10.3/temp/build.log'.

!!! 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=""
and of course, the output of emerge --info
Comment 5 Thomas Beutin 2007-09-04 14:21:19 UTC
(In reply to comment #2)
> Maybe if you posted actual errors, someone could help. Thanks.
sorry, i forgot. If You need the build.log as well i'll attach them (but i think the problem is clear now).
Comment 6 FENOY Gérald (RETIRED) gentoo-dev 2007-09-05 06:25:03 UTC
I will make the patch this night, indeed it should be modified for each new mapserver version following the new configure.in.

I'm realy sorry for being unable to make it quicker ...
Comment 7 FENOY Gérald (RETIRED) gentoo-dev 2007-09-06 02:38:14 UTC
The new patch has been added to the tree.
mapserver-4.10.0-r1 corrected to use the same patch as the 4.10.0 one.

Thanks for your help.
Comment 8 Thomas Beutin 2007-09-06 21:34:36 UTC
(In reply to comment #7)
> The new patch has been added to the tree.
> mapserver-4.10.0-r1 corrected to use the same patch as the 4.10.0 one.
works for me.

> Thanks for your help.
I thank You!