pkgsrc-Users archive

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

Re: Bootstrap problem under Ubuntu Intrepid Ibex

I wrote:
Was playing with pkgsrc (this is using the 2008Q3 tree) on a hackbox I put together which is running Ubuntu Intrepid Ibex. Using the testbootstrap script, it dies with the following in BOOTSTRAP.LOG:

<errors concerning ARG_MAX removed>

I get the same error with an install of Fedora 9

Anyone else get this on a Linux box?


I fixed this issue with the glibc 2.8 patch I found with some Googling, so this error does not come up anymore.

New problem:

I try to bootstrap again, and I'm still not getting everything working.

Under Fedora 9, bmake builds as it should, but then, it switches gears, showing this:

=> Configuring and building libnbcompat
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type...

And just sits there as if it went off into Lala Land with the load accordingly pegged since gcc is still in the R state.

Under Ubuntu Intrepid Ibis, I get:

gcc -O2 -D_PATH_DEFSYSPATH=\"/usr/pkgsrc/bootstrap/work/share/mk\" -I. -I/usr/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I../../libnbcompat -I/usr/pkgsrc/bootstrap/work/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DSIGNAL_FLAGS=SA_RESTART -Werror -I../../libnbcompat -c /usr/pkgsrc/bootstrap/work/bmake/arch.c
cc1: warnings being treated as errors
/usr/pkgsrc/bootstrap/work/bmake/arch.c: In function Arch_Touch:
/usr/pkgsrc/bootstrap/work/bmake/arch.c:1036: error: ignoring return value of fwrite, declared with attribute warn_unused_result

I somehow suspect the latter might be a distribution setting, but then, I dunno. I wouldn't know about the former (I don't use Fedora for any use other than the need to test something to confirm whether something isn't a distro problem).

Any insight would be helpful.



Ian R. Justman
UNIX hacker.  Anime fan.  Any questions?
ianj (at)

Home | Main Index | Thread Index | Old Index