[MacPorts] #37401: Attempt to install an older boost (1.42) version failed
#37401: Attempt to install an older boost (1.42) version failed --------------------------------+-------------------------------- Reporter: amidu.o.oloso@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.4.2 Keywords: boost, older, 1.42 | Port: boost 1.42 --------------------------------+-------------------------------- The tail of the log file is: :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch patch-libs-random- random_device.cpp.diff from http://internode.dl.sourceforge.net/boost :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch patch-libs-random- random_device.cpp.diff from http://netcologne.dl.sourceforge.net/boost :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch patch-libs-random- random_device.cpp.diff from http://svn.macports.org/repository/macports/distfiles/boost :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :error:fetch org.macports.fetch for port boost returned: fetch failed :debug:fetch Error code: NONE :debug:fetch Backtrace: fetch failed while executing "portfetch::fetchfiles" (procedure "portfetch::fetch_main" line 17) invoked from within "$procedure $targetname" :info:fetch Warning: targets not executed for boost: org.macports.activate org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:fetch Any suggestions? Thanks -- Ticket URL: <https://trac.macports.org/ticket/37401> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37401: boost: Attempt to install an older version (1.42) failed ------------------------------+--------------------------- Reporter: amidu.o.oloso@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.4.2 Resolution: | Keywords: Port: boost | ------------------------------+--------------------------- Changes (by ryandesign@…): * keywords: boost, older, 1.42 => * owner: macports-tickets@… => adfernandes@… * port: boost 1.42 => boost Old description:
The tail of the log file is: :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch patch-libs-random- random_device.cpp.diff from http://internode.dl.sourceforge.net/boost :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch patch-libs-random- random_device.cpp.diff from http://netcologne.dl.sourceforge.net/boost :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch patch-libs-random- random_device.cpp.diff from http://svn.macports.org/repository/macports/distfiles/boost :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :error:fetch org.macports.fetch for port boost returned: fetch failed :debug:fetch Error code: NONE :debug:fetch Backtrace: fetch failed while executing "portfetch::fetchfiles" (procedure "portfetch::fetch_main" line 17) invoked from within "$procedure $targetname" :info:fetch Warning: targets not executed for boost: org.macports.activate org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:fetch
Any suggestions? Thanks
New description: The tail of the log file is: {{{ :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch patch-libs-random- random_device.cpp.diff from http://internode.dl.sourceforge.net/boost :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch patch-libs-random- random_device.cpp.diff from http://netcologne.dl.sourceforge.net/boost :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch patch-libs-random- random_device.cpp.diff from http://svn.macports.org/repository/macports/distfiles/boost :debug:fetch Fetching distfile failed:: The requested URL returned error: 404 :error:fetch org.macports.fetch for port boost returned: fetch failed :debug:fetch Error code: NONE :debug:fetch Backtrace: fetch failed while executing "portfetch::fetchfiles" (procedure "portfetch::fetch_main" line 17) invoked from within "$procedure $targetname" :info:fetch Warning: targets not executed for boost: org.macports.activate org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:fetch }}} Any suggestions? [[br]] Thanks -- Comment: It sounds like you haven't followed the [wiki:howto/InstallingOlderPort instructions] properly. It sounds like you got the older version of the portfile, but did not also get the corresponding version of the files directory, which should contain the patch files. -- Ticket URL: <https://trac.macports.org/ticket/37401#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37401: boost: Attempt to install an older version (1.42) failed ------------------------------+--------------------------- Reporter: amidu.o.oloso@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.4.2 Resolution: | Keywords: Port: boost | ------------------------------+--------------------------- Comment (by amidu.o.oloso@…): I followed the instructions at https://trac.macports.org/wiki/howto/InstallingOlderPort. I downloaded "Portfile" and all files in "files" from the following URL: https://trac.macports.org/browser/trunk/dports/devel/boost?rev=63360 Are those not the right ones? The revision note says "Update to boost 1.42.0". Thanks, -Hamid -- Ticket URL: <https://trac.macports.org/ticket/37401#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37401: boost: Attempt to install an older version (1.42) failed ------------------------------+--------------------------- Reporter: amidu.o.oloso@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.4.2 Resolution: | Keywords: Port: boost | ------------------------------+--------------------------- Comment (by jmr@…): It's possible that that particular revision was broken. If the portfile at that revision refers to patchfiles that are not present in the same revision, you need to use a different revision. -- Ticket URL: <https://trac.macports.org/ticket/37401#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37401: boost: Attempt to install an older version (1.42) failed ------------------------------+--------------------------- Reporter: amidu.o.oloso@… | Owner: adfernandes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.4.2 Resolution: wontfix | Keywords: Port: boost | ------------------------------+--------------------------- Changes (by jmr@…): * status: new => closed * resolution: => wontfix Comment: In any case, there is nothing that can be done to fix problems in an old version except update to a newer version. -- Ticket URL: <https://trac.macports.org/ticket/37401#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37401: boost: Attempt to install an older version (1.42) failed ------------------------------+--------------------------- Reporter: amidu.o.oloso@… | Owner: adfernandes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.4.2 Resolution: wontfix | Keywords: Port: boost | ------------------------------+--------------------------- Comment (by adfernandes@…): Replying to [comment:4 jmr@…]:
In any case, there is nothing that can be done to fix problems in an old version except update to a newer version.
I would second this to add that `boost` works very, very hard to maintain backward compatibility. If they break backward compatibility, it's almost always for a very, very good reason. Something along the lines of "it was not reliable" or "it broke too many test cases" or something. If there is code you're using that absolutely requires an old version, well... in my experience, they're using `boost` incorrectly somehow, and you're much, much better off patching the software that uses boost rather than patching boost itself. Again; those are general guidelines only. Once you're beyond the "support the latest build", it can get to be a lot of work very quickly. -- Ticket URL: <https://trac.macports.org/ticket/37401#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37401: boost: Attempt to install an older version (1.42) failed ------------------------------+--------------------------- Reporter: amidu.o.oloso@… | Owner: adfernandes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.4.2 Resolution: wontfix | Keywords: Port: boost | ------------------------------+--------------------------- Comment (by amidu.o.oloso@…): Thank you for your responses. I will try to contact the developers of the application that requires boost to get their take on the issue. -- Ticket URL: <https://trac.macports.org/ticket/37401#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts