From: Aristedes Maniatis on 4 May 2010 06:09 portmaster.rc # Always delete stale distfiles without prompting (-d) ALWAYS_SCRUB_DISTFILES=dopt # Only install packages (-PP or --packages-only) PM_PACKAGES=only # Use the INDEX file instead of /usr/ports (--index-only) PM_INDEX=pm_index PM_INDEX_ONLY=pm_index_only # Specify a local package repository (--local-packagedir) LOCAL_PACKAGEDIR=/usr/ports/packages/ Trying to run an update: [snip...] ===>>> Checking package repository for latest available version ===>>> The newest available package (apache-2.2.13) is older than the version in ports (apache-2.2.14_6) ===>>> Try --packages-if-newer, or do not use -PP/--packages-only ===>>> Aborting update ===>>> Update for apache-worker-2.2.14_6 failed ===>>> Aborting update #ls -al /usr/ports/packages/All/apache-worker-2.2.14_6.tbz -rw-r--r-- 1 root wheel 3032918 May 3 21:06 /usr/ports/packages/All/apache-worker-2.2.14_6.tbz But sometimes it works. Ari -- --------------------------> Aristedes Maniatis ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Doug Barton on 4 May 2010 11:54 On 5/4/2010 3:09 AM, Aristedes Maniatis wrote: > portmaster.rc > > # Always delete stale distfiles without prompting (-d) > ALWAYS_SCRUB_DISTFILES=dopt > > # Only install packages (-PP or --packages-only) > PM_PACKAGES=only > > # Use the INDEX file instead of /usr/ports (--index-only) > PM_INDEX=pm_index > PM_INDEX_ONLY=pm_index_only > > # Specify a local package repository (--local-packagedir) > LOCAL_PACKAGEDIR=/usr/ports/packages/ This all looks proper. > Trying to run an update: > > [snip...] > > ===>>> Checking package repository for latest available version > > ===>>> The newest available package (apache-2.2.13) > is older than the version in ports (apache-2.2.14_6) > > #ls -al /usr/ports/packages/All/apache-worker-2.2.14_6.tbz > -rw-r--r-- 1 root wheel 3032918 May 3 21:06 /usr/ports/packages/All/apache-worker-2.2.14_6.tbz Is there an apache-2.2.13 package in packages/All? And what do the links in packages/www and packages/Latest refer to? Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Aristedes Maniatis on 5 May 2010 07:55 On 5/05/10 1:54 AM, Doug Barton wrote: > On 5/4/2010 3:09 AM, Aristedes Maniatis wrote: >> portmaster.rc >> >> # Always delete stale distfiles without prompting (-d) >> ALWAYS_SCRUB_DISTFILES=dopt >> >> # Only install packages (-PP or --packages-only) >> PM_PACKAGES=only >> >> # Use the INDEX file instead of /usr/ports (--index-only) >> PM_INDEX=pm_index >> PM_INDEX_ONLY=pm_index_only >> >> # Specify a local package repository (--local-packagedir) >> LOCAL_PACKAGEDIR=/usr/ports/packages/ > > This all looks proper. > >> Trying to run an update: >> >> [snip...] >> >> ===>>> Checking package repository for latest available version >> >> ===>>> The newest available package (apache-2.2.13) >> is older than the version in ports (apache-2.2.14_6) >> >> #ls -al /usr/ports/packages/All/apache-worker-2.2.14_6.tbz >> -rw-r--r-- 1 root wheel 3032918 May 3 21:06 /usr/ports/packages/All/apache-worker-2.2.14_6.tbz > > Is there an apache-2.2.13 package in packages/All? And what do the links > in packages/www and packages/Latest refer to? No package named that in All. Just the *-worker variant. /usr/ports/packages # ls -al www/apache-worker-2.2.14_6.tbz lrwxr-xr-x 1 root wheel 33 May 3 13:04 www/apache-worker-2.2.14_6.tbz -> ../All/apache-worker-2.2.14_6.tbz /usr/ports/packages # ls -al Latest/apache22.tbz lrwxr-xr-x 1 root wheel 33 May 3 13:04 Latest/apache22.tbz -> ../All/apache-worker-2.2.14_6.tbz I just hit a pretty similar problem with the package ImageMagick-nox11-6.6.0.10.tbz for I assume the same reason. Ari -- --------------------------> Aristedes Maniatis ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Scot Hetzel on 5 May 2010 09:35 On Wed, May 5, 2010 at 6:55 AM, Aristedes Maniatis <ari(a)ish.com.au> wrote: >> Is there an apache-2.2.13 package in packages/All? And what do the links >> in packages/www and packages/Latest refer to? > > > No package named that in All. Just the *-worker variant. > > /usr/ports/packages # ls -al www/apache-worker-2.2.14_6.tbz > lrwxr-xr-x 1 root wheel 33 May 3 13:04 www/apache-worker-2.2.14_6.tbz -> > ../All/apache-worker-2.2.14_6.tbz > This doesn't show us if you have any other apache packages in All or www. Try: ls -al All/apache-* ls -al www/apache-* Does this show more than 1 apache-* port? If it does, try removing them. > > I just hit a pretty similar problem with the package > ImageMagick-nox11-6.6.0.10.tbz for I assume the same reason. > Try the same for ImageMagick to see if you have multiple packages: ls -al All/ImageMagick* ls -al graphics/ImageMagick* ls -al Latest/ImageMagick* Scot _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Aristedes Maniatis on 16 May 2010 23:35 On 5/05/10 1:54 AM, Doug Barton wrote: > Is there an apache-2.2.13 package in packages/All? And what do the links > in packages/www and packages/Latest refer to? I did some more digging in the script itself. You have some code like this: if [ -r "${LOCAL_PACKAGEDIR}/All/${new_port}.tbz" ]; then local_package=${LOCAL_PACKAGEDIR}/All/${new_port}.tbz latest_pv=${local_package##*/} fi But I'm guessing the confusion is that we have ..../Latest/apache22.tgz, but ...../All/apache-worker-2.2.15.tgz That is, the package name is different between Latest and All. This particular code path is only invoked if you are using INDEX rather than the ports directories. When running without forcing the index, the problem does not occur. I like the INDEX-only approach since we can have deployment servers with no /usr/ports directories to keep updated. A special build server is responsible for creating packages and pushing them out to other machines. Ari -- --------------------------> Aristedes Maniatis ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
|
Next
|
Last
Pages: 1 2 3 4 Prev: Failing to build mutt-devel-lite Next: gcc fails to build: math/gmp does not exist |