tech-pkg archive

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

Re: [PATCH] devel/readline: more proper libtool usage; specify --tag=CC



Am Thu, 5 Oct 2017 14:05:11 +0200
schrieb Thomas Klausner <wiz%NetBSD.org@localhost>:

> Usually this kind of problem is solved by rebuilding and reinstalling
> libtool-base (and any other libtools you have installed).

In case my reply to myself doesn't make it through: I traced it down to
a difference in environment. CC=gcc is present in the scripted
environment I normally build pkgsrc in. That got recorded in libtool.
My recent failing builds came from running bmake manually with PATH set
up to find the pkgsrc stuff, but no CC in the environment. That
triggered a default of CC=cc (per share/mk/sys.mk … which seems to
alternate between CC?=cc and CC?=gcc for my installs) and broke libtool
guessing tag=CC.

I added CC=$CC_AT_BOOTSTRAP to my mk.conf now to avoid this in future.


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
Universität Hamburg
RRZ / Basis-Infrastruktur / HPC
Schlüterstr. 70
20146 Hamburg
Tel.: 040/42838 8826
Fax: 040/428 38 6270

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Home | Main Index | Thread Index | Old Index