#60630 closed defect (fixed)
test mtime1 failed
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | neverpanic (Clemens Lang) |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.6.3 |
Component: | base | Version: | 2.6.99 |
Keywords: | Cc: | ||
Port: |
Description
===> making test in src/pextlib1.0 /opt/bblocal/var/buildworker/base/base-10_10_x86_64/opt/local/libexec/macports/bin/tclsh8.5 ./tests/checksums.tcl ./Pextlib.dylib /opt/bblocal/var/buildworker/base/base-10_10_x86_64/opt/local/libexec/macports/bin/tclsh8.5 ./tests/curl.tcl ./Pextlib.dylib test mtime1 failed: [curl isnewer --ignore-ssl-cert http://svn.macports.org/repository/macports/users/eridius/curltest/dummy [clock scan 2007-06-16Z]] == 0
I don't see any Last-Modified header being sent:
$ curl -iL https://svn.macports.org/repository/macports/users/eridius/curltest/dummy HTTP/1.1 200 OK Date: Fri, 12 Jun 2020 11:38:45 GMT Server: Apache/2.4.38 (Debian) Cache-Control: max-age=0 ETag: "26224//users/eridius/curltest/dummy" Accept-Ranges: bytes Content-Length: 21 Vary: Accept-Encoding Content-Type: text/plain This is a dummy file
It seems like such a header would have to be sent for that test to succeed.
It looks like Subversion was deliberately modified to no longer send the Last-Modified header as of Subversion 1.10.0. The Braeburn server currently uses Subversion 1.10.4. I assume that the recent Braeburn server update upgraded Subversion to this version, and that it was previously using a version before 1.10.0.
So I guess we need to find a different non-svn URL to use for this test.
Change History (3)
comment:1 Changed 4 years ago by neverpanic (Clemens Lang)
comment:2 Changed 4 years ago by neverpanic (Clemens Lang)
Owner: | set to neverpanic |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 Changed 4 years ago by neverpanic (Clemens Lang)
Milestone: | → MacPorts 2.6.3 |
---|
Cherry-pick to release-2.6 is [fb6c198e82d9450c5bd6cc2be050b3ff14e934f0/macports-base].
Note: See
TracTickets for help on using
tickets.
https://github.com/macports/macports-base/pull/188
Not proud of just switching to a different URL, but it's the quickest fix for now.