Opened 7 years ago

Closed 7 years ago

#54459 closed enhancement (fixed)

libtool: installs files with extended attribute com.dropbox.attributes

Reported by: raimue (Rainer Müller) Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libtool

Description

Apparently, upstream shipped the libtool-2.4.6 distfile tarball with extended attributes on the source files. These will be retained when installing.

$ $ ls -la@ $(port work libtool)/libtool-2.4.6/m4/libtool.m4
-rw-r--r--@ 1 macports  admin  305723 Jan 20  2015 /opt/local/var/macports/build/_Users_raimue_src_macports_ports_devel_libtool/libtool/work/libtool-2.4.6/m4/libtool.m4
        com.dropbox.attributes      83
$ ls -la@ /opt/local/share/aclocal/libtool.m4
-rw-r--r--@ 1 root  admin  305723 Jun 24 14:17 /opt/local/share/aclocal/libtool.m4
        com.dropbox.attributes      83

Normally, these would not cause a problem. However, as build scripts copy files like libtool.m4 to local build directories, they are likely to end up in other distribution tarballs. This issue only exists on macOS, as on other platforms these extended attributes would just be visible as ._* files, which are ignored and not processed in any way.

Upstream bug report: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20293

I am aware the release more than two years old, but maybe it's not too late to do something about it. I think we should remove these extended attributes when installing libtool as they are unnecessary clutter.

Attachments (1)

0001-libtool-Remove-xattrs-from-installed-files.patch (1.4 KB) - added by raimue (Rainer Müller) 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by raimue (Rainer Müller)

comment:1 Changed 7 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

In 0f48847e9033f8e90d6aea37d371d105611424d0/macports-ports:

libtool: Remove xattrs from installed files

The libtool-2.4.6 tarball shipped with extended attributes on some
files. These will be retained when installing, and are likely to spread
when copied to other projects. Strip these extended attributes in
destroot.

Maintainer: timeout
Closes: #54459

Note: See TracTickets for help on using tickets.