Released 23.07.2007 Find it at ftp://oss.sgi.com/projects/xfs/cmd_tars/ Bump?
Created attachment 129481 [details] xfsprogs-2.9.3.ebuild
Created attachment 129482 [details, diff] files/xfsprogs-2.9.3-pthread_not_in_libs.patch Some makefiles fix...
i dont see where that patch comes from or why it's needed ... 2.9.3 builds/installs fine on my system without it
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...
*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
# 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
Created attachment 129519 [details, diff] xfsprogs-2.9.3.ebuild.diff Fix IUSE - missed readline flag
It fails because of --as-needed in LDFLAGS I think...
i guess my luck comes from using sane LDFLAGS i'll look into it
Yes... LDFLAGS="" emerge -1 xfsprogs and all fine... Lets strip them away.
(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.
Patch from comment #2 fixed the --as-needed issue on my machine...
*** Bug 190640 has been marked as a duplicate of this bug. ***
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...
Created attachment 129540 [details, diff] xfsprogs-2.9.3.ebuild.diff Last changes: IUSE += readline Two old patches are needed
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...
shouldnt cause any averse issues, so added the patch for now pending resolution from upstream