Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140991 - sci-astronomy/predict-2.2.3 version bump and ebuild tweaks
Summary: sci-astronomy/predict-2.2.3 version bump and ebuild tweaks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL: http://www.qsl.net/kd2bd/predict.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-18 18:36 UTC by Andy Romeril
Modified: 2007-09-11 15:08 UTC (History)
1 user (show)

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 Andy Romeril 2006-07-18 18:36:48 UTC
The latest version of 'predict' is now 2.2.3. The latest version in portage is 2.2.2.

I created a test build using the 'bumper' script and noted the following issues:

1) When you have USE="xforms", the 'map' program does not link properly against the 'xforms' library. Tested with both xforms-1.0.90.ebuild (stable) and xforms-1.0.90-r1.ebuild (~x86) -- same result.

2) The 'dodoc' needs to add the NEWS file to the list.

3) If the 'xplanet' program is installed, the binary 'earthtrack2' is created. However, it looks for the file in /usr/local/share/xplanet/config/default
when this file is actually located in "/usr/share/xplanet/config/default".
Comment 1 Andy Romeril 2006-07-18 18:37:26 UTC
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Celeron(R) CPU 2.80GHz
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://206.75.218.52/pub/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://gentoo.netnitco.net"
MAKEOPTS="-j3"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzip2 cli crypt ctype cups dba dlloader dmx dri eds elibc_glibc emboss encode esd fastbuild firefox foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gnome gpm gstreamer gtk gtk2 i8x0 imlib ipv6 isdnlog jpeg kde kdeenablefinal kernel_linux libg++ libwww mad memlimit mikmod mmx mmxext motif mp3 mpeg ncurses nls nptl nptlonly nsplugin offensive ogg opengl oss pam pcre pdflib perl pic png posix pppd python qt qt3 qt4 quicktime rar readline reflection samba sdl session simplexml slang soap sockets spell spl sse sse2 ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU vorbis win32codecs xforms xml xmms xorg xsl xv zlib input_devices_keyboard input_devices_mouse video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2007-01-12 02:35:14 UTC
Hi Andy,

Thanks for your note! I just updated predict to 2.2.3.
I believe I've fixed issues 2) + 3). Unfortunately, I
currently have problems compiling xforms and will
have to look into that before I can
investigate your reported linking problem in 1).

Thanks,
Markus
Comment 3 Jesse Adelman 2007-01-28 01:22:35 UTC
2.2.3, freshly marked "stable", doesn't compile for me. I think bumping priority from "enhancement" to "normal" is called for, since we now have a "stable" pacakge that's kind of b0rked.

>>> Emerging (4 of 7) sci-astronomy/predict-2.2.3 to /
 * predict-2.2.3.tar.gz MD5 ;-) ...                                       [ ok ]
 * predict-2.2.3.tar.gz RMD160 ;-) ...                                    [ ok ]
 * predict-2.2.3.tar.gz SHA1 ;-) ...                                      [ ok ]
 * predict-2.2.3.tar.gz SHA256 ;-) ...                                    [ ok ]
 * predict-2.2.3.tar.gz size ;-) ...                                      [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking predict-2.2.3.tar.gz ;-) ...                                  [ ok ]
>>> Unpacking source...
>>> Unpacking predict-2.2.3.tar.gz to /var/tmp/portage/predict-2.2.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/predict-2.2.3/work/predict-2.2.3 ...
 * compiling predict
 * compiling vocalizer
 * compiling clients
 * compiling earthtrack
 * compiling kep_reload
 * compiling map
map_main.c: In function 'main':
map_main.c:40: warning: incompatible implicit declaration of built-in function 'exit'
map_main.c:58: warning: incompatible implicit declaration of built-in function 'exit'
/usr/X11R6/lib/libforms.so: undefined reference to `XpmCreatePixmapFromData'
/usr/X11R6/lib/libforms.so: undefined reference to `XpmFreeAttributes'
/usr/X11R6/lib/libforms.so: undefined reference to `XpmAttributesSize'
/usr/X11R6/lib/libforms.so: undefined reference to `XpmReadFileToPixmap'
/usr/X11R6/lib/libforms.so: undefined reference to `XpmLibraryVersion'
collect2: ld returned 1 exit status
distcc[384] ERROR: compile map.c on localhost failed

!!! ERROR: sci-astronomy/predict-2.2.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  predict-2.2.3.ebuild, line 72:   Called die

!!! Failed compiling map
!!! If you need support, post the topmost build error, and the call stack if relevant.

fuji ~ # 
fuji ~ # emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-suspend2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 Intel(R) Pentium(R) M processor 1.20GHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 28 Jan 2007 00:31:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://gentoo.llarian.net/pub/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.55/gentoo-portage"
USE="x86 X a52 aac acpi acpi4linux alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amr apache2 avi bash-completion berkdb bluetooth branding browserplugin bzip2 cairo cdparanoia cdr chardet colordiff cpudetection crypt cups curl dga divx dmi dri dv dvd dvdr dvdread elibc_glibc encode escreen ethereal extrafilters fam fame fbcon fbsplash ffmpeg firefox flac font-server foomaticdb freetype frontendonly gd gdbm gif gmedia gpm grammar graphviz gs gstreamer gtk gtk2 gtkhtml hardenedphp i8x0 ieee1394 imagemagick imap imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics irda java jikes john joystick jp2 jpeg jpeg2k kerberos kernel_linux ladspa lash lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lcms ldap libgda libnotify live logrotate lzo lzw-tiff madwifi maildir matroska mbrola mcal mdb mime mjpeg mmap mmx mmxext mng modplug motif mozbranding mozdevelop mozilla mozsvg mp3 mp4 mp4live mpeg mpeg2 mpi mplayer mysql mythtv ncurses net network nls nocd nptl nptlonly nsplugin ntfs odbc offensive ogg oggvorbis opengl oss pam pam_console pam_timestamp pcap pcmcia pdf perl php pmu png pnp postgres ppds python qemu-fast qt3 quicktime readline real realmedia reiserfs rtc ruby samba sdl shout slang slp sndfile snmp sockets socks5 softmmu spell sqlite sse sse2 ssl svg svga theora thesaurus threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fbdev video_cards_i810 video_cards_vesa video_cards_vga vim vim-pager vim-with-x vlm vorbis wifi win32codecs wmf wmp wordperfect wxwindows x264 xchattext xcomposite xforms xfs xine xinerama xml xml2 xorg xosd xplanet xscreensaver xv xvid xvmc yahoo yv12 zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

fuji ~ # 
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2007-01-28 13:44:15 UTC
(In reply to comment #3)
> /usr/X11R6/lib/libforms.so: undefined reference to `XpmCreatePixmapFromData'
> /usr/X11R6/lib/libforms.so: undefined reference to `XpmFreeAttributes'
> /usr/X11R6/lib/libforms.so: undefined reference to `XpmAttributesSize'
> /usr/X11R6/lib/libforms.so: undefined reference to `XpmReadFileToPixmap'
> /usr/X11R6/lib/libforms.so: undefined reference to `XpmLibraryVersion'
> collect2: ld returned 1 exit status
> distcc[384] ERROR: compile map.c on localhost failed

This looks more like a problem with x11-libs/xforms rather than with
predict itself. Have you tried recompiling xforms to see if this fixes it
for you?

cheers,
Markus

Comment 5 Jesse Adelman 2007-07-20 22:52:16 UTC
Sorry for the loooong delay. Recompiled xforms, and viola, success (back on March 1st...).
Comment 6 Sébastien Fabbro (RETIRED) gentoo-dev 2007-09-11 15:08:06 UTC
everything should now be fixed. reopen if you still see problems.