pkgsrc-Bugs archive

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

Re: pkg/45773 (Can't build ast-ksh from pkgsrc 11q-3)



On Sun, Jul 08, 2012 at 08:50:04PM +0000, Paul Ackersviller wrote:
> The following reply was made to PR pkg/45773; it has been noted by GNATS.
> 
> From: Paul Ackersviller <pda%freeshell.org@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: hpux-pkg-people%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost, 
> gnats-admin%NetBSD.org@localhost,
>         dholland%NetBSD.org@localhost
> Subject: Re: pkg/45773 (Can't build ast-ksh from pkgsrc 11q-3)
> Date: Sun, 8 Jul 2012 20:48:12 +0000
> 
>  On Sun, Jun 17, 2012 at 07:24:46PM +0000, dholland%NetBSD.org@localhost 
> wrote:
>  > Similar problems were seen on non-hpux and we think the newer version in
>  > pkgsrc HEAD doesn't do this. Probably worth giving it a try, in any case.
>  
>  OK, I've tried the latest and and does look better... but I can't quite
>  get all the way through a build.  These errors look to be more like some
>  kind of standards-confomance disagreement between ksh and HP than
>  anything in pkgsrc, but opinions are of course welcome.
>  
>  Here's a snippet:
>  
>  "/pkgsrc/shells/ast-ksh/work/src/lib/libast/include/ast_getopt.h", line 22: 
> warning #2161-D: unrecognized #pragma
>    #pragma prototyped
>            ^
>  
>  "/usr/include/../include/wchar.h", line 121: error #2020: identifier 
> "__va_list" is undefined
>    extern int vfwprintf __((FILE *__restrict, const wchar_t *__restrict, 
> __va_list));

I've now managed to get what looks like a full compile, but can't yet link.
I'm sure there's a better way, but I did the dirty hack of -D__va_list=va_list
for now.  Does anyone here know if there's an easier way to add such flags to
this packages build rather than hack it into shells/ast-ksh/work/.hp/cc like
I've done?

The link is missing -lfsg -- strange that the build insists on adding
that even though it earlier detects no such library.

I expect none of what I'm seeing is the fault of pkgsrc, please let me
know if anyone suspects differently.


Home | Main Index | Thread Index | Old Index