Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214058 - sci-visualization/opendx-4.3.2-r1 emerge fails array subscript not integer
Summary: sci-visualization/opendx-4.3.2-r1 emerge fails array subscript not integer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-20 16:04 UTC by Klaas Decanniere
Modified: 2008-03-26 13:18 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 Klaas Decanniere 2008-03-20 16:04:01 UTC
Didn't use opendx for a while, complained about libexpat, so I tried to emerge again.

Emerge failed with the error message below:

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -I./../dpexec -I/var/tmp/portage/sci-visualization/opendx-4.3.2-r1/work/dx-4.3.2/include -Dlinux -I/usr/include -march=nocona -O2 -pipe -Wall -W -pthread -march=nocona -O2 -pipe -fno-strength-reduce -D_GNU_SOURCE -MT _im_image.lo -MD -MP -MF .deps/_im_image.Tpo -c _im_image.c -o _im_image.o
_im_image.c: In function ‘_dxf_BuildIMReadFileName’:
_im_image.c:510: warning: comparison between signed and unsigned
_im_image.c: In function ‘_dxf_GetNumImagesInFile’:
_im_image.c:541: warning: unused parameter ‘image_info’
_im_image.c: In function ‘_dxf_InputIM’:
_im_image.c:719: warning: comparison between signed and unsigned
_im_image.c:719: warning: comparison between signed and unsigned
_im_image.c:927: warning: comparison between signed and unsigned
_im_image.c:966: error: array subscript is not an integer
make[4]: *** [_im_image.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/sci-visualization/opendx-4.3.2-r1/work/dx-4.3.2/src/exec/dxmods'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sci-visualization/opendx-4.3.2-r1/work/dx-4.3.2/src/exec/dxmods'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-visualization/opendx-4.3.2-r1/work/dx-4.3.2/src/exec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-visualization/opendx-4.3.2-r1/work/dx-4.3.2/src'
make: *** [all-recursive] Error 1


Reproducible: Sometimes

Steps to Reproduce:
1. emerge opendx fails
2.  walk over to other system (similar but not equal configuration), emerge opendx works fine
3. try to figure out the difference




emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r3 x86_64)
=================================================================
System uname: 2.6.24-tuxonice-r3 x86_64 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
Timestamp of tree: Thu, 06 Mar 2008 05:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
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.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.UTF-8"
LINGUAS="en nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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"
SYNC="rsync://biggy/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi alsa amd64 arts artswrappersuid automount avi berkdb bitmap-fonts blas bluetooth bzip2 cdr cli cracklib crypt cups curl dbus divx divx4linux dri dts dv dvd dvdnav dvdr dvdread emacs encode f77 ffmpeg fftw fortran gcj gdbm gif gimp glitz gpm hal iconv ieee1394 imagemagick ipv6 isdnlog java jpeg kde kerberos lame ldap mad mbrola midi mmx mp3 mpeg mudflap nat ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl plotutils png pppd python qt3support qt4 quicktime readline reflection samba sdl session spel spl sse sse2 ssl svg tcl tcpd threads tiff tk truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis x264 xcomposite xinerama xorg xv xvid zlib" ALSA_CARDS="hda-intel" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="nv vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

and for the system were it works:
Portage 2.1.4.4 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Mon, 17 Mar 2008 18:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /us
r/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.
d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirr
or.ovh.net/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amd64 arts berkdb bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt cups divx dri dvd eds emboss encode fftw
foomaticdb fortran gif glitz gpm gstreamer gtk gtk2 iconv imagemagick imlib ipv6 isdnlog java joystick jpeg kde lame lapack lcms lzw
 lzw-tiff mad mbrola midi mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg openexr opengl openmp oss pam pcre pdf perl
 png pppd python qt3 qt3support qt4 quicktime readline realmedia reflection sdl session spell spl ssl svg tcpd threads tiff truetype
-fonts type1-fonts usb v4l v4l2 xinerama xorg xpm xv zlib" ALSA_CARDS="atiixp intel8x0 via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym co
py dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm s
oftvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter
file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique
_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse vmmouse joystick" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa nv vmware fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLA
GS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2008-03-22 12:29:28 UTC
After going a bit through opendx's code, it looks like things may
go bad if imagemagick was emerged with USE="hdri". Could you
please check if this is the case?

Thanks,
Markus
Comment 2 Klaas Decanniere 2008-03-25 12:21:42 UTC
(In reply to comment #1)
> After going a bit through opendx's code, it looks like things may
> go bad if imagemagick was emerged with USE="hdri". Could you
> please check if this is the case?
> 

That works. Thanks!
Anything else I should do with this? 

Klaas

Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2008-03-26 12:45:27 UTC
Thanks much for testing! 
I will add a check for the "hdri" flag to the ebuild to 
prevent this from happening.

Best,
Markus
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2008-03-26 13:18:21 UTC
I just added this check, hence this bug should
be fixed.

Best,
Markus