[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1120599: ITP: golang-modernc-sqlite -- CGo-free port of SQLite/SQLite3



Bastien Roucaries <rouca@debian.org> writes:

> Le mercredi 12 novembre 2025, 23:16:27 heure normale d’Europe centrale
> Simon Josefsson a écrit :
>> Package: wnpp
>> Severity: wishlist
>> Owner: Simon Josefsson <simon@josefsson.org>
>> 
>> * Package name    : golang-modernc-sqlite
>>   Version         : 1.40.0-1
>>   Upstream Author : The Sqlite Authors
>> * URL             : https://gitlab.com/cznic/sqlite
>> * License         : BSD-3-Clause
>>   Programming Lang: Go
>>   Description     : CGo-free port of SQLite/SQLite3 (Go library)
>> 
>>  SQLite is an in-process implementation of a self-contained,
>>  serverless, zero-configuration, transactional SQL database engine.
> are you sure the var __ccgo_ts1  is the prefered form of modification ?
> https://gitlab.com/cznic/sqlite/-/raw/master/lib/sqlite_linux_loong64.go
>
> ???

Thank you for review and feedback.

To be honest, I haven't yet started the full-blown debian/copyright
review work, focusing on just getting packages to build.  I have not
looked too closely at any source code in this package.

Definitely we should not rely on generated code without confirming that
re-generating it (using tools in main) produces identical outputs.  Do
you know what 'generator' is used here?  I'll read upstream
documentation to learn more, and/or engage with upstream...

> I suppose the way to go is to use source of sqlite and run generator
> on it, using maybe multi tar source packages for this.

Good idea.

> We have the same problem with C to javascript library

Do you have pointer to package?  Maybe I can get some inspiration.

/Simon

>
> rouca
>
>> 
>> Needed by golang-github-zombiezen-go-sqlite needed by
>> golang-filippo-torchwood.
>> 
>> https://salsa.debian.org/go-team/packages/golang-modernc-sqlite#
>> https://salsa.debian.org/jas/golang-modernc-sqlite/-/pipelines
>> 
>> /Simon
>> 
>

Attachment: signature.asc
Description: PGP signature


Reply to: