Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35622 - rmagick-1.3.2 emerge failure
Summary: rmagick-1.3.2 emerge failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-11 13:35 UTC by Arent Groebner
Modified: 2003-12-24 10:19 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 Arent Groebner 2003-12-11 13:35:21 UTC
gcc -fPIC -Wall -march=athlon-xp -O3 -pipe -fomit-frame-pointer -fPIC -Wall -I. -I/usr/lib/ruby/1.8/i686-linux-gnu -I/usr/lib/ruby/1.8/i686-linux-gnu -I/var/tmp/portage/rmagick-1.3.2/work/RMagick-1.3.2/ext/RMagick  -DRUBY_VERSION=0x180 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -c rmimage.c
rmimage.c: In function `Image_black_threshold':
rmimage.c:623: error: `BlackThresholdImage' undeclared (first use in this function)
rmimage.c:623: error: (Each undeclared identifier is reported only once
rmimage.c:623: error: for each function it appears in.)
rmimage.c: In function `Image_constitute':
rmimage.c:1347: warning: implicit declaration of function `ImportImagePixels'
rmimage.c: In function `Image_dispatch':
rmimage.c:1706: warning: implicit declaration of function `ExportImagePixels'
rmimage.c: In function `Image_random_channel_threshold':
rmimage.c:4066: warning: implicit declaration of function `RandomChannelThresholdImage'
rmimage.c: In function `Image_white_threshold':
rmimage.c:5497: error: `WhiteThresholdImage' undeclared (first use in this function)
make: *** [rmimage.o] Error 1
setup failed
'system make' failed
try 'ruby install.rb --help' for usage

!!! ERROR: dev-ruby/rmagick-1.3.2 failed.
!!! Function src_compile, Line 19, Exitcode 1
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.emerge -U rmagick
2.
3.




Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 
2.4.22-gentoo-test-r1) 
================================================================= 
System uname: 2.4.22-gentoo-test-r1 i686 AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.4.3.10 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="no" 
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fPIC" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.2/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fPIC" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="oss apm encode foomaticdb gtk2 libg++ mad mikmod ncurses nls quicktime 
spell xv gtkhtml gdbm berkdb slang readline tetex aalib bonobo svga tcltk 
guile ruby sdl gpm tcpd pam libwww perl esd imlib motif opengl mozilla cdr 
scanner acpi alsa arts avi crypt cups dga doc emacs ethereal gif -gnome 
gphoto2 -gtk java jpeg kde mmx mpeg oggvorbis pdflib png python qt ruby18 sip 
ssl tiff truetype usb X xml xml2 x86 xmms zlib"
Comment 1 Tom Payne (RETIRED) gentoo-dev 2003-12-13 11:36:06 UTC
Please tell me the output of:

emerge -s magick

Thanks,

Tom
Comment 2 Arent Groebner 2003-12-14 04:17:11 UTC
bash-2.05b# emerge -s magick
Searching...
[ Results for search key : magick ]
[ Applications found : 4 ]

*  dev-perl/perlmagick
      Latest version available: 5.5.6
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 3,443 kB
      Homepage:    http://www.imagemagick.org/
      Description: A Perl module to harness the powers of ImageMagick

*  dev-php/PECL-imagick [ Masked ]
      Latest version available: 0.9.8-r1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 69 kB
      Homepage:    http://pecl.php.net/imagick
      Description: PHP wrapper for the ImageMagick library.

*  dev-ruby/rmagick
      Latest version available: 1.3.2
      Latest version installed: 1.3.1
      Size of downloaded files: 1,061 kB
      Homepage:    http://rmagick.rubyforge.org/
      Description: An interface between Ruby and the ImageMagick(TM) image processing library

*  media-gfx/imagemagick
      Latest version available: 5.5.6-r1
      Latest version installed: 5.5.7.11
      Size of downloaded files: 3,443 kB
      Homepage:    http://www.imagemagick.org/
      Description: A collection of tools and libraries for many image formats


bash-2.05b#
Comment 3 Tom Payne (RETIRED) gentoo-dev 2003-12-23 03:11:18 UTC
I'm unable to duplicate this bug on my system.
Please upgrade imagemagick to 5.5.7.15 and tell me if the problem still occurs.

Thanks,

Tom
Comment 4 Arent Groebner 2003-12-23 04:00:18 UTC
Problem still persists:

bash-2.05b# emerge -s magick
Searching...
[ Results for search key : magick ]
[ Applications found : 4 ]

*  dev-perl/perlmagick
      Latest version available: 5.5.6
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 3,443 kB
      Homepage:    http://www.imagemagick.org/
      Description: A Perl module to harness the powers of ImageMagick

*  dev-php/PECL-imagick [ Masked ]
      Latest version available: 0.9.8-r1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 69 kB
      Homepage:    http://pecl.php.net/imagick
      Description: PHP wrapper for the ImageMagick library.

*  dev-ruby/rmagick
      Latest version available: 1.3.2
      Latest version installed: 1.3.1
      Size of downloaded files: 1,061 kB
      Homepage:    http://rmagick.rubyforge.org/
      Description: An interface between Ruby and the ImageMagick(TM) image processing library

*  media-gfx/imagemagick
      Latest version available: 5.5.6-r1
      Latest version installed: 5.5.7.15
      Size of downloaded files: 3,443 kB
      Homepage:    http://www.imagemagick.org/
      Description: A collection of tools and libraries for many image formats

emerge -U rmagick
...
make
gcc -fPIC -Wall -march=athlon-xp -O3 -pipe -fomit-frame-pointer -fPIC -Wall -I. -I/usr/lib/ruby/1.8/i686-linux-gnu -I/usr/lib/ruby/1.8/i686-linux-gnu -I/var/tmp/portage/rmagick-1.3.2/work/RMagick-1.3.2/ext/RMagick  -DRUBY_VERSION=0x180 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -c rmimage.c
rmimage.c: In function `Image_black_threshold':
rmimage.c:623: error: `BlackThresholdImage' undeclared (first use in this function)
rmimage.c:623: error: (Each undeclared identifier is reported only once
rmimage.c:623: error: for each function it appears in.)
rmimage.c: In function `Image_constitute':
rmimage.c:1347: warning: implicit declaration of function `ImportImagePixels'
rmimage.c: In function `Image_dispatch':
rmimage.c:1706: warning: implicit declaration of function `ExportImagePixels'
rmimage.c: In function `Image_random_channel_threshold':
rmimage.c:4066: warning: implicit declaration of function `RandomChannelThresholdImage'
rmimage.c: In function `Image_white_threshold':
rmimage.c:5497: error: `WhiteThresholdImage' undeclared (first use in this function)
make: *** [rmimage.o] Error 1
setup failed
'system make' failed
try 'ruby install.rb --help' for usage

!!! ERROR: dev-ruby/rmagick-1.3.2 failed.
!!! Function src_compile, Line 19, Exitcode 1
!!! (no error message)
Comment 5 Tom Payne (RETIRED) gentoo-dev 2003-12-23 04:31:56 UTC
Thanks, I'll propogate it upstream the the rmagick author.

Tom
Comment 6 Tom Payne (RETIRED) gentoo-dev 2003-12-24 07:25:12 UTC
The Rubyforge bug report is:

http://rubyforge.org/tracker/?func=detail&atid=133&aid=205&group_id=12

Do you have two versions of ImageMagick installed? Or have you installed GraphicsMagick yourself? Are there old ImageMagick libraries lying around? Or new header files?

Comment 7 Arent Groebner 2003-12-24 09:43:31 UTC
> Do you have two versions of ImageMagick installed?

Yes, it was an inconsistency problem. I unmerged imagemagick and rmagick, emerged both again and the problem was gone.

Tom, would you please tell Tim from Rubyforge that the problem was solved?

Thanx,
Arent
Comment 8 Tom Payne (RETIRED) gentoo-dev 2003-12-24 10:19:41 UTC
Great, glad it's solved.

Tom