pkgsrc-Users archive

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

Re: 'state_not_recoverable' is not a member of 'std::errc' on clang build (was: clang-13.0.1nb1 build from pkgsrc 2022Q2 fails on NetBSD-9.2_STABLE (2022-07-01))



On Sat, 23 Jul 2022 15:19:11 +0200, Hauke Fath wrote:
> The Operating System version (9.99.98) does not match 9.2_STABLE
> To force installation of this package, add CHECK_OSABI=no to 

cvs diff: Diffing .
Index: INSTALL
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/osabi/INSTALL,v
retrieving revision 1.5
diff -u -p -u -r1.5 INSTALL
--- INSTALL     21 Nov 2018 14:15:32 -0000      1.5
+++ INSTALL     23 Jul 2022 13:38:55 -0000
@@ -25,6 +25,12 @@ PRE-INSTALL)
        DragonFly|FreeBSD|Linux)
                OS_VERSION=`echo "${OS_VERSION}" | sed -e's/-.*$//'`
                ;;
+       NetBSD)
+               if [ -f /etc/release ]; then
+                       OS_VERSION=`head -1 /etc/release | \
+                               sed -e "s,^NetBSD ,,g" -e 
"s,/[[:alnum:]]*$,,g"`
+               fi
+               ;;
        OSF1)
                OS_VERSION=`echo "${OS_VERSION}" | sed -e's/^V//'`
                ;;

would do it?

Cheerio,
Hauke

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index