[MacPorts] #33932: Erroneous "Missing subversion property on Portfile" error
#33932: Erroneous "Missing subversion property on Portfile" error -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: -------------------------------------+-------------------------------------- {{{ $ port lint zlib ---> Verifying Portfile for zlib Error: Missing subversion property on Portfile, please execute: svn ps svn:keywords Id Portfile Error: Missing subversion property on Portfile, please execute: svn ps svn :eol-style native Portfile ---> 2 errors and 0 warnings found. }}} This is false: {{{ $ svn pl -v $(port file zlib) Properties on '/Users/rschmidt/macports/dports/archivers/zlib/Portfile': svn:keywords Id svn:eol-style native }}} -- Ticket URL: <https://trac.macports.org/ticket/33932> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33932: Erroneous "Missing subversion property on Portfile" error -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by ryandesign@…): The debug output reveals the problem: {{{ DEBUG: Property svn:keywords is "svn: warning: Can't open file '/Users/rschmidt/.macports/opt/local/var/macports/build/_Users_rschmidt_macports_dports_archivers_zlib/zlib/work/.home/.subversion/servers': Permission denied Id", should be "Id" Error: Missing subversion property on Portfile, please execute: svn ps svn:keywords Id Portfile }}} Also: {{{ $ sudo port lint zlib ---> Verifying Portfile for zlib ---> 0 errors and 0 warnings found. }}} So we should just ignore the error output from the svn command. -- Ticket URL: <https://trac.macports.org/ticket/33932#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33932: Erroneous "Missing subversion property on Portfile" error -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: haspatch | Port: -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: The attached patch would do this. The problem is this would eliminate possibly helpful error output in the case that svn returns with a nonzero exit code. I don't know if there's a way to get `[exec]` to put the stdout and stderr in separate variables; that would be helpful. -- Ticket URL: <https://trac.macports.org/ticket/33932#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts