Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wireless-tools libiw.so.29
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jHavens
n00b
n00b


Joined: 12 Sep 2009
Posts: 6

PostPosted: Sat Sep 12, 2009 3:36 am    Post subject: wireless-tools libiw.so.29 Reply with quote

on emerging i get:

make -j1
cp wireless.21.h wireless.h
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -MMD -fPIC -c -o iwlib.so iwlib.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -shared -o libiw.so.29 oname,libiw.so.29 iwlib.so -lm -lc
x86_64-pc-linux-gnu-gcc: oname,libiw.so.29: No such file or directory
make: *** [libiw.so.29] Error 1


/lib64/libiw.so.29 does exist on my machine
wireless-tools contains libiw right?, so why would it depend on it?

I've tried a revdep-rebuild, dont know what else to try

make.conf minus USE flags

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.

MAKEOPTS="-j1"

SYNC="rsync://rsync.gentoo.org/gentoo-portage"

GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo"

#Xorg shit
INPUT_DEVICES="evdev"
VIDEO_CARDS="nvidia"

So what could this be?
Back to top
View user's profile Send private message
blinker
n00b
n00b


Joined: 21 Aug 2009
Posts: 13

PostPosted: Sat Sep 12, 2009 7:28 am    Post subject: Reply with quote

I can not emerge wireless-tools either

I can't find libiw.so anywhere on my system.
I am trying to do a fresh install for kde 4.3

emerge -v wireless-tools
gives
Code:

>>> Emerging (1 of 1) net-wireless/wireless-tools-29
openpty failed: 'out of pty devices'
 * wireless_tools.29.tar.gz RMD160 SHA1 SHA256 size ;-) ...              [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking wireless_tools.29.tar.gz to /var/tmp/portage/net-wireless/wireless-tools-29/work
 * Applying wireless-tools-29-asneeded.patch ...                                                                                                      [ ok ]
>>> Source unpacked in /var/tmp/portage/net-wireless/wireless-tools-29/work
>>> Compiling source in /var/tmp/portage/net-wireless/wireless-tools-29/work/wireless_tools.29 ...
make -j3
cp wireless.21.h wireless.h
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -MMD     -fPIC -c -o iwlib.so iwlib.c
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -MMD     -c iwconfig.c
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -MMD     -c iwlist.c
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -MMD     -c iwpriv.c
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -MMD     -c iwspy.c
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -MMD     -c iwgetid.c
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -MMD     -c iwevent.c
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -MMD     -c ifrename.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -shared -o libiw.so.29 oname,libiw.so.29  iwlib.so -lm -lc
x86_64-pc-linux-gnu-gcc: oname,libiw.so.29: No such file or directory
make: *** [libiw.so.29] Error 1
make: *** Waiting for unfinished jobs....
 *
 * ERROR: net-wireless/wireless-tools-29 failed.


Here is my emerge --info
Code:

 
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 12 Sep 2009 07:00:20 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm aspell autoipd avahi berkdb branding bzip2 cairo cddb cdr cli consolekit cracklib crypt cups dbase dbus device-mapper dri dts dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac fortran ftp gdbm gif gimp gmplayer gnome gnustep gpm gstreamer gtk hal iconv ieee1394 ipv6 ipw4965 isdnlog java javascript jpeg kde lame ldap libnotify lirc lm_sensors mad mdnsresponder-compat mikmod mime mmx mp3 mp4 mpeg mplayer msn mudflap multilib mysql nautilus ncurses networkmanager nls nptl nptlonly objc ogg opengl openmp pam pcre pdf perl php png ppds pppd pulseaudio python qt3support qt4 quicktime raw rdesktop readline reflection ruby samba sdl session snmp soap sockets spell spl sql sse sse2 ssl startup-notification subversion svg synaptics sysfs tcpd thunar tiff truetype unicode usb v4l v4l2 vnc vorbis webkit wifi x264 xine xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
Master Shake
l33t
l33t


Joined: 10 Apr 2005
Posts: 755
Location: Wilmington, Delaware

PostPosted: Sat Sep 12, 2009 4:21 pm    Post subject: Reply with quote

Same issue here. Going to try to dig deeper.

EDIT: Did some research on the internet and found nothing. I'm assuming its a problem with the stage that us three downloaded and therefore am trying an emerge -e system to see if that corrects it. If not I'm out of ideas (admittedly I had no clue where to start).
_________________
System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz
Back to top
View user's profile Send private message
tourist76
n00b
n00b


Joined: 19 Oct 2005
Posts: 36
Location: Chicago, USA

PostPosted: Sat Sep 12, 2009 5:09 pm    Post subject: net-wireless/wireless-tools-29 Reply with quote

I just got this while emerging -e world...
Back to top
View user's profile Send private message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 172

PostPosted: Sat Sep 12, 2009 5:54 pm    Post subject: Reply with quote

The same issue on my 2 machines running gentoo amd64.

"emerge -e system" or "emerge -e world" don't help.

P.S.: I found description of the same stuff on russian gentoo forum. probably it's global, but many people just don't emerge wireless-tools every day.

P.P.S.: Link to bug: https://bugs.gentoo.org/show_bug.cgi?id=284682 (thanks to the man who submitted that bug)
Back to top
View user's profile Send private message
Growlizing
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2005
Posts: 94

PostPosted: Sat Sep 12, 2009 6:52 pm    Post subject: Reply with quote

My file read:
Code:

$(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc

changed to:
$(CC) $(LDFLAGS) -shared -o $@ -soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc


And it installed. Still gave an error though, but can't remember what it was.
It installs at least, and the file /lib/libiw.so exists after.
_________________
Is this where I write something clever?
Back to top
View user's profile Send private message
jHavens
n00b
n00b


Joined: 12 Sep 2009
Posts: 6

PostPosted: Sat Sep 12, 2009 8:37 pm    Post subject: Reply with quote

I got this while emerge -e world, the library does exist which is the strangest problem, it may be a type-o in the code so we'll see if it gets fixed on a sync.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Sep 12, 2009 8:58 pm    Post subject: Reply with quote

In fact, maybe there a typo inside the ebuild or during the compilation process.

Maybe someone should at least open a bugzilla about that.
Back to top
View user's profile Send private message
jHavens
n00b
n00b


Joined: 12 Sep 2009
Posts: 6

PostPosted: Sun Sep 13, 2009 12:07 am    Post subject: Reply with quote

ok here's how to fix it

open the ebuild located at /usr/portage/net-wireless/wireless-tools/wireless-tools-29.ebuild

at line 36:
Code:
      -e '/\$(CC)/s:-Wl,-s::' \

change it to:
Code:
      -e '/\$(CC)/s:-Wl,-s\ ::' \

now everything in the manifest is messed up so open /usr/portage/net-wireless/wireless-tools/manifest and find:
Code:
EBUILD wireless-tools-29.ebuild 2108 RMD160 ed0afa2512a37aaa6cb6420ff62231dd5b1c0c68 SHA1 722f5878e8ff2b0cc6f4ad688ff54e436155f5f9 SHA256 b620b797854a139f718b06572c8d43efc1c2621859ae1c0603a3e593f89872d2

change it to:
Code:
EBUILD wireless-tools-29.ebuild 2110 RMD160 363bc325274365973f271603ddaa87917f308e6b SHA1 fbccb4228c839b7eb1c495d4e680af7628b203bb SHA256 d07acc857a01806836f9a09a8ae81ccb3bff2fbdb6d9058b94b93264a4a9edf3


rerun the emerge, if you were in the middle of an emerge -e world or and update or something run emerge --resume
Back to top
View user's profile Send private message
jHavens
n00b
n00b


Joined: 12 Sep 2009
Posts: 6

PostPosted: Sun Sep 13, 2009 12:25 am    Post subject: Reply with quote

Growlizing wrote:
My file read:
Code:

$(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc

changed to:
$(CC) $(LDFLAGS) -shared -o $@ -soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc


And it installed. Still gave an error though, but can't remember what it was.
It installs at least, and the file /lib/libiw.so exists after.


You probably got an error since the type-o in the ebuild actually affected 2 lines in the makefile, when you fixed that line the other one was still messed up. I cant remember which lines they were exactly, but when you manually patch it as i outlined above both are fixed.
Back to top
View user's profile Send private message
kevin22
n00b
n00b


Joined: 06 Sep 2009
Posts: 37

PostPosted: Sun Sep 13, 2009 12:30 am    Post subject: Reply with quote

Growlizing wrote:
$(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc

changed to:
$(CC) $(LDFLAGS) -shared -o $@ -soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc


I have the same problem.
In which file should I replace this?
Back to top
View user's profile Send private message
jHavens
n00b
n00b


Joined: 12 Sep 2009
Posts: 6

PostPosted: Sun Sep 13, 2009 12:34 am    Post subject: Reply with quote

kevin22 wrote:
Growlizing wrote:
$(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc

changed to:
$(CC) $(LDFLAGS) -shared -o $@ -soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc


I have the same problem.
In which file should I replace this?


dont do that, that is the effect of the real problem, follow my outline 3 posts up, that manually patches it, the .patch files are downloadable at bugzilla, theres a patch in the ebuild that was typed wrong that caused some funny problems when patching the makefile. all is well when you edit the .ebuild and manifest files as shown above
Back to top
View user's profile Send private message
Master Shake
l33t
l33t


Joined: 10 Apr 2005
Posts: 755
Location: Wilmington, Delaware

PostPosted: Sun Sep 13, 2009 2:50 am    Post subject: Reply with quote

jHavens wrote:
ok here's how to fix it

open the ebuild located at /usr/portage/net-wireless/wireless-tools/wireless-tools-29.ebuild

at line 36:
Code:
      -e '/\$(CC)/s:-Wl,-s::' \

change it to:
Code:
      -e '/\$(CC)/s:-Wl,-s\ ::' \

now everything in the manifest is messed up so open /usr/portage/net-wireless/wireless-tools/manifest and find:
Code:
EBUILD wireless-tools-29.ebuild 2108 RMD160 ed0afa2512a37aaa6cb6420ff62231dd5b1c0c68 SHA1 722f5878e8ff2b0cc6f4ad688ff54e436155f5f9 SHA256 b620b797854a139f718b06572c8d43efc1c2621859ae1c0603a3e593f89872d2

change it to:
Code:
EBUILD wireless-tools-29.ebuild 2110 RMD160 363bc325274365973f271603ddaa87917f308e6b SHA1 fbccb4228c839b7eb1c495d4e680af7628b203bb SHA256 d07acc857a01806836f9a09a8ae81ccb3bff2fbdb6d9058b94b93264a4a9edf3


rerun the emerge, if you were in the middle of an emerge -e world or and update or something run emerge --resume


This fixed my problem. Althought after changing line 36 I did
Code:
ebuild /usr/portage/net-wireless/wireless-tools/wireless-tools-29.ebuild digest
to fix the manifest problem. Good work!
_________________
System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Sep 13, 2009 3:47 am    Post subject: Reply with quote

Someone need to open a bugzilla with that patch too :P
Back to top
View user's profile Send private message
dbbolton
n00b
n00b


Joined: 22 Apr 2009
Posts: 44
Location: WV

PostPosted: Sun Sep 13, 2009 5:39 am    Post subject: Reply with quote

I was just having trouble with this ebuild, but after syncing emerge it installed with no problems.
_________________
vade mecum
Back to top
View user's profile Send private message
jHavens
n00b
n00b


Joined: 12 Sep 2009
Posts: 6

PostPosted: Sun Sep 13, 2009 7:14 am    Post subject: Reply with quote

dbbolton wrote:
I was just having trouble with this ebuild, but after syncing emerge it installed with no problems.


Good, I was hoping that would happen
Back to top
View user's profile Send private message
Growlizing
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2005
Posts: 94

PostPosted: Sun Sep 13, 2009 6:03 pm    Post subject: Reply with quote

Yeah, do what jHavens says. : )
_________________
Is this where I write something clever?
Back to top
View user's profile Send private message
blinker
n00b
n00b


Joined: 21 Aug 2009
Posts: 13

PostPosted: Sun Sep 13, 2009 6:32 pm    Post subject: Reply with quote

just doing
Code:
emerge --sync && emerge -v wireless-tools

did it for me today

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum