On Fri, Apr 8, 2022 at 9:39 AM Tong Sun <suntong...@gmail.com> wrote:
>
> Package: golang-1.17-src
> Version: 1.17
>
> I found the whole /usr/lib/go-1.17/pkg/include/ directory missing from
> the golang-src package.
> Verified with the following filelist  as well:
>
> https://packages.debian.org/sid/all/golang-1.17-src/filelist
>
> The "include" directory should be there as per Ian from golang.org.
> Missing it prevents installing certain packages like below.
>
> It's OK not to include them by default in the golang-vv-src packages
> as there might not be many people using them, however, I searched for
> "golang-1.17" but found no other packages providing them. Maybe
> provide an extra -src-include package?
>
> BTW, the problem exist in golang-1.18-src as well, verified by
> examining the listing from
> https://packages.debian.org/sid/all/golang-1.18-src/filelist
>

FTR, these files are in golang-X.Y-go package.

```
$ dpkg -L golang-1.18-go|grep pkg/include
/usr/share/go-1.18/pkg/include
/usr/share/go-1.18/pkg/include/asm_ppc64x.h
/usr/share/go-1.18/pkg/include/funcdata.h
/usr/share/go-1.18/pkg/include/textflag.h
/usr/lib/go-1.18/pkg/include
```

I don't know how it is possible that one only installs  golang-X.Y-src
package but still has a working `go` command.

-- 
Shengjing Zhu

Reply via email to