From owner-freebsd-ports@freebsd.org Mon Apr 15 01:07:34 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02CBA158593D for ; Mon, 15 Apr 2019 01:07:34 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B956089C82 for ; Mon, 15 Apr 2019 01:07:32 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-wm1-x332.google.com with SMTP id h18so18044520wml.1 for ; Sun, 14 Apr 2019 18:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamw-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PN0/+x2YPaUFufoAlBYQfJhScdM0L30pnE5DlDsyCVs=; b=DyugYOexRMZbVVilW9TAiONWcOOj8oMBhakiPFVi8+CPMz8TIjRb8JBs63pDFqpQWC CqCcP6phPLzU8EReycvfkjmgi3svqh2lzXhWlTVw1v48Mr9rVosWV/5Ksd2yCQjI4Fq8 0dzuxGI3jJYU5rwOuqGW42O1nxhVz/XSwKRokLpPHpZl2cL+umn0sodg41zFCxVnxNSD dbVuipKAzoJ4bmT1XKwjGT8I23upPusTOqPf1FbL8ugirw2Qr3xc82tJcaWGq4ygX1Pp A0Zatqt38li79mPJ676jUzFXbJa26wE0jF2HgBp+U+qzg5lrMWGn+4/0Z1Lj1Ofi2GsL u5dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PN0/+x2YPaUFufoAlBYQfJhScdM0L30pnE5DlDsyCVs=; b=RU1vR3h3DxhDhK7c2vMmYdJwkZ1GUQBlkhPCkpSnf8Na4cmuDsQ+7lDC+wfEOUViz3 vMrmq5JCIw21GHDC5Tpgi4hegw6hmoRCroSPxDejBvm/OxQMRnXUU+tHHsm2MJLfp+L4 K1qTP2DbYVsHI594iAFPrwN1LFoOZF5JjyImuRuJBQSPlVYaicIWDkUqDclaFMpwfRqZ wZdK5cKeQQxSEPPAdQ0tWhqykAn/pcKbFdCfTv+jV0WQzPOE9LmkS7x0LdUEfWKdvPfU etIihn/cLCfs6cYGRLz+MQL/ZAYV17T9vcED2hfP435VTLyobty7bZWv8ijqp9fAgjaj lMTw== X-Gm-Message-State: APjAAAXcz2JuZ3RMVcKOxGUzPRNize3fJdPF5FQlxq8vBxlXwvuo7JeQ BfjA2MDzBS6b+ZHMO56FWZg//3rSahzRCVLG/PgAslmOyE0= X-Google-Smtp-Source: APXvYqz4g7EVaCvb8HuHakS/psgEIwBnAPSWSCUCgOJbpo/DpzszfrIGsETOGe7tikJroaUVftckThIhl2CuJmn8xMI= X-Received: by 2002:a1c:39d7:: with SMTP id g206mr18415976wma.99.1555290450702; Sun, 14 Apr 2019 18:07:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adam Weinberger Date: Sun, 14 Apr 2019 19:07:14 -0600 Message-ID: Subject: Re: make delete-old-libs is your friend To: George Mitchell Cc: freebsd ports Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: B956089C82 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=adamw-org.20150623.gappssmtp.com header.s=20150623 header.b=DyugYOex; spf=pass (mx1.freebsd.org: domain of adamw@adamw.org designates 2a00:1450:4864:20::332 as permitted sender) smtp.mailfrom=adamw@adamw.org X-Spamd-Result: default: False [-6.11 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[adamw-org.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[freebsd]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[adamw.org]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[adamw-org.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt1.aspmx.l.google.com]; IP_SCORE(-2.80)[ip: (-9.38), ipnet: 2a00:1450::/32(-2.39), asn: 15169(-2.19), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.80)[-0.799,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2019 01:07:34 -0000 On Sun, Apr 14, 2019 at 6:26 PM George Mitchell wrote: > > But I forgot that, and ended up with both /lib/libreadline.so.8 > AND /usr/local/lib/libreadline.so.8 on my machine, leading to woe > when compiling the latest lang/python36. Unfortunately, the base > version readline was quite a bit older than the one from ports. > > Nevertheless, the ports version is explicitly linked as > libreadline.so.8, the same as the old base version, so python36 > tried linking to the base version and failed because it did not > contain the new(ish) function rl_callback_sigcleanup. > > There's no question I shot myself in the foot by not deleting > the old libraries (an omission I have now remedied after a fair > amount of thrashing around to see what was wrong), but it might > have made my life a little easier if the port devel/readline > linked itself as libreadline.so.9 instead of 8. Is there a > recommended practice (or should there be one) to change the .so > version when simultaneously moving a base library to ports and a > new version? -- George libreadline.so is at version 8 because the current readline is 8.0. libreadline.so.9 won't come until readline-9.0 is released. We really can't deviate from that, because it'd still be v8 software; it'd be like AT&T's ridiculous claim that they invented 5G by discovering the number 5. # Adam -- Adam Weinberger adamw@adamw.org https://www.adamw.org