[MacPorts] #57861: dparser: upstream tarball is broken

MacPorts noreply at macports.org
Sun Jan 6 13:37:21 UTC 2019


#57861: dparser: upstream tarball is broken
--------------------+---------------------
 Reporter:  akimd   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.5.4
 Keywords:          |       Port:  dparser
--------------------+---------------------
 Hi!

 Installing dparser fails.  It appears that the problem is that tar refuses
 to untar the source tarball:

 {{{
 $ tar xf '/opt/local/var/macports/distfiles/dparser/d-1.30-src.tar.gz'
 d/my.c: Can't create 'd/my.c'
 d/my.g: Can't create 'd/my.g'
 tar: Error exit delayed from previous errors.
 }}}

 the reason appears that there are two entries for these files, the second
 one being very fishy:
 {{{
 $ tar tvf '/opt/local/var/macports/distfiles/dparser/d-1.30-src.tar.gz' |
 grep d/my
 -rw-rw-r--  0 jplevyak jplevyak    346 23 jan  2013 d/my.c
 -rw-rw-r--  0 jplevyak jplevyak    124 23 jan  2013 d/my.g
 hrw-rw-r--  0 jplevyak jplevyak      0 23 jan  2013 d/my.c link to d/my.c
 hrw-rw-r--  0 jplevyak jplevyak      0 23 jan  2013 d/my.g link to d/my.g
 }}}

 If you pass -k to tar, the last two incorrect symlinks will not override
 the extraction, but tar still exits with failure.  I suggest that you just
 ignore the error and proceed.

-- 
Ticket URL: <https://trac.macports.org/ticket/57861>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list