pkgsrc-Bugs archive

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

Re: pkg/59002: Bootstrapping pkgsrc on HP-UX 11.11/PA-RISC fails due to lack of stdint.h



The following reply was made to PR pkg/59002; it has been noted by GNATS.

From: Thom Holwerda <thomholwerda%osnews.com@localhost>
To: nia <nia%netbsd.org@localhost>
Cc: "gnats-bugs%netbsd.org@localhost" <gnats-bugs%netbsd.org@localhost>
Subject: Re: pkg/59002: Bootstrapping pkgsrc on HP-UX 11.11/PA-RISC fails due
 to lack of stdint.h
Date: Sun, 19 Jan 2025 21:51:08 +0100

 > What about this?
 >
 > Index: bootstrap
 > ===================================================================
 > RCS file: /cvsroot/pkgsrc/bootstrap/bootstrap,v
 > retrieving revision 1.325
 > diff -u -r1.325 bootstrap
 > --- bootstrap   29 Apr 2024 12:37:25 -0000      1.325
 > +++ bootstrap   19 Jan 2025 11:07:09 -0000
 > @@ -666,6 +666,8 @@
 >         esac
 >         ;;
 >  HPUX)
 > +       CFLAGS="-std=gnu99 ${CFLAGS}"
 > +       export CFLAGS
 >         root_group=sys
 >         need_bsd_install=yes
 >         need_awk=yes
 
 I tried it, but sadly, that patch does not seem to work. I tried both
 combinations:
 
 - nawk patch + bootstrap patch: fails at awk with stdint.h error (??)
 - only bootstrap patch: fails at awk with stdint.h error
 
 I'm considering adding the original nawk patch's ifdev wherever
 bootstrap fails with the stdint.h error. Not being a programmer, that
 might take me a bit longer than it would take someone who knows what
 they're doing, but it doesn't seem too hard assuming the relevant
 lines/includes are easy enough to spot.
 
 My worry is that assuming I can get the bootstrap to complete
 properly, I'll run into a neverending list of similar stdint.h issues,
 but I'll cross that bridge when we get there! My HP-UX workstation's
 hostname is "pain" for a reason.
 
 
 Thom
 


Home | Main Index | Thread Index | Old Index