Thread: Re: Bug#808924: pgadmin3 uses deprecated find -perm +xxx syntax, please switch to find -perm /+++
Re: Bug#808924: pgadmin3 uses deprecated find -perm +xxx syntax, please switch to find -perm /+++
From
Christoph Berg
Date:
Control: tags -1 upstream Re: Andreas Metzler 2015-12-24 <20151224122927.GI1203@argenau.bebt.de> > Hello, > > the pgadmin3 package uses find -perm +xxx. This GNU extension > syntax is deprecated and does not work in GNU findutils 4.5.11 and > later. Please change to find -perm /xxx instead. > > The new syntax was introduced in 4.2.25 (October 2005) and should > therefore be available on any relevant system. > > -------------- > pgadmin3_1.20.0-3/pkg/mac/complete-bundle.sh > > #We skip nested apps here - those are treated specially > todo=$(file `find ./ -perm +0111 ! -type d ! -path "*.app/*" ! -name "*.app"` | grep -E "Mach-O (i386 )?executable"| awk -F ':| ' '{ORS=" "; print $1}' | uniq) > echo "App: $tag: Found executables: $todo" > > PathRank: 1.3797463, Final: 1.4480438 > -------------- > > cu Andreas Hi Andreas, thanks for the report, I'm Cc'ing the PgAdmin upstream maintainers to make them aware of the issue. For Debian, I'm simply closing the bug because the deprecated syntax is only used in mac build scripts which are not relevant on Linux. Christoph -- cb@df7cb.de | http://www.df7cb.de/
Re: Re: Bug#808924: pgadmin3 uses deprecated find -perm +xxx syntax, please switch to find -perm /+++
From
Dave Page
Date:
On Tue, Dec 29, 2015 at 6:01 PM, Christoph Berg <myon@debian.org> wrote: > Control: tags -1 upstream > > Re: Andreas Metzler 2015-12-24 <20151224122927.GI1203@argenau.bebt.de> >> Hello, >> >> the pgadmin3 package uses find -perm +xxx. This GNU extension >> syntax is deprecated and does not work in GNU findutils 4.5.11 and >> later. Please change to find -perm /xxx instead. >> >> The new syntax was introduced in 4.2.25 (October 2005) and should >> therefore be available on any relevant system. >> >> -------------- >> pgadmin3_1.20.0-3/pkg/mac/complete-bundle.sh >> >> #We skip nested apps here - those are treated specially >> todo=$(file `find ./ -perm +0111 ! -type d ! -path "*.app/*" ! -name "*.app"` | grep -E "Mach-O (i386 )?executable"| awk -F ':| ' '{ORS=" "; print $1}' | uniq) >> echo "App: $tag: Found executables: $todo" >> >> PathRank: 1.3797463, Final: 1.4480438 >> -------------- >> >> cu Andreas > > Hi Andreas, > > thanks for the report, I'm Cc'ing the PgAdmin upstream maintainers to > make them aware of the issue. > > For Debian, I'm simply closing the bug because the deprecated syntax > is only used in mac build scripts which are not relevant on Linux. The syntax currently used is exactly what is documented for BSD find used on Mac OS X. As Christoph points out, this script is only used on OS X, so GNU find syntax isn't relevant here. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company