www.digitalmars.com         C & C++   DMDScript  

D.gnu - etc.c.sqlite3 missing from GDC phobos since gcc-12?

reply Joe Kappus <joe wt.gd> writes:
I noticed this yesterday when trying to package the dlang 
onedrive client in Gentoo with GDC 13.2 and it failed since it 
requires this.

It appears to have been removed when gdc became self-hosting in 
gcc during the gcc-12 release cycle.

There when it was present: 
https://github.com/gcc-mirror/gcc/tree/releases/gcc-11.2.0/libphobos/src/etc/c
Gone now: 
https://github.com/gcc-mirror/gcc/tree/releases/gcc-13.2.0/libphobos/src/etc/c
Still in dmd: 
https://github.com/dlang/phobos/blob/master/etc/c/sqlite3.d

I've asked in the #d IRC channel on Libera, and their guess was 
it was omitted by mistake so I'm writing in to verify: Would you 
know whether it's a bug and will return or otherwise why it got 
dropped? Thanks!
Aug 10 2023
next sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Friday, 11 August 2023 at 05:50:43 UTC, Joe Kappus wrote:
 I noticed this yesterday when trying to package the dlang 
 onedrive client in Gentoo with GDC 13.2 and it failed since it 
 requires this.

 It appears to have been removed when gdc became self-hosting in 
 gcc during the gcc-12 release cycle.

 There when it was present: 
 https://github.com/gcc-mirror/gcc/tree/releases/gcc-11.2.0/libphobos/src/etc/c
 Gone now: 
 https://github.com/gcc-mirror/gcc/tree/releases/gcc-13.2.0/libphobos/src/etc/c
 Still in dmd: 
 https://github.com/dlang/phobos/blob/master/etc/c/sqlite3.d

 I've asked in the #d IRC channel on Libera, and their guess was 
 it was omitted by mistake so I'm writing in to verify: Would 
 you know whether it's a bug and will return or otherwise why it 
 got dropped? Thanks!
Hmm, is the plan that it should be on dub instead?
Sep 22 2023
prev sibling parent singingbush <singingbush hotmail.com> writes:
On Friday, 11 August 2023 at 05:50:43 UTC, Joe Kappus wrote:
 I noticed this yesterday when trying to package the dlang 
 onedrive client in Gentoo with GDC 13.2 and it failed since it 
 requires this.

 It appears to have been removed when gdc became self-hosting in 
 gcc during the gcc-12 release cycle.

 There when it was present: 
 https://github.com/gcc-mirror/gcc/tree/releases/gcc-11.2.0/libphobos/src/etc/c
 Gone now: 
 https://github.com/gcc-mirror/gcc/tree/releases/gcc-13.2.0/libphobos/src/etc/c
 Still in dmd: 
 https://github.com/dlang/phobos/blob/master/etc/c/sqlite3.d

 I've asked in the #d IRC channel on Libera, and their guess was 
 it was omitted by mistake so I'm writing in to verify: Would 
 you know whether it's a bug and will return or otherwise why it 
 got dropped? Thanks!
DDBC and Hibernated are affected by this. Being unable to import `etc.c.sqlite3` means that the CI for ddbc & Hibernated cannot be run using gdc. ``` source/ddbc/drivers/sqliteddbc.d:48:12: error: unable to read module ‘sqlite3’ 48 | import etc.c.sqlite3; | ^ source/ddbc/drivers/sqliteddbc.d:48:12: note: Expected 'etc/c/sqlite3.d' or 'etc/c/sqlite3/package.d' in one of the following import paths: 48 | import etc.c.sqlite3; | ^ import path[0] = /usr/lib/gcc/x86_64-linux-gnu/12/include/d ``` https://github.com/buggins/ddbc/issues/122 https://github.com/buggins/hibernated/issues/83
Dec 13 2023