On Sun, 1 Sep 2013, AN wrote:


On Sat, 31 Aug 2013, AN wrote:

On Sat, 31 Aug 2013, [email protected] wrote:

Author: jbeich
Date: Sat Aug 31 20:58:51 2013
New Revision: 1345

Log:
fix make update with no /etc/ssl/cert.pem symlink after r1343

Reported by:    AN <[email protected]>

Modified:
  trunk/www/firefox-nightly/Makefile

Modified: trunk/www/firefox-nightly/Makefile
==============================================================================
--- trunk/www/firefox-nightly/Makefile Sat Aug 31 15:20:11 2013 (r1344) +++ trunk/www/firefox-nightly/Makefile Sat Aug 31 20:58:51 2013 (r1345)
@@ -91,7 +91,7 @@
        @${CAT} ${PKGMESSAGE}

update:
-       @${FETCH_CMD} -qo- ${MASTER_SITES:M*hg*:S/archive/rev/}/tip \
+ @${FETCH_ENV} ${FETCH_CMD} -qo- ${MASTER_SITES:M*hg*:S/archive/rev/}/tip \
                | ${SED} -n '/title/ { s|.*changeset |HGREV=            |; \
                        s|</.*||; p; q; }' > ${.CURDIR}/Makefile.hgrev

_______________________________________________

===>   Registering installation for firefox-nightly-26.0.145197,1
Installing firefox-nightly-26.0.145197,1... done

fixed
_______________________________________________

# make update && make makesum && time make all deinstall install clean
===> firefox-nightly-26.0.145197,1 depends on file: /usr/local/share/certs/ca-root-nss.crt - found
===>  Found saved configuration for firefox-nightly-26.0.143100,1
===> firefox-nightly-26.0.145198,1 depends on file: /usr/local/sbin/pkg - found ===> firefox-nightly-26.0.145198,1 depends on file: /usr/local/share/certs/ca-root-nss.crt - found => fca5ac9f6329.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/firefox-nightly. => Attempting to fetch https://hg.mozilla.org/integration/mozilla-inbound/archive/fca5ac9f6329.tar.bz2 fetch: https://hg.mozilla.org/integration/mozilla-inbound/archive/fca5ac9f6329.tar.bz2: size of remote file is not known fca5ac9f6329.tar.bz2 119 MB 459 kBps 04m26s
[: -eq: argument expected
=> Fetched file size mismatch (expected , actual 125110861)
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/firefox-nightly/fca5ac9f6329.tar.bz2 fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/firefox-nightly/fca5ac9f6329.tar.bz2: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/firefox-nightly and try again.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/FF_nightly
*** Error code 1

Stop.
make: stopped in /usr/ports/www/FF_nightly

For some reason it is required to do "make clean" after downloading, and then it compiles successfully.

# make clean
===>  Cleaning for firefox-nightly-26.0.145198,1
[root@FBSD10 /usr/ports/www/FF_nightly]# make update && make makesum && time make all deinstall install clean ===> firefox-nightly-26.0.145198,1 depends on file: /usr/local/share/certs/ca-root-nss.crt - found
===>  Found saved configuration for firefox-nightly-26.0.143100,1
===> firefox-nightly-26.0.145198,1 depends on file: /usr/local/sbin/pkg - found ===> firefox-nightly-26.0.145198,1 depends on file: /usr/local/share/certs/ca-root-nss.crt - found ===> Fetching all distfiles required by firefox-nightly-26.0.145198,1 for building
===>  Found saved configuration for firefox-nightly-26.0.143100,1
===> firefox-nightly-26.0.145198,1 depends on file: /usr/local/sbin/pkg - found ===> firefox-nightly-26.0.145198,1 depends on file: /usr/local/share/certs/ca-root-nss.crt - found ===> Fetching all distfiles required by firefox-nightly-26.0.145198,1 for building
===>  Extracting for firefox-nightly-26.0.145198,1
===>  Found saved configuration for firefox-nightly-26.0.143100,1
===> firefox-nightly-26.0.145198,1 depends on file: /usr/local/sbin/pkg - found ===> firefox-nightly-26.0.145198,1 depends on file: /usr/local/share/certs/ca-root-nss.crt - found ===> Fetching all distfiles required by firefox-nightly-26.0.145198,1 for building
=> SHA256 Checksum OK for firefox-nightly/fca5ac9f6329.tar.bz2.
....
===>   Registering installation for firefox-nightly-26.0.145198,1
Installing firefox-nightly-26.0.145198,1... done


Maybe this is the problem:
[: -eq: argument expected
=> Fetched file size mismatch (expected , actual 125110861)

_______________________________________________

Follow up to the above message:

It seems I had a file in /usr/ports/distfiles/firefox-nightly that was partially downloaded and corrupt. After deleting all files and doing make update && make makesum && time make all deinstall install clean, it is working correctly again. Sorry for the noise.

[root@FBSD10 /usr/ports/www/FF_nightly]# make update && make makesum && time make all deinstall install clean ===> firefox-nightly-26.0.145224,1 depends on file: /usr/local/share/certs/ca-root-nss.crt - found
===>  Found saved configuration for firefox-nightly-26.0.143100,1
===> firefox-nightly-26.0.145236,1 depends on file: /usr/local/sbin/pkg - found ===> firefox-nightly-26.0.145236,1 depends on file: /usr/local/share/certs/ca-root-nss.crt - found => 068c13777f4d.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/firefox-nightly. => Attempting to fetch https://hg.mozilla.org/integration/mozilla-inbound/archive/068c13777f4d.tar.bz2 fetch: https://hg.mozilla.org/integration/mozilla-inbound/archive/068c13777f4d.tar.bz2: size of remote file is not known 068c13777f4d.tar.bz2 119 MB 397 kBps 05m08s ===> Fetching all distfiles required by firefox-nightly-26.0.145236,1 for building
===>  Found saved configuration for firefox-nightly-26.0.143100,1
===> firefox-nightly-26.0.145236,1 depends on file: /usr/local/sbin/pkg - found ===> firefox-nightly-26.0.145236,1 depends on file: /usr/local/share/certs/ca-root-nss.crt - found ===> Fetching all distfiles required by firefox-nightly-26.0.145236,1 for building
===>  Extracting for firefox-nightly-26.0.145236,1
===>  Found saved configuration for firefox-nightly-26.0.143100,1
===> firefox-nightly-26.0.145236,1 depends on file: /usr/local/sbin/pkg - found ===> firefox-nightly-26.0.145236,1 depends on file: /usr/local/share/certs/ca-root-nss.crt - found ===> Fetching all distfiles required by firefox-nightly-26.0.145236,1 SHA256 Checksum OK for firefox-nightly/068c13777f4d.tar.bz2.
===>  Patching for firefox-nightly-26.0.145236,1
===>   Converting DOS text file to UNIX text file:
===>  Applying extra patch /usr/ports/www/FF_nightly/files/extra-bug780531
===>  Applying FreeBSD patches for firefox-nightly-26.0.145236,1
...

===>   Registering installation for firefox-nightly-26.0.145236,1
Installing firefox-nightly-26.0.145236,1... done

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to