Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 30888

Summary: gimp-1.3.21 compilation failure
Product: Gentoo Linux Reporter: Andrei Ivanov <andrei.ivanov>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 1.4   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrei Ivanov 2003-10-11 00:36:00 UTC
[ebuild  N    ] media-gfx/gimp-1.3.21  -doc -python +aalib +png +jpeg +tiff +gtkhtml +mmx -sse +X


make[3]: Entering directory `/var/tmp/portage/gimp-1.3.21/work/gimp-1.3.21/app/gui'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../app -I../../app -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -
I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-GUI\"  -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED  -g -march=athlon -O3 -pipe  -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -g -g -g -g -g -Wall -MT error-console-commands.o -MD -MP -MF ".deps/error-console-commands.Tpo" \
  -c -o error-console-commands.o `test -f 'error-console-commands.c' || echo './'`error-console-commands.c; \
then mv -f ".deps/error-console-commands.Tpo" ".deps/error-console-commands.Po"; \
else rm -f ".deps/error-console-commands.Tpo"; exit 1; \
fi
error-console-commands.o: Input/output error
{standard input}: Assembler messages:
{standard input}:66057: FATAL: Can't write error-console-commands.o: Illegal seek
make[3]: *** [error-console-commands.o] Error 1


Portage 2.0.49-r3 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.6.0-test6-mm4)
=================================================================
System uname: 2.6.0-test6-mm4 i686 AMD Athlon(tm) Processor
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo http://gentoo.oregonstate.edu http://www.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="x86 oss avi crypt cups encode foomaticdb gif jpeg libwww mad mikmod mpeg ncurses pdflib png quicktime spell truetype xml2 xv zlib gdbm berkdb slang readline arts mysql postgres X sdl gpm tcpd pam ssl imlib oggvorbis gtk qt opengl 3dnow aalib acl acpi alsa apache2 -apm bonobo cdr curl dga dvd dvdr esd evo gd gphoto2 -gnome gnomedb gstreamer gtk2 gtkhtml imap innodb java -kde lcms ldap libgda -libg++ maildir mcal memlimit mmx -motif mozilla mozsvg -nas -nls -perl pic -python samba -sasl scanner slp -svga tiff usb wmf wxwindows xml -xmms"
Comment 1 Andrei Ivanov 2003-10-11 00:36:45 UTC
btw:

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3              16G  4.1G   11G  28% /
Comment 2 foser (RETIRED) gentoo-dev 2003-10-11 03:00:28 UTC
try with conservative CFLAGS first before you file bugreports.
Comment 3 Andrei Ivanov 2003-10-11 13:47:17 UTC
Hmm.. I tried again, with the same flags, and it compiled fine until...

Making all in imagemap
make[3]: Entering directory `/var/tmp/portage/gimp-1.3.21/work/gimp-1.3.21/plug-ins/imagemap'
/bin/sh ../../libtool --mode=link gcc  -g -march=athlon -O3 -pipe  -fprefetch-loop-arrays
-ffast-math -fforce-addr -falign-functions=4 -g -g -g -Wall   -o imagemap
 imap_about.o imap_browse.o imap_cern_lex.o imap_cern_parse.o imap_circle.o
imap_cmd_clear.o imap_cmd_copy.o imap_cmd_copy_object.o imap_cmd_create.o
imap_cmd_cut.o imap_cmd_cut_object.o imap_cmd_delete.o imap_cmd_delete_point.o
imap_cmd_edit_object.o imap_cmd_gimp_guides.o imap_cmd_guides.o imap_cmd_insert_point.o
imap_cmd_move.o imap_cmd_move_down.o imap_cmd_move_sash.o imap_cmd_move_selected.o
imap_cmd_move_to_front.o imap_cmd_move_up.o imap_cmd_object_down.o imap_cmd_object_move.o
imap_cmd_object_up.o imap_cmd_paste.o imap_cmd_select.o imap_cmd_select_all.o
imap_cmd_select_next.o imap_cmd_select_prev.o imap_cmd_select_region.o imap_cmd_send_to_back.o
imap_cmd_unselect.o imap_cmd_unselect_all.o imap_command.o imap_csim_lex.o
imap_csim_parse.o imap_default_dialog.o imap_edit_area_info.o imap_file.o
imap_grid.o imap_main.o imap_menu.o imap_menu_funcs.o imap_misc.o imap_mru.o
imap_ncsa_lex.o imap_ncsa_parse.o imap_object.o imap_object_popup.o imap_polygon.o
imap_popup.o imap_preferences.o imap_preview.o imap_rectangle.o imap_selection.o
imap_settings.o imap_source.o imap_stock.o imap_statusbar.o imap_string.o
imap_table.o imap_taglist.o imap_toolbar.o imap_tools.o ../../libgimp/libgimpui-1.3.la
../../libgimpwidgets/libgimpwidgets-1.3.la ../../libgimp/libgimp-1.3.la ../../libgimpcolor/libgimpcolor-1.3.la
../../libgimpbase/libgimpbase-1.3.la -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0
gcc -g -march=athlon -O3 -pipe -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -g -g -g -Wall -o .libs/imagemap imap_about.o imap_browse.o
imap_cern_lex.o imap_cern_parse.o imap_circle.o imap_cmd_clear.o imap_cmd_copy.o
imap_cmd_copy_object.o imap_cmd_create.o imap_cmd_cut.o imap_cmd_cut_object.o
imap_cmd_delete.o imap_cmd_delete_point.o imap_cmd_edit_object.o imap_cmd_gimp_guides.o
imap_cmd_guides.o imap_cmd_insert_point.o imap_cmd_move.o imap_cmd_move_down.o
imap_cmd_move_sash.o imap_cmd_move_selected.o imap_cmd_move_to_front.o imap_cmd_move_up.o
imap_cmd_object_down.o imap_cmd_object_move.o imap_cmd_object_up.o imap_cmd_paste.o
imap_cmd_select.o imap_cmd_select_all.o imap_cmd_select_next.o imap_cmd_select_prev.o
imap_cmd_select_region.o imap_cmd_send_to_back.o imap_cmd_unselect.o imap_cmd_unselect_all.o
imap_command.o imap_csim_lex.o imap_csim_parse.o imap_default_dialog.o imap_edit_area_info.o
imap_file.o imap_grid.o imap_main.o imap_menu.o imap_menu_funcs.o imap_misc.o
imap_mru.o imap_ncsa_lex.o imap_ncsa_parse.o imap_object.o imap_object_popup.o
imap_polygon.o imap_popup.o imap_preferences.o imap_preview.o imap_rectangle.o
imap_selection.o imap_settings.o imap_source.o imap_stock.o imap_statusbar.o
imap_string.o imap_table.o imap_taglist.o imap_toolbar.o imap_tools.o -Wl,--export-dynamic
 ../../libgimp/.libs/libgimpui-1.3.so ../../libgimpwidgets/.libs/libgimpwidgets-1.3.so
../../libgimp/.libs/libgimp-1.3.so ../../libgimpcolor/.libs/libgimpcolor-1.3.so
../../libgimpbase/.libs/libgimpbase-1.3.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so
/usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so
/usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/ld:
final link failed: Input/output error
collect2: ld returned 1 exit status
make[3]: *** [imagemap] Error 1
make[3]: Leaving directory `/var/tmp/portage/gimp-1.3.21/work/gimp-1.3.21/plug-ins/imagemap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-1.3.21/work/gimp-1.3.21/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-1.3.21/work/gimp-1.3.21'
make: *** [all] Error 2


I went into /var/tmp/portage/gimp-1.3.21/work/gimp-1.3.21/plug-ins/imagemap
and edited the Makefile and changed CFLAGS to -march=athlon -O3 -pipe -fomit-frame-pointer
and did a make clean && make, but still the same error...

this is strange...
Comment 4 Andrei Ivanov 2003-10-11 14:05:11 UTC
It might be a bug in the ext3 code in the kernel (2.6.0-test6-mm4):

EXT2-fs warning (device hda3): ext2_fill_super: mounting ext3 filesystem
as ext2
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 106
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 106
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 106
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 106
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 106
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 106
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 106
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 106
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 3
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 3
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 3
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 3
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 3
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 3
EXT2-fs error (device hda3): ext2_new_block: Free blocks count corrupted
for block group 3


Partition is ext3... why is it mounting it as ext2?

And btw... maybe this bug should be assigned to the kernel team...
Comment 5 foser (RETIRED) gentoo-dev 2003-10-12 10:55:29 UTC
are these 2 confirmed related issues ? I mean, are you sure these are not
2 different problems ? I don't really see an asm message coming from HD corruption.
Comment 6 Andrei Ivanov 2003-10-12 12:28:27 UTC
I think so... both failure messages say something about some I/O failure
of some kind. Tomorrow I will force a check on the filesystem, maybe even
post a bug report on linux-kernel ml, and try again...
Comment 7 Andrei Ivanov 2003-10-13 06:05:54 UTC
After running a fsck, gimp compiled fined... sorry for the trouble.