First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 185574
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Vladimir Brik <no.hope@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
sqlite-3.4.0.ebuild sqlite-3.4.0.ebuild text/plain Vladimir Brik 2007-07-16 19:03 0000 1.90 KB Details
test_expr.patch patch to disable expression test 104 patch Vladimir Brik 2007-07-16 19:04 0000 524 bytes Details | Diff
test_types3.patch patch to disable types3-1.3 test patch Vladimir Brik 2007-07-16 19:04 0000 621 bytes Details | Diff
sqlite_patchset_4130.diff SIGFPE on 64-bit platforms fix 1/2 patch Vladimir Brik 2007-07-17 12:49 0000 1.58 KB Details | Diff
sqlite_patchset_4131.diff SIGFPE on 64-bit platforms fix 2/2 patch Vladimir Brik 2007-07-17 12:50 0000 382 bytes Details | Diff
sqlite_patchset_4134.diff 64-bit/tcl regression failure with types3-1.3 fix 1/2 patch Vladimir Brik 2007-07-17 12:52 0000 833 bytes Details | Diff
sqlite_patchset_4135.diff 64-bit/tcl regression failure with types3-1.3 fix 2/2 patch Vladimir Brik 2007-07-17 12:52 0000 1.88 KB Details | Diff
sqlite-3.4.0.ebuild sqlite-3.4.0.ebuild updated to use official patches for test case failures on 64 bit systems text/plain Vladimir Brik 2007-07-17 12:59 0000 2.09 KB Details
sqlite-3.4.0.ebuild sqlite-3.4.0.ebuild with copyright header restored text/plain Vladimir Brik 2007-07-17 16:36 0000 2.20 KB Details
sqlite-3.4.1.ebuild sqlite-3.4.1.ebuild text/plain Vladimir Brik 2007-07-22 18:49 0000 1.91 KB Details
dev-db:sqlite-3.4.1:20070819-010813.log Build+Failure log text/plain Thomas Anderson 2007-08-19 01:17 0000 697.25 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 185574 depends on: Show dependency tree
Show dependency graph
Bug 185574 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-16 19:02 0000
Attached are the ebuild for sqlite 3.4 and associated patches.

sqlite 3.4 was released on June 18th, 2007. Latest version in portage is
3.3.17. 

Most notably, 3.4 fixed two database corruption bugs, which claimed a few of my
15GB+ databases. Due to these bugs updating is "strongly recommended" (see
sqlite.org News section). Full changelog is here:
http://www.sqlite.org/changes.html

There are a few issues with sqlite test suite, at least on 64 bit systems. I
attached patches to comment those tests out. These might be related to similar
64 bit issues in 3.3.17 ebuild, which also applied patches to remove some
tests. However, different tests failed on my system. Therefore, the attached
ebuild does not apply old patches, but includes two new ones.

sqlite 3.4 appears to be running fine on x64_86 and x86, though I did not use
it extensively. I could only test the test suite on x64_86.

I hope you will find this useful.

------- Comment #1 From Vladimir Brik 2007-07-16 19:03:18 0000 -------
Created an attachment (id=125066) [edit]
sqlite-3.4.0.ebuild

------- Comment #2 From Vladimir Brik 2007-07-16 19:04:07 0000 -------
Created an attachment (id=125067) [edit]
patch to disable expression test 104

------- Comment #3 From Vladimir Brik 2007-07-16 19:04:55 0000 -------
Created an attachment (id=125069) [edit]
patch to disable types3-1.3 test

------- Comment #4 From Vladimir Brik 2007-07-17 12:49:36 0000 -------
Created an attachment (id=125153) [edit]
SIGFPE on 64-bit platforms fix 1/2

------- Comment #5 From Vladimir Brik 2007-07-17 12:50:17 0000 -------
Created an attachment (id=125155) [edit]
SIGFPE on 64-bit platforms fix 2/2

------- Comment #6 From Vladimir Brik 2007-07-17 12:52:02 0000 -------
Created an attachment (id=125156) [edit]
64-bit/tcl regression failure with types3-1.3 fix 1/2

------- Comment #7 From Vladimir Brik 2007-07-17 12:52:28 0000 -------
Created an attachment (id=125157) [edit]
64-bit/tcl regression failure with types3-1.3 fix 2/2

------- Comment #8 From Vladimir Brik 2007-07-17 12:59:31 0000 -------
Created an attachment (id=125158) [edit]
sqlite-3.4.0.ebuild updated to use official patches for test case failures on
64 bit systems

------- Comment #9 From Vladimir Brik 2007-07-17 13:04:02 0000 -------
added patches from sqlite.org to fix test cases that failed on 64 bit systems.
Previously those test cases were just removed.

sqlite tickets:
Ticket 2465: 64-bit/tcl regression failure with types3-1.3
http://www.sqlite.org/cvstrac/tktview?tn=2465,39

Ticket 2507: test_expr expr-1.104 fails (64-bit int handling)
http://www.sqlite.org/cvstrac/tktview?tn=2507,35

------- Comment #10 From Petteri Räty 2007-07-17 13:12:16 0000 -------
(In reply to comment #8)
> Created an attachment (id=125158) [edit]
> sqlite-3.4.0.ebuild updated to use official patches for test case failures on
> 64 bit systems
> 

Why did you remove copyright from the top?

------- Comment #11 From Vladimir Brik 2007-07-17 16:36:09 0000 -------
Created an attachment (id=125171) [edit]
copyright header restored

(In reply to comment #10)
> Why did you remove copyright from the top?
> 
Is that a problem? 

The ebuild I attached is a bastardized version of sqlite-3.3.17.ebuild with
different patches. I didn't know what the header what supposed to look like and
just took off the whole top. I figured somebody else was going to edit the
thing anyway.

------- Comment #12 From Petteri Räty 2007-07-17 21:13:25 0000 -------
(In reply to comment #11)
> 
> The ebuild I attached is a bastardized version of sqlite-3.3.17.ebuild with
> different patches. I didn't know what the header what supposed to look like and
> just took off the whole top. I figured somebody else was going to edit the
> thing anyway.
> 

Well it's there to make sure that copyright goes to Gentoo Foundation as far I
think but of course if your contributions are limited to a couple of lines it's
not copyrightable in itself.

------- Comment #13 From Vladimir Brik 2007-07-22 18:49:29 0000 -------
Created an attachment (id=125695) [edit]
sqlite-3.4.1.ebuild

New version of sqlite is out, most notably fixing another database corruption
bug. Test suite's TLC issues on 64 bit platforms have been fixed as well and no
longer require patching.

------- Comment #14 From Petteri Räty 2007-07-24 15:13:07 0000 -------
(In reply to comment #13)
> Created an attachment (id=125695) [edit]
> sqlite-3.4.1.ebuild
> 
> New version of sqlite is out, most notably fixing another database corruption
> bug. Test suite's TLC issues on 64 bit platforms have been fixed as well and no
> longer require patching.
> 

Please attach diffs against current ebuilds in the future so it's easy to see
what has changed. Thanks.

------- Comment #15 From Petteri Räty 2007-07-24 15:24:50 0000 -------
Version bump committed. amd64: please verify the test suite to be working

------- Comment #16 From Vladimir Brik 2007-08-15 17:47:06 0000 -------
(In reply to comment #15)
> Version bump committed. amd64: please verify the test suite to be working
> 

All tests are passed without errors.

------- Comment #17 From Thomas Anderson 2007-08-19 01:11:00 0000 -------
====amd64====

I am having a testsuite problem....

Attaching build log....

Portage 2.1.2.12 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4,
2.6.22-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r2 x86_64 unknown
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 18 Aug 2007 11:20:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict
parallel-fetch sandbox sfperms strict test userpriv"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/
http://distfiles.gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/overlay"
SYNC="rsync://192.168.1.30/gentoo-portage"
USE="X acl aiglx aim amd64 berkdb bitmap-fonts branding cli cracklib crypt cups
dri fortran gdbm gpm gtk iconv imap ipv6 isdnlog midi mmx mpeg3 mudflap ncurses
nls nptl nptlonly nvidia opengl openmp pam pcre perl pppd python qt3 readline
reflection session sockets spl sqlite3 sse sse2 ssl tcpd test truetype-fonts
type1-fonts unicode vim xcomposite xine xorg zlib" ALSA_CARDS="ali5451 als4000
atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #18 From Thomas Anderson 2007-08-19 01:17:38 0000 -------
Created an attachment (id=128504) [edit]
Build+Failure log

------- Comment #19 From Petteri Räty 2007-08-19 09:02:40 0000 -------
(In reply to comment #18)
> Created an attachment (id=128504) [edit]
> Build+Failure log
> 

USE="nothreadsafe" ?

------- Comment #20 From Thomas Anderson 2007-08-19 11:31:05 0000 -------
(In reply to comment #19)
> (In reply to comment #18)
> > Created an attachment (id=128504) [edit]
> > Build+Failure log
> > 
> 
> USE="nothreadsafe" ?
> 
I redid the tests with that USE flag and all tests passed.

------- Comment #21 From Petteri Räty 2007-08-19 12:14:46 0000 -------
(In reply to comment #20)
> > 
> I redid the tests with that USE flag and all tests passed.
> 

Well it should rather be the other way around :)

------- Comment #22 From Sergey Dryabzhinsky 2007-08-25 09:04:08 0000 -------
Version 3.4.2 released. Bump?

------- Comment #23 From Jakub Moc 2007-10-05 14:34:56 0000 -------
(In reply to comment #22)
> Version 3.4.2 released. Bump?

No, not here. This bug is about version bump, done, closing. Anything else ->
new bug.

First Last Prev Next    No search results available      Search page      Enter new bug