Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430544 - dev-libs/pth-2.0.7-r3 on uclibc (hardened/linux/uclibc/amd64 profile) - pth_mctx.c:480:2: error: #error "Unsupported Linux (g)libc version and/or platform"
Summary: dev-libs/pth-2.0.7-r3 on uclibc (hardened/linux/uclibc/amd64 profile) - pth_m...
Status: RESOLVED DUPLICATE of bug 393433
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-08-09 07:08 UTC by Kola Bernard
Modified: 2012-09-19 19:48 UTC (History)
0 users

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


Attachments
fixed ebuild (pth-2.0.7-r4.ebuild,1.29 KB, text/plain)
2012-08-09 07:17 UTC, Kola Bernard
Details
Fixing patch (pth-2.0.7-uclibc.patch,422 bytes, patch)
2012-08-09 07:21 UTC, Kola Bernard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kola Bernard 2012-08-09 07:08:34 UTC
Try to use this stage here:
<http://opensource.dyc.edu/pub/desktop-amd64-uclibc-hardened/desktop-amd64-uclibc-hardened-20120801.tar.lzma>
Compile of dev-libs/pth, which is a dependency of app-crypt/gnupg, always fail.

Reproducible: Always

Steps to Reproduce:
1. Download and untar <http://opensource.dyc.edu/pub/desktop-amd64-uclibc-hardened/desktop-amd64-uclibc-hardened-20120801.tar.lzma>
2. install bootloader and start it or start livesystem and chroot
3. sync portagetree
4. emerge dev-libs/pth

Actual Results:  
./libtool --mode=compile --quiet x86_64-gentoo-linux-uclibc-gcc -c -I. -O2 -pipe pth_tcb.c
pth_mctx.c: In function '__pth_mctx_set':
pth_mctx.c:480:2: error: #error "Unsupported Linux (g)libc version and/or platform"
make: *** [pth_mctx.lo] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: dev-libs/pth-2.0.7-r3 failed (compile phase):
 *   emake failed
 * 



 # emerge =dev-libs/pth-2.0.7-r3 -pqv
[ebuild  N    ] dev-libs/pth-2.0.7-r3  USE="-debug -static-libs" 

I have tried with or without "static-libs" enabled.

 # emerge =dev-libs/pth-2.0.7-r3 --info 
Portage 2.2.0_alpha120 (hardened/linux/uclibc/amd64, gcc-4.6.3, uclibc-0.9.33.2-r1, 3.2.18-std271-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.18-std271-amd64-x86_64-AMD_E-450_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.1
Timestamp of tree: Tue, 07 Aug 2012 00:45:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/uclibc:          0.9.33.2-r1
Repositories: gentoo x-hardened-development local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-gentoo-linux-uclibc"
CFLAGS="-O2 -pipe"
CHOST="x86_64-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/hardened-development /usr/portage/local"
SYNC="rsync://gentoo-mirror.lan/portage"
USE="X a52 aac aacplus aalib alsa amd64 amr artworkextra ass avahi avx berkdb cairo cdio cli cracklib cups curl cxx dbus dirac dri dts dv dvb dvd exif extras faac ffmpeg flac fortran g3dvl gdbm git gsm gtk guile hardened iconv ipv6 jpeg jpeg2k lame latex lcms lock mad math mbox mng mod modplug modules mp3 mpeg mudflap musepack ncurses networking nptl ogg openal opengl openmp openssl openxml oss ots pcre pdf pic png pppd pulseaudio python readline schroedinger sdl session smp speex spell ssl svg taglib tcpd theora thesaurus threads thunar tiff uclibc unicode vcd vorbis vpx webkit wmf wordperfect xattr xmp xv xvid xvmc zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="uclibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev nouveau" XFCE_PLUGINS="trash menu logout" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Kola Bernard 2012-08-09 07:17:11 UTC
Created attachment 320764 [details]
fixed ebuild

This have work for me.
Comment 2 Kola Bernard 2012-08-09 07:21:25 UTC
Created attachment 320766 [details, diff]
Fixing patch

additional info to this patch:
<https://bugzilla.redhat.com/show_bug.cgi?id=744740>                         
<https://bugzilla.redhat.com/attachment.cgi?id=591825&action=diff>
Comment 3 Kola Bernard 2012-08-09 07:23:07 UTC
This work for me.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-09 23:41:53 UTC
Comment on attachment 320764 [details]
fixed ebuild

--- pth-2.0.7-r3.ebuild 2012-08-10 01:40:35.000000000 +0200
+++ -   2012-08-10 01:41:37.456110444 +0200
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild,v 1.8 2012/08/08 15:01:43 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild,v 1.7 2012/05/09 15:21:08 aballier Exp $
 
 EAPI=4
 
@@ -26,7 +26,7 @@
        epatch "${FILESDIR}"/${PN}-2.0.6-sigstack.patch
        epatch "${FILESDIR}"/${PN}-2.0.7-parallel-install.patch
        epatch "${FILESDIR}"/${PN}-2.0.7-ia64.patch
-       epatch "${FILESDIR}"/${PN}-2.0.7-kernel-3.patch
+       epatch "${FILESDIR}"/${PN}-2.0.7-uclibc.patch
 
        ht_fix_file aclocal.m4 configure
Comment 5 Daniel Kenzelmann 2012-09-19 06:52:41 UTC
Please mark bug 393433 as duplicate.
Comment 6 SpanKY gentoo-dev 2012-09-19 19:48:54 UTC
*** This bug has been marked as a duplicate of bug 393433 ***