Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190523 - sys-fs/xfsprogs-2.9.3 version bump
Summary: sys-fs/xfsprogs-2.9.3 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://oss.sgi.com/bugzilla/show_bug....
Whiteboard:
Keywords:
: 190640 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-28 13:53 UTC by Sergey Dryabzhinsky
Modified: 2007-09-01 04:17 UTC (History)
4 users (show)

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


Attachments
xfsprogs-2.9.3.ebuild (xfsprogs-2.9.3.ebuild,1.91 KB, text/plain)
2007-08-28 13:54 UTC, Sergey Dryabzhinsky
Details
files/xfsprogs-2.9.3-pthread_not_in_libs.patch (xfsprogs-2.9.3-pthread_not_in_libs.patch,2.17 KB, patch)
2007-08-28 13:54 UTC, Sergey Dryabzhinsky
Details | Diff
xfsprogs-2.9.3.ebuild.diff (xfsprogs-2.9.3.ebuild.diff,277 bytes, patch)
2007-08-29 09:00 UTC, Sergey Dryabzhinsky
Details | Diff
xfsprogs-2.9.3.ebuild.diff (xfsprogs-2.9.3.ebuild.diff,1.01 KB, patch)
2007-08-29 15:26 UTC, Sergey Dryabzhinsky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Dryabzhinsky 2007-08-28 13:53:39 UTC
Released 23.07.2007
Find it at ftp://oss.sgi.com/projects/xfs/cmd_tars/
Bump?
Comment 1 Sergey Dryabzhinsky 2007-08-28 13:54:04 UTC
Created attachment 129481 [details]
xfsprogs-2.9.3.ebuild
Comment 2 Sergey Dryabzhinsky 2007-08-28 13:54:50 UTC
Created attachment 129482 [details, diff]
files/xfsprogs-2.9.3-pthread_not_in_libs.patch

Some makefiles fix...
Comment 3 SpanKY gentoo-dev 2007-08-29 00:01:53 UTC
i dont see where that patch comes from or why it's needed ... 2.9.3 builds/installs fine on my system without it
Comment 4 Sergey Dryabzhinsky 2007-08-29 08:20:33 UTC
You're luky. Just let someone else try it.
Maybe i need this because my system extremely unstable - latest glibc, binutils, gcc and other stuff...
Comment 5 Sergey Dryabzhinsky 2007-08-29 08:53:52 UTC
*lucky*

Without patch on my box compile breaks with:

gcc -o xfs_db -Wl,-O2 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-zcombreloc -Wl,--hash-style=both -Wl,-O2 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-zcombreloc -Wl,--hash-style=both -Wl,-O2 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-zcombreloc -Wl,--hash-style=both addr.o agf.o agfl.o agi.o attr.o attrshort.o bit.o block.o bmap.o bmapbt.o bmroot.o bnobt.o check.o cntbt.o command.o convert.o dbread.o debug.o dir.o dir2.o dir2sf.o dirshort.o dquot.o echo.o faddr.o field.o flist.o fprint.o frag.o freesp.o hash.o help.o init.o inobt.o inode.o input.o io.o malloc.o metadump.o output.o print.o quit.o sb.o sig.o strvec.o text.o type.o write.o attrset.o  ../libxfs/.libs/libxfs.a ../libxlog/.libs/libxlog.a -luuid -lrt -lreadline  
../libxfs/.libs/libxfs.a(cache.o): In function `cache_shake':
cache.c:(.text+0xa13): undefined reference to `pthread_mutex_trylock'
cache.c:(.text+0xa47): undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
gmake[1]: *** [xfs_db] Error 1
Comment 6 Sergey Dryabzhinsky 2007-08-29 08:57:26 UTC
# emerge --info
Portage 2.1.3.7 (default-linux/x86/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.21-gentoo-r3-THI i686)
=================================================================
System uname: 2.6.21-gentoo-r3-THI i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 29 Aug 2007 08:20:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.18
sys-devel/gcc-config: 1.4.0-r1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=athlon64 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://amara.org.ru/pub/Linux.Distro/Gentoo/ ftp://unix.miet.ru/pub/linux/gentoo/ ftp://ftp.corbina.net/pub/Linux/gentoo/ "
LC_ALL="C"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-zcombreloc -Wl,--hash-style=both"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/x86/athlon64"
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="/home/ftp/Distributions/Linux/gentoo/overlays/killy-overlay /home/ftp/Distributions/Linux/gentoo/overlays/einit /home/ftp/Distributions/Linux/gentoo/overlays/initng /home/ftp/Distributions/Linux/gentoo/overlays/nouveau"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib ace acpi aiglx alac alsa aotuv asm async bash-completion berkdb bitmap-fonts bittorrent branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cdrom clamav cli cmake compress cpio cracklib crypt css curl directfb divx djvu dlopen dnd dri dts dvd dvdnav dvdr dvdread dynamic dynamicplugin encode fastcgi fat fb2 fbcon fbdev fbsplash ffmpeg flac flake fltk fontconfig ftp fuse gd gdbm geoip gif gimp glibc-omitfp glsa glut gnutls gocr gpg2-experimental gpgme gpm gs gsl gzip hacking hash hddtemp hdri hfs hou html http icc iconv id3 image imagemagick imap imlib intl ipv6 irc isdnlog jabber jbig jfs jpeg jpeg2k kdeenablefinal kdehiddenvisibility kqemu lame largefile latex lcms libconfig libsamplerate libwww lm_sensors logrotate lzo lzw mac macmenu mad magic mailbox maildir matroska mbox md5sum memcache memlimit mesa mhash midi mime mimencode mjpeg mmx mmxext mng motif mozdevelop moznocompose moznoirc moznomail moznoroaming mp2 mp3 mp4 mpeg mpeg2 mpm-perfork mudflap musepack music ncurses nfs nls noamazon nocd noemerald noflagstrip nowin nptl nptlonly ntfs nvidia ogg openal opengl openmp openssl optimisememory p2p pcre pdf pdo png pnm portage posix qemu qt3support rar readline recode reflection reiser4 reiserfs rle rpm rss rtc rtsp samba screen sdl sdl-image sdl-sound session shntool shorten skins sndfile sou sounds sox spamassassin speedo speex spell spl srt sse sse2 ssl stats status subtitles subversion svg sylpheed sysfs syslog szip taglib theora threads tiff transparency trayicon truetype truetype-fonts tta type1-fonts ucs2 ucs4 unicode unzip usb utf8 uuencode vcd vdir vhosts videos vim-syntax vorbis wavpack win32codecs wma wmf x264 x86 xfs xft xine xml xml2 xorg xv xvid zlib" ALSA_CARDS="via82xx mpu401" 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="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nv fbdev vga nvidia vesa none"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Sergey Dryabzhinsky 2007-08-29 09:00:05 UTC
Created attachment 129519 [details, diff]
xfsprogs-2.9.3.ebuild.diff

Fix IUSE - missed readline flag
Comment 8 Davide Pesavento gentoo-dev 2007-08-29 11:03:31 UTC
It fails because of --as-needed in LDFLAGS I think...
Comment 9 SpanKY gentoo-dev 2007-08-29 11:39:35 UTC
i guess my luck comes from using sane LDFLAGS

i'll look into it
Comment 10 Sergey Dryabzhinsky 2007-08-29 12:07:40 UTC
Yes...
LDFLAGS="" emerge -1 xfsprogs
and all fine...

Lets strip them away.
Comment 11 Davide Pesavento gentoo-dev 2007-08-29 12:27:36 UTC
(In reply to comment #10)
> Yes...
> LDFLAGS="" emerge -1 xfsprogs
> and all fine...
> 
> Lets strip them away.
> 

Nope. A patch that fixes building with LDFLAGS="-Wl,--as-needed" would be much better.
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-08-29 13:04:58 UTC
Patch from comment #2 fixed the --as-needed issue on my machine...
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-08-29 13:35:45 UTC
*** Bug 190640 has been marked as a duplicate of this bug. ***
Comment 14 Sergey Dryabzhinsky 2007-08-29 14:20:27 UTC
That patch not the best way I think, but it works for now.
They (sgi) uses only autoconf part of autotools, so makefiles dont rebuilded after ./configure...
Comment 15 Sergey Dryabzhinsky 2007-08-29 15:26:07 UTC
Created attachment 129540 [details, diff]
xfsprogs-2.9.3.ebuild.diff

Last changes:
IUSE += readline
Two old patches are needed
Comment 16 Sergey Dryabzhinsky 2007-08-29 15:28:29 UTC
Maybe xfsprogs-2.9.3-pthread_not_in_libs.patch rename to xfsprogs-2.9.3-as-needed.patch?

And someone already put ebuild for xfsprogs-2.9.3 in tree... Strange...
Comment 17 SpanKY gentoo-dev 2007-09-01 04:17:16 UTC
shouldnt cause any averse issues, so added the patch for now pending resolution from upstream