Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems emerging sysfsutils
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
prophecy
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2003
Posts: 97

PostPosted: Tue Jan 18, 2005 5:07 pm    Post subject: Problems emerging sysfsutils Reply with quote

Hey everybody...

So, I am trying to get a few new machines running with Gentoo. Instead of going the regular route, I was trying the NPTL developer install from the fourums. Specifically it was titled "The Developers Method - Stage1 and NPTL". Anyway, all was going ok and then bam. Failure of the sysfsutils. I know this is really needed for the udev support that the install prefers, but I would like to get this to work. I have done some searching to find out if this is a common error and have found none. All I have have done is basically a bootstrap, emerge system, emerge libperl a few times, and opened a can of Mountain Dew. The system is compiling off of gcc 3.4.3 right now but I would not think that would be an issue since this document was created for stage1 unstable.

Code:

make[1]: Entering directory `/var/tmp/portage/sysfsutils-1.2.0/work/sysfsutils-1.2.0'
Making all in lib
make[2]: Entering directory `/var/tmp/portage/sysfsutils-1.2.0/work/sysfsutils-1.2.0/lib'
source='sysfs_utils.c' object='libsysfs_la-sysfs_utils.lo' libtool=yes \
depfile='.deps/libsysfs_la-sysfs_utils.Plo' tmpdepfile='.deps/libsysfs_la-sysfs_utils.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   -Wall -W -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -O2 -mcpu=i586 -fomit-frame-pointer  -c -o libsysfs_la-sysfs_utils.lo `test -f 'sysfs_utils.c' || echo './'`sysfs_utils.c
source='sysfs_dir.c' object='libsysfs_la-sysfs_dir.lo' libtool=yes \
depfile='.deps/libsysfs_la-sysfs_dir.Plo' tmpdepfile='.deps/libsysfs_la-sysfs_dir.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   -Wall -W -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -O2 -mcpu=i586 -fomit-frame-pointer  -c -o libsysfs_la-sysfs_dir.lo `test -f 'sysfs_dir.c' || echo './'`sysfs_dir.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -W -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -O2 -mcpu=i586 -fomit-frame-pointer -c sysfs_utils.c -MT libsysfs_la-sysfs_utils.lo -MD -MP -MF .deps/libsysfs_la-sysfs_utils.TPlo  -fPIC -DPIC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
rm -f .libs/libsysfs_la-sysfs_dir.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -W -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -O2 -mcpu=i586 -fomit-frame-pointer -c sysfs_dir.c -MT libsysfs_la-sysfs_dir.lo -MD -MP -MF .deps/libsysfs_la-sysfs_dir.TPlo  -fPIC -DPIC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
mv -f libsysfs_la-sysfs_utils.o .libs/libsysfs_la-sysfs_utils.lo
mv: cannot stat `libsysfs_la-sysfs_utils.o': No such file or directory
make[2]: *** [libsysfs_la-sysfs_utils.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f libsysfs_la-sysfs_dir.o .libs/libsysfs_la-sysfs_dir.lo
mv: cannot stat `libsysfs_la-sysfs_dir.o': No such file or directory
make[2]: *** [libsysfs_la-sysfs_dir.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/sysfsutils-1.2.0/work/sysfsutils-1.2.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sysfsutils-1.2.0/work/sysfsutils-1.2.0'
make: *** [all] Error 2

!!! ERROR: sys-fs/sysfsutils-1.2.0 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



My make.conf file is here:

Code:

USE="aac acl acpi activefilter aim ansi \
     aper artworkextra audiofile authdaemond bash-completion \
     bcmath bdf bidi blender-game bzip2 bzlib cap cddb cdinstall \
     cdparanoia cdrom cgi chroot cjk clanJavaScript clanVoice client \
     codecs cpdflib css ctype curl curlwrappers dba dhcp dio \
     divx4linux djbfft dnd droproot dts dv dvdr dvdread edl eds \
     eep emacs emacs-w3 erandom evo exif ext-png ext-zlib extensions \
     fastcgi fbcon ffmpeg fluidsynth fmod foreign-package foreign-sysvinit \
     fpx freetype freewnn ftp gb gcl gd geoip gimp gimpprint ginac \
     glade glgd glitz glut gmp gmtfull gnokii gnomedb gnuplot graphviz gs \
     gsl gtkhtml hal hardenedphp hbci hdf iconv icq ide idl ieee1394 image \
     imap imlib2 innodb ipv6 irda irmc j2ee jabber javacomm javadoc \
     javamail javascript jbig jboss jce jms jmx joystick jp2 jpeg2k jta \
     jython kadu-modules kadu-voice kakasi kerberos krb4 latex lcms leim \
     libclamav libdsk libgd libgda libsamplerate live lua lufsusermount \
     lzo lzw lzw-tiff m17n-lib maildir matroska mbox mcal mdb memlimit \
     migemo mime mixer mjpeg mls mmap mng monkey mozcalendar \
     mozdevelop mozp3p mozsvg mozxmlterm mp3 mpeg4 mpi mplayer msn mssql \
     mule music mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh native \
     net netcdf network neural nis nowin nptl ntlm nviz \
     oav objc ocaml offensive ofx openal opie oracle oscar ospfapi \
     parse-clocks pcap pcntl pcre pda pdf pg-hier pg-intdatetime \
     pg-vacuumdelay php physfs pic plotutils portaudio posix postgresql \
     povray ppds pri print procmail pthreads quotas quotes real \
     resperl rhino rogue rplay S3TC sasl servlet-2.3 servlet-2.4 session \
     sftplogging shared sharedmem silc simplexml skk slp smime sndfile \
     snortsam sockets socks5 softquota sox spl stencil-buffer stroke \
     struts svg sysvipc szip t1lib tcsim tga theora tidy transcode \
     truetype-fonts type1-fonts uim underscores unicode usb v4l v4l2 vcd \
     vda videos virus-scan wddx winbind wmf wxwindows X509 xanim xatrix \
     xchatdccserver xchattext xemacs xface xgetdefault xine xmlrpc xosd \
     xpm xprint xrandr xscreensaver xsl xvid xvmc yahoo yaz yp yv12 zaptel \
     zeo zvbi sse2 mmx mtrr"

CFLAGS="-O2 -mcpu=i586 -fomit-frame-pointer "
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

ACCEPT_KEYWORDS="~x86"

#GENTOO_MIRRORS="ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://chod.cwru.edu/gentoo http://gentoo.seren.com/gentoo"


I know that there are some issues with the mcpu option since that is depriciated, but I figure it is ok for now. Anyway, any help would be sooo greatfull.

Justace
Back to top
View user's profile Send private message
prophecy
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2003
Posts: 97

PostPosted: Wed Jan 19, 2005 3:03 pm    Post subject: Reply with quote

Bump...

Really need to get this figured out.

What information do people need in order to give help here.

Justace
Back to top
View user's profile Send private message
lodder_
Apprentice
Apprentice


Joined: 06 Nov 2004
Posts: 162
Location: Knokke-Heist, Belgium

PostPosted: Wed Jan 19, 2005 3:19 pm    Post subject: Reply with quote

Maby you can try to adjust your cflags from:

Code:
CFLAGS="-O2 -mcpu=i586 -fomit-frame-pointer"


to

Code:
CFLAGS="-O2 -march=i586 -fomit-frame-pointer"

_________________
delodder.be
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3514
Location: Alsace (France)

PostPosted: Wed Jan 19, 2005 3:28 pm    Post subject: Reply with quote

GCC 3.4 uses mtune instead of mcpu that's why you've got this error.
If you do not need any compliance, march is "better" for performances but can be filtered so use both -march=your-CPU -mtune=your_CPU.

You should read a bit more about CFLAGS, there is much doc on this forum, cause using this way to install with such relaxed CFLAGS seems not as worth as it should be to me (exepting for what you learn performing this install)

Morover I suggest you to have a look to the topic stage1 NTPL over a stage3 tarball... same results (if not better see the topic) and faster way.


Last edited by Enlight on Wed Jan 19, 2005 3:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sven Vermeulen
Developer
Developer


Joined: 29 Aug 2002
Posts: 1342
Location: Mechelen, Belgium

PostPosted: Wed Jan 19, 2005 3:32 pm    Post subject: Reply with quote

See also bug #73991 which also states that it's due to the CFLAGS.
Back to top
View user's profile Send private message
Sanderfox
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2004
Posts: 101

PostPosted: Sun Sep 25, 2005 12:45 pm    Post subject: Reply with quote

The solution to that bug didn't work for me. Any more suggestions ?
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2915
Location: Singapore

PostPosted: Sun Sep 25, 2005 1:18 pm    Post subject: Reply with quote

Sanderfox wrote:
The solution to that bug didn't work for me. Any more suggestions ?

Post your emerge --info output and the error message. Enclose both of these with the [code] ... [/code] BBCode tags, to make it easier to read.
_________________
Murphy's Law of Gentoo installation: If a compile can fail, it will.

MacGillicuddy's Corollary: At the most inopportune time.

Please search and read the FAQs before posting.
Back to top
View user's profile Send private message
webmaxx
n00b
n00b


Joined: 30 Apr 2005
Posts: 33
Location: Germany

PostPosted: Mon Oct 24, 2005 2:35 pm    Post subject: Reply with quote

You should try it with NO CFLAGS! This works for me! (I'm using gcc 3.4.4)

Just set CFLAGS="" in your make.conf.
Back to top
View user's profile Send private message
dkaplowitz
Guru
Guru


Joined: 22 Nov 2003
Posts: 596
Location: Philadelphia, PA

PostPosted: Thu Nov 10, 2005 2:10 pm    Post subject: Reply with quote

webmaxx wrote:
You should try it with NO CFLAGS! This works for me! (I'm using gcc 3.4.4)

Just set CFLAGS="" in your make.conf.

Thanks, that worked for me.

Dave
_________________
http://dkap.info
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1303
Location: Italy: Trento || Mondo

PostPosted: Sat Nov 12, 2005 3:03 pm    Post subject: Reply with quote

it worked for me too :wink:
_________________
Drink more beer, save water
P u n X the system
and support http://freenetproject.org!
Back to top
View user's profile Send private message
yuj
n00b
n00b


Joined: 30 Aug 2005
Posts: 39

PostPosted: Fri Dec 30, 2005 11:37 pm    Post subject: sys-fs/sysfsutls-1.3.0-r1 Reply with quote

hey guys would it be safe to continue and finished installlation of gentoo 2005.1r1 without sysfsutils erroring out on me.
Back to top
View user's profile Send private message
yuj
n00b
n00b


Joined: 30 Aug 2005
Posts: 39

PostPosted: Fri Dec 30, 2005 11:50 pm    Post subject: sys-fs/sysfsutls-1.3.0-r1 Reply with quote

can i continue with the installation of gentoo without sys-fs/sysfsutils1.3.0-r1 as it is erroring out on me.
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Fri Dec 30, 2005 11:58 pm    Post subject: Reply with quote

AFAIK you shouldn't have problems. But which error do you get, and which installation method are you using?
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4727
Location: Angra do Heroísmo (PT)

PostPosted: Sat Dec 31, 2005 1:48 am    Post subject: Reply with quote

Hi.

Are you sure that this isn't a question to the Portage & Programming forum? If you get an error related to the package ebuild, then that would be the correct forum.
Nonetheless, what error do you get? Please post the exact error and the last 10 to 15 lines before the error.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Dec 31, 2005 4:59 pm    Post subject: Reply with quote

Merged above three posts here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
jimonade
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2004
Posts: 92
Location: USA, West Lafayette, IN

PostPosted: Tue Jan 24, 2006 1:17 am    Post subject: Reply with quote

on my desktop (athlon-xp), adding -mtune=athlon-xp to my CFLAGS solved this problem for me

on my laptop (pentium-m), i had to set my CFLAGS="-march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer" to fix it. (with either -03 or -02 the emerge fails.)
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Tue Jan 24, 2006 7:17 am    Post subject: Reply with quote

jimonade wrote:
on my laptop (pentium-m), i had to set my CFLAGS="-march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer" to fix it. (with either -03 or -02 the emerge fails.)

Side argument, but note that pentium M is not a pentium 4? If you have gcc-3.4 or 4 you should use pentium-m for -march, otherwise pentium3.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
jimonade
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2004
Posts: 92
Location: USA, West Lafayette, IN

PostPosted: Tue Jan 24, 2006 12:16 pm    Post subject: Reply with quote

yes. i realized this after i posted. lappie is doing an emerge -e right now. thanks!
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Jan 24, 2006 5:45 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Portage & Programming.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
gordonp
n00b
n00b


Joined: 23 May 2005
Posts: 53

PostPosted: Tue Jan 24, 2006 7:50 pm    Post subject: Reply with quote

Summary:
Adding -mtune= to my CFLAGS worked for me too! I now have sysfsutils properly emerge'd on several systems (see my original post, now moved/closed, here.

(for those who follow the link, note that my initial suspicions of old/new, or KDE/non-KDE were wrong. The difference on the successful machine was the inclusion of the CFLAG -march= while the other two had -mcpu=)

-GordP
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