pkgsrc-Users archive

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

Re: Cross compiling for evbarm on amd64



Thu May 23 03:37:34 MESZ 2019 Mayuresh wrote:
 > This is nicely documented here:
 > https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/doc/HOWTO-use-crosscompile
 >
 > It's a great feature of pkgsrc if it can build packages for smaller
 > devices using larger computers.
 >
 > I am trying to build for evbarm on NetBSD8, using cross compiled tools and
 > distribution of -current.
 >
 > When building cross/cross-libtool-base I get the following error:
 >
 > => Bootstrap dependency digest>=20010302: found digest-20190127
 > ERROR: This package is not available for these platforms: Darwin-*-*
 > Interix-*-* *-*-x86_64 DragonFly-*-* NetBSD-[6789]*-*.
 > ERROR: This package has set PKG_SKIP_REASON:
 > ERROR: gcc2-2.95.3nb7 is not available for NetBSD-8.0-evbarm
 > *** Error code 1
 >
 > What could be the way forward.

Remove the NOT_FOR_PLATFORM lines from lang/gcc2/Makefile and try again. Since these lines are uncommented and very old, it's difficult to find out _why_ they have been added. For exactly this reason, the latest pkglint warns that lines like these should always get a comment.



Home | Main Index | Thread Index | Old Index