port version reports 2.4.2 when built from tag v2.4.3
Enrico Maria Crisostomo
enrico.m.crisostomo at gmail.com
Thu Apr 12 08:39:27 UTC 2018
> On 12 Apr 2018, at 02:30, Ryan Schmidt <ryandesign at macports.org> wrote:
>
>
> On Apr 11, 2018, at 08:48, Enrico Maria Crisostomo wrote:
>
>> Well, I replicated it:
>>
>> * Clean the repo (e.g.: git clean -xfd)
>> * git checkout v2.4.2
>> * build and install 2.4.2:
>>
>> $ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
>> $ MP_PREFIX=/opt/macports-2.4.2
>> $ ./configure --prefix=$MP_PREFIX --with-applications-dir=$MP_PREFIX/Applications
>> $ make
>> $ sudo make install
>>
>> * open new terminal
>> * git checkout v2.4.3
>> * configure 2.4.3:
>>
>> $ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
>> $ MP_PREFIX=/opt/macports-2.4.3
>> $ ./configure --prefix=$MP_PREFIX --with-applications-dir=$MP_PREFIX/Applications
>>
>> * At this point src/macports1.0/macports_autoconf.tcl correctly contains `variable macports_version "2.4.3"`
>> * build and install 2.4.3:
>>
>> $ make
>> $ sudo make install
>>
>> * At this point /opt/macports-2.4.3/libexec/macports/lib/macports1.0/macports_autoconf.tcl correctly contains `variable macports_version "2.4.3"`.
>> * But port reports 2.4.2:
>>
>> % echo path
>> /opt/macports-2.4.3/bin:/opt/macports-2.4.3/sbin:/bin:/usr/bin:/usr/ucb:/usr/local/bin
>> % type port
>> port is /opt/macports-2.4.3/bin/port
>> % port version
>> Version: 2.4.2
>
> Just to be absolutely certain which `port' binary you're running:
>
> What happens if you run:
>
> /opt/macports-2.4.3/bin/port version
Hi Ryan,
This happens:
% /opt/macports-2.4.3-clean/bin/port version
Version: 2.4.3
More information about the macports-dev
mailing list