pkgsrc-Bugs archive

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

pkg/58703: Darwin graphics/qr-code-generator ar: --: No such file or directory



>Number:         58703
>Category:       pkg
>Synopsis:       Darwin graphics/qr-code-generator ar: --: No such file or directory
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 28 06:35:00 +0000 2024
>Originator:     George Georgalis
>Release:        pkg-2024Q2 2024-09-27
>Organization:
>Environment:
Darwin AAAA.asus 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 31 21:38:20 PDT 2024; root:xnu-8796.141.3.707.4~1/RELEASE_ARM64_T8103 arm64
>Description:
DEBUG a=graphics/qr-code-generator pkgtag=pkg-2024Q2 PKGNAME=qr-code-generator-1.8.0
===> Cleaning for qr-code-generator-1.8.0
===> Cleaning for cwrappers-20220403
===> Cleaning for mktools-20220614
===> Cleaning for nbpatch-20151107
===> Cleaning for digest-20220214
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for checkperms-1.12
===> Cleaning for mksh-59bnb4
===> Cleaning for gmake-4.4.1
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for QR-Code-generator-1.8.0.tar.gz
=> Checksum SHA512 OK for QR-Code-generator-1.8.0.tar.gz
===> Installing dependencies for qr-code-generator-1.8.0
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Checking for vulnerabilities in qr-code-generator-1.8.0
===> Overriding tools for qr-code-generator-1.8.0
===> Extracting for qr-code-generator-1.8.0
===> Patching for qr-code-generator-1.8.0
===> Creating toolchain wrappers for qr-code-generator-1.8.0
===> Configuring for qr-code-generator-1.8.0
=> Checking for portability problems in extracted files
===> Building for qr-code-generator-1.8.0
mkdir -p .deps
clang -fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -std=c99 -O -L/opt/pkg-2024Q2-66f76-14.2-Darwin_22.6.0_arm64/lib -DQRCODEGEN_TEST -o qrcodegen-test qrcodegen-test.c qrcodegen.c
touch .deps/timestamp
clang -fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -std=c99 -O -c -o qrcodegen.o -MMD -MF .deps/qrcodegen.d qrcodegen.c
clang -fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -std=c99 -O -c -o qrcodegen-demo.o -MMD -MF .deps/qrcodegen-demo.d qrcodegen-demo.c
ar -crs libqrcodegen.a -- qrcodegen.o
ar: --: No such file or directory
gmake: *** [Makefile:76: libqrcodegen.a] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
bmake[1]: stopped in /opt/pkgsrc-release/graphics/qr-code-generator
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc-release/graphics/qr-code-generator
>How-To-Repeat:
build graphics/qr-code-generator on Darwin
>Fix:
I think this is a common problem but not sure of a standard fix... the upstream GNU ar uses -- syntax, but Darwin ar is interpreting -- as a file name; patch upstream work/graphics/qr-code-generator/work.aarch64/QR-Code-generator-1.8.0/c/Makefile to use Darwin ar syntax.




Home | Main Index | Thread Index | Old Index