Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 191337

Summary: sys-apps/parted-1.8.8 fails to emerge on uclibc due to missing posix_memalign
Product: Gentoo Linux Reporter: Natanael Copa <natanael.copa>
Component: New packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 182094    
Bug Blocks:    

Description Natanael Copa 2007-09-05 07:30:25 UTC
i386-gentoo-linux-uclibc-gcc -std=gnu99  -I. -I../lib -I../lib -I../include    -DBUILDINFO= -march=i386 -Os -pipe -fomit-frame-pointer -MT parted-table.o -MD -MP -MF .deps/parted-table.Tpo -c -o parted-table.o `test -f 'table.c' || echo './'`table.c
mv -f .deps/parted-table.Tpo .deps/parted-table.Po
mv -f .deps/parted-ui.Tpo .deps/parted-ui.Po
mv -f .deps/parted-parted.Tpo .deps/parted-parted.Po
/bin/sh ../libtool --tag=CC   --mode=link i386-gentoo-linux-uclibc-gcc -std=gnu99 -DBUILDINFO= -march=i386 -Os -pipe -fomit-frame-pointer  -Wl,--as-needed -o parted parted-command.o parted-parted.o parted-strlist.o parted-ui.o parted-table.o ../lib/libparted.la ../libparted/libparted.la   -lreadline  -ldl -lncurses  
mkdir .libs
i386-gentoo-linux-uclibc-gcc -std=gnu99 -DBUILDINFO= -march=i386 -Os -pipe -fomit-frame-pointer -Wl,--as-needed -o .libs/parted parted-command.o parted-parted.o parted-strlist.o parted-ui.o parted-table.o  ../lib/.libs/libparted.a ../libparted/.libs/libparted.so -luuid -lreadline -ldl -lncurses 
../lib/.libs/libparted.a(close-stream.o): In function `close_stream':
close-stream.c:(.text+0x23): warning: 
../libparted/.libs/libparted.so: undefined reference to `posix_memalign'
collect2: ld returned 1 exit status
make[1]: *** [parted] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/parted-1.8.8/work/parted-1.8.8/parted'
make: *** [all-recursive] Error 1

Portage 2.1.2.12 (uclibc/x86/hardened, gcc-3.4.6, uclibc-0.9.28.3-r0, 2.6.21-vsgrsec-grsec2.1.10-200706182032-vs2.2.0.3 i686)
=================================================================
System uname: 2.6.21-vsgrsec-grsec2.1.10-200706182032-vs2.2.0.3 i686 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Gentoo Base System release baselayout-2.0.0_rc4-r1
Timestamp of tree: Tue, 04 Sep 2007 16:30:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc4-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-march=i386 -Os -pipe -fomit-frame-pointer"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/var/cache/packages/default"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/alpine-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X509 bitmap-fonts bri bzip2 cli cracklib dri encode expat extensions hardened iproute2 ipv6 jpeg lua mad midi mudflap ncurses netboot nonfsv4 ntfs ogg openmp oss pci pcmcia pic png pppd pri readline reflection rrdtool sensord session snmp speex spl ssl tdb truetype truetype-fonts type1-fonts uclibc uclibc++ udev usb userlocales wifi wordexp x86 xorg zaptel zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" MISDN_CARDS="avmfritz hfcmulti hfcpci hfcsmini hfcsusb netjetpci sedlfax w6692pci xhfc" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l apm ark chips cirrus cyrix epson glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng vesa vga via voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-05 07:33:49 UTC

*** This bug has been marked as a duplicate of bug 171787 ***

*** This bug has been marked as a duplicate of bug 171787 ***
Comment 2 Natanael Copa 2007-09-05 07:59:30 UTC
It looks like #171787 is fixed in 1.8.8.

This is a different issue and not a duplicate as spanky says in https://bugs.gentoo.org/show_bug.cgi?id=171787#c4 
Comment 3 solar (RETIRED) gentoo-dev 2007-09-21 02:52:01 UTC
Back ported the function from svn into uclibc-0.9.28.3-r1. parted builds..

/var/cvsroot/gentoo-x86/sys-libs/uclibc/ChangeLog,v  <--  ChangeLog
new revision: 1.24; previous revision: 1.23
/var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.3-r1.ebuild,v  <--  uclibc-0.9.28.3-r1.ebuild
initial revision: 1.1
Mailing the commit message...
/var/cvsroot/gentoo-x86/sys-libs/uclibc/files/digest-uclibc-0.9.28.3-r1,v  <--  ./files/digest-uclibc-0.9.28.3-r1
initial revision: 1.1

Comment 4 solar (RETIRED) gentoo-dev 2007-09-21 02:52:20 UTC
Closing bug.