Your message dated Mon, 13 Feb 2017 11:03:32 +0000
with message-id <>
and subject line Bug#854849: fixed in golang-github-mattn-go-sqlite3 
has caused the Debian Bug report #854849,
regarding sqlite3.go's bind func causes cgo pointer panic.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Source: golang-github-jinzhu-gorm
Version: 0.0~git20151012.0.20e37a0-1
Severity: serious
Justification: fails to build from source
Usertags: ftbfs

Dear Maintainer,

golang-github-jinzhu-gorm fails to build from source in unstable/amd64:


  dh build --buildsystem=golang --with=golang
     dh_testdir -O--buildsystem=golang
     dh_update_autotools_config -O--buildsystem=golang
     dh_auto_configure -O--buildsystem=golang
     dh_auto_build -O--buildsystem=golang
        go install -v
     dh_auto_test -O--buildsystem=golang
        go test -v
  testing sqlite3...
  === RUN   TestRegisterCallback
  --- PASS: TestRegisterCallback (0.00s)
  === RUN   TestRegisterCallbackWithOrder
  --- PASS: TestRegisterCallbackWithOrder (0.00s)
  === RUN   TestRegisterCallbackWithComplexOrder
  --- PASS: TestRegisterCallbackWithComplexOrder (0.00s)
  === RUN   TestReplaceCallback
  [info] replacing callback `create` from 
  --- PASS: TestReplaceCallback (0.00s)
  === RUN   TestRemoveCallback
  [info] removing callback `create` from 
  --- PASS: TestRemoveCallback (0.00s)
  === RUN   TestCloneSearch
  --- PASS: TestCloneSearch (0.00s)
  === RUN   TestHasOneAndHasManyAssociation
  --- PASS: TestHasOneAndHasManyAssociation (0.12s)
  === RUN   TestRelated
  --- PASS: TestRelated (0.02s)
  === RUN   TestManyToMany
  --- PASS: TestManyToMany (0.47s)
  === RUN   TestForeignKey
  --- PASS: TestForeignKey (0.00s)
  === RUN   TestRunCallbacks
  --- PASS: TestRunCallbacks (0.06s)
  === RUN   TestCallbacksWithErrors
  --- PASS: TestCallbacksWithErrors (0.06s)
  === RUN   TestCreate
  --- PASS: TestCreate (0.04s)
  === RUN   TestCreateWithNoGORMPrimayKey
  --- PASS: TestCreateWithNoGORMPrimayKey (0.02s)
  === RUN   TestCreateWithNoStdPrimaryKeyAndDefaultValues
  --- PASS: TestCreateWithNoStdPrimaryKeyAndDefaultValues (0.04s)
  === RUN   TestAnonymousScanner
  --- PASS: TestAnonymousScanner (0.02s)
  === RUN   TestAnonymousField
  --- PASS: TestAnonymousField (0.02s)
  === RUN   TestSelectWithCreate
  --- PASS: TestSelectWithCreate (0.05s)
  === RUN   TestOmitWithCreate
  --- PASS: TestOmitWithCreate (0.04s)
  === RUN   TestCustomizeColumn
  --- PASS: TestCustomizeColumn (0.07s)
  === RUN   TestCustomColumnAndIgnoredFieldClash
  --- PASS: TestCustomColumnAndIgnoredFieldClash (0.02s)
  === RUN   TestDdlErrors
  testing sqlite3...
  --- PASS: TestDdlErrors (0.00s)
  === RUN   TestDelete
  --- PASS: TestDelete (0.06s)
  === RUN   TestInlineDelete
  --- PASS: TestInlineDelete (0.07s)
  === RUN   TestSoftDelete
  --- PASS: TestSoftDelete (0.07s)
  === RUN   TestSaveAndQueryEmbeddedStruct
  --- PASS: TestSaveAndQueryEmbeddedStruct (0.06s)
  === RUN   TestCalculateField
  --- PASS: TestCalculateField (0.00s)
  === RUN   TestJoinTable
  (no such table: person_addresses) 
  [2016-03-31 13:07:14]  
  --- PASS: TestJoinTable (0.14s)
  === RUN   TestStringPrimaryKey
  --- PASS: TestStringPrimaryKey (0.03s)
  === RUN   TestExceptionsWithInvalidSql
  (no such table: ) 
  [2016-03-31 13:07:14]  
  (no such column: aaa) 
  [2016-03-31 13:07:14]  
  --- PASS: TestExceptionsWithInvalidSql (0.00s)
  (no such column: sdsd.zaaa) 
  [2016-03-31 13:07:14]  
  === RUN   TestSetTable
  (no such table: invalid_table) 
  [2016-03-31 13:07:14]  
  (no such table: deleted_users) 
  [2016-03-31 13:07:14]  
  --- PASS: TestSetTable (0.20s)
  === RUN   TestHasTable
  (no such table: foos) 
  [2016-03-31 13:07:14]  
  --- PASS: TestHasTable (0.04s)
  === RUN   TestTableName
  --- PASS: TestTableName (0.00s)
  === RUN   TestSqlNullValue
  (no such table: null_values) 
  [2016-03-31 13:07:14]  
  --- PASS: TestSqlNullValue (0.07s)
  === RUN   TestTransaction
  (NOT NULL constraint failed: 
  [2016-03-31 13:07:14]  
  (sql: Transaction has already been committed or rolled back) 
  [2016-03-31 13:07:14]  
  --- PASS: TestTransaction (0.02s)
  === RUN   TestRow
  --- PASS: TestRow (0.07s)
  === RUN   TestRows
  --- PASS: TestRows (0.06s)
  === RUN   TestScan
  --- PASS: TestScan (0.06s)
  === RUN   TestRaw
  --- PASS: TestRaw (0.08s)
  === RUN   TestGroup
  --- PASS: TestGroup (0.00s)
  === RUN   TestJoins
  --- PASS: TestJoins (0.02s)
  === RUN   TestJoinsWithSelect
  --- PASS: TestJoinsWithSelect (0.02s)
  === RUN   TestHaving
  --- PASS: TestHaving (0.00s)
  === RUN   TestTimeWithZone
  --- PASS: TestTimeWithZone (0.05s)
  === RUN   TestHstore
  --- SKIP: TestHstore (0.00s)
  === RUN   TestSetAndGet
  --- PASS: TestSetAndGet (0.00s)
  === RUN   TestOpenExistingDB
  `` is not officially supported, running under compatibility mode.
  --- PASS: TestOpenExistingDB (0.02s)
  === RUN   TestIndexes
  (UNIQUE constraint failed: emails.user_id, 
  [2016-03-31 13:07:15]  
  (UNIQUE constraint failed: emails.user_id, 
  [2016-03-31 13:07:15]  
  --- PASS: TestIndexes (0.15s)
  === RUN   TestAutoMigration
  --- PASS: TestAutoMigration (0.11s)
  === RUN   TestManyToManyWithMultiPrimaryKeys
  --- PASS: TestManyToManyWithMultiPrimaryKeys (0.00s)
  === RUN   TestPointerFields
  (no such table: pointer_structs) 
  [2016-03-31 13:07:15]  
  --- PASS: TestPointerFields (0.10s)
  === RUN   TestPolymorphic
  --- PASS: TestPolymorphic (0.11s)
  === RUN   TestPreload
  --- PASS: TestPreload (0.10s)
  === RUN   TestNestedPreload1
  --- PASS: TestNestedPreload1 (0.09s)
  === RUN   TestNestedPreload2
  --- PASS: TestNestedPreload2 (0.13s)
  === RUN   TestNestedPreload3
  --- PASS: TestNestedPreload3 (0.13s)
  === RUN   TestNestedPreload4
  --- PASS: TestNestedPreload4 (0.13s)
  === RUN   TestNestedPreload5
  --- PASS: TestNestedPreload5 (0.15s)
  === RUN   TestNestedPreload6
  --- PASS: TestNestedPreload6 (0.15s)
  === RUN   TestNestedPreload7
  --- PASS: TestNestedPreload7 (0.17s)
  === RUN   TestNestedPreload8
  --- PASS: TestNestedPreload8 (0.16s)
  === RUN   TestNestedPreload9
  --- PASS: TestNestedPreload9 (0.20s)
  === RUN   TestManyToManyPreloadWithMultiPrimaryKeys
  --- PASS: TestManyToManyPreloadWithMultiPrimaryKeys (0.00s)
  === RUN   TestManyToManyPreloadForPointer
  --- PASS: TestManyToManyPreloadForPointer (0.14s)
  === RUN   TestNilPointerSlice
  --- PASS: TestNilPointerSlice (0.16s)
  === RUN   TestFirstAndLast
  --- PASS: TestFirstAndLast (0.04s)
  === RUN   TestFirstAndLastWithNoStdPrimaryKey
  --- PASS: TestFirstAndLastWithNoStdPrimaryKey (0.04s)
  === RUN   TestUIntPrimaryKey
  --- PASS: TestUIntPrimaryKey (0.00s)
  === RUN   TestFindAsSliceOfPointers
  --- PASS: TestFindAsSliceOfPointers (0.02s)
  === RUN   TestSearchWithPlainSQL
  --- PASS: TestSearchWithPlainSQL (0.06s)
  === RUN   TestSearchWithStruct
  --- PASS: TestSearchWithStruct (0.06s)
  === RUN   TestSearchWithMap
  --- PASS: TestSearchWithMap (0.05s)
  === RUN   TestSearchWithEmptyChain
  --- PASS: TestSearchWithEmptyChain (0.05s)
  === RUN   TestSelect
  --- PASS: TestSelect (0.03s)
  === RUN   TestOrderAndPluck
  --- PASS: TestOrderAndPluck (0.06s)
  === RUN   TestLimit
  --- PASS: TestLimit (0.09s)
  === RUN   TestOffset
  --- PASS: TestOffset (0.40s)
  === RUN   TestOr
  --- PASS: TestOr (0.07s)
  === RUN   TestCount
  --- PASS: TestCount (0.05s)
  === RUN   TestNot
  --- PASS: TestNot (0.19s)
  === RUN   TestFillSmallerStruct
  --- PASS: TestFillSmallerStruct (0.03s)
  === RUN   TestFindOrInitialize
  --- PASS: TestFindOrInitialize (0.02s)
  === RUN   TestFindOrCreate
  (UNIQUE constraint failed: 
  [2016-03-31 13:07:18]  
  (UNIQUE constraint failed: 
  [2016-03-31 13:07:18]  
  --- PASS: TestFindOrCreate (0.11s)
  === RUN   TestSelectWithEscapedFieldName
  (no such column: email) 
  [2016-03-31 13:07:18]  
  --- PASS: TestSelectWithEscapedFieldName (0.05s)
  === RUN   TestSelectWithVariables
  --- PASS: TestSelectWithVariables (0.02s)
  === RUN   TestSelectWithArrayInput
  --- PASS: TestSelectWithArrayInput (5.01s)
  === RUN   TestCurrentDatabase
  --- PASS: TestCurrentDatabase (0.00s)
        query_test.go:591: Got current db name: main
  === RUN   TestScopes
  --- PASS: TestScopes (0.00s)
  === RUN   TestScannableSlices
  --- FAIL: TestScannableSlices (0.00s)
  panic: runtime error: cgo argument has Go pointer to Go pointer [recovered]
        panic: runtime error: cgo argument has Go pointer to Go pointer
  goroutine 225 [running]:
  panic(0x817ae0, 0xc820620800)
        /usr/lib/go/src/runtime/panic.go:464 +0x3e6
        /usr/lib/go/src/testing/testing.go:467 +0x192
  panic(0x817ae0, 0xc820620800)
        /usr/lib/go/src/runtime/panic.go:426 +0x4e9, 0xc82012e914, 0x0, 
0x0, 0x0, 0x76b440) +0x4d*SQLiteStmt).bind(0xc8205be960, 0xc8205866e0, 
0x2, 0x2, 0x0, 0x0)
 +0xa39*SQLiteStmt).Exec(0xc8205be960, 0xc8205866e0, 
0x2, 0x2, 0x0, 0x0, 0x0, 0x0)
 +0x7b*SQLiteConn).Exec(0xc82041ac40, 0xc8205be910, 
0x44, 0xc8205866e0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0)
  database/sql.(*DB).exec(0xc820184d10, 0xc8205be910, 0x44, 0xc820586620, 0x2, 
0x2, 0x1, 0x0, 0x0, 0x0, ...)
        /usr/lib/go/src/database/sql/sql.go:1035 +0x2c2
  database/sql.(*DB).Exec(0xc820184d10, 0xc8205be910, 0x44, 0xc820586620, 0x2, 
0x2, 0x0, 0x0, 0x0, 0x0)
        /usr/lib/go/src/database/sql/sql.go:1009 +0xbe
 +0x67a*Scope).callCallbacks(0xc820177e00, 0xc820126b00, 
0x9, 0x10, 0x0)
 +0x68*DB).Save(0xc8d520, 0x76acc0, 0xc82062a5c0, 0x1)
  testing.tRunner(0xc8206a6000, 0xc79280)
        /usr/lib/go/src/testing/testing.go:473 +0x98
  created by testing.RunTests
        /usr/lib/go/src/testing/testing.go:582 +0x892
  exit status 2
  FAIL  11.181s
  dh_auto_test: go test -v returned exit code 1
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 1


The full build log is attached.


     : :'  :     Chris Lamb
     `. `'` /

Attachment: golang-github-jinzhu-gorm.0.0~git20151012.0.20e37a0-1.unstable.amd64.log.txt.gz
Description: Binary data

--- End Message ---
--- Begin Message ---
Source: golang-github-mattn-go-sqlite3
Source-Version: 1.1.0~dfsg1-3

We believe that the bug you reported is fixed in the latest version of
golang-github-mattn-go-sqlite3, which is due to be installed in the Debian FTP 

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Martín Ferrari <> (supplier of updated 
golang-github-mattn-go-sqlite3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing

Hash: SHA256

Format: 1.8
Date: Mon, 13 Feb 2017 07:27:48 -0300
Source: golang-github-mattn-go-sqlite3
Binary: golang-github-mattn-go-sqlite3-dev
Architecture: source
Version: 1.1.0~dfsg1-3
Distribution: unstable
Urgency: high
Maintainer: pkg-go <>
Changed-By: Martín Ferrari <>
 golang-github-mattn-go-sqlite3-dev - sqlite3 driver for go that using 
Closes: 854849
 golang-github-mattn-go-sqlite3 (1.1.0~dfsg1-3) unstable; urgency=high
   * Backport commit b76c610 from release 1.2.0 to fix an RC bug. Thanks to
     Haruki TSURUMOTO for the patch. Closes: #854849
 f35654b593921939719c53e71f49466ab8c07012 2323 
 08dba72f84f75fdee966b8469cc9d1248db42911 3468 
 b1f8b0b748aaf1f8c62640761c42f1ba8473e732 4880 
 61ae975f883212d4329bbfb12816d2cd1713747ec6e3a06fcb0f3e3cfeab8e37 2323 
 baab6e12f9624a07c20bdde51907388e895def4043301b9f3c514c88c548b805 3468 
 9dc4129e9365084480926a36ea2ce7f1a8ea026d2cdb9aa4e61715903d594711 4880 
 71910fbc0fa457ffa02f8d4f52397db4 2323 devel extra 
 904c60d9c4bb7d5c09a109c0d38dbc8e 3468 devel extra 
 b56f500b0d82dac16230c667efb71a29 4880 devel extra 



--- End Message ---
Pkg-go-maintainers mailing list

Reply via email to