Port-hppa archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

devel/cmake failing to build



Hi all,

I posted this over on pkgsrc-users but got nothing.  Since this seems specific to (at least) hppa I figured I’d post here as well.

https://mail-index.netbsd.org/pkgsrc-users/2025/06/05/msg041648.html

As the subject says - cmake fails to build on hppa.  Specifically - it dies in bootstrap once everything is built - it seems like it’s the final linking step.  This is with -currrent-ish (although I’ve tried vanilla 10.1 too) - and 2025Q2.

I even had an email thread with a Kitware (makers of Cmake) employee and we didn’t get anywhere.

cmake seems to be used for a fair amount of packages (in my case I hit it trying to build various graphics libs).  So this blocks a good amount of other packages being built.

In the bootstrap script, there is this section:

# Determine whether this is a PA-RISC machine
# This only works for Linux or HP-UX, not other PA-RISC OSs (BSD maybe?). Also
# may falsely detect parisc on HP-UX m68k
cmake_machine_parisc=false
if ${cmake_system_linux}; then
  if uname -m | grep parisc >/dev/null 2>&1; then
    cmake_machine_parisc=true
  fi
elif ${cmake_system_hpux}; then
  if uname -m | grep ia64 >/dev/null 2>&1; then : ; else
    cmake_machine_parisc=true
  fi
fi

However the cmake_machine_parisc is never actually used anywhere.  The fact that this exists makes me think that maybe there is a known issue on hppa for cmake, but the devs never finished this “workaround” (or whatever they were intending to do).

Thanks in advance for any info.




Home | Main Index | Thread Index | Old Index