Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21938 - Mozilla 1.3-r1 fails to build
Summary: Mozilla 1.3-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-30 03:12 UTC by alex
Modified: 2011-10-30 22:20 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 alex 2003-05-30 03:12:58 UTC
trying to emerge mozilla 1.3-r1 I recieve the following errors
../mozilla-config.h -DMOZILLA_CLIENT       -o elf-dynstr-gc elf-dynstr-gc.c
elf-dynstr-gc.c:32:18: glib.h: No such file or directory
elf-dynstr-gc.c:45: parse error before '*' token
elf-dynstr-gc.c:45: warning: type defaults to `int' in declaration of
`used_dynamic_symbols'
elf-dynstr-gc.c:45: warning: data definition has no type or storage class
elf-dynstr-gc.c: In function `read_word':
elf-dynstr-gc.c:63: warning: implicit declaration of function `GUINT32_SWAP_LE_BE'
elf-dynstr-gc.c: In function `read_sword':
elf-dynstr-gc.c:71: `guint32' undeclared (first use in this function)
elf-dynstr-gc.c:71: (Each undeclared identifier is reported only once
elf-dynstr-gc.c:71: for each function it appears in.)
elf-dynstr-gc.c:71: parse error before "w"
elf-dynstr-gc.c: In function `read_half':
elf-dynstr-gc.c:87: warning: implicit declaration of function `GUINT16_SWAP_LE_BE'
elf-dynstr-gc.c: In function `possibly_add_string':
elf-dynstr-gc.c:344: warning: implicit declaration of function `g_hash_table_lookup'
elf-dynstr-gc.c:344: `gpointer' undeclared (first use in this function)
elf-dynstr-gc.c:344: parse error before "name_idx"
elf-dynstr-gc.c:348: warning: implicit declaration of function `g_new'
elf-dynstr-gc.c:348: parse error before "struct"
elf-dynstr-gc.c:352: warning: implicit declaration of function `g_strdup'
elf-dynstr-gc.c:352: warning: assignment makes pointer from integer without a cast
elf-dynstr-gc.c:354: warning: implicit declaration of function `g_hash_table_insert'
elf-dynstr-gc.c:354: parse error before "name_idx"
elf-dynstr-gc.c: In function `fixup_string':
elf-dynstr-gc.c:368: `gpointer' undeclared (first use in this function)
elf-dynstr-gc.c:368: parse error before "old_idx"
elf-dynstr-gc.c: At top level:
elf-dynstr-gc.c:601: parse error before "sum_size"
elf-dynstr-gc.c:601: parse error before "key"
elf-dynstr-gc.c:604: warning: return type defaults to `int'
elf-dynstr-gc.c: In function `sum_size':
elf-dynstr-gc.c:605: `size' undeclared (first use in this function)
elf-dynstr-gc.c:605: `sym' undeclared (first use in this function)
elf-dynstr-gc.c: At top level:
elf-dynstr-gc.c:614: parse error before "output_string"
elf-dynstr-gc.c:614: parse error before "key"
elf-dynstr-gc.c:617: warning: return type defaults to `int'
elf-dynstr-gc.c: In function `output_string':
elf-dynstr-gc.c:618: `sym' undeclared (first use in this function)
elf-dynstr-gc.c:618: `x' undeclared (first use in this function)
elf-dynstr-gc.c: In function `generate_new_dynstr':
elf-dynstr-gc.c:633: warning: implicit declaration of function
`g_hash_table_foreach'
elf-dynstr-gc.c:634: `GHFunc' undeclared (first use in this function)
elf-dynstr-gc.c:634: parse error before "sum_size"
elf-dynstr-gc.c:638: warning: implicit declaration of function `g_malloc'
elf-dynstr-gc.c:638: warning: assignment makes pointer from integer without a cast
elf-dynstr-gc.c:644: parse error before "output_string"
elf-dynstr-gc.c: In function `main':
elf-dynstr-gc.c:1090: warning: implicit declaration of function `g_hash_table_new'
elf-dynstr-gc.c:1090: `g_direct_hash' undeclared (first use in this function)
elf-dynstr-gc.c:1090: `g_direct_equal' undeclared (first use in this function)
elf-dynstr-gc.c:1090: warning: assignment makes pointer from integer without a cast
make[1]: *** [elf-dynstr-gc] Error 1
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.3-r1/work/mozilla/config'
make: *** [default] Error 2

!!! ERROR: net-www/mozilla-1.3-r1 failed.
!!! Function src_compile, Line 361, Exitcode 2


Reproducible: Always
Steps to Reproduce:
1.emerge mozilla
2.
3.

Actual Results:  
build fails with above mentioned errors.

Expected Results:  
successfully compile mozilla 1.3

I suspected a problem with glib. However both glib 1.2 and 2.0 are installed.
Gentoo 1.4 kernel 2.4.20 use flags are as follows
USE="cups -alsa usb -aalib "
mozilla 1.2 is currently installed.
Comment 1 Marc Doughty 2003-07-11 13:08:40 UTC
Does 1.3r2 emerge for you? Is this still an issue? If it is no longer relevant you can mark it off as fixed and get it off the buglist.
Comment 2 alex 2003-07-11 13:19:26 UTC
re-emerged glib 1.2  bug fixed.