Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595280 - media-libs/glew-1.10.0-r2 - config/config.guess: unable to guess system type
Summary: media-libs/glew-1.10.0-r2 - config/config.guess: unable to guess system type
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-27 14:23 UTC by ramast
Modified: 2016-12-09 22:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ramast 2016-09-27 14:23:00 UTC
config/config.guess: unable to guess system type

This script, last modified 2012-02-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD


The bug is fixed by simply download the new config.guess and replacing the old one with the new one.

Reproducible: Always

Steps to Reproduce:
1.emerge glew on arm4 machine

Actual Results:  
>>> Emerging (1 of 1) media-libs/glew-1.10.0-r2::gentoo
 * glew-1.10.0.tgz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking glew-1.10.0.tgz to /var/tmp/portage/media-libs/glew-1.10.0-r2/work
>>> Source unpacked in /var/tmp/portage/media-libs/glew-1.10.0-r2/work
>>> Preparing source in /var/tmp/portage/media-libs/glew-1.10.0-r2/work/glew-1.10.0 ...
 * Will copy sources from /var/tmp/portage/media-libs/glew-1.10.0-r2/work/glew-1.10.0
 * .arm: copying to /var/tmp/portage/media-libs/glew-1.10.0-r2/work/glew-1.10.0-.arm
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/glew-1.10.0-r2/work/glew-1.10.0 ...
 * .arm: running multilib-minimal_abi_src_configure
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/glew-1.10.0-r2/work/glew-1.10.0 ...
 * .arm: running multilib-minimal_abi_src_compile
make -j3 GLEW_DEST=/usr LIBDIR=/usr/lib AR=armv7a-softfp-linux-gnueabi-ar STRIP=true CC=armv7a-softfp-linux-gnueabi-gcc 'LD=armv7a-softfp-linux-gnueabi-gcc -Wl,-O1 -Wl,--as-needed' M_ARCH= LDFLAGS.EXTRA= 'POPT=-O2 -pipe -march=native -mfloat-abi=softfp -fomit-frame-pointer' 
config/config.guess: unable to guess system type

This script, last modified 2012-02-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (config/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2012-02-10

uname -m = aarch64
uname -r = 3.10.40
uname -s = Linux
uname -v = #16 SMP PREEMPT Mon Sep 26 12:13:11 SGT 2016

/usr/bin/uname -p = NVIDIA Denver 1.0 rev 0 (aarch64)
/bin/uname -X     = 

hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = 
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = aarch64
UNAME_RELEASE = 3.10.40
UNAME_SYSTEM  = Linux
UNAME_VERSION = #16 SMP PREEMPT Mon Sep 26 12:13:11 SGT 2016
config/config.guess: unable to guess system type

This script, last modified 2012-02-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (config/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2012-02-10

uname -m = aarch64
uname -r = 3.10.40
uname -s = Linux
uname -v = #16 SMP PREEMPT Mon Sep 26 12:13:11 SGT 2016

/usr/bin/uname -p = NVIDIA Denver 1.0 rev 0 (aarch64)
/bin/uname -X     = 

hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = 
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = aarch64
UNAME_RELEASE = 3.10.40
UNAME_SYSTEM  = Linux
UNAME_VERSION = #16 SMP PREEMPT Mon Sep 26 12:13:11 SGT 2016
Makefile:40: *** "Platform '' not supported".  Stop.
 * ERROR: media-libs/glew-1.10.0-r2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/glew-1.10.0-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/glew-1.10.0-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/glew-1.10.0-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/glew-1.10.0-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/glew-1.10.0-r2/work/glew-1.10.0-.arm'
 * S: '/var/tmp/portage/media-libs/glew-1.10.0-r2/work/glew-1.10.0'

>>> Failed to emerge media-libs/glew-1.10.0-r2, Log file:

>>>  '/var/tmp/portage/media-libs/glew-1.10.0-r2/temp/build.log'

 * Messages for package media-libs/glew-1.10.0-r2:

 * ERROR: media-libs/glew-1.10.0-r2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/glew-1.10.0-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/glew-1.10.0-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/glew-1.10.0-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/glew-1.10.0-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/glew-1.10.0-r2/work/glew-1.10.0-.arm'
 * S: '/var/tmp/portage/media-libs/glew-1.10.0-r2/work/glew-1.10.0'





The bug is fixed by simply download the new config.guess from   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD and replacing the old one with the new one.
Comment 1 SpanKY gentoo-dev 2016-12-01 19:14:47 UTC
config.{sub,guess} do not get patched by ebuilds.  if glew isn't running econf (which is how portage automatically updates these files), then it can inherit the gnuconfig eclass and use `gnuconfig_update` in src_prepare.
Comment 2 SpanKY gentoo-dev 2016-12-09 22:46:18 UTC
i've fixed it by reworking how we handle SYSTEM:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=234f6d457396c138cf76dcc8f3973ece14845410