pkgsrc-Users archive

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

Re: Can't build pkgsrc after upgrade to amd64 (x86-64)



pimin inwa <pimininca%gmail.com@localhost> writes:

> I recently upgraded this dual cpu system:
>
> cpu0: "Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz"
> cpu0: Intel Xeon E5-4600/2600/1600 v3, Xeon E7 v3 (Haswell-E), Core i7-59xx
> Extreme (686-class), 2400.00 MHz
> cpu0: family 0x6 model 0x3f stepping 0x2 (id 0x306f2)

That looks unremarkable.

> to Netbsd 10 as shown here:
> :
>  uname  -a
> NetBSD bigbox 10.99.11 NetBSD 10.99.11 (GENERIC) #0: Tue Jul 16 15:27:40
> UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
> amd64

That's not NetBSD 10.  It's 10.99.11, which is NetBSD-current.

You also said "upgrade to amd64".  That might mean this system used to
run i386, it might mean something else, or it might just be somewhat
unusual phrasing.  But, I can't understand what you did.

> :cat /usr/pkg/etc/pkgin/repositories.conf
> ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0_2024Q1/All

Those are packages for 10, not current.

> : cat /usr/pkgsrc/CVS/Tag
> Tpkgsrc-2024Q1
>
> i ran cvs update -Pd in pkgsrc then:
>
> (cd www/nginx && make clean cleandir reinstall)
>
> which blew up in lang/LuaJIT2  with "...was built for a platform:" so I
> tried building LiaJIT2 directly whhc repeated the blow up with:
>
> (cd lang/LuaJIT2 && make clean cleandir install)

You can't mix 10 packages and current packages, in general.  (If you
know what you are doing, sometimes you can get away with it.)

If you really want to run current and not 10, you'll have to build all
your own packages.

Greg

(As always, follow up on list, not to me directly.  It would be rude of
me to quote private mail on the list, and I don't want to provide
offlist help as that doesn't help the next person.)


Home | Main Index | Thread Index | Old Index