Date: Thu, 17 May 2012 21:38:29 -0700 (PDT) From: Douglas William Thrift <douglas@douglasthrift.net> To: FreeBSD-gnats-submit@freebsd.org Cc: gecko@freebsd.org Subject: Port error: USE_FIREFOX doesn't work correctly Message-ID: <201205180438.q4I4cOie094341@slowhand.douglasthrift.net>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Douglas William Thrift >Organization: >Confidential: no >Synopsis: Port error: USE_FIREFOX doesn't work correctly >Severity: critical >Priority: high >Category: ports >Class: sw-bug >Release: FreeBSD 8.3-RELEASE-p1 amd64 >Environment: System: FreeBSD justonenight.douglasthrift.net 8.3-RELEASE-p1 FreeBSD 8.3-RELEASE-p1 #9: Thu May 3 10:57:52 PDT 2012 root@justonenight.douglasthrift.net:/usr/obj/usr/src/sys/FURTHERONUPTHEROAD amd64 >Description: I was working on updating my port www/py-selenium and when I went to make the distinfo for the new distfile, I got the following: ===> py27-selenium-2.21.3 cannot install: unknown Firefox version: firefox-3.6+. *** Error code 1 Stop in /home/douglas/freebsd/www/py-selenium. *** Error code 1 Stop in /home/douglas/freebsd/www/py-selenium. I looked at /usr/ports/Mk/bsd.gecko.mk and discovered that the value 36+ was no longer listed, so much for backward compatibility with ports, but fair enough. Based on this I changed the value of USE_FIREFOX to 10+, but that didn't make things any better: ===> py27-selenium-2.21.3 cannot install: Firefox versions mismatch: firefox-12 is installed and wanted version is firefox-10+. *** Error code 1 Stop in /home/douglas/freebsd/www/py-selenium. *** Error code 1 Stop in /home/douglas/freebsd/www/py-selenium. That definitely doesn't seem right! I tried 12 and 12+ and they both worked okay, but the port should also support the Firefox 10 line. It looks like my port is the only one so far to even use the + functionality so I guess I shouldn't be surprised by this. I'm also a bit puzzled at the choice of 10 rather than 10+ for USE_FIREFOX= yes. >How-To-Repeat: Write a port with USE_FIREFOX set to 10+ and try to build it on a system with Firefox 12 installed. >Fix:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205180438.q4I4cOie094341>