Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#55246 closed defect (fixed)

libtool: The new xattr dependency makes many packages no longer binary distributable

Reported by: yan12125 (Chih-Hsuan Yen) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: haspatch Cc: larryv (Lawrence Velázquez)
Port: libtool

Description (last modified by ryandesign (Ryan Schmidt))

Since [ac7eb8e931c616bdddcdb5733c86fb9067619d45/macports-ports], many packages are no longer binary distributable. For example, in a recent cmake build [1]:

"cmake" is not distributable because its dependency "xattr" has license "unknown" which is not known to be distributable

I guess the dependency graph is: cmake -> curl -> libidn2 -> libtool -> xattr. (Any systematic way to track down the actual breakage?)

As xattr is only used to strip extended attributes, I suggest to add it to license_noconflict:

diff --git a/devel/libtool/Portfile b/devel/libtool/Portfile
index ddf67d94a1..bf2f7bb234 100644
--- a/devel/libtool/Portfile
+++ b/devel/libtool/Portfile
@@ -25,6 +25,7 @@ checksums           rmd160  6f4b4c3e89426652da3acffa707f71bb4ccee26a \

 # To clean up libtool 2.4.6 distfile.
 depends_build       bin:xattr:xattr
+license_noconflict  xattr

 patchfiles          hardcode-m4.patch asan.patch
 post-patch {

With that cmake is binary distributable again.

CC'ing the maintainer and the author of the relevant commit.

[1] https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/11688/steps/gather-archives/logs/stdio

Change History (4)

comment:1 Changed 4 years ago by yan12125 (Chih-Hsuan Yen)

qt5-qtbase is also affected. [1]

"qt5-qtbase" is not distributable because its dependency "xattr" has license "unknown" which is not known to be distributable

[1] https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/11692/steps/gather-archives/logs/stdio

Last edited 4 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:2 Changed 4 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign removed
Description: modified (diff)
Keywords: haspatch added
Owner: set to ryandesign
Status: newaccepted

I agree with adding license_noconflict.

comment:3 Changed 4 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: acceptedclosed

In 09c788eada2ac2c7d50aed75bca5fa93c7cb87f0/macports-ports:

libtool: license_noconflict xattr

Closes: #55246

comment:4 Changed 4 years ago by ryandesign (Ryan Schmidt)

Has duplicate #55256.

Note: See TracTickets for help on using tickets.