octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49213] Please use $host_alias for canonical h


From: anonymous
Subject: [Octave-bug-tracker] [bug #49213] Please use $host_alias for canonical host (m4/acinclude.m4:2010)
Date: Wed, 28 Sep 2016 19:13:02 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; NetBSD amd64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #3, bug #49213 (project octave):

Perhaps I understand things a bit better now:

Boring background:
pkgsrc uses a very plain script to discover MACHINE_GNU_PLATFORM:

MACHINE_GNU_PLATFORM?=${MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS:C/[0-9]//g}${APPEND_ELF}${LOWER_OPSYS_VERSUFFIX}${APPEND_ABI}

config.guess appends -gnu for Debian* machines, we don't distinguish them.

in octave, it seems this string is used as the directory name for some files,
so we end up with a file:
lib/octave/${PKGVERSION}/oct/${MACHINE_GNU_PLATFORM}/ccolamd.oct

Once the build process is done, pkgsrc has an installation process which (I
think) forms a package based on files in a package file list, with pathnames
of the files to be used.

Because we aim to install for more than one operating system, we use
${MACHINE_GNU_PLATFORM} in this list, rather than a fixed
linux-unknown-...-gnu

However, the directory octave used and the directory we expect via our
MACHINE_GNU_PLATFORM are different.

I'm not entirely sure why config.guess decides it should guess what $host is,
because --host is also passed.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49213>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]