reopen 341433 found 341433 2.3.0-1 thanks Hi Bill.
unfortunately a fix in upstream CVS does not work, see again http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=pari
Our os name is kfreebsd*-gnu, but config/arch-osname does not honor it. Please find attached patch to fix that. It also adds recognition of kfreebsd into other places. Thanks in advance. Petr $ dpkg-architecture DEB_BUILD_ARCH=kfreebsd-i386 DEB_BUILD_ARCH_OS=kfreebsd DEB_BUILD_ARCH_CPU=i386 DEB_BUILD_GNU_CPU=i486 DEB_BUILD_GNU_SYSTEM=kfreebsd-gnu DEB_BUILD_GNU_TYPE=i486-kfreebsd-gnu DEB_HOST_ARCH=kfreebsd-i386 DEB_HOST_ARCH_OS=kfreebsd DEB_HOST_ARCH_CPU=i386 DEB_HOST_GNU_CPU=i486 DEB_HOST_GNU_SYSTEM=kfreebsd-gnu DEB_HOST_GNU_TYPE=i486-kfreebsd-gnu $ /usr/share/misc/config.guess i686-unknown-kfreebsd6.1-gnu or $ /usr/share/misc/config.guess i486-unknown-kfreebsd5.4-gnu or ...
diff -u pari-2.3.0/config/get_cc pari-2.3.0/config/get_cc --- pari-2.3.0/config/get_cc +++ pari-2.3.0/config/get_cc @@ -150,7 +150,7 @@ OPTFLAGS=-O; cflags=-Ae;; aix-*) OPTFLAGS='-O2 -qtune=auto -qmaxmem=8192' cflags='-qlanglvl=ansi';; - cygwin*|linux-i?86|freebsd-i?86) + cygwin*|linux-i?86|freebsd-i?86|kfreebsd-i?86) OPTFLAGS=-O2; cflags=-m486;; osf1-*) OPTFLAGS='-O4 -migrate -ifo -Olimit 9999';; sunos-*) OPTFLAGS=-fast; PRFFLAGS='-pg -Bstatic';; only in patch2: unchanged: --- pari-2.3.0.orig/config/arch-osname +++ pari-2.3.0/config/arch-osname @@ -63,6 +63,10 @@ gnu*) # Cover GNU/Hurd, GNU/kFreeBSD and other GNU userland arch=`uname -m`; case $arch in i386-*) arch=i386;;esac;; + case "$osname" in + gnukfreebsd*) + osname=kfreebsd;; + esac;; esac fi echo $arch-$osname only in patch2: unchanged: --- pari-2.3.0.orig/config/get_dlld +++ pari-2.3.0/config/get_dlld @@ -9,7 +9,7 @@ soname=.$soname_num do_dll=yes case "$osname" in - gnu*|aix|osf1|solaris|linux|freebsd) + gnu*|aix|osf1|solaris|linux|freebsd|kfreebsd) case $pari_release_verbose in *STABLE*) sodest=.$version.$patch;; # released version *DEVELOPMENT*) sodest=.$patch.0.0;; # unstable version