Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Problems emerging sysfsutils

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
20 posts • Page 1 of 1
Author
Message
prophecy
Tux's lil' helper
Tux's lil' helper
Posts: 97
Joined: Mon Nov 17, 2003 10:34 pm

Problems emerging sysfsutils

  • Quote

Post by prophecy » Tue Jan 18, 2005 5:07 pm

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: Select all

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: Select all

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
Top
prophecy
Tux's lil' helper
Tux's lil' helper
Posts: 97
Joined: Mon Nov 17, 2003 10:34 pm

  • Quote

Post by prophecy » Wed Jan 19, 2005 3:03 pm

Bump...

Really need to get this figured out.

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

Justace
Top
lodder_
Apprentice
Apprentice
User avatar
Posts: 162
Joined: Sat Nov 06, 2004 12:43 pm
Location: Knokke-Heist, Belgium
Contact:
Contact lodder_
Website

  • Quote

Post by lodder_ » Wed Jan 19, 2005 3:19 pm

Maby you can try to adjust your cflags from:

Code: Select all

CFLAGS="-O2 -mcpu=i586 -fomit-frame-pointer"
to

Code: Select all

CFLAGS="-O2 -march=i586 -fomit-frame-pointer"
delodder.be
Top
Enlight
Advocate
Advocate
User avatar
Posts: 3519
Joined: Thu Oct 28, 2004 9:42 am
Location: Alsace (France)

  • Quote

Post by Enlight » Wed Jan 19, 2005 3:28 pm

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.
Top
Sven Vermeulen
Retired Dev
Retired Dev
User avatar
Posts: 1345
Joined: Thu Aug 29, 2002 8:10 am
Location: Mechelen, Belgium
Contact:
Contact Sven Vermeulen
Website

  • Quote

Post by Sven Vermeulen » Wed Jan 19, 2005 3:32 pm

See also bug #73991 which also states that it's due to the CFLAGS.
Top
Sanderfox
Tux's lil' helper
Tux's lil' helper
Posts: 101
Joined: Thu Apr 08, 2004 1:27 pm

  • Quote

Post by Sanderfox » Sun Sep 25, 2005 12:45 pm

The solution to that bug didn't work for me. Any more suggestions ?
Top
kimchi_sg
Advocate
Advocate
Posts: 3039
Joined: Fri Nov 26, 2004 11:11 am

  • Quote

Post by kimchi_sg » Sun Sep 25, 2005 1:18 pm

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.
Top
webmaxx
n00b
n00b
Posts: 33
Joined: Sat Apr 30, 2005 8:24 pm
Location: Germany
Contact:
Contact webmaxx
Website

  • Quote

Post by webmaxx » Mon Oct 24, 2005 2:35 pm

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.
Top
dkaplowitz
Guru
Guru
User avatar
Posts: 596
Joined: Sat Nov 22, 2003 2:16 pm
Location: Philadelphia, PA
Contact:
Contact dkaplowitz
Website

  • Quote

Post by dkaplowitz » Thu Nov 10, 2005 2:10 pm

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
Top
oRDeX
Veteran
Veteran
User avatar
Posts: 1325
Joined: Sun Oct 19, 2003 12:08 pm
Location: Italy
Contact:
Contact oRDeX
Website

  • Quote

Post by oRDeX » Sat Nov 12, 2005 3:03 pm

it worked for me too :wink:
Top
yuj
n00b
n00b
Posts: 39
Joined: Tue Aug 30, 2005 6:22 pm

sys-fs/sysfsutls-1.3.0-r1

  • Quote

Post by yuj » Fri Dec 30, 2005 11:37 pm

hey guys would it be safe to continue and finished installlation of gentoo 2005.1r1 without sysfsutils erroring out on me.
Top
yuj
n00b
n00b
Posts: 39
Joined: Tue Aug 30, 2005 6:22 pm

sys-fs/sysfsutls-1.3.0-r1

  • Quote

Post by yuj » Fri Dec 30, 2005 11:50 pm

can i continue with the installation of gentoo without sys-fs/sysfsutils1.3.0-r1 as it is erroring out on me.
Top
dgaffuri
Advocate
Advocate
Posts: 2078
Joined: Sun Jun 05, 2005 12:44 am
Location: Italy

  • Quote

Post by dgaffuri » Fri Dec 30, 2005 11:58 pm

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
Top
jmbsvicetto
Bodhisattva
Bodhisattva
User avatar
Posts: 4735
Joined: Wed Apr 27, 2005 4:33 pm
Location: Angra do Heroísmo (PT)

  • Quote

Post by jmbsvicetto » Sat Dec 31, 2005 1:48 am

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
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Sat Dec 31, 2005 4:59 pm

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
Top
jimonade
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 92
Joined: Wed Apr 21, 2004 11:18 pm
Location: USA, West Lafayette, IN
Contact:
Contact jimonade
Website

  • Quote

Post by jimonade » Tue Jan 24, 2006 1:17 am

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.)
Top
dgaffuri
Advocate
Advocate
Posts: 2078
Joined: Sun Jun 05, 2005 12:44 am
Location: Italy

  • Quote

Post by dgaffuri » Tue Jan 24, 2006 7:17 am

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
Top
jimonade
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 92
Joined: Wed Apr 21, 2004 11:18 pm
Location: USA, West Lafayette, IN
Contact:
Contact jimonade
Website

  • Quote

Post by jimonade » Tue Jan 24, 2006 12:16 pm

yes. i realized this after i posted. lappie is doing an emerge -e right now. thanks!
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

  • Quote

Post by Maedhros » Tue Jan 24, 2006 5:45 pm

Moved from Installing Gentoo to Portage & Programming.
No-one's more important than the earthworm.
Top
gordonp
Tux's lil' helper
Tux's lil' helper
Posts: 102
Joined: Mon May 23, 2005 3:08 pm

  • Quote

Post by gordonp » Tue Jan 24, 2006 7:50 pm

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
Top
Post Reply

20 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic