pkgsrc-Users archive

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

Re: net/mosh: build failure on Darwin (macOS 15.0.1)



On Fri, Oct 25, 2024 at 03:47:33PM +0100, Jonathan Perkin wrote:
> * On 2024-10-25 at 15:31 BST, Manuel Kuklinski wrote:
> 
> > I fetched pkgsrc-2024Q3 and since net/mosh isn't available as a binary
> > package for Darwin I tried "bmake install clean" in pkgsrc's net/mosh:
> 
> Just to save you some time, generally the only reason a package isn't
> available in the repository is because it doesn't build.  If you head over
> to the pkgsrc-bulk archives:
> 
>   https://mail-index.netbsd.org/pkgsrc-bulk/
> 
> and find the latest Darwin build, you'll see the bulk build report that
> shows all of the current broken packages:
> 
>   https://us-central.manta.mnx.io/pkgsrc/public/reports/Darwin/12.3/arm64/20241022.1010/meta/report.html
> 
> which in this case includes mosh with the same error log you pasted:
> 
>   https://us-central.manta.mnx.io/pkgsrc/public/reports/Darwin/12.3/arm64/20241022.1010/mosh-1.4.0nb5/configure.log
> 
> As for the error itself, I've seen this somewhere else before, it's a bug in
> the configure script, and it's possible that pulling in a newer upstream
> version will fix it.  I probably won't have time to look at this until next
> week, though, so hopefully someone else can take a look in the meantime.

I also see this build bug. It's not a net/mosh bug. It looks like an issue with
pkgconfig in devel/abseil.

Removing the bogus "SHELL:.." strings from the .pc files lets net/mosh build
successfully.

--->8---

% ag "SHELL:-Xarch"  ~/pkg-2024Q4/lib/pkgconfig  
.../lib/pkgconfig/absl_random_internal_randen_hwaes_impl.pc
12:Cflags: -I${includedir} -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX SHELL:-Xarch_x86_64 -maes SHELL:-Xarch_x86_64 -msse4.1 SHELL:-Xarch_arm64 -march=armv8-a+crypto -Wno-unused-command-line-argument

.../lib/pkgconfig/absl_random_internal_randen_hwaes.pc
12:Cflags: -I${includedir} -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX SHELL:-Xarch_x86_64 -maes SHELL:-Xarch_x86_64 -msse4.1 SHELL:-Xarch_arm64 -march=armv8-a+crypto -Wno-unused-command-line-argument

% ./pkglocate -f lib/pkgconfig/absl_random_internal_randen_hwaes_impl.pc
devel/abseil/PLIST:lib/pkgconfig/absl_random_internal_randen_hwaes_impl.pc


Home | Main Index | Thread Index | Old Index