Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2026 20:35:19 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Cy Schubert <Cy.Schubert@cschubert.com>
Cc:        Craig Leres <leres@freebsd.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: b199a8d06eff - main - ports-mgmt/pkg: update to 2.7.4
Message-ID:  <0BCF0424-86B3-4251-8567-103E04664A2D@FreeBSD.org>
In-Reply-To: <20260416181807.D2299298@slippy.cwsent.com>
References:  <69e1072a.21eb0.3afb8771@gitrepo.freebsd.org> <5e25fc78-7e2f-4847-b859-5cc6cfa09c41@freebsd.org> <aeEMfxY047PNcK6R@b.nours.eu> <20260416181807.D2299298@slippy.cwsent.com>

index | next in thread | previous in thread | raw e-mail



Le 16 avril 2026 20:18:07 GMT+02:00, Cy Schubert <Cy.Schubert@cschubert.com> a écrit :
>In message <aeEMfxY047PNcK6R@b.nours.eu>, Baptiste Daroussin writes:
>> On Thu 16 Apr 09:16, Craig Leres wrote:
>> > On 4/16/26 08:58, Baptiste Daroussin wrote:
>> > > The branch main has been updated by bapt:
>> > > 
>> > > URL:https://cgit.FreeBSD.org/ports/commit/?
>> > > id=b199a8d06eff2c85cd65ea674e4ce4da3590bc67
>> > > 
>> > > commit b199a8d06eff2c85cd65ea674e4ce4da3590bc67
>> > > Author:     Baptiste Daroussin<bapt@FreeBSD.org>
>> > > AuthorDate: 2026-04-16 15:55:58 +0000
>> > > Commit:     Baptiste Daroussin<bapt@FreeBSD.org>
>> > > CommitDate: 2026-04-16 15:58:31 +0000
>> > > 
>> > >      ports-mgmt/pkg: update to 2.7.4
>> > 
>> > This doesn't fetch for me. I think distinfo needs updating.
>> > 
>> > 		Craig
>>
>> Yes fixed sorry about that.
>>
>> Best regards,
>> Bapt
>>
>
>pkg has been failing to build on 16-CURRENT since 2.7.0 with the following 
>error.
>
>--- pkg-static ---
>ccache cc -o pkg-static add.o alias.o annotate.o audit.o autoremove.o 
>check.o clean.o config.o create.o delete.o event.o fetch.o globals.o info.o 
>install.o key.o lock.o main.o plugins.o query.o register.o repo.o 
>repositories.o rquery.o search.o set.o shell.o shlib.o ssh.o stats.o 
>triggers.o unregister.o update.o updating.o upgrade.o utils.o version.o 
>which.o -static -L/export/wrkdir/amd64/export/freebsd/git/ports/ports-mgmt/p
>kg/work/pkg-2.7.4/libpkg -lpkg_flat  -lelf -ljail -lm -pthread -larchive 
>-lutil -lssl -lcrypto -lmd -lbz2 -lz -llzma -lprivatezstd
>/usr/local/bin/x86_64-unknown-freebsd16.0-ld: warning: x86_64-gf2m.o: 
>missing .note.GNU-stack section implies executable stack
>/usr/local/bin/x86_64-unknown-freebsd16.0-ld: NOTE: This behaviour is 
>deprecated and will be removed in a future version of the linker
>/usr/local/bin/x86_64-unknown-freebsd16.0-ld: /usr/lib/liblzma.a(check.o): 
>in function `lzma_sha256_init':
>/opt/src/git-src/contrib/xz/src/liblzma/check/check.h:127:(.text+0x6c): 
>undefined reference to `_libmd_SHA256_Init'
>/usr/local/bin/x86_64-unknown-freebsd16.0-ld: /usr/lib/liblzma.a(check.o): 
>in function `lzma_sha256_update':
>/opt/src/git-src/contrib/xz/src/liblzma/check/check.h:144:(.text+0xc8): 
>undefined reference to `_libmd_SHA256_Update'
>/usr/local/bin/x86_64-unknown-freebsd16.0-ld: /usr/lib/liblzma.a(check.o): 
>in function `lzma_sha256_finish':
>/opt/src/git-src/contrib/xz/src/liblzma/check/check.h:151:(.text+0xf9): 
>undefined reference to `_libmd_SHA256_Final'
>cc: error: linker command failed with exit code 1 (use -v to see invocation)
>*** [pkg-static] Error code 1
>
>make[1]: stopped making "all" in /export/wrkdir/amd64/export/freebsd/git/por
>ts/ports-mgmt/pkg/work/pkg-2.7.4/src
>make[1]: 1 error
>
>make[1]: stopped making "all" in /export/wrkdir/amd64/export/freebsd/git/por
>ts/ports-mgmt/pkg/work/pkg-2.7.4/src
>*** [all] Error code 2
>
>make: stopped making "all" in /export/wrkdir/amd64/export/freebsd/git/ports/
>ports-mgmt/pkg/work/pkg-2.7.4
>make: 1 error
>
>make: stopped making "all" in /export/wrkdir/amd64/export/freebsd/git/ports/
>ports-mgmt/pkg/work/pkg-2.7.4
>===> Compilation failed unexpectedly.
>Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
>the maintainer.
>*** Error code 1
>
>Stop.
>make[2]: stopped making "build-message do-build" in 
>/export/freebsd/git/ports/ports-mgmt/pkg
>*** Error code 1
>
>Stop.
>make[1]: stopped making "/export/wrkdir/amd64/export/freebsd/git/ports/ports
>-mgmt/pkg/work/.stage_done.pkg._usr_local" in /export/freebsd/git/ports/port
>s-mgmt/pkg
>*** Error code 1
>
>Stop.
>make: stopped making "all" in /export/freebsd/git/ports/ports-mgmt/pkg
>stinky$ 
>
>I've hacked together a local fix that is not ready for prime time though. 
>Generally, reordering of libraries (-l) makes a difference.
>
>
this is weird I am running exclusively current and it works, also the builders for current have managed to build it and it is in the repos.

Best regards,
Bapt


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0BCF0424-86B3-4251-8567-103E04664A2D>