Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 190523
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sergey Dryabzhinsky <sergey.dryabzhinsky@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xfsprogs-2.9.3.ebuild xfsprogs-2.9.3.ebuild text/plain Sergey Dryabzhinsky 2007-08-28 13:54 0000 1.91 KB Details
xfsprogs-2.9.3-pthread_not_in_libs.patch files/xfsprogs-2.9.3-pthread_not_in_libs.patch patch Sergey Dryabzhinsky 2007-08-28 13:54 0000 2.17 KB Details | Diff
xfsprogs-2.9.3.ebuild.diff xfsprogs-2.9.3.ebuild.diff patch Sergey Dryabzhinsky 2007-08-29 09:00 0000 277 bytes Details | Diff
xfsprogs-2.9.3.ebuild.diff xfsprogs-2.9.3.ebuild.diff patch Sergey Dryabzhinsky 2007-08-29 15:26 0000 1.01 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 190523 depends on: Show dependency tree
Bug 190523 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-28 13:53 0000
Released 23.07.2007
Find it at ftp://oss.sgi.com/projects/xfs/cmd_tars/
Bump?

------- Comment #1 From Sergey Dryabzhinsky 2007-08-28 13:54:04 0000 -------
Created an attachment (id=129481) [details]
xfsprogs-2.9.3.ebuild

------- Comment #2 From Sergey Dryabzhinsky 2007-08-28 13:54:50 0000 -------
Created an attachment (id=129482) [details]
files/xfsprogs-2.9.3-pthread_not_in_libs.patch

Some makefiles fix...

------- Comment #3 From SpanKY 2007-08-29 00:01:53 0000 -------
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 From Sergey Dryabzhinsky 2007-08-29 08:20:33 0000 -------
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 From Sergey Dryabzhinsky 2007-08-29 08:53:52 0000 -------
*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 From Sergey Dryabzhinsky 2007-08-29 08:57:26 0000 -------
# 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 From Sergey Dryabzhinsky 2007-08-29 09:00:05 0000 -------
Created an attachment (id=129519) [details]
xfsprogs-2.9.3.ebuild.diff

Fix IUSE - missed readline flag

------- Comment #8 From Davide Pesavento 2007-08-29 11:03:31 0000 -------
It fails because of --as-needed in LDFLAGS I think...

------- Comment #9 From SpanKY 2007-08-29 11:39:35 0000 -------
i guess my luck comes from using sane LDFLAGS

i'll look into it

------- Comment #10 From Sergey Dryabzhinsky 2007-08-29 12:07:40 0000 -------
Yes...
LDFLAGS="" emerge -1 xfsprogs
and all fine...

Lets strip them away.

------- Comment #11 From Davide Pesavento 2007-08-29 12:27:36 0000 -------
(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 From Lars Wendler (Polynomial-C) 2007-08-29 13:04:58 0000 -------
Patch from comment #2 fixed the --as-needed issue on my machine...

------- Comment #13 From Jakub Moc (RETIRED) 2007-08-29 13:35:45 0000 -------
*** Bug 190640 has been marked as a duplicate of this bug. ***

------- Comment #14 From Sergey Dryabzhinsky 2007-08-29 14:20:27 0000 -------
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 From Sergey Dryabzhinsky 2007-08-29 15:26:07 0000 -------
Created an attachment (id=129540) [details]
xfsprogs-2.9.3.ebuild.diff

Last changes:
IUSE += readline
Two old patches are needed

------- Comment #16 From Sergey Dryabzhinsky 2007-08-29 15:28:29 0000 -------
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 From SpanKY 2007-09-01 04:17:16 0000 -------
shouldnt cause any averse issues, so added the patch for now pending resolution
from upstream

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug