MySQL 4.1.0 tarball

MySQL 4.1.0 tarball

am 11.04.2003 14:44:38 von Alex Dupre

I was surprised that MySQL 4.1 sources were three times bigger than
MySQL 4.0.12 sources. In fact they aren't, they are smaller, but the
tarball contains three exact copies of the same sources.

# ls -l mysql-4.1.0-alpha.tar

-rw-r--r-- 1 root user 152207360 11 Apr 12:58 mysql-4.1.0-alpha.tar

# tar xf mysql-4.1.0-alpha.tar

# tar cf mysql-4.1.0-alpha.tar mysql-4.1.0-alpha

# ls -l mysql-4.1.0-alpha.tar

-rw-r--r-- 1 root user 50728960 11 Apr 14:03 mysql-4.1.0-alpha.tar

A deeper analisys showed me that in the original tarball the ranges
0%~33%, 34%~66% and 67%~100% were identical, and identical to the
tarball created by me, like if two 'appends' happened after a
'create'.
Why? I think it was a mistake.

--
Alex Dupre sysadmin@alexdupre.com
http://www.alexdupre.com/ alex@sm.FreeBSD.org

Today's excuse: (l)user error


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: MySQL 4.1.0 tarball

am 11.04.2003 15:08:34 von Sinisa Milivojevic

Alex Dupre writes:
> I was surprised that MySQL 4.1 sources were three times bigger than
> MySQL 4.0.12 sources. In fact they aren't, they are smaller, but the
> tarball contains three exact copies of the same sources.
>
> # ls -l mysql-4.1.0-alpha.tar
>
> -rw-r--r-- 1 root user 152207360 11 Apr 12:58 mysql-4.1.0-alpha.tar
>
> # tar xf mysql-4.1.0-alpha.tar
>
> # tar cf mysql-4.1.0-alpha.tar mysql-4.1.0-alpha
>
> # ls -l mysql-4.1.0-alpha.tar
>
> -rw-r--r-- 1 root user 50728960 11 Apr 14:03 mysql-4.1.0-alpha.tar
>
> A deeper analisys showed me that in the original tarball the ranges
> 0%~33%, 34%~66% and 67%~100% were identical, and identical to the
> tarball created by me, like if two 'appends' happened after a
> 'create'.
> Why? I think it was a mistake.
>
> --
> Alex Dupre sysadmin@alexdupre.com
> http://www.alexdupre.com/ alex@sm.FreeBSD.org
>
> Today's excuse: (l)user error
>

This definitely looks like a serious error.

Our production dept will check it out immediately.

--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com



--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: MySQL 4.1.0 tarball

am 11.04.2003 16:10:46 von Lenz Grimmer

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Fri, 11 Apr 2003, Alex Dupre wrote:

> I was surprised that MySQL 4.1 sources were three times bigger than
> MySQL 4.0.12 sources. In fact they aren't, they are smaller, but the
> tarball contains three exact copies of the same sources.
>
> # ls -l mysql-4.1.0-alpha.tar
>
> -rw-r--r-- 1 root user 152207360 11 Apr 12:58 mysql-4.1.0-alpha.tar
>
> # tar xf mysql-4.1.0-alpha.tar
>
> # tar cf mysql-4.1.0-alpha.tar mysql-4.1.0-alpha
>
> # ls -l mysql-4.1.0-alpha.tar
>
> -rw-r--r-- 1 root user 50728960 11 Apr 14:03 mysql-4.1.0-alpha.tar
>
> A deeper analisys showed me that in the original tarball the ranges
> 0%~33%, 34%~66% and 67%~100% were identical, and identical to the
> tarball created by me, like if two 'appends' happened after a
> 'create'.
> Why? I think it was a mistake.

You are right, that does look strange. It seems to be a bug in "make dist"
- - we will investigate this.

Bye,
LenZ
- --
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Lenz Grimmer
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer
/_/ /_/\_, /___/\___\_\___/ Hamburg, Germany
<___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+lszoSVDhKrJykfIRAqgNAJ9BmkQd5cFdF0Lq/m+O7iVR6FhbRQCd FaQy
9r27kt1CpGAbSBRQ9sdgumc=
=xIYk
-----END PGP SIGNATURE-----

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: MySQL 4.1.0 tarball

am 11.04.2003 17:16:32 von Lenz Grimmer

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 11 Apr 2003, Lenz Grimmer wrote:

> > Why? I think it was a mistake.
>
> You are right, that does look strange. It seems to be a bug in "make
> dist" - we will investigate this.

OK, this is fixed now. It was a bit tricky to find and seems like a bug
in GNU tar to me: "make dist" actually calls tar the following way:

tar chof - mysql-4.1.0-alpha | GZIP=--best gzip -c > mysql-4.1.0-alpha.tar.gz

Unfortunately there were a lot of dangling symlinks in the BDB
subdirectory (all pointing to a non-existant "tags" file) - these somehow
caused the tar file to grow in size, even though tar did not even bother
to pack them up. Omitting the "-h" option or removing the broken symlinks
resolved the issue. I've now made sure, that the symlinks actually point
to an existing file, which also resolved the problem and brought the
source distribution size back to a sane level. Thanks for pointing this
out!

Bye,
LenZ
- --
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Lenz Grimmer
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer
/_/ /_/\_, /___/\___\_\___/ Hamburg, Germany
<___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD4DBQE+ltxRSVDhKrJykfIRApRbAJ4vqBo4ec7ht8RTUMtN5CCUChnMqACW OAHP
rsHxcwWH2EdzjzZX7MoTCQ==
=lxay
-----END PGP SIGNATURE-----

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: MySQL 4.1.0 tarball

am 11.04.2003 17:19:12 von Alex Dupre

Friday, April 11, 2003, 4:10:46 PM, you wrote:

LG> You are right, that does look strange. It seems to be a bug in "make dist"
LG> - - we will investigate this.

Well, let me know when it'll be fixed....I'm waiting for committing the
new FreeBSD port.

--
Alex Dupre sysadmin@alexdupre.com
http://www.alexdupre.com/ alex@sm.FreeBSD.org

Today's excuse: excess surge protection


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: MySQL 4.1.0 tarball

am 11.04.2003 17:30:18 von Lenz Grimmer

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Fri, 11 Apr 2003, Alex Dupre wrote:

> Friday, April 11, 2003, 4:10:46 PM, you wrote:
>
> LG> You are right, that does look strange. It seems to be a bug in "make
> LG> dist" - - we will investigate this.
>
> Well, let me know when it'll be fixed....I'm waiting for committing the
> new FreeBSD port.

It will be fixed for the 4.1.1 release, when we cut a new source
distribution. In the meanwhile the easiest solution for you would be to
extract and repackage the source tarball once (to "defragment" the
archive). No idea what GNU tar was smoking while creating the tarball.
I need to investigate, if this bug still exists in newer versions...

Bye,
LenZ
- --
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Lenz Grimmer
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer
/_/ /_/\_, /___/\___\_\___/ Hamburg, Germany
<___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+lt+LSVDhKrJykfIRArh5AJwM/4eW5p9X/+OLWK40xW/Z0dotUACf UWj8
8xtIxpalXdefghIKfQuWii8=
=IxIR
-----END PGP SIGNATURE-----

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: MySQL 4.1.0 tarball

am 12.04.2003 00:21:50 von indrek siitan

Hi,

> It will be fixed for the 4.1.1 release, when we cut a new source
> distribution. In the meanwhile the easiest solution for you would be to
> extract and repackage the source tarball once (to "defragment" the
> archive). No idea what GNU tar was smoking while creating the tarball.
> I need to investigate, if this bug still exists in newer versions...

FreeBSD port uses the standard MySQL distribution downloaded from our site
and mirrors, so they cannot re-package it.

So I guess the choice is either to look the other way on the size (well, it
is a .0-alpha version :)), or wait until 4.1.1 with the port. I'd vote for
the first route.


Rgds,
Indrek

--=20
MySQL Users Conference and Expo: http://www.mysql.com/events/uc2003/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Indrek Siitan
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, The Support Guy
/_/ /_/\_, /___/\___\_\___/ Uuem=F5isa, Haapsalu, Estonia
<___/ www.mysql.com


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=3Dgcdmb-bugs@m.gmane.org

Re: MySQL 4.1.0 tarball

am 12.04.2003 01:17:08 von Alex Dupre

Saturday, April 12, 2003, 12:21:50 AM, you wrote:

IS> FreeBSD port uses the standard MySQL distribution downloaded from our site
IS> and mirrors, so they cannot re-package it.

Theoretically I could repackage it and put it on one site, but I think it's not
a good idea, so I created the port linked to the large tarball.

--
Alex Dupre sysadmin@alexdupre.com
http://www.alexdupre.com/ alex@sm.FreeBSD.org

Today's excuse: Power Company having EMP problems with their reactor


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org