From nobody Wed Oct 09 02:52:07 2024 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XNcqn5dPnz5Yj9G for ; Wed, 09 Oct 2024 02:52:21 +0000 (UTC) (envelope-from svysh.fbsd@gmail.com) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XNcqn0Xldz4vg1; Wed, 9 Oct 2024 02:52:21 +0000 (UTC) (envelope-from svysh.fbsd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ZirgFg9Q; spf=pass (mx1.freebsd.org: domain of svysh.fbsd@gmail.com designates 2607:f8b0:4864:20::130 as permitted sender) smtp.mailfrom=svysh.fbsd@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-3a34517248dso23280725ab.2; Tue, 08 Oct 2024 19:52:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728442340; x=1729047140; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=N3bnz5lw2iTPAypN039dXlqCCwI/1GDtWpDP/EJHnxU=; b=ZirgFg9QbTEOlyxXxtJ+AlmhtmT36vG0woUg3mbuEOSdgPFGU11JpcjCHzrXFMwF/8 R/oSfG6SG2v8mRm10wxT5MUPujp5wt0CxqeF7K/TqIlP8/LJ0IxZluqWWAQY3VdFxqMj c1Ihnr2mq247/2gcyca1lTw6+awASSdD4utgw2YufRNPEhOBtF7GGP7kKAQmssqPmWek K47E0lb5zJToQ3xnRBXM3s/v81Z+WtHeKrHWZVlYAKsIVvhnkYk35DEmmHejwyMmDcA2 ExvnLPhkl6qQrazp9PxdRWOLavCrK63MdZJqCEJlpFH6uMHcO8WOI6NaJ/GaQFXzdcjS u3uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728442340; x=1729047140; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=N3bnz5lw2iTPAypN039dXlqCCwI/1GDtWpDP/EJHnxU=; b=LsJiya62po2LfID2wCPuVfdzWvFGxfW8TuELPHzbZTdr7dLr2O7uu6cx4gXEFna4YS 3nxPZyOgh/gt1KM4wNKovGnH0v3Cl/RllH5nyzToi7I/VbUr/OlejcxY5BQUCjPtJMXL WikMzW4ouhP3JwnZmIXMe3AfVEfqYKeFNmywsC97IojBuTwTQkaAhO1tRlw2TkmTgv0y JqcaDw7RlNW16xhK4C6Gb+iledIE5H6cQbs7W/OyL0G5n9X+nodJEyRgcAft2FYKf4Im ktajUQdsFp61B5KHNEmQaLK9y95dvsZ8USXCgjuGl4Bcp24WfHMQBKt6tbutEgEKIETj Ve9g== X-Forwarded-Encrypted: i=1; AJvYcCV+20DExfvI2qNw03Ipn0f4yxXDta9K18S1r7tfwsFXdkc2rzq/y+GltyQqiUIQSCMhmPnTUNI=@freebsd.org X-Gm-Message-State: AOJu0YwHggDZK1U/JoYwFkf3jiUq6+drMrH1XA9Als6Vkp2X9YeNani2 ilmPuRPxwcvtr8otmLVSZ8cb/ptPnunMTzqplxV7KzNxcV5xuipMxwNVndDsHMhjoKMs/FcDs3e Bvc0ai02H7CwWwV5SLHbwoPxwSkn5v5bg X-Google-Smtp-Source: AGHT+IF0hcHlminlRpCt0Yj2TGRKUALyvXFx3OyfozCLYETAOh1LbJDpJQSAGwSQIqfej8h/E10xPBgSyrtjVnRP+pQ= X-Received: by 2002:a05:6e02:158b:b0:399:4535:b66e with SMTP id e9e14a558f8ab-3a397ce5711mr6687835ab.9.1728442338410; Tue, 08 Oct 2024 19:52:18 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 From: Sergei Vyshenski Date: Wed, 9 Oct 2024 05:52:07 +0300 Message-ID: Subject: ports-mgmt/portlint vs absent USE_LDCONFIG To: ports@freebsd.org, marcus@freebsd.org, Piotr Smyrak Content-Type: multipart/alternative; boundary="000000000000988a4f06240257c7" X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TAGGED_FROM(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[ports@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::130:from]; FREEMAIL_ENVFROM(0.00)[gmail.com] X-Rspamd-Queue-Id: 4XNcqn0Xldz4vg1 X-Spamd-Bar: --- --000000000000988a4f06240257c7 Content-Type: text/plain; charset="UTF-8" Hi, ports-mgmt/portlint-2.22.2 seems to be broken. If a port does NOT define USE_LDCONFIG, and this port does NOT install shared objects, then portlint complains with: You have defined USE_LDCONFIG, but this port does not install any shared objects. Example can be found here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281925 Last week line 917 of file ports-mgmt/portlint/src/portlint.pl has been altered and now reads as follows: if ($makevar{USE_LDCONFIG} ne "$makevar{PREFIX}/lib" && !$found_so) { Maybe it should instead be like this: if ($makevar{USE_LDCONFIG} ne "" && !$found_so) { Regards, Sergei --000000000000988a4f06240257c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0Hi,

ports-mgmt/portlint-2.22.2 seems to be broken.

If a port does NOT define USE_LDCONFIG,
and this port does NOT install shared objects,
then portlint complains with:

You have defined USE_LDCONFIG, but this port does not install any shared ob= jects.

Example can be found here:
http= s://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281925

Last week line 917 of file ports-mgmt/portlint/src/portlint.pl
has been altered and now reads as follows:

if ($makevar{USE_LDCONFIG} ne "$makevar{PREFIX}/lib" && != $found_so) {

Maybe it should instead be like this:

if ($makevar{USE_LDCONFIG} ne "" && !$found_so) {

Regards, Sergei
=C2=A0=C2=A0
--000000000000988a4f06240257c7--