Port-hppa archive

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

devel/cmake failing to build




To: port-hppa%netbsd.org@localhost

Subject: devel/cmake failing to build

From: vom513 <vom513%gmail.com@localhost>

Date: Thu, 24 Jul 2025 10:24:06 -0400


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.






Prev by Date: Re: X11 on c3700

Next by Date: re: DNS utilities core dump in -current ?

Previous by Thread: openpty(): failed in sysinst

Next by Thread: re: DNS utilities core dump in -current ?

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index