Fix: diff -ruN /usr/ports/german/BBBike/Makefile ./Makefile --- /usr/ports/german/BBBike/Makefile 2014-05-05 11:45:36.000000000 +0200 +++ ./Makefile 2014-06-05 20:51:34.000000000 +0200 @@ -18,14 +18,11 @@ USES= perl5 POD2MAN= pod2man -MAN1= bbbike.1 - -MYDESTDIR= ${PREFIX}/BBBike +MYDESTDIR= ${STAGEDIR}${PREFIX}/BBBike LOCAL_PERL_ARCH= ${PERL_ARCH} PLIST_SUB= LOCAL_PERL_ARCH=${LOCAL_PERL_ARCH} -NO_STAGE= yes do-build: cd ${WRKSRC}/ext && ${MAKE} PERL=${PERL5} all install cd ${WRKSRC}/ext && ${MAKE} PERL=${PERL5} clean @@ -46,14 +43,14 @@ do-install: -${RM} -rf ${MYDESTDIR} - ${INSTALL_MAN} ${WRKSRC}/bbbike.1 ${PREFIX}/man/man1 - ${CP} -r ${WRKSRC} ${MYDESTDIR} + ${INSTALL_MAN} ${WRKSRC}/bbbike.1 ${STAGEDIR}${PREFIX}/man/man1 + ${FIND} ${WRKSRC} | ${XARGS} ${CHMOD} ugo+r + ${FIND} ${WRKSRC} -perm -u=x | ${XARGS} ${CHMOD} go+x + ${CP} -rp ${WRKSRC} ${MYDESTDIR} ${RM} -f ${MYDESTDIR}/bbbike.1 - ${FIND} ${MYDESTDIR} | ${XARGS} ${CHMOD} ugo+r - ${FIND} ${MYDESTDIR} -perm -u=x | ${XARGS} ${CHMOD} go+x .for f in ${BBBIKEEXE} - -${RM} -f ${PREFIX}/bin/$f - ${LN} -s ${MYDESTDIR}/$f ${PREFIX}/bin/$f + -${RM} -f ${STAGEDIR}${PREFIX}/bin/$f + ${LN} -s ../BBBike/$f ${STAGEDIR}${PREFIX}/bin/$f .endfor .include <bsd.port.mk> diff -ruN /usr/ports/german/BBBike/pkg-plist.in ./pkg-plist.in --- /usr/ports/german/BBBike/pkg-plist.in 2013-07-06 11:18:27.000000000 +0200 +++ ./pkg-plist.in 2014-06-05 20:51:34.000000000 +0200 @@ -209,19 +209,16 @@ BBBike/Way/Metric.pm BBBike/Wizards.pm BBBike/bbbike -@exec ln -fs %D/%F %D/bin/bbbike -@unexec rm -f %D/bin/bbbike +bin/bbbike BBBike/bbbike-activeperl.bat BBBike/bbbike-fast.bat BBBike/bbbike.bat BBBike/bbbike.pod BBBike/bbbikeapplet BBBike/bbbikeclient -@exec ln -fs %D/%F %D/bin/bbbikeclient -@unexec rm -f %D/bin/bbbikeclient +bin/bbbikeclient BBBike/cbbbike -@exec ln -fs %D/%F %D/bin/cbbbike -@unexec rm -f %D/bin/cbbbike +bin/cbbbike BBBike/cbbbike.bat BBBike/cgi/README BBBike/cgi/bbbike-data.cgi @@ -248,8 +245,7 @@ BBBike/cgi/tinyhttpd.config BBBike/cgi/wapbbbike.cgi BBBike/cmdbbbike -@exec ln -fs %D/%F %D/bin/cmdbbbike -@unexec rm -f %D/bin/cmdbbbike +bin/cmdbbbike BBBike/data/.modified BBBike/data/Berlin.coords.data BBBike/data/Potsdam.coords.data @@ -1077,10 +1073,10 @@ BBBike/plugins/MerkaartorPlugin.pm BBBike/plugins/MultiMap.pm BBBike/smsbbbike -@exec ln -fs %D/%F %D/bin/smsbbbike -@unexec rm -f %D/bin/smsbbbike +bin/smsbbbike BBBike/tkbikepwr BBBike/tmp/.keep_me +man/man1/bbbike.1.gz BBBike/lib/%%LOCAL_PERL_ARCH%%/BBBikeXS.pm BBBike/lib/%%LOCAL_PERL_ARCH%%/Strassen/Inline.pm BBBike/lib/%%LOCAL_PERL_ARCH%%/Strassen/Inline2.pm
please attach a patch. Thanks
Created attachment 143437 [details] Here the patch also as an attachment.
Hi, Build fails, please have a look http://pkgdev.miwibox.org/data/92amd64-default/2014-06-06_13h05m50s/logs/errors/de-BBBike-3.18_1.log
Created attachment 143464 [details] New patch addressing the QA issues
Created attachment 143721 [details] 2nd patch addressing the QA issues The QA system seems to have problems with a computed pkg-plist, so this change gets rid of the pkg-plist.in.
Please, can you retry the latest patch?
let's cross our fingers that this is the one.
A commit references this bug: Author: marino Date: Wed Aug 6 23:27:47 UTC 2014 New revision: 364231 URL: http://svnweb.freebsd.org/changeset/ports/364231 Log: Stage german/BBBike PR: 190667 Submitted by: maintainer (Slaven Rezic) Changes: head/german/BBBike/Makefile head/german/BBBike/pkg-descr head/german/BBBike/pkg-plist head/german/BBBike/pkg-plist.in
Okay, the good news is that it passed all checks. The bad news is that the pkg-desc was waaaay illegal, only 24 lines allowed. To make it fit I removed unnecessary blank lines and the German translation (I know that probably irks you but putting non-english in the pkg-desc isn't conventional. I don't know if it's actually illegal or not but I haven't run into that before). The so-so news is that the use of != to figure out the perl version looks very sketchy to me. I suspect there is a better way to figure this out. "!=" operator actually flags checks, people want to avoid it's use as much as possible. But for now your port is staged.
This update seems to generate warning/errors when running from poudriere: [00:00:02] ====>> Calculating ports order and dependencies /usr/local/bin/perl5.16.3: not found make: "/usr/ports/german/BBBike/Makefile" line 26: warning: "/usr/local/bin/perl5.16.3 -MConfig -e '$x = qq{$Config{version}/$Config{archname}}; $x =~ s{/}{\\\\/}g; print $x'" returned non-zero status WARNING (german/BBBike): /usr/local/bin/perl5.16.3: not found WARNING (german/BBBike): make: "/usr/ports/german/BBBike/Makefile" line 26: warning: "/usr/local/bin/perl5.16.3 -MConfig -e '$x = qq{$Config{version}/$Config{archname}}; $x =~ s{/}{\\\\/}g; print $x'" returned non-zero status
(In reply to Sean Bruno from comment #10) > This update seems to generate warning/errors when running from poudriere: > > [00:00:02] ====>> Calculating ports order and dependencies > /usr/local/bin/perl5.16.3: not found > make: "/usr/ports/german/BBBike/Makefile" line 26: warning: > "/usr/local/bin/perl5.16.3 -MConfig -e '$x = > qq{$Config{version}/$Config{archname}}; $x =~ s{/}{\\\\/}g; print $x'" > returned non-zero status > WARNING (german/BBBike): /usr/local/bin/perl5.16.3: not found > WARNING (german/BBBike): make: "/usr/ports/german/BBBike/Makefile" line 26: > warning: "/usr/local/bin/perl5.16.3 -MConfig -e '$x = > qq{$Config{version}/$Config{archname}}; $x =~ s{/}{\\\\/}g; print $x'" > returned non-zero status Probably here the Makefile was called very early, before even perl was installed. Maybe the != hack could be extended to something like LOCAL_PERL_ARCH!= [ -x ${PERL5} ] && ${PERL5} -MConfig -e '$$x = qq{$$Config{version}/$$Config{archname}}; $$x =~ s{/}{\\\\/}g; print $$x' (to be checked, or I find a better way to get to the LOCAL_PERL_ARCH value)
other ports that use this terrible hack put a safeguard to avoid the evaluation if PERL5 is not defined, e.g. .if defined(PERL5) LOCAL_PERL_ARCH!= .... .endif That would probably solve whatever warnings you are getting
(In reply to John Marino from comment #12) > other ports that use this terrible hack put a safeguard to avoid the > evaluation if PERL5 is not defined, e.g. > > .if defined(PERL5) > LOCAL_PERL_ARCH!= .... > .endif > > > That would probably solve whatever warnings you are getting PERL5 is probably defined here (the error message says "/usr/local/bin/perl5.16.3: not found"), but maybe we can use exists: .if exists(${PERL5}) LOCAL_PERL_ARCH!= .... .endif
sounds ok, does it work?
Created attachment 145675 [details] using the ".ifdef exists PERL5" hack Here's a patch with the "exists" hack. (I also added a comment about the necessity for the !=, and a small identation fix)
A commit references this bug: Author: marino Date: Mon Aug 11 21:23:18 UTC 2014 New revision: 364667 URL: http://svnweb.freebsd.org/changeset/ports/364667 Log: german/BBBike: Clear up build warnings caused by early shell command PR: 190667 Reported by: Sean Bruno Submitted by: eserte12 (yahoo.de) Approved by: Just Fix It Changes: head/german/BBBike/Makefile
Hopefully all is well now..