Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61179 - lcms: the configure script doesn't recognise the compiler in a uclibc env
Summary: lcms: the configure script doesn't recognise the compiler in a uclibc env
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-21 10:59 UTC by Christian Zoffoli (RETIRED)
Modified: 2004-09-22 05:46 UTC (History)
1 user (show)

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


Attachments
fixes the configure script in a uclibc env (lcms-uclibc-configure.chris.patch,573 bytes, patch)
2004-08-21 11:01 UTC, Christian Zoffoli (RETIRED)
Details | Diff
updated ebuild (lcms-1.12.ebuild,1.32 KB, application/octet-stream)
2004-08-21 11:04 UTC, Christian Zoffoli (RETIRED)
Details
updated ebuild to fix the complation on a uclibc env (lcms-1.12.ebuild,1.31 KB, application/octet-stream)
2004-08-22 05:52 UTC, Christian Zoffoli (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Zoffoli (RETIRED) gentoo-dev 2004-08-21 10:59:53 UTC
I can't compile lcms in a uclibc env, the configure script doesn't recognise i386-pc-linux-uclibc compiler.

here is the error:
----
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration `i386-pc-linux-uclibc': machine `i386-pc-linux' not recognized
configure: error: /bin/sh ./config.sub i386-pc-linux-uclibc failed

!!! ERROR: media-libs/lcms-1.12 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed

----

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r9 (x86, gcc-3.3.4, glibc-0.9.26-r5, 2.6.8-rc2)
=================================================================
System uname: 2.6.8-rc2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe"
CHOST="i386-pc-linux-uclibc"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.4.11/gentoo-portage"
USE="berkdb ncurses python readline ssl tcpd uclibc x86 zlib"
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2004-08-21 11:01:15 UTC
Created attachment 37879 [details, diff]
fixes the configure script in a uclibc env
Comment 2 Christian Zoffoli (RETIRED) gentoo-dev 2004-08-21 11:04:13 UTC
Created attachment 37880 [details]
updated ebuild
Comment 3 solar (RETIRED) gentoo-dev 2004-08-21 17:06:16 UTC
vs. patching config.sub/.guess (unwritten policy we try to avoid) try a simple 

'inherit gnuconfig' and in the src_unpack() function add 'gnuconfig_update'
Comment 4 Christian Zoffoli (RETIRED) gentoo-dev 2004-08-22 05:52:20 UTC
Created attachment 37937 [details]
updated ebuild to fix the complation on a uclibc env
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-08-26 02:48:49 UTC
please only post patches
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-22 05:46:04 UTC
fixed in lcms-1.13