Opened 5 years ago

Closed 22 months ago

#58947 closed defect (fixed)

flac @1.3.3: error: sys/auxv.h: No such file or directory

Reported by: SerpentChris (Chris Calderon) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: powerpc leopard tiger Cc: kencu (Ken), dgonyier (Dwaine Gonyier), udbraumann, mrkapqa
Port: flac

Description

System: OS X Leopard 10.5.8 on PowerMac G4 DP 1.42GHz Build fails here:

libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I./include -I../../include -I/opt/local/include -D_FORTIFY_SOURCE=2 -DFLAC__USE_VISIBILITY_ATTR -faltivec -I/opt/local/include -pipe -Os -std=gnu89 -arch ppc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Winline -Wdeclaration-after-statement -fvisibility=hidden -fgnu89-inline -msse2 -MT cpu.lo -MD -MP -MF .deps/cpu.Tpo -c cpu.c  -fno-common -DPIC -o .libs/cpu.o
cpu.c:57:22: error: sys/auxv.h: No such file or directory
cpu.c: In function ‘ppc_cpu_info’:
cpu.c:248: warning: implicit declaration of function ‘getauxval’
cpu.c:248: warning: nested extern declaration of ‘getauxval’
cpu.c:248: error: ‘AT_HWCAP2’ undeclared (first use in this function)
cpu.c:248: error: (Each undeclared identifier is reported only once
cpu.c:248: error: for each function it appears in.)

Attachments (1)

main.log (56.0 KB) - added by SerpentChris (Chris Calderon) 5 years ago.

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by SerpentChris (Chris Calderon)

Attachment: main.log added

comment:1 Changed 5 years ago by kencu (Ken)

Cc: kencu added

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Keywords: powerpc added; ppc removed

comment:3 Changed 5 years ago by dgonyier (Dwaine Gonyier)

Cc: dgonyier added

comment:4 Changed 5 years ago by miniupnp (Thomas BERNARD)

same here (OSX 10.4 PPC) I'm trying to fix it

comment:5 Changed 5 years ago by miniupnp (Thomas BERNARD)

https://github.com/macports/macports-ports/pull/6343

I'm also trying to submit upstream

comment:6 Changed 5 years ago by udbraumann

Cc: udbraumann added

comment:7 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mrkapqa added
Keywords: leopard tiger added
Summary: flac @1.3.3 build failureflac @1.3.3: error: sys/auxv.h: No such file or directory

Has duplicate #64415.

comment:8 Changed 22 months ago by kencu (Ken)

Resolution: fixed
Status: newclosed

https://github.com/macports/macports-ports/pull/6343/commits/cc5589233c6a6d6b12f812d3045487a59605b868

$ port -v installed flac
The following ports are currently installed:
  flac @1.3.4_0 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2022-12-10T12:35:13-0800'
Note: See TracTickets for help on using tickets.