Hi @ports,

I have an issue trying to update the www/gotosocial port.

`make modgo-gen-modules` generates a modules.inc containing 
the `codeberg.org/gruf/go-ulid` module that is (it seems) not
needed to build the port.

If I try to build the port with the generated modules.inc
it triggers the following message:
`
/bin/sh: test: (go_modules/codeberg.org/gruf/go-ulid/@v/v1.0.0.mod):
unexpected operator/operand
!!! Extra file 'SHA256
(go_modules/codeberg.org/gruf/go-ulid/@v/v1.0.0.mod) =
5I0emv0PLqo51QR44xjWbaSMH682mSIZEdTtoA6TsUI=' in
/usr/ports/www/gotosocial/distinfo
!!! Read up on SUPDISTFILES in bsd.port.mk(5)
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2508
'_internal-checksum': @fgrep 2>/dev/null SIZE
/usr/ports/www/gotosocial/dist...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2705
'/tmp/pobj/gotosocial-0.5.2/.extract_done': @cd
/usr/ports/www/gotosocial &&...)
*** Error 2 in /usr/ports/www/gotosocial
(/usr/ports/infrastructure/mk/bsd.port.mk:2611 'build':
@lock=gotosocial-0.5.2p0;  export _LOCKS_HE...)
`
The first line is repeated many times.

The same happens with:
`portgen go github.com/superseriousbusiness/gotosocial`

Deleting the `codeberg.org/gruf/go-ulid` in `modules.inc`
allows the port to build.

The resulting binary works fine as far as I can tell (I have been
running it for one day now). Considering the problem above, I will
submit the port after few more days of testing.

I still have no idea why `make modgo-gen-modules` seems to generate
the wrong modules.inc, and I am not competent enough in go (among 
other things) to locate and fix the problem (if any).

Regards,

Hukadan

Reply via email to