pkgsrc-Users archive

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

Re: bootstrapping on HP-UX



On Fri, Jun 18, 2021 at 01:53:47PM +0200, Lehel Bernadt wrote:
> However, I noticed the --compiler option being used on the wiki page, so I
> tried again with the native compiler, adding "--compiler hp" to the boostrap
> command line.
> 
> Now it did not attempt to build gcc2, but it failed here:
> ==========================================
> [...]
> cc: error 1914: bad form for `-W' option
> *** Error code 1
> 
> Stop.
> bmake: stopped in /opt/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch
> *** Error code 1
> ==========================================
> 
> I found these -W options in pkgtools/bootstrap-mk-files/files/bsd.sys.mk, so
> as a quick workaround I removed the lines from the top of the file - this
> should be fixed so that they are not used when the compiler is not gcc.
> 
> After this the bootstrap finished successfully!

Cool!

I think the -W flags are a leftover from NetBSD base, I've removed them
because they're not really relevant to pkgsrc.


Home | Main Index | Thread Index | Old Index