#30245: Macports incorrectly copies gzip file from local filesystem --------------------------------------+------------------------------------- Reporter: lgillentine@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: base | Version: 1.9.2 Keywords: gzip, port extract phase | Port: --------------------------------------+------------------------------------- A portfile I created to install Berkely DB XML (dbxml) has revealed an interesting issue. It seems that when the {master_sites} directive in a Portfile points to a directory in the local filesystem, the gzipped source is copied over incorrectly. Here is my /opt/local/var/macports/distfiles/dbxml directory, where the zipped source gets copied during the extract phase: {{{ lee@l:/opt/local/var/macports/distfiles/dbxml> ls -la total 8 drwxr-xr-x 3 root admin 102 Jul 19 16:15 . drwxr-xr-x 90 root admin 3060 Jul 19 17:39 .. -rw-r--r-- 1 root admin 820 Jul 19 16:15 dbxml-2.5.16.tar.gz }}} And here is a directory with a copy of the original .tar.gz: {{{ lee@l:~/Desktop/t> ls -la total 103168 drwxr-xr-x 3 lee staff 102 Jul 19 17:58 . drwx------+ 84 lee staff 2856 Jul 19 17:17 .. -rw-rw-rw-@ 1 lee staff 52819154 Dec 15 2010 dbxml-2.5.16.tar.gz }}} The original gzipped source is much larger than the gzipped source that makes its way into opt/local == However == The only reason I discovered this is because I wrote a Portfile that only works with my local filesystem, so this is an edge case in the extreme. -- Ticket URL: <https://trac.macports.org/ticket/30245> MacPorts <http://www.macports.org/> Ports system for Mac OS