Closed Bug 222241 Opened 21 years ago Closed 21 years ago

Mozilla 1.5 source tarball fails to build

Categories

(SeaMonkey :: Build Config, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: graham.hudspith, Assigned: leaf)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.6a) Gecko/20030917 Firebird/0.7+
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.6a) Gecko/20030917 Firebird/0.7+

Downloaded mozilla-source-1.5.tar.bz2. Tried to build. Build fails.

uname -a gives: SunOS mlgw185 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-60

Reproducible: Always

Steps to Reproduce:
1. bzip2 -c -d mozilla-source-1.5.tar.bz2 | tar xf -
2. cd mozilla; ../make-mozilla

Contents of "make-mozilla" file:

#!/bin/ksh

cp /net/mlgw364/export/tmp/mozilla/source/mozconfig-mozilla ~/.mozconfig

PATH=/net/mlgw364/export/tmp/tools/gcc-2.95-sun-ld/bin:/opt/SUNWspro/SUNWspro/bi
n:/opt/exp/bin:$PATH \
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/exp/gnu/lib:/opt/exp/ast/lib \
SHELL=ksh \
MAKE="gmake -j2" \
CC=/net/mlgw364/export/tmp/tools/gcc-2.95-sun-ld/bin/gcc \
CXX=/net/mlgw364/export/tmp/tools/gcc-2.95-sun-ld/bin/g++ \
BUILD_MODULES=all \
BUILD_OFFICIAL=1 \
MOZILLA_OFFICIAL=1 \
gmake -f client.mk build

Contents of "mozconfig-mozilla" file:

ac_add_options --disable-debug
ac_add_options --disable-freetype2
ac_add_options --disable-mathml
ac_add_options --disable-tests
ac_add_options --disable-xprint
ac_add_options --enable-crypto
ac_add_options --enable-optimize=-O2
ac_add_options --prefix=/net/mlgw364/export/tmp/tools/mozilla/mozilla


Actual Results:  
make[5]: Leaving directory
`/net/mlgw364/export/tmp/mozilla/source/mozilla/mozilla/db/mork/build'
make[4]: Leaving directory
`/net/mlgw364/export/tmp/mozilla/source/mozilla/mozilla/db/mork'
make[3]: Leaving directory
`/net/mlgw364/export/tmp/mozilla/source/mozilla/mozilla/db'
make[3]: Entering directory
`/net/mlgw364/export/tmp/mozilla/source/mozilla/mozilla/xpfe/components/shistory'
make[3]: *** No rule to make target `export'.  Stop.
make[3]: Leaving directory
`/net/mlgw364/export/tmp/mozilla/source/mozilla/mozilla/xpfe/components/shistory'
make[2]: *** [tier_9] Error 2
make[2]: Leaving directory `/net/mlgw364/export/tmp/mozilla/source/mozilla/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/net/mlgw364/export/tmp/mozilla/source/mozilla/mozilla'
make: *** [build] Error 2


Expected Results:  
Produce nice shiny new dist/bin


Mozilla source tarball for 1.5rc2 built fine using above steps.
*** Bug 222242 has been marked as a duplicate of this bug. ***
Confirmed by dupe.  Error message on Linux is:

make[1]: *** No rule to make target `xpfe/components/shistory/Makefile.in',
needed by `xpfe/components/shistory/Makefile'.  Stop.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: SunOS → All
Hardware: Sun → All
Severity: blocker → major
I received the same error, trying to build on Red Hat Severn beta.  Output of
uname -a: 
Linux isaac 2.4.22-1.2061.nptlcustom #7 Wed Oct 8 17:44:30 EDT 2003 i686 athlon
i386 GNU/Linux

Output of gcc -v: 
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.1/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.1 20030915 (Red Hat Linux 3.3.1-5)

config flags:
 --disable-debug --enable-strip-libs --disable-tests --disable-short-wchar
--enable-nspr-autoconf --enable-extensions=default,irc --enable-crypto
--disable-xprint --without-system-nspr --with-system-zlib --disable-freetype2
--enable-xft --enable-toolkit-gtk2  --enable-default-toolkit=gtk2
--disable-toolkit-gtk --disable-pedantic

The same config flags worked sucessfully when building mozilla 1.5b.
MOZILLA_1_5_RELEASE has been improperly tagged.  

MOZILLA_1_5_BRANCH builds just peachy.
Had this problem yesterday. Today there is a different tarball on the mozilla
page, compiles just fine.
*** Bug 222425 has been marked as a duplicate of this bug. ***
For me compiles cleanly too. Somebody should close this bug like resolved!
Well, when I download mozilla-source-1.5.tar.bz2 from
ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.5/src, it is still
the same as the erroneous version.

Size of (my) mozilla-source-1.5.tar.bz2 is 29464409. md5sum is

9d59651eac39a95da756d38fe5385896  mozilla-source-1.5.tar.bz2

So, I would hold off on moving this bug to RESOLVED just yet ...

> Size of (my) mozilla-source-1.5.tar.bz2 is 29464409. md5sum is

> 9d59651eac39a95da756d38fe5385896  mozilla-source-1.5.tar.bz2

Um. That doesn't match the md5sum listed for the tarball, which (according to
ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.5/MD5SUMS)
should be one of:

0a1447d0c4ff99a39d4a07e65b5f544f  ./src/mozilla-source-1.5.tar.bz2
a0a3d54278a37655f3eb0ecf14ffab2e  ./src/mozilla-source-1.5.tar.gz

My first DL of the source matched the bz2 md5sum above. I just re-DL, and now
I'm getting the same md5sum as Graham in comment#8. For ****'n'giggles, I
downloaded the gzipped version (which had an md5sum of
db89b5453ecf290fc94dcd3c1d99eab7) and piped it through gunzip and bzip2, and I
ended up with the same (new, not listed on the MD5sum page) md5sums.
Interestingly, the dates listed on the FTP server for the two files are still
10/15, which predates my first copy (which fails to build but has a "correct"
md5sum.)

So what the **? Mozilla folks, please post working tarballs with correct
modtimes and/or change the MD5SUMS file to reflect the changes!
There are probably one or two bad mirrors in the round robin.
Of course, it'd be interesting to see which. So we could maybe just pull them
out or so.
I wonder if the round robin list for ftp:// is worse than the one for htpp://
again.
Sigh! I would like to claim that if was a dodgy mirror, but I have to come
clean ...

After Olegario's musing on the conflicting md5sums, I decided to unpack
the .bz2 I had and try to build it again. This time it worked! Gobsmacked!

So the version with the size and md5sum I mentioned earlier is good.

I don't know how this happened. I guess I must have deleted the original,
faulty, .bz2 and downloaded the new, correct, .bz2 without realizing that
it has (silently) been fixed and updated.

Sorry for any confusion caused since the earlier posts by people saying
"It is now fixed!", I shall now withdraw to lie down in a darkened room.

Thanks for the investigation, Olegario - I hope the Mozilla gang do remember
to get aronud to fixing the MD5SUMS file at some point (and posting some
sort of message saying that the previously broken tarballs have now been
fixed).
*** Bug 222287 has been marked as a duplicate of this bug. ***
still missing files in other-licenses/libart_lgpl.
Please update source tarball!
Tarball fixed last week, MD5SUMS (sigh) updated today. I will investigate the
missing other-licenses directories, but that should be a separate bug, as the
summary issue is fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.