[MacPorts] #67877: WIP: OpenSSH 9.4 snapshot Call For Testing
MacPorts
noreply at macports.org
Thu Aug 3 04:43:18 UTC 2023
#67877: WIP: OpenSSH 9.4 snapshot Call For Testing
-----------------------+--------------------
Reporter: artkiver | Owner: (none)
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
-----------------------+--------------------
Comment (by artkiver):
If I run the following on the contents of the tarball manually without the
Portfile:
{{{
./configure --prefix=/opt/local --with-ssl-dir=/opt/local
--sysconfdir=/opt/local/etc/ssh --with-privsep-path=/var/empty --with-
md5-passwords --with-pid-dir=/opt/local/var/run --with-pam
--mandir=/opt/local/share/man --with-zlib=/opt/local --without-kerberos5
--with-libedit --with-pie --without-xauth --without-ldns --with-audit=bsm
--with-keychain=apple
}}}
Then run make, I will end up with an ssh binary which yields the
following:
{{{
ssh -V
OpenSSH_9.3p1-snap20230803, LibreSSL 3.8.0
}}}
From what I was able to discern, I think maybe there's something going
amiss with my WIP testing Portfile and the naming/version conventions of
the snapshot? Basically this:
{{{
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-ports_net_openssh/openssh/work/openssh-
SNAP-20230803" && /usr/bin/patch -p0 -p1 <
'/opt/local/var/macports/sources/github.com/macports/macports-
ports/net/openssh/files/agent.patch'
}}}
I think fails because:
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-ports_net_openssh/openssh/work/openssh-
SNAP-20230803
}}}
is empty
It's populating:
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-ports_net_openssh/openssh/work/openssh/
}}}
So, it's trying to apply the patches to files which aren't in the path?
Meanwhile, if I manually decompress the tarball to the path which it is
trying, it seems to get a bit further but then error out as follows:
{{{
cat: ./.depend: No such file or directory
configure: creating ./config.status
config.status: creating Makefile
config.status: creating buildpkg.sh
config.status: creating opensshd.init
config.status: creating openssh.xml
config.status: creating openbsd-compat/Makefile
mv: rename ./conf4TuVFK/out to openbsd-compat/Makefile: Permission denied
config.status: error: could not create openbsd-compat/Makefile
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-ports_net_openssh/openssh/work/openssh-
SNAP-20230803" && ./configure --prefix=/opt/local --with-ssl-
dir=/opt/local --sysconfdir=/opt/local/etc/ssh --with-privsep-
path=/var/empty --with-md5-passwords --with-pid-dir=/opt/local/var/run
--with-pam --mandir=/opt/local/share/man --with-zlib=/opt/local --without-
kerberos5 --with-libedit --with-pie --without-xauth --without-ldns --with-
audit=bsm --with-keychain=apple
Exit code: 1
Error: Failed to configure openssh: consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-ports_net_openssh/openssh/work/openssh-
SNAP-20230803/config.log
Error: Failed to configure openssh: configure failure: command execution
failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_github
.com_macports_macports-ports_net_openssh/openssh/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there
is a bug.
Error: Processing of port openssh failed
}}}
I am guessing, all of this will be a non issue when 9.4 is actually
released, and I am kind of chasing my tail with a prematurely modified
Portfile and causing problems where there aren't any?
--
Ticket URL: <https://trac.macports.org/ticket/67877#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list