MidnightBSD Magus

devel/chrpath

Tool to modify DT_RPATH in existing ELF binaries

Flavor Version Run OSVersion Arch License Restricted Build Fetch Test Scan
0.18 641 4.0 i386 gpl2 0 fail pass untested untested Reset Port

License Permissions: dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

Events

Machine Phase Type Time Message
m4032 build info 2026-06-04 01:00:56.393246 Build Started
m4032 build warn 2026-06-04 01:01:16.046164 MASTER_SITES contains non-HTTPS URLs: http://ftp.by.debian.org/debian/pool/main/c/chrpath/, http://deb.debian.org/debian/pool/main/c/chrpath/, http://ftp.am.debian.org/debian/pool/main/c/chrpath/, http://ftp.au.debian.org/debian/pool/main/c/chrpath/, http://ftp.at.debian.org/debian/pool/main/c/chrpath/ and 35 more
m4032 build fail 2026-06-04 01:01:16.055727 make build returned non-zero: 1
m4032 build fail 2026-06-04 01:01:16.144517 Build complete.
m4032 fetch info 2026-06-02 23:12:54.453292 Fetch Started
m4032 fetch pass 2026-06-02 23:12:56.008696 Fetch complete.

Build Log

===>  Building for chrpath-0.18
/usr/local/bin/gmake  all-recursive
gmake[1]: Entering directory '/magus/work/usr/mports/devel/chrpath/work/chrpath'
Making all in testsuite
gmake[2]: Entering directory '/magus/work/usr/mports/devel/chrpath/work/chrpath/testsuite'
cc -Wl,-R /usr/local/lib -o prog prog.c
gmake[2]: Leaving directory '/magus/work/usr/mports/devel/chrpath/work/chrpath/testsuite'
Making all in deb
gmake[2]: Entering directory '/magus/work/usr/mports/devel/chrpath/work/chrpath/deb'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/magus/work/usr/mports/devel/chrpath/work/chrpath/deb'
gmake[2]: Entering directory '/magus/work/usr/mports/devel/chrpath/work/chrpath'
cc -DHAVE_CONFIG_H -I.     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -W -Wall -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -MT chrpath.o -MD -MP -MF .deps/chrpath.Tpo -c -o chrpath.o chrpath.c
cc -DHAVE_CONFIG_H -I.     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -W -Wall -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -MT killrpath.o -MD -MP -MF .deps/killrpath.Tpo -c -o killrpath.o killrpath.c
cc -DHAVE_CONFIG_H -I.     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -W -Wall -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
cc -DHAVE_CONFIG_H -I.     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -W -Wall -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -MT elf.o -MD -MP -MF .deps/elf.Tpo -c -o elf.o elf.c
In file included from killrpath.c:31:
./protos.h:36:3: error: typedef redefinition with different types ('union Elf_Ehdr' vs 'Elf32_Ehdr')
   36 | } Elf_Ehdr;
      | In file included from main.c:  ^
26:
./protos.h:36:3: error: /usr/include/sys/elf_generic.h:66:1typedef redefinition with different types ('union Elf_Ehdr' vs 'Elf32_Ehdr')
: note: previous definition is here
   66   36 | __ElfT | } ypElf_Ehdr;
      |   ^e(Ehdr);

      | ^/usr/include/sys/elf_generic.h:
66:1: note: previous definition is here
   /usr/include/sys/elf_generic.h:56:4066 | : note: expanded from macro '__ElfType'
__ElfT   56ype( | #Ehdedrfi);ne
       _| ^_E
lf/usr/include/sys/elf_generic.h:Ty56:pe40:(x note: )    expanded from macro '__ElfType'
ty   56pe | #dedef fi__neEl _fN_E(xlf) Ty__peCO(xNC)    AT(tyElpef_de,xf )__
      El|                                           ^fN
(x/usr/include/sys/cdefs.h:) 150:__23:CO note: NCexpanded from macro '__CONCAT'
A  150T( | #Eldef_fi,xne)
 _      | _C                                          ^
O/usr/include/sys/cdefs.h:NC150:AT23:(x note: ,yexpanded from macro '__CONCAT'
)  150   _ | #_CdeONfiCAneT1 _(x_C,yON)
      CA|                         ^T(
/usr/include/sys/cdefs.h:x,149:y)24:   _ note: _Cexpanded from macro '__CONCAT1'
O  149NC | #ATde1(fix,ney) _
      _C|                         ^ON
/usr/include/sys/cdefs.h:CA149:T124:(x note: ,yexpanded from macro '__CONCAT1'
)  149  x | # #de# fiy
ne      |  __                        ^
C:ON46:CA1:T1 note: (xexpanded from here
,y   46 | E)  lfx _E##hd yr

            | |                         ^^

:52:1: note: expanded from here
   52 | In file included from killrpath.cEl:31f_:
./protos.hEh:41dr:3
      : error: typedef redefinition with different types ('union Elf_Shdr' vs 'Elf32_Shdr')| ^

   41 | } Elf_Shdr;
      |   ^
In file included from main.c/usr/include/sys/elf_generic.h:67::261::
./protos.h note: :41previous definition is here
:3   67:  | _error: typedef redefinition with different types ('union Elf_Shdr' vs 'Elf32_Shdr')
_Elf   41Typ | }e( EShlfdr)_S;
hd      | r;^

/usr/include/sys/elf_generic.h:      | 56:40:   ^
note: /usr/include/sys/elf_generic.h:expanded from macro '__ElfType'
67:   56 | #1: note: previous definition is here
de   fine67 | __ElfTy _pe(S_Elfhdr);In file included from 
Typelf.c:      | 25e(:
x)    t./protos.h:36:y^
3: /usr/include/sys/elf_generic.hperror: e:56d:typedef redefinition with different types ('union Elf_Ehdr' vs 'Elf32_Ehdr')
40ef:   36  __E | note: lf} expanded from macro '__ElfType'
N   56(x | )E# _ldefi_Cf_EONne hdCAT__Elr;fT
      y(pe(x|   ^Elf_,x)
      |                                           ^

/usr/include/sys/cdefs.h:150:/usr/include/sys/elf_generic.h:23: note: expanded from macro '__CONCAT'
66  :1: note: 150 | #dprevious definition is here
)    etf   66 | ypedeine __COf _N_E__lCfAN(xET() __xC,ONClyfA)T(Elf_,xIn file included from    Tchrpath.c:56:
y)
pe./protos.h:_      | (E36:3h_CON: error: typedef redefinition with different types ('union Elf_Ehdr' vs 'Elf32_Ehdr')
CAT1(x,y)
   36dr);      |                         ^

                                          ^       | /usr/include/sys/cdefs.h:
| /usr/include/sys/cdefs.h^
:149/usr/include/sys/elf_generic.h:56}150 :40Elf: _note: expanded from macro '__ElfType'E:
   5624 | :h:dr;
#de23:       |   ^ note: note: 
fineexpanded from macro '__CONCAT'
/usr/include/sys/elf_generic.h  150 | # __Elf:Ty66pe:1(expanded from macro '__CONCAT1': xd)    note: efin
previous definition is heretypeedef _
_El _   fN(x)66 | __   El__fType(COENChATdr);
      | (E^
lf_/usr/include/sys/elf_generic.h,_C149:O56:40N | : CAxnote: expanded from macro '__ElfType'T(x,y)   
__   56 | )#COdefineNC AT__ElfType(x)1(x    
,y)
      |                         ^
ty/usr/include/sys/cdefs.h:149:24:ped#e note: fexpanded from macro '__CONCAT1'
 __Elf  149N |       (#dxe| ) _                                          ^_COdNCeAfT(Efilneif_n,x)
      |  __                                          ^CO
NCAT1/usr/include/sys/cdefs.h(x,:y)150:
  23: x note: /usr/include/sys/cdefs.h## expanded from macro '__CONCAT':y

      |                         ^  150 | #d
e150:23:56:1: note: expanded from here
:fine   56 e | E _lf_Sh_drCON
      | ^CAT
(__ In file included from main.cnote: CON:Cxexpanded from macro '__CONCAT',y)   _
_C26:
./protos.hO  :NCA46:T1(x,3y)
      | :                         ^
/usr/include/sys/cdefs.h:error: typedef redefinition with different types ('union Elf_Phdr' vs 'Elf32_Phdr')149
:24: note:    Aexpanded from macro '__CONCAT1'46 | }
   149Elf | #_PdefihTdr;
n1e       |   ^_
150/usr/include/sys/elf_generic.h_: | CONCA68:1#T1(: x,note: yprevious definition is hered)e  
   68 | __ElfTxf ## y
      | (yipnxe(Phdr);
      | ^
e/usr/include/sys/elf_generic.h:56,y:                        ^
40:):46:1: note:    note: expanded from macro '__ElfType'
x    56# | #expanded from here
defi    46 | Elf_n_e # y__ElfType(E
x)    typed      h| d                        ^r
_
ef __Elf      | N(:x) _C_^CON
CAT(50Elf_:,1x)
      | O                                          ^In file included from 
chrpath.c:56N/usr/include/sys/cdefs.h:C:
150:23: note: ./protos.h:41expanded from macro '__CONCAT'
:  150 | #3: error: detypedef redefinition with different types ('union Elf_Shdr' vs 'Elf32_Shdr')
   41f:iA | }Tn(e _ Elf_CON_xShC Adr;
note: Texpanded from here(x,,y)   _      
|   ^_C   ONCA
T1(x50/usr/include/sys/elf_generic.h | ,y)El:67f:1
_      |                         ^
S: ynote: previous definition is here
/usr/include/sys/cdefs.h:149:24: note: expanded from macro '__CONCAT1'
h)  149 |    #_de_f   C67dO | __Elrf
Type(inSe __COhNCAT1d      r);
      | (x,y)^| 
N  x ## y
      |                         ^
C/usr/include/sys/elf_generic.h:A56:60:1: note: expanded from hereT^
   60 | Elf:40: _P
hdnote: expanded from macro '__ElfType'r
      | 1^
(
x   56 | #define, __ElfyT)ype(
x      )    type| In file included from                         ^d
ef /usr/include/sys/cdefs.h_killrpath.c_E:lfN(x31): __CONCAT(:
149:24Elf_,x)
      |                                           ^
/usr/include/sys/cdefs.h./protos.h:150:23: note: expanded from macro '__CONCAT'
:  46150 | #d:efine __CONCAT(x,y)   _: _note: CONCAT1(x,y)
      |                         ^
/usr/include/sys/cdefs.h3::149:24: note: expanded from macro '__CONCAT1'
   error: 149typedef redefinition with different types ('union Elf_Phdr' vs 'Elf32_Phdr') | #deexpanded from macro '__CONCAT1'

  f149i | ne    46_#_dCOefiNCAT1(nx,y)  x ## y
      |                         ^
:50:e1  | : note: expanded from here
   50 | Elf_S_3 errors generated.
hdr_
      | }C^ON
CAT1In file included from chrpath.c:56:
./protos.h:46:3 :( error: typedef redefinition with different types ('union Elf_Phdr' vs 'Elf32_Phdr')
   x,y46) |   }x Elf_Phdr;
      |    ^#
/usr/include/sys/elf_generic.h:68:1:# note: previous definition is here
    68 | __Elfy
Typ      eE(Phdr);l
|       | ^f
_/usr/include/sys/elf_generic.h:56:40: Pnote: expanded from macro '__ElfType'
                        ^h   56
 | #ddefine :__Er40lfType;:1(
      x)    t:| y  ^pedef _ _Elf
Nnote: (expanded from here/usr/include/sys/elf_generic.h
x) _   _40CON:C68A:T1 | Elf(El:f _note: _Eprevious definition is herehd
r
         | 68 | ^
__E,x)
      |                                           ^
l/usr/include/sys/cdefs.h:150:23f: note: expanded from macro '__CONCAT'
  150 | #Tdefiney __CONCApT(x,y)   __CONCAT1(x,y)
      e|                         ^
(/usr/include/sys/cdefs.hP:149:24: hnote: expanded from macro '__CONCAT1'
  149 | #dedfine __CONCAT1r(x,y)  x) ## y
      |                         ^
:54:1;:
       note: expanded from here
   54 | | E^l
f_Phdr
      | ^
/usr/include/sys/elf_generic.h:56:40: note: expanded from macro '__ElfType'
   56 | #define __ElfType(x)    typedef __ElfN(x) __CONCAT(Elf_,x)
      |                                           ^
/usr/include/sys/cdefs.h:150:23: note: expanded from macro '__CONCAT'
  150 | #define __CONCAT(x,y)   __CONCAT1(x,y)
      |                         ^
/usr/include/sys/cdefs.h:149:24: note: expanded from macro '__CONCAT1'
  149 | #define __CONCAT1(x,y)  x ## y
      |                         ^
chrpath.c:68:25:: error: gmake[2]: *** [Makefile:504: main.o] Error 1
no member named 'e32' in 'Elf32_Ehdr'
54   :68 |   c1o:gmake[2]: *** Waiting for unfinished jobs....
nst si ze_t snote: h_off expanded from here= EHDRW
U(   e_shoff);
      |                         ^~~~~~~~~~~~~~~
./protos.h:60:47: note: expanded from macro 'EHDRWU'
54    | 60E | l#definfe EHDRW_U(x) (is_Pe3h2()dr
       ? DO| ^
_SWAPU32(ehdr.e32.x) : DO_SWAPU64(ehdr.e64.x))
      |                                          ~~~~ ^
./protos.h:In file included from elf.c:52:41: 25:
note: expanded from macro 'DO_SWAPU32'./protos.h:41
:   523:  | #error: typedef redefinition with different types ('union Elf_Shdr' vs 'Elf32_Shdr')
d   41ef | } Elinf_Se hdr;DO_
      SW|   ^APU3
2/usr/include/sys/elf_generic.h:67(x) (:1: ! note: swap_bprevious definition is here
   67 | yt__Eeslf() ? Tyx pe(: (uShdinr)t3;
2_t      | ^)bs
wap/usr/include/sys/elf_generic.h:_3256:40(x) )
:       | note: expanded from macro '__ElfType'                                        ^

   56 | #define __ElfTypchrpath.c:68:e(25:x)     error: tyno member named 'e32' in 'Elf32_Ehdr'
pe   68 |   decof ns__Et slfNiz(xe_t ) sh___oCOffNC =AT(El EHDRf_WU,x(e_)
      sho|                                           ^
f/usr/include/sys/cdefs.h:f);150:
      | 23:                         ^~~~~~~~~~~~~~~
note: expanded from macro '__CONCAT'./protos.h:
60:  15047: | #d note: efexpanded from macro 'EHDRWU'
i   60ne | #d __efiCOne NCEHDAT(RWU(xx,y) )   (i__Cs_eON32()CAT1( ? DO_SWAPU32(ehdr.e32.x) : DO_x,ySW)
AP      |                         ^U64
(e/usr/include/sys/cdefs.h:hd149:r.24: note: expanded from macro '__CONCAT1'
e6  1494. | #x)de)
fine       |                                          ~~~~ ^__
CO./protos.h:NCA52:64:T1( note: x,expanded from macro 'DO_SWAPU32'
y   52)   | #dx efi## ney
       D|                         ^O_
:44:SWA1: note: PU3expanded from here
2   44 | Elf_(x)Shd ( r
      !sw| ^ap
_bytes() ? x :In file included from elf.c: (u25:
./protos.hin:46t32_:3t): bserror: typedef redefinition with different types ('union Elf_Phdr' vs 'Elf32_Phdr')
w   46ap | }_3 Elf2(_Phx) )
      dr|                                                                ^
;
      /usr/include/byteswap.h|   ^:38:
31:/usr/include/sys/elf_generic.h:68 note: :1expanded from macro 'bswap_32'
: note: previous definition is here
   68   38 |  | __Elf#deTyfipene b(Phswadr);
      | p_3^
2/usr/include/sys/elf_generic.h:56:40(x):  _note: expanded from macro '__ElfType'
_bs   56wa | #dp3efine2( _x)_El
      | fT                              ^
ype/usr/include/sys/_endian.h:84(x):40:    ty note: expanded from macro '__bswap32'
pede   84f  | #__defineElf __N(bkillrpath.c:sx) wap3261(x)    _:_b__C18:ONC error: ATui(Eno member named 'e32' in 'Elf32_Phdr'lt
in_lf_   bsw,x61a) | 
p 3      |                                           ^ 
/usr/include/sys/cdefs.h: d2(x150:23: )
note: expanded from macro '__CONCAT'
y        n| s                                          ^150 | #
 =defichrpath.c:68 :25: error: mno member named 'e64' in 'Elf32_Ehdr'anel _
l   _oCOc(N68CPAH |  D TRco((x,ypns)_   __CtOmNCeAT1( msixs,ze_y)
tz s)h_o      )| f;                        ^

/usr/include/sys/cdefs.h:149      :f | 24:= E note: expanded from macro '__CONCAT1'
                 ^~~~~~~~~~~~~H  149
 | #./protos.hdD:Re62fW:U(ie_ne45 sh__:of f)note: ;
expanded from macro 'PHDR'      | 
                        ^~~~~~~~~~~~~~~CO
   ./protos.h62:60:72: | N#C note: expanded from macro 'EHDRWU'
AT   601(dx | e#,y)defi  xnfe i# EHD# ney
       |                         ^
RWU:48(xP):1: (i Hnote: expanded from here
Ds_e   483R | 2()E(lfx_Phdr
)      |  ? ^
 DO_SWAPU3(2(eihdr.es32._x) : eDO_SW3APU264((ehd)r.e 64.x)?)
       |                                                                   ~~~~ ^
D./protos.hO_:53:S41: Wnote: expanded from macro 'DO_SWAPU64'
AP   53 | U#defi3ne DO2_SWAP(pU64h(x) d( !rswa.p_beyte3s()2 ? x .: (xuin)t64 _t):bsw ap_64(x) D)
      O|                                         ^
_SWAPUchrpath.c:68:256: error: 4no member named 'e64' in 'Elf32_Ehdr'
(   68p |   const shdize_tr sh._off e= E6HDRWU4(e_sh.xoelf.cff);:97:16
      |                         ^~~~~~~~~~~~~~~)
:) error: 
no member named 'e32' in 'Elf32_Ehdr'./protos.h:60      :72
:|  note: expanded from macro 'EHDRWU'
                                       ~~~~ ^
   97 |     60 |   #di./protos.hef (f:in52:41e(s EizHDe_:t)EHDRRWU(x)_P (His_eS(e _phents32() ize? D) note: != szO_expanded from macro 'DO_SWAPU32'SWAP
U32   (ehdr.e32._px) : DO_SWAPU64(52ehhdr.e | 6d#r4de).f
x))
      |                                                                   ~~~~ ^
i./protos.h:n53:64:e note: expanded from macro 'DO_SWAPU64'
 DO         _SWA|                ^~~~~~~~~~~~~~~~~~~~~P
53U3 | #elf.c:defi28:50ne : note: DO_Sexpanded from macro 'EHDR_PHS'
W   228AP( | U6#de4(xfix) ( )ne  !(EH !DswR_Pap_byswapHStes() ? x (x)_ (bisyt: e(_se3uin2() t64_?( D)O_SWAPS16(ehd ?r->e32.x)t  x)bsw: : (ap_uint632_t)bs4 DO_(x)S )
WA      | Pwap_3                                                               ^
2(x)S/usr/include/byteswap.h1: )
      639:31|                                         ^: note: 
(ehdexpanded from macro 'bswap_64'
r   39 | #->killrpath.ce6:61:18d4: .x)error: )
ef      |                                            ~~~~  ^i
n./protos.h:54e :41:no member named 'e32' in 'Elf32_Phdr'
 bswanote:    pexpanded from macro 'DO_SWAPS16'61 |    
_d   54 | yn#defs 64= mai(x) lne DO__l_boc(PSHDR(p_mesWAwaPS16(xp64(x)
      m)sz ( !|                               ^
swa/usr/include/sys/_endian.h));
:p_byt85      |                  ^~~~~~~~~~~~~:es40
(: note: ) expanded from macro '__bswap64'./protos.h:62:45
? x ::    note: expanded from macro 'PHDR'
85 | #d (inte   62 | f1#i6_t)bsndeewap_16(f xi_)n_ e Pb)
      sHDR(x) wap64(x)(is    __b| _e                                        ^u32()
i ?ltin DO_bswa_elf.cSWAPU32(:p64(x97phdr.e:)
      |                                           ^1632.x) : :
 error: no member named 'e32' in 'Elf32_Ehdr'
DO_S   97 | WA   ifPUchrpath.c64(ph: ((size_t)69EH:31: error: no member named 'e32' in 'Elf32_Ehdr'Dd
Rr._e64.x))   69 |   con
      | st s                                       ~~~~ ^PHS(e_
iphenze_ttsi sectize)ons _off =./protos.h!:52:64:  EH=note: expanded from macro 'DO_SWAPU32'
D RszWU(e__   52phdr | #de)shstrn
fined      | x)                ^~~~~~~~~~~~~~~~~~~~~
 * Delf.c:28:sO50: note: expanded from macro 'EHDR_PHS'
z_SW   28 | _#shdr;defi
APU      ne EHD|                               ^~~~~~~~~~~~~~~~~~
R_PH./protos.h:60S(x) (is_e32() ?32( DO:47: note: expanded from macro 'EHDRWU'
x)    _SWAP60( !S | #define s16(eEHDhdr->e3wap_bR2.xyt)W : U(x) (isD_O_es(SWAPS1) ?6(ehdre x :3->e64.2()x))
      |                                              ~~~~  ^
? ./protos.h(u:54:intDO_S32_63t:)b note: expanded from macro 'DO_SWAPS16'
s   54 | w#define DO_SWWAPAPap_S16(x) (32( U32(ehdr!x) ).swap_by
      | tes()                                                                ^
?e/usr/include/byteswap.h x32.:38:31: note: expanded from macro 'bswap_32' x: () : 
DO_   38 | #deSWAPU6int16_tfine b4(eh)bswap_dr.eswap_16(64.x))
3x) )
2      |                                          ~~~~ ^      (|                                                               ^
x/usr/include/byteswap.h:37
:) __./protos.h31: :bnote: 52:41:sexpanded from macro 'bswap_16'
    wap32(xnote: 37 | #define expanded from macro 'DO_SWAPU32')
      |                               ^

b   52 | swap_1#d6(x) _/usr/include/sys/_endian.hefine _:84:bswa40: note: expanded from macro '__bswap32'
Dp16(xO_S)
   84 |       |                               ^W#defiA
Pne /usr/include/sys/_endian.hU32(x)_:83:40: note: expanded from macro '__bswap16'_ ( !bswaswap_byt
ep32(sx(   83 | #) ?)     definex :  (___buiu_bswap16(x)    __buintiltil32_ntin_bswapt)b32(swapx)
_32(      _bsw| x                                          ^
)ap16( )
      killrpath.c|                                         ^
:x)
      | 61:18:                                          ^
chrpath.c:69:31: error: no member named 'e64' in 'Elf32_Phdr' elf.c:97:16:error: no member named 'e32' in 'Elf32_Ehdr'
 
error: no member named 'e64' in 'Elf32_Ehdr'
   61 |    97 |    d    69 |    yns =c o nif ((smallt soc(PHsizize_teD)_tEHD seR_PHctRions_offS(p_( = emE_eHphentsize) != smzsz_phdr));
      D)
      | | RWU(               ^~~~~~~~~~~~~~~~~~~~~                 ^~~~~~~~~~~~~
e
_elf.c:28:76: note: expanded from macro 'EHDR_PHS'shstr./protos.hndx
) *:62:70:  sz_sh   28 | #dedr;finnote: 
      |                               ^~~~~~~~~~~~~~~~~~
expanded from macro 'PHDR'e EHDR
_P./protos.h:60H   62 | S(x) (i:#def47i: ne Psnote: expanded from macro 'EHDRWU'
H_e32()DR(   60 | #dex ? DO_fine E) (iHSWAPsS1_D6eR(3We2Uh((d)xr ) (i->es_e32()3? D 2.x)? DO_ O_:SWAPU3S WAD2(pOhdPU32_SW(rAPS16(.eheed3hr.d2er.3-x2>).e64.x))x 
):        | :D                                                                     ~~~~  ^ O
D_SWO./protos.h:_SW54:41: note: expanded from macro 'DO_SWAPS16'
A   AP54PU | #defineU64( 64DO_SWA(ehdPS16(x) ( !srphd.e6r.e4.x64.x)))w)
a
      | p      | _                                         ~~~~ ^
b                                                                ~~~~ ^
y./protos.h:tes./protos.h52:64: (note: expanded from macro 'DO_SWAPU32'
) ? x   52 | # : defi:(intn531e:6_t) Dbswa41O_SWp: _AP1note: U6(x) )
3expanded from macro 'DO_SWAPU64'
2   53      |                                         ^ | #def
(x) elf.c( !swapi:97:16: error: no member named 'e64' in 'Elf32_Ehdr'_by
nte   97 | se DO_(SW) ?A    PU64if ((size_t(xx) : ) ( !(uiswant3p_b2_tyt)bswapEesH_(D32(x)R) ?  _PHS)
      |                                                                ^
(x : (e_/usr/include/byteswap.h:38:phe31: note: expanded from macro 'bswap_32'untsi
izent6)4_ !=    38 | #sz_pt)bhdr)
      |                ^~~~~~~~~~~~~~~~~~~~~defi
nswap_64(eelf.c:28 :x) )76b: note: expanded from macro 'EHDR_PHS'

      | swap_32                                           ^
28 | #d(x)efi killrpath.c__bswap:61:32(18: x)
      error: no member named 'e64' in 'Elf32_Phdr'
|                               ^   61 |    dne yns = 
m/usr/include/sys/_endian.h:84:a40:lloc( EHDR_PHS(x) (note: expanded from macro '__bswap32'
iPHDR   s_e3284 | #defin((p_m)ems ? DO_Sze __bsw)WAPS)ap32(x)1;
      |                  ^~~~~~~~~~~~~    
__./protos.h:62:706built:(eh drnote: expanded from macro 'PHDR'
-   62 | #define i>e32.x)n_bsP : Dwap3HDR(x2O_S(x)
      |                                           ^
W) (is_APS1chrpath.c6:e69:31: 32(error: ) ? no member named 'e64' in 'Elf32_Ehdr'DO_SWAP
U3   69(ehdr->e64.x))
 |   c      |                                                                      ~~~~  ^
2(phdr./protos.honst s:54:63ize_: note: expanded from macro 'DO_SWAPS16't section
s_.   54e32. | #defix) : one DO_ff = SWAPDO_SWAPEU64(pHDRWhS16(x) ( !dr.e6sU4.(wap_bytes() ? x : e_s(int16hstxr)_)
      |                                                                 ~~~~ ^
nt)bswap./protos.hd:53x) :_16(x)*64: note:   sz_shd)expanded from macro 'DO_SWAPU64'r

;         53 | |                                                               ^
#de/usr/include/byteswap.h:37:fi
      | n                              ^~~~~~~~~~~~~~~~~~
e31: note: expanded from macro 'bswap_16'
./protos.h:60:72:   37 | #define bs note: expanded from macro 'EHDRWU' DO_SWw
aAPU64(x   p_16(x) __bswap1) ( 60 | #defin!6(x)
      |                               ^
e /usr/include/sys/_endian.h:83:40:EswaH note: DRWU(x) (p_bis_expanded from macro '__bswap16'e32() ? Dyt
es() O   83 | #defi_SWAne __bswap16(? x x)    _: (_buPiuUltin_b32(ehswap16(x)
      d|                                           ^
rint64.e32_t).x) : DO_elf.cS:W100AbPU64(ehd:21: error: no member named 'e32' in 'Elf32_Ehdr'
r.e64.  100 | x))
      swa|                                                                   ~~~~ ^
 p_   64( ./protos.h:53:41x) : note: expanded from macro 'DO_SWAPU64'
    53      (size_t)EHD | #dR_PHS(e)
      | fe_phei                                                               ^
nntsize),e /usr/include/byteswap.hs:z_39:phdr31: );
note: expanded from macro 'bswap_64'
      |                     ^~~~~~~~~~~~~~~~~~~~~   39 | 
#delf.c:28:ef50 DO_SWAPU: note: 64(expanded from macro 'EHDR_PHS'
x) ( !i   28ne  | #dswap_byetes() ?f x : bineswap (uiEHDR_64(xn_PHS(x) (is_e32() t64) __b_t)swa? pbswa64(p_64(x) xD)
O)
      _      |                               ^
S|                                         ^
/usr/include/sys/_endian.h:WAPSchrpath.c:69:311:85 error: no member named 'e64' in 'Elf32_Ehdr'
:640:(   69 |   conehdr->ste  size_32.x) note: expanded from macro '__bswap64'
: DO_SWAPS1t sec6t   (ehdr->e85 | #dionefine _64_bsws_ofap6f = 4(xEHDR)    __b.x))uiltin_bswap64
WU(e_      |                                            ~~~~  ^
s(hstrnx)dx) 
      | * sz_sh./protos.hdr;
                                                ^
| :54:41:                               ^~~~~~~~~~~~~~~~~~
note: expanded from macro 'DO_SWAPS16'
./protos.h:60:72   :54 | #d note: expanded from macro 'EHDRWU'
efkillrpath.c   60 | #define EH:68:DRWU(x) (20ine: error: no member named 'e32' in 'Elf32_Phdr' DO
_SWAPS16(x) ( !swap_b   is_e368 |  2() ? DO_SWAPU  m32(eyhtes()e ? mset(ddr.ex32.x) : DO :yn (is,nt16_ 0, PH_SWAtP)U6DbR(p_memsz)s4(ehdr.e64.x)))
      |                                                                   ~~~~ ^
;wap_./protos.h:
53      16(x:64: note: expanded from macro 'DO_SWAPU64') )|                    ^~~~~~~~~~~~~

      ./protos.h:62| :45                                        ^

: note: expanded from macro 'PHDR'
   53 | #de   62 | #elf.c:100:fin21e:d DO_SWAefiPU64 (error: nx) ( !swap_bno member named 'e32' in 'Elf32_Ehdr'
ytee   s100( | P) ? x : (uint64_t)H       bswa   D p_6R(x) (is (si4(x) )_e3
      |                                                                ^
z2() ? DO/usr/include/byteswap.he_t)E:39:H31DR: note: expanded from macro 'bswap_64'
__PS   39 | #dWAPU3e2(phdr.e3HS(e2.x) : finDO_S_pheWAPU64(phdr.e bse64.x))
w      |                                        ~~~~ ^
antsize), sz_pp_64(x./protos.h:52:hdr);41: 
      |                     ^~~~~~~~~~~~~~~~~~~~~note: expanded from macro 'DO_SWAPU32'

   52 | #elf.c:28:50: define DO_SW)A Pnote: expanded from macro 'EHDR_PHS'
_U32(x_bsw   a28p64(x)
      |                               ^) (
 | /usr/include/sys/_endian.h !swap_bytes:85:40#def: note: expanded from macro '__bswap64'
i() ?    x : (uinnt32_t)bs85 | #dwap_32(x) )
      | eefine  __bswaEp                                        ^HDR_PHS
6(x) 4(x)killrpath.c(    :68:20: error: no member named 'e32' in 'Elf32_Phdr'
_   is_e68 |   32()  memset_(dynsb? DO_SWAPuiltS16in_bswap64(x(ehdr->e)3
,2. 0, PHDR(p_memsxz))      | );
      |  : D                                          ^
O_SWAPS16(e                   ^~~~~~~~~~~~~
h./protos.hdr:62:45: note: expanded from macro 'PHDR'
-   62 | #define >e64.x))
      |                                            ~~~~  ^
PHD./protos.h:54chrpath.c:84:36: error: no member named 'e32' in 'Elf32_Shdr'
R:(63   x84 |   char* )s :t note: expanded from macro 'DO_SWAPS16'
r(is_etab =32()   54 | # defi n? DO_SWAPU32(p(hdr.eechar *) DO_cSWalloc(1, SHDR32._O(sh_Asize)+1);
      |                                    ^~~~~~~~~~~~~~~PS16(x)
 ./protos.hx) : DO_SW:( !sw64:47: note: expanded from macro 'SHDR_O'
Aap_byPtes() U64(p   h64?d  | x : (int1#6r.e6d4_etfine SH)DR_O(x) (is_e3bsw.ap_16(xx)))
      |                                        ~~~~ ^
2 )
      |                                                               ^() ?
./protos.h DO_SWAPU3/usr/include/byteswap.h2::(shdr.e32.x) 37:31:: D52:64: O_SWAP U64(shdr.e64note: expanded from macro 'DO_SWAPU32'
.x))note: expanded from macro 'bswap_16'

         37 | #defi|                                          ~~~~ ^
n   52 | #./protos.h:52define: 41: note: expanded from macro 'DO_SWAPU32'
eDO_SW   52 | #APUdefin bse D32(x) ( !swOap_bytes(wap_) ? _SWAx : PU3216(x()x( uin) ( !swap_bytet32_t)bs() ?_ x : (_bswapu16(x)
      |                               ^
int32_t)/usr/include/sys/_endian.hbswa:ps83_32(x:40: note: expanded from macro '__bswap16'
)wap_32(x    )
      |                                         ^
83) )
       | #dechrpath.c|                                                                ^f
i/usr/include/byteswap.h::38:31: note: expanded from macro 'bswap_32'
84ne __bswap16(   x)    __b38uiltin_bswap16(: | #def36x)
      | ine                                          ^
: bswap error: no member named 'e32' in 'Elf32_Shdr'
_3   2(x)84 |  elf.c:100:21: error: no member named 'e64' in 'Elf32_Ehdr'
  _c_h  100 |  bswaapr* st32(xr)t
    ab      = (char *      |                               ^)calloc  (si(1, ze_t)EHDRSHDR
_/usr/include/sys/_endian.h:84:40_O(sh_sizeP)+1);
      HS(e| :                                   ^~~~~~~~~~~~~~~_ note: expanded from macro '__bswap32'phen

t   84 | #de./protos.hfine s:64:47: note: ize), sz_phexpanded from macro 'SHDR_O'
d_r);
      |                     ^~~~~~~~~~~~~~~~~~~~~
_bswap   32(x)    __elf.c64 | #define buiS:Hltin_bswaDR_Op3228(x)
:      |                                           ^
76(x) (is_e32killrpath.c:68:20: (: note: expanded from macro 'EHDR_PHS'
error: )   no member named 'e64' in 'Elf32_Phdr'28
 | #define EHDR_PHS( x   ? DO_SWAPU68 |   32 memset()(shdr.e3 (is_e32() ? DO2.x) dyns, 0, PHDR(: DO_SWAPS16(ehdr-_>pSe_W32.x)m eAmsz));
      |                    ^~~~~~~~~~~~~:PU64 (
D./protos.hshdrO_SW.A:P62S:1e66(ehdr->e64.x))
      |                                                                      ~~~~  ^4.x))
      | 
                                         ~~~~ ^
./protos.h:54:41: note: 70: note: expanded from macro 'PHDR'
./protos.hexpanded from macro 'DO_SWAPS16'
   :62 |    52:64: note: 54expanded from macro 'DO_SWAPU32'
 | #d#deeff   iin52ne DO | _e PHDR(xSW#defi) (is_eAPS132ne DO6(x) ( !swap_bytes() ? x _SWAPU32(x: () ((int16_t)bswap)  ? _DO_S!sw16(x) )
ap_bytesW(      | ) ? x                                         ^
:A P(elf.c:U32(uintphd32_t100)r:21.e32.x)bswap_ : D3: error: no member named 'e64' in 'Elf32_Ehdr'
2O(x) )
        100 |     _SW  |                                                                ^
A /usr/include/byteswap.h:38:31:     note: expanded from macro 'bswap_32'
P   38 | #define bsU64(phdr.e 64.x)(size)
      |                                                                 ~~~~ ^
_./protos.hw:t)EHDR_PHS(e_phentas53:41: note: expanded from macro 'DO_SWAPU64'
i   pz_533 | #de), sz_phdre)f2;
ine       D|                     ^~~~~~~~~~~~~~~~~~~~~
O(x) __b_swap32(x)SWAP
      |                               ^U64elf.c(:
28/usr/include/sys/_endian.h:84:40: note: :expanded from macro '__bswap32'
76x) ( !sw   a84: | #define __p_byt es() ? xb : (unote: expanded from macro 'EHDR_PHS'
int6swap4_t)   28 | #definbes32wap_64(x) (x)    _)
      |  EHDR_PHS(x) (is_e32() ? D                                        ^
O_SWAPkillrpath.c:68S16(:ehdr->e203: _2error: bno member named 'e64' in 'Elf32_Phdr'u
iltin_bswap32   68 |    mem(x)
      |                                           ^set
.(xd)yns, 0,  : DO_SWAPchrpath.cSPHDR(p_:memsz));1
6      |                    ^~~~~~~~~~~~~
(./protos.hehdr->e64:.62x84:):)70
: note: expanded from macro 'PHDR'
36: error:       |                                                                      ~~~~  ^
no member named 'e64' in 'Elf32_Shdr'   62 | 
./protos.h:#54:63: note: expanded from macro 'DO_SWAPS16'd
ef   i   n8454e |   char* s | #define DO_SWAPS16(x) ( !swap_btrtab = ytes((c )Ph H?aDR (x) x(is_er *)calloc(1, SHDR_O(sh _3:size)+2()1);
       |                                    ^~~~~~~~~~~~~~~
 ? DO_SWAP./protos.hU:(32i(64pn:h72td1r.6e_:32t)bs.wx a)pnote:  expanded from macro 'SHDR_O'_: DO_SWAPU64(p
hd1r6.   (64 | #dex) )
      |                                                               ^
fei6/usr/include/byteswap.h:37:31n: note: expanded from macro 'bswap_16'
4e. SHDR_O(x) (is_ex))
32() ? DO_      |                                                                 ~~~~ ^
S   WAPU373./protos.h2(shdr.e:353 | 2#:defi64ne bs:wap_.x) : DO_SWAPU64( note: expanded from macro 'DO_SWAPU64'shdr.e64.x))
      | 1
6(x                                                                  ~~~~ ^
   ) __bs53w | ./protos.hap16(#x)
      |                               ^
d/usr/include/sys/_endian.h:83:40efin: note: :53:41: enote: expanded from macro '__bswap16' DO_S
W   83 | #defiAPU6expanded from macro 'DO_SWAPU64'
n4(x   )53e  | #defi__bswa (p16(xne) DO_SWAPU64(x) ( !swap_byte    __bs (u!swa)p i_bytes() ? x l? x tin_bsw:ap16( (uint64_t)bs: (uiwap_64(x)nt64_t)bswapx)
       )
      |                                           ^
_64|                                         ^
(x) )
      |                                                                ^chrpath.c
:/usr/include/byteswap.h:39:3184:36: error: no member named 'e64' in 'Elf32_Shdr'
: note: expanded from macro 'bswap_64'
   84   39 | #defelf.c |   char* stri:111ne bswatab p_64= (char *)callo:(x) __17: error: no member named 'e32' in 'Elf32_Ehdr'
bs  wapc(1, SHDR_O(sh_si64(ze)111+1);
      |                                    ^~~~~~~~~~~~~~~
x | )
      |                                ^
 /usr/include/sys/_endian.h:85:40: note: expanded from macro '__bswap64'
./protos.hif (lseek(fd, EH:64:72:DR_PWU(e_phoff) note: expanded from macro 'SHDR_O'
, SEEK_SET) == -1)
      |                    ^~~~~~~~~~~~~~~~~   64
85elf.c | : | #30d#def:i50ne __bswa: note: expanded from macro 'EHDR_PWU'efine SHDR
p64(x)    __bu   _O(x)30 i | #de(fltine EHDin_bswaR_iPps6_4(x)
e32()      |                                           ^ ? DO_SWWAU
(x) (iPU32s_killrpath.c:69:18: error: e(no member named 'e32' in 'Elf32_Phdr'
shd   69 |    if (lseek(fd, PHDr.e3R(p2.x) :32() ? DO_SWAPU32(ehd DO_SrW_->eoffse3t), SEEKA_SET) ==2.x) PU64(shdr.e64 -1
      |                  ^~~~~~~~~~~~~~
.: D./protos.h:62:45: note: expanded from macro 'PHDR'
Ox))
      |                                                                   ~~~~ ^
   _62 | #d./protos.h:53:64: note: expanded from macro 'DO_SWAPU64'S
WAPU64e(f   eih53n | #defdine DrO_SWAPU6-4e>( Pe6HxD) 4R(x.x))
)       |                                            ~~~~  ^
(is( !s_e32./protos.h:52:41(: note: expanded from macro 'DO_SWAPU32'
w) ?   52 | #defi ap_bDynOe_t SeWAPU32(phdr.e3sDO_SWAPU32(x) ( (!) ? x : (su2wint64_t)bswap_.x)64(xap_) ) b
:y       t|                                                                ^Des(O) _SWA
P/usr/include/byteswap.h:U64(phdr?39:31:  x : note: .(expanded from macro 'bswap_64'euint
632_t)b4.xsw   39a) | p)#_
d3      e2| f(                                       ~~~~ ^ix
n) )
e       ./protos.h:52:41| b                                        ^
swap_6: note: expanded from macro 'DO_SWAPU32'4(x) _
_bswap   elf.c52 | #d:6e1114f:17: error: no member named 'e32' in 'Elf32_Ehdr'
i(x)
  111 |        |                               ^
 ne D/usr/include/sys/_endian.h:85:if40: note: expanded from macro '__bswap64'
O (lse_SWA   85 | #dePU32(x)fin ( e !s__bewsk(fd, wap6EHDR4a_(xPp)W_    Ub_(y_etb_eupsiholtiffn_),bs SEwapEK_64(SETx)
      )(|  ) =                                          ^?=
  -1)
      |                 ^~~~~~~~~~~~~~~~~x 
: (elf.c:30:50ui: note: expanded from macro 'EHDR_PWU'nt
32_   chrpath.c30t)b:swap91 | #de:17: error: no member named 'e32' in 'Elf32_Shdr'
fi   91ne  |   if (EHDls_32(x) eeR_k(fd, P)SW
HU      D(x)R|  _                                        ^(O(i
ss_eh_32killrpath.coffset(:69:18), : )SEEK_Serror:  Eno member named 'e32' in 'Elf32_Phdr'
?T)   69 == |    i  -1)fD
 O      (_SWAPl|                 ^~~~~~~~~~~~~~~~~
sU3e./protos.h2e:64:47(k:e(fd hdnote: ,rexpanded from macro 'SHDR_O' -
P>   64 | #eHd3De2Rf.(ixpn)_e o :fS DO_SWHDRAPf_O(x)sU e6(t4i)(s_ehde32,r( -)S> Ee64.?Ex K)DO_SWAP_SEU32T) (sh== d)r.e3
-2      1.| 
x)                                                  ~~~~  ^:| 
                  ^~~~~~~~~~~~~~
D./protos.h:52:O_S64: note: ./protos.hWexpanded from macro 'DO_SWAPU32':A
62P   52 | #defiU64ne DO_SW(:AshP45dU:r3 .2note: e(expanded from macro 'PHDR'6x
4)   62 |  .#(xd )e!swa)fp
i_      nb|                                          ~~~~ ^ye PHD
t./protos.h:eR52s(:(x41)):  ( note: expanded from macro 'DO_SWAPU32'?i
 s   52 | _x e32(: (ui)#n dt3?efi DO_ne SWAP2DO_SW_U32(pAtPU)bs3hw2da(rpx)_32 ( !.e32.x)swa : p_(x)bD yO)tes(_
      |                                                                ^) ? x S
:WAPU /usr/include/byteswap.h:38:64(31:(phdr. uintenote: 36expanded from macro 'bswap_32'2_t
4)bs.   38 | #wxdap_3efine2))( 
xb      )swa | p)                                       ~~~~ ^_
      32(|                                         ^

x) __bsw./protos.h:ap52:chrpath.c64::91:17:3  2note: error: no member named 'e32' in 'Elf32_Shdr'
expanded from macro 'DO_SWAPU32'
(x)
      |                                     ^5291 |   
i/usr/include/sys/_endian.h:f | #define (l DO_84:40SWAP: Usnote: 3eexpanded from macro '__bswap32'
2   84 | #(edxkefi()nfde , __bsw SHap32( !swDR_O(x(saph__)ob    fy_ft_sebuiletti),n_ SbswEsaE(pK)32(x_ )SET
? x)        | :=                                          ^
= (u -1in)
t32elf.c:111:_t      17)| : error: no member named 'e64' in 'Elf32_Ehdr'
                ^~~~~~~~~~~~~~~~~bswa
p  _./protos.h:64:47: note: 111 |   ifexpanded from macro 'SHDR_O'
 32(   64 | #definx) )
(ls      |                                                                ^eek
(f/usr/include/byteswap.h:38d,:31 EH: DR_PWU(e SHDenote: R_expanded from macro 'bswap_32'_p
Ohoff)   (,38x  | )S# Edef(Eis_eK_32SEinT(e))   ?=b =sD -1wap)
      | _32                ^~~~~~~~~~~~~~~~~
(O_Self.c:30Wx:A)76P :U_ 3_note: 2bexpanded from macro 'EHDR_PWU'(s
sw   30ah | pd#3rdefi2.n(ee E3x)
      2H| .D                              ^xR
)_PW /usr/include/sys/_endian.h:84::U40 (:Dx O) (note: expanded from macro '__bswap32'
is_   84e32()_ |  S#?Wd DO_AefinPU64e _(shdr.SWAe64_bswaP.xUp)32()3ehd
2      | (                                         ~~~~ ^
x)    __b./protos.hr->:52:e32uilti64: n_bnote: expanded from macro 'DO_SWAPU32'
sw   52 | a.#pxd3) : efiDO_S2nW(eAx P)DU
O64_      (SWAe|                                           ^
Phdr->U3e62(4.x)killrpath.c:69)
      x) |                                                                      ~~~~  ^
:./protos.h:18: (53error:  :no member named 'e64' in 'Elf32_Phdr'!41
s:   69 note: expanded from macro 'DO_SWAPU64'
 | w   53 | #de af pi _nibefy DtesO_SWA( P)(U 6?l4(seex k)x  (:(f  d(!, suPwinap_t3H2_tbytes())DR(b ? x swa: (uinp_3p2(x) t_)6o
4_t)bs      |                                                                ^wap
f/usr/include/byteswap.h:38:31_f:6s 4(x) note: expanded from macro 'bswap_32'
)
         38 | |                                         ^
#define eelf.ct), :SEEK_111bswap_SE:17T3:)2 error: no member named 'e64' in 'Elf32_Ehdr'
(x) __  111 | bsw  a= p=i32f (l(x)
      |                               ^see
 /usr/include/sys/_endian.h:84:40: note: -1
expanded from macro '__bswap32'
         84 | |                  ^~~~~~~~~~~~~~
k#de(./protos.hff:id62n,:e 70:  _Enote: expanded from macro 'PHDR'
_HDRb   _s62Pwap3 | #d2(x)    __efibuineltin_b PswHWaDUp32(xR()(e
      |                                           ^
x_phof) f), chrpath.cSEEK_SET:91:) =(i=17: error: s no member named 'e64' in 'Elf32_Shdr'_e3
-2   91 |   i1(f)) (lseek(fd, 
 S      ?H|  D                ^~~~~~~~~~~~~~~~~DR
O_O(elf.c:30:76sh_of_:fS set)Wnote: expanded from macro 'EHDR_PWU'
,A   30 | #de SEEK_SfinET) == PU32e-1)
      |                 ^~~~~~~~~~~~~~~~~ EH
(phdrDR_P../protos.h:64:72: We3U(x) note: 2.expanded from macro 'SHDR_O'
x)    64 | #def:(i ine s_e3SHD2() ? DO_R_OSWAPU(x)32(ehd (Dis_re->32(e32.x)O) ? _ DS:OW _ADSWAPPU6U34(ph2(shdr.edO3r_2.x).SWe6APU64( 4.x): eDO_SWA)hP
dU      r64(shd->er.|                                                                 ~~~~ ^
e64.x))./protos.h:53
      |                                                                      ~~~~  ^
:64.x)./protos.h41)::
 note:       | expanded from macro 'DO_SWAPU64'
                                                                  ~~~~ ^53:64:   53 | # 
dnote: expanded from macro 'DO_SWAPU64'
e./protos.h:53:41   f:53i  | #note: expanded from macro 'DO_SWAPU64'define DO
_SWA   53 | PU6#defne ineDO D_SO4(_SWAWPUAP6xU4)6( 4x( !)(s xw( ap_b) ( !swap_!swabyp_btesytes()y( t)?e  s?x(  ) :x? (  ux:i  n: (uint64_t)(uint6tbswap_466_44t_()txbswap))bsw )
ap_      |                                         ^64(x)
_ )
64(x)chrpath.c:91 )
      :17:|                                         ^
       |                                                                ^error: no member named 'e64' in 'Elf32_Shdr'killrpath.c:
69
:/usr/include/byteswap.h:39:18: 31:   error: no member named 'e64' in 'Elf32_Phdr'
91    69 |     |   iiff  ((lselnote: expanded from macro 'bswap_64'
ek   39 | #defi(seek(fdnf,ed, S  HPbDHsRDw_O(Rap(p_6_s4oh_of(ffxfs) es_te_), StbE)sEKw,_a SpSET6E)4( =x)=E
 -1)K      
_|       |                               ^SET)                ^~~~~~~~~~~~~~~~~
 ==./protos.h:64 -1

:/usr/include/sys/_endian.h:85:40:72: note: expanded from macro 'SHDR_O'
 note: expanded from macro '__bswap64'      |                  ^~~~~~~~~~~~~~
   
./protos.h:62:7064 | #: note:    85 | expanded from macro 'PHDR'
d#defin   ee62f  | ine SH#_Dd_Rebswa_O(p64fi(xnx)e)      _P(_HibuisDl_Rte3i(2nx) _() ? (isDO_SWAbswap64_PU32(e32() ? x)
      DO_S|                                           ^
WAPU3(shd2(pr.ehdr.e32.32x)elf.c : .x) : DDO_SWAP:117:19O_S:U64(WAPU6 sherror: no member named 'e32' in 'Elf32_Ehdr'
dr  117 |   f.eor (i4(p = 0; 64.i < EHxhd)Dr)R_PHS(.e6e
      |                                                                   ~~~~ ^4_phn
.um); ./protos.h:53i++x):64)): note: expanded from macro 'DO_SWAPU64'


            |                                                                 ~~~~ ^
| ./protos.h:53                  ^~~~~~~~~~~~~~~~~
elf.c:28:   53 | 50: #d:64: note: efexpanded from macro 'EHDR_PHS'
ine DO_S   note: W28expanded from macro 'DO_SWAPU64'A | #dP
eU   5364 | #df(x) ( iefin!swap_ene bDO_SWyteAPU EHD64(R_Px) (sHS(x() ) ( is_e32(!swap?) ? D_byt O_x es() ? x: (uint6SW4_t)b : swaAPp_S1664(x(()ue )hi
dn      rt6-|                                                                ^
>4_t)b/usr/include/byteswap.h:sw39:31ap_: note: expanded from macro 'bswap_64'64(
e32.   39 | #dex) )
fx) : DOin_SWAPSe      |                                                                ^
 16(ehbdr/usr/include/byteswap.h:39:s-31wap_>:6e 46note: (4expanded from macro 'bswap_64'.x))
      
|    39 | #defix) _ne _                                           ~~~~  ^bbswa
sp64(x)
      |                               ^w./protos.h:ap_654
:4(41/usr/include/sys/_endian.h::x85 note: expanded from macro 'DO_SWAPS16'
:   54 | #de40:fi note: expanded from macro '__bswap64'ne 
DO_   ) __S85 | #debWfsAPS16(ix) ( wap!swane p_b64(x)
      y__bswap6|                               ^
4(/usr/include/sys/_endian.h:x)    85:40:t__es(bui )lnote:  ? tix : (n_expanded from macro '__bswap64'
i   85 | #nt1define __b6_tbswaps)bsw6wa4(x)pa_p64
      |                                           ^
1(x)    __6(x) )
      |                                         ^
builtin_fatal error: bswaelf.c:117:too many errors emitted, stopping now [-ferror-limit=]
19: error: no member named 'e32' in 'Elf32_Ehdr'
p  117 |   for (i = 640; i (x< EHDR_PH)
S(e_phnum); i++)
      |       |                   ^~~~~~~~~~~~~~~~~
                                          ^
elf.c:28:50: note: expanded from macro 'EHDR_PHS'
   28 | #dkillrpath.c:70:26:efi error: ne no member named 'e32' in 'Elf32_Phdr'
EHDR_   70PHS |  (x)   (is_e32() ? DO_SW  APS1  ||6(ehdr-> re32.xea) : d(DO_fdSWAPS16(, ehdrdyns, PHDR(->ep_64.x)fi)
      |                                            ~~~~  ^lesz))
 !./protos.h=:54:63: note: expanded from macro 'DO_SWAPS16'
 (ssize_   54 | t)#dePHfinDRe DO_S(pWAPS16(x_f) ( il!swesap_z)bytes() ? )
      | x :                          ^~~~~~~~~~~~~~
(in./protos.h:62:45t16_: t)note: expanded from macro 'PHDR'bsw
ap_16(x)   62 )
 | #      |                                                               ^
def/usr/include/byteswap.h:37:in31: note: expanded from macro 'bswap_16'
e P   37 | #dHDefiR(ne x)bswa (p_16is(x) __b_eswap16(x32)
()      |                               ^
 /usr/include/sys/_endian.h:83? :40: DOnote: expanded from macro '__bswap16'
_S   83 | WA#dePUfine __bswa32p16(p(x)hdr    _.e_bu32iltin_bswa.xp16) (x): 
      | DO_                                          ^
SWAPU64(pelf.chdr.:117:e619: error: no member named 'e64' in 'Elf32_Ehdr'
4.x)  117 | )
  for      |  (i =                                       ~~~~ ^
 ./protos.h:52:410; i < EH: DR_PHS(e_phnum); i++note: expanded from macro 'DO_SWAPU32'
)   52 | #
      de|                   ^~~~~~~~~~~~~~~~~
finelf.c:28:76e : note: expanded from macro 'EHDR_PHS'
DO_SW   28 | #APdefine EU3HDR_2(PHS(x) (is_x) e32( () !s? DO_SwaWAPS16p_(ehbydr->tee32.xs() : ) DO_? SWAx PS16(ehd: r->e(u64.x))
      | in                                                                     ~~~~  ^
t32./protos.h:54:41: _tnote: expanded from macro 'DO_SWAPS16'
)b   54 | #deswfine apDO__3SWAPS2(16(x)x)  )( !swap
      _by|                                         ^tes()
 ? x : killrpath.c:70:26: (ierror: no member named 'e32' in 'Elf32_Phdr'
nt   70 | 16_  t)bswa  p_16  (x)  |)
      | |                                         ^re
ad(fd, elf.c:117:19dy: error: no member named 'e64' in 'Elf32_Ehdr'
n  117 |   for (i = s,0; i  P< EHDRHD_PHS(e_phR(num); i++)
p_      |                   ^~~~~~~~~~~~~~~~~
fileelf.c:28sz:76: ))note: expanded from macro 'EHDR_PHS'
 !=   28 | #d (efine EssHDRiz_PHSe_(x) (is_et)32(PH) ? DO_SWAPS1DR6(ehd(pr->e32_f.x)il : DO_SWAPS16(ehesz)dr->e)
64.x))
      |       |                                                                      ~~~~  ^
                         ^~~~~~~~~~~~~~
./protos.h:./protos.h:62:45: note: expanded from macro 'PHDR'
54:   2062 | #d63 errors generated.
e: note: expanded from macro 'DO_SWAPS16'
fi   54 | #definene DO_ PSWAHDPS16(x) R(( !swap_bx)ytes() ? x : (int16_t)bswap_16(x) )
      |                                                                ^
(is/usr/include/byteswap.h:_e337:2(31:)  note: expanded from macro 'bswap_16'? 
DO_   37 | #deSWfine APbsU3wap2(_1ph6(x) _dr.e_bs32wap1.x6(x)
)       | : DO                              ^
_S/usr/include/sys/_endian.h:83:40:WAPU6 note: expanded from macro '__bswap16'
4(   83 | phdr#define.e6 _4._bswapx))
      | 16                                       ~~~~ ^
(x)    _./protos.h:52_b:64uilt: note: expanded from macro 'DO_SWAPU32'
in_   52 | #dbsefiwap16(x)
ne       | DO_                                          ^
SWAPU32(x) ( !swap_bytes() ? x : (uint32_t)bswap_32(x) )
      |                                                                ^
/usr/include/byteswap.h:38:31: note: expanded from macro 'bswap_32'
   38 | #define bswap_32(x) __bswap32(x)
      |                               ^
/usr/include/sys/_endian.h:84:40: note: expanded from macro '__bswap32'
   84 | #define __bswap32(x)    __builtin_bswap32(x)
      |                                           ^
killrpath.c:70:26: error: no member named 'e64' in 'Elf32_Phdr'
   70 |        || read(fd, dyns, PHDR(p_filesz)) != (ssize_t)PHDR(p_filesz))
      |                          ^~~~~~~~~~~~~~
./protos.h:62:70: note: expanded from macro 'PHDR'
   62 | #define PHDR(x) (is_e32() ? DO_SWAPU32(phdr.e32.x) : DO_SWAPU64(phdr.e64.x))
      |                                                                 ~~~~ ^
./protos.h:53:41: note: expanded from macro 'DO_SWAPU64'
   53 | #define DO_SWAPU64(x) ( !swap_bytes() ? x : (uint64_t)bswap_64(x) )
      |                                         ^
killrpath.c:70:26: error: no member named 'e64' in 'Elf32_Phdr'
   70 |        || read(fd, dyns, PHDR(p_filesz)) != (ssize_t)PHDR(p_filesz))
      |                          ^~~~~~~~~~~~~~
./protos.h:62:70: note: expanded from macro 'PHDR'
gmake[2]: *** [Makefile:504: chrpath.o] Error 1
   62 | #define PHDR(x) (is_e32()fatal error:  ?too many errors emitted, stopping now [-ferror-limit=]
 DO_SWAPU32(phdr.e32.x) : DO_SWAPU64(phdr.e64.x))
      |                                                                 ~~~~ ^
./protos.h:53:64: note: expanded from macro 'DO_SWAPU64'
   53 | #define DO_SWAPU64(x) ( !swap_bytes() ? x : (uint64_t)bswap_64(x) )
      |                                                                ^
/usr/include/byteswap.h:39:31: note: expanded from macro 'bswap_64'
   39 | #define bswap_64(x) __bswap64(x)
      |                               ^
/usr/include/sys/_endian.h:85:40: note: expanded from macro '__bswap64'
   85 | 20 errors generated.
#define __bswap64(x)    __builtin_bswap64(x)
      |                                           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
gmake[2]: *** [Makefile:504: elf.o] Error 1
20 errors generated.
gmake[2]: *** [Makefile:504: killrpath.o] Error 1
gmake[2]: Leaving directory '/magus/work/usr/mports/devel/chrpath/work/chrpath'
gmake[1]: *** [Makefile:588: all-recursive] Error 1
gmake[1]: Leaving directory '/magus/work/usr/mports/devel/chrpath/work/chrpath'
gmake: *** [Makefile:387: all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/devel/chrpath

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis