Forums

Skip to content

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

configure error expected absolute directory name for datadir

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
70 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
roarkh
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Sat May 24, 2003 7:08 pm
Location: Bellingham, Washington

configure error expected absolute directory name for datadir

  • Quote

Post by roarkh » Sun Feb 19, 2006 3:41 am

I just did an emerge -u system and all went fine but now I can't seem to emerge anything else.

Here is some example output of what I am getting...

Code: Select all

ender roarkh # emerge -u gtk+
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-libs/gtk+-2.8.12 to /
>>> checksums files   ;-) gtk+-2.8.8.ebuild
>>> checksums files   ;-) gtk+-1.2.10-r10.ebuild
>>> checksums files   ;-) gtk+-1.2.10-r11.ebuild
>>> checksums files   ;-) gtk+-2.8.12.ebuild
>>> checksums files   ;-) gtk+-2.6.10-r1.ebuild
>>> checksums files   ;-) gtk+-2.8.11.ebuild
>>> checksums files   ;-) files/gtk+-1.2-locale_fix.patch
>>> checksums files   ;-) files/digest-gtk+-1.2.10-r10
>>> checksums files   ;-) files/digest-gtk+-1.2.10-r11
>>> checksums files   ;-) files/gtk+-2.4.9-ppc64.patch
>>> checksums files   ;-) files/gtk+-2.8.10-xinerama.patch
>>> checksums files   ;-) files/digest-gtk+-2.8.12
>>> checksums files   ;-) files/digest-gtk+-2.8.8
>>> checksums files   ;-) files/gtkrc
>>> checksums files   ;-) files/digest-gtk+-2.8.11
>>> checksums files   ;-) files/gtk+-2.8.0-multilib.patch
>>> checksums files   ;-) files/gtk+-2.2.1-disable_icons_smooth_alpha.patch
>>> checksums files   ;-) files/digest-gtk+-2.6.10-r1
>>> checksums files   ;-) files/gtk+-2-xpm_loader.patch
>>> checksums files   ;-) files/gtk+-gdk-pixbuf-testfix.patch
>>> checksums files   ;-) files/gtk+-1.2.10-m4.patch
>>> checksums src_uri ;-) gtk+-2.8.12.tar.bz2
>>> Unpacking source...
>>> Unpacking gtk+-2.8.12.tar.bz2 to /var/tmp/portage/gtk+-2.8.12/work
 * Applying gtk+-2.2.1-disable_icons_smooth_alpha.patch ...               [ ok ] * Applying gtk+-2.8.10-xinerama.patch ...                                [ ok ] * Running eautoreconf in '/var/tmp/portage/gtk+-2.8.12/work/gtk+-2.8.12' ...
 * Running aclocal -I . ...                                               [ ok ] * Running autoconf ...                                                   [ ok ] * Running automake --add-missing --copy ...                              [ !! ]
 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/gtk+-2.8.12/temp/automake-9747.out


!!! ERROR: x11-libs/gtk+-2.8.12 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_unpack
  ebuild.sh, line 694:   Called src_unpack
  gtk+-2.8.12.ebuild, line 94:   Called eautoreconf
  autotools.eclass, line 68:   Called eautomake
  autotools.eclass, line 149:   Called autotools_run_tool 'unpack' 'automake' '- -add-missing'

!!! Failed Running automake !
!!! If you need support, post the topmost build error, and the call stack if relevant.
and...

Code: Select all

ender roarkh # emerge xscreensaver
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/xscreensaver-4.24 to /
>>> checksums files   ;-) xscreensaver-4.23-r1.ebuild
>>> checksums files   ;-) xscreensaver-4.22-r4.ebuild
>>> checksums files   ;-) xscreensaver-4.24.ebuild
>>> checksums files   ;-) files/xscreensaver-4.23-words.patch
>>> checksums files   ;-) files/digest-xscreensaver-4.23-r1
>>> checksums files   ;-) files/xscreensaver-4.24-norpm.patch
>>> checksums files   ;-) files/xscreensaver-4.22-interaggregate.patch
>>> checksums files   ;-) files/xscreensaver-4.22-nsfw-webcollage.patch
>>> checksums files   ;-) files/digest-xscreensaver-4.24
>>> checksums files   ;-) files/xscreensaver-4.16-nsfw.patch
>>> checksums files   ;-) files/xscreensaver-4.23-app-defaults.patch
>>> checksums files   ;-) files/xscreensaver-4.23-nsfw.patch
>>> checksums files   ;-) files/xscreensaver-4.23-norpm.patch
>>> checksums files   ;-) files/digest-xscreensaver-4.22-r4
>>> checksums files   ;-) files/xscreensaver-4.22-configure.patch
>>> checksums files   ;-) files/xscreensaver-blank-screen.patch
>>> checksums files   ;-) files/xscreensaver-4.22-settings.patch
>>> checksums files   ;-) files/xscreensaver-4.24-app-defaults.patch
>>> checksums files   ;-) files/xscreensaver-4.24-nsfw.patch
>>> checksums files   ;-) files/xscreensaver-4.24-settings.patch
>>> checksums files   ;-) files/xscreensaver-4.24-silent.patch
>>> checksums files   ;-) files/xscreensaver-4.24-words.patch
>>> checksums files   ;-) files/desktop_entries/screensaver-properties.desktop
>>> checksums src_uri ;-) xscreensaver-4.24.tar.gz
>>> Unpacking source...
>>> Unpacking xscreensaver-4.24.tar.gz to /var/tmp/portage/xscreensaver-4.24/work
 * Applying xscreensaver-4.24-norpm.patch ...                                             [ ok ] * Applying xscreensaver-4.24-settings.patch ...                                          [ ok ] * Applying xscreensaver-4.24-silent.patch ...                                            [ ok ] * Applying xscreensaver-4.24-nsfw.patch ...                                              [ ok ] * Applying xscreensaver-4.24-words.patch ...                                             [ ok ] * Applying xscreensaver-4.24-app-defaults.patch ...                                      [ ok ] * Running eautoreconf in '/var/tmp/portage/xscreensaver-4.24/work/xscreensaver-4.24' ...
 * Running aclocal ...                                                                    [ ok ] * Running autoconf ...                                                                   [ ok ] * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed Makefile.in
 *  - fixed driver/stderr.c
 *  - fixed hacks/fontglide.c
 *  - fixed hacks/glx/dolphin.c
 *  - fixed hacks/glx/fliptext.c
 *  - fixed hacks/glx/shark.c
 *  - fixed hacks/glx/starwars.c
 *  - fixed hacks/glx/whale.c
 *  - fixed hacks/worm.c
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/xscreensaver-4.24/work/xscreensaver-4.24 ...
 * econf: updating xscreensaver-4.24/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xscreensaver-4.24/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-hackdir=/usr/lib/misc/xscreensaver --with-configdir=/usr/share/xscreensaver/config --x-libraries=/usr/lib --x-includes=/usr/include --with-mit-ext --with-dpms-ext --with-xf86vmode-ext --with-xf86gamma-ext --with-proc-interrupts --with-xpm --with-xshm-ext --with-xdbe-ext --enable-locking --with-gtk --with-xml --without-setuid-hacks --without-login-manager --without-xinerama-ext --with-pam --with-gl --with-gle --with-jpeg --enable-nls --without-kerberos --build=i686-pc-linux-gnu
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
configure: error: expected an absolute directory name for --datadir:

!!! ERROR: x11-misc/xscreensaver-4.24 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  xscreensaver-4.24.ebuild, line 113:   Called econf 'compile' '--with-hackdir=/usr/lib/misc/xscreensaver' '--with-configdir=/usr/share/xscreensaver/config' '--x-libraries=/usr/lib' '--x-includes=/usr/include' '--with-mit-ext' '--with-dpms-ext' '--with-xf86vmode-ext' '--with-xf86gamma-ext' '--with-proc-interrupts' '--with-xpm' '--with-xshm-ext' '--with-xdbe-ext' '--enable-locking' '--with-gtk' '--with-xml' '--without-setuid-hacks' '--without-login-manager' '--without-xinerama-ext' '--with-pam' '--with-gl' '--with-gle' '--with-jpeg' '--enable-nls'

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
and one more...

Code: Select all

ender roarkh # emerge -u eject
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/eject-2.1.4 to /
>>> checksums files   ;-) eject-2.1.4.ebuild
>>> checksums files   ;-) eject-2.0.13-r1.ebuild
>>> checksums files   ;-) eject-2.0.13-r2.ebuild
>>> checksums files   ;-) eject-2.1.0-r1.ebuild
>>> checksums files   ;-) files/eject-2.0.13-autoclose.patch
>>> checksums files   ;-) files/digest-eject-2.0.13-r1
>>> checksums files   ;-) files/digest-eject-2.1.4
>>> checksums files   ;-) files/eject-2.0.13-use-mountpoints.patch
>>> checksums files   ;-) files/eject-2.0.13-finddev.patch
>>> checksums files   ;-) files/eject-2.0.13-header.patch
>>> checksums files   ;-) files/eject-2.0.13-kernel25-support.patch
>>> checksums files   ;-) files/eject-2.0.13-close-check.patch
>>> checksums files   ;-) files/digest-eject-2.0.13-r2
>>> checksums files   ;-) files/eject-2.0.13-fstab-error.patch
>>> checksums files   ;-) files/eject-2.0.13-no-umount.patch
>>> checksums files   ;-) files/eject-2.0.13-toggle.patch
>>> checksums files   ;-) files/eject-2.0.13-prefix-defaultdevice-with-dev.patch
>>> checksums files   ;-) files/eject-2.0.13-xmalloc.patch
>>> checksums files   ;-) files/eject-2.0.13-xregcomp.patch
>>> checksums files   ;-) files/eject-2.0.13-pumount.patch
>>> checksums files   ;-) files/eject-2.0.13-i18n-uclibc.patch
>>> checksums files   ;-) files/eject-2.1.0-regcomp-check.patch
>>> checksums files   ;-) files/eject-2.1.0-scsi-io-update.patch
>>> checksums files   ;-) files/digest-eject-2.1.0-r1
>>> checksums files   ;-) files/eject-2.1.0-toggle.patch
>>> checksums files   ;-) files/eject-2.1.4-toggle.patch
>>> checksums src_uri ;-) eject-2.1.4.tar.gz
>>> Unpacking source...
>>> Unpacking eject-2.1.4.tar.gz to /var/tmp/portage/eject-2.1.4/work
 * Applying eject-2.0.13-xmalloc.patch ...                                                [ ok ] * Applying eject-2.1.4-toggle.patch ...                                                  [ ok ]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/eject-2.1.4/work/eject ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
configure: error: expected an absolute directory name for --datadir:

!!! ERROR: sys-apps/eject-2.1.4 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  ebuild.sh, line 589:   Called econf

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
I have tried emerging other packages as well and all fail with one thing in common (more or less)...

Code: Select all

Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  ebuild.sh, line 589:   Called econf
Maybe I am not searching for the right terms but I have not been able to find a solution on the forums. Can anyone help?

It's much appreciated.

Roark

Mod Edit: made sticky and changed the title from "Emerge -u failing on all packages [Solved]" to "configure error expected absolute directory name for datadir" - tomk
Edit: Unstuck (2006-03-11) --Maedhros
Last edited by roarkh on Mon Feb 20, 2006 9:05 pm, edited 1 time in total.
Top
embobo
Guru
Guru
Posts: 311
Joined: Mon May 19, 2003 6:48 am

  • Quote

Post by embobo » Sun Feb 19, 2006 4:26 am

I have the same problem. This may be ugly. Did you just upgrade glibc?

Try this command:

Code: Select all

expr a : '\(a\)'
It should return 'a':

Code: Select all

cthulhu ~ # /mirror/cthulhu/_/daily.0/bin/expr a : '\(a\)'
a
cthulhu ~ # 
Mine doesn't:

Code: Select all

cthulhu ~ # expr a : '\(a\)'

cthulhu ~ # 
On an AMD64 box:

Code: Select all

freddy ~ # expr a : '\(a\)'
Segmentation fault
freddy ~ # 
I suspect glibc is FUBAR.

Edit: Forgot to add :x :x :x :x

Edit2: Maybe it is coreutils 5.94.
Top
roarkh
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Sat May 24, 2003 7:08 pm
Location: Bellingham, Washington

  • Quote

Post by roarkh » Sun Feb 19, 2006 4:45 am

Thanks for your reply. I did just upgrade glibc.

When I try your command this is what I get...

Code: Select all

ender roarkh # expr a : '\(a\)'
expr: error in regular expression matcher: Value too large for defined data typee
I suppose this is the price I pay for running unstable!
Top
bincache
n00b
n00b
Posts: 17
Joined: Sun Feb 19, 2006 4:38 am

Same issue

  • Quote

Post by bincache » Sun Feb 19, 2006 4:45 am

Same problem, just did an emerge -u portage to grab the latest version, seemed to work fine glibc was one of the updated pacakges, but the rest of the package list is out of my scroll buffer so I can't paste it.

Any emerge results in about the same thing, failure on expr with the message below:

Code: Select all

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/eject-2.1.4/work/eject ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
expr: error in regular expression matcher: Value too large for defined data type
configure: error: expected an absolute directory name for --datadir:

!!! ERROR: sys-apps/eject-2.1.4 failed.
!!! Function econf, Line 489, Exitcode 0
!!! econf failed
etc etc...

Any ideas? I'm currently scanning the board for related info but nothing else has come up just yet.

Thanks regardless.
Top
embobo
Guru
Guru
Posts: 311
Joined: Mon May 19, 2003 6:48 am

Re: Same issue

  • Quote

Post by embobo » Sun Feb 19, 2006 4:49 am

bincache wrote: Any ideas? I'm currently scanning the board for related info but nothing else has come up just yet.
Still investigating. I tentatively think coreutils 5.94 is the problem. Of course, you can't simply emerge the old coreutils since autoconf uses coreutils. You need to restore it from backup. I have an online backup so I copied everything listed in /var/db/pkg/sys-apps/coreutils-5.94/CONTENTS from the backup.
Top
bincache
n00b
n00b
Posts: 17
Joined: Sun Feb 19, 2006 4:38 am

Re: Same issue

  • Quote

Post by bincache » Sun Feb 19, 2006 4:57 am

embobo wrote:
Still investigating. I tentatively think coreutils 5.94 is the problem. Of course, you can't simply emerge the old coreutils since autoconf uses coreutils. You need to restore it from backup. I have an online backup so I copied everything listed in /var/db/pkg/sys-apps/coreutils-5.94/CONTENTS from the backup.
Eh worth a try. I'm logging into my other box and building a bunch of binary packages for the broken system so I can test them and see which fixes what. Like trying to find a needle in a haystack in a dark room, but it's something to keep me busy. :)
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Sun Feb 19, 2006 5:05 am

For the record: I'm on an ~amd64 system here with coreutils-5.94, bash-3.1_p8 and glibc-2.3.6-r2 and not seeing any of the mentioned problems, maybe that helps in narrowing it down.
Top
bincache
n00b
n00b
Posts: 17
Joined: Sun Feb 19, 2006 4:38 am

  • Quote

Post by bincache » Sun Feb 19, 2006 5:06 am

Results:

I created a binary package for coreutils-5.93 and coreutils-5.94 as well as glibc

When I reverted glibc the problem persisted, but when I reverted to coreutils-5.93 the problem went away.

Seems to me that your tentitive guess was correct. :)

Thanks for the help! :D

Edit:
~x86 with coreutils-5.94 bash-3.1_p8 glibc-2.3.6-r3 <- Problem persists in this setup

Downgrading to coreutils-5.93 fixed it
Last edited by bincache on Sun Feb 19, 2006 5:11 am, edited 1 time in total.
Top
embobo
Guru
Guru
Posts: 311
Joined: Mon May 19, 2003 6:48 am

Re: Same issue

  • Quote

Post by embobo » Sun Feb 19, 2006 5:09 am

bincache wrote:Eh worth a try. I'm logging into my other box and building a bunch of binary packages for the broken system so I can test them and see which fixes what. Like trying to find a needle in a haystack in a dark room, but it's something to keep me busy. :)
I now think it is coreutils. A new glibc is always raises my suspicion too. Perhaps there is an interaction there. For now I have gone back to coreutils 5.93 and have emerged a few packages with success.

Making a quickpkg on a coreutils 5.93 system may be another way to fix the problem.

Something to keep you busy...on a Saturday night? Then again, what am I doing? I am a blackish pot myself. :D
Top
bincache
n00b
n00b
Posts: 17
Joined: Sun Feb 19, 2006 4:38 am

Re: Same issue

  • Quote

Post by bincache » Sun Feb 19, 2006 5:12 am

embobo wrote:
bincache wrote:Eh worth a try. I'm logging into my other box and building a bunch of binary packages for the broken system so I can test them and see which fixes what. Like trying to find a needle in a haystack in a dark room, but it's something to keep me busy. :)
I now think it is coreutils. A new glibc is always raises my suspicion too. Perhaps there is an interaction there. For now I have gone back to coreutils 5.93 and have emerged a few packages with success.

Making a quickpkg on a coreutils 5.93 system may be another way to fix the problem.

Something to keep you busy...on a Saturday night? Then again, what am I doing? I am a blackish pot myself. :D
I'm stuck sick at home, so what better things are there to do than play with my computer. :P
Top
hbk3131
n00b
n00b
Posts: 3
Joined: Mon Aug 08, 2005 8:44 pm

re:

  • Quote

Post by hbk3131 » Sun Feb 19, 2006 5:28 am

I'm not saying it is definatly a coreutils(package providing expr) problem but 'expr' is returning the wrong values and i atleast was able to copy the /bin/expr from a stage3 tarball ( both amd64 and x86 worked for eaches selected arch) to get a temp fix the problem. I'm downgrading coreutils on a emerge -e world right now so I'll get back to you if it work

[Amd64]
expr a : '\(a\)'
Segfault (should return a)

expr help : '(help)'
4294967295 ( should return 0)

expr help : help
4 (should return 4, This is ok on amd64)

[x86]
expr a : '\(a\)'
(should return a)

expr help : '(help)'
4294967295 ( should return 0)

expr help : help
577921419141185540 (should return 4)


Downgrade of coreutils-5.93 does resolve this issue

~x86 with coreutils-5.94 bash-3.1_p8 glibc-2.3.6-r3 <--- Agreed
~amd64 with coreutils-5.94 bash-3.1_p8 glibc-2.3.6-r3 <---Also problem
Last edited by hbk3131 on Sun Feb 19, 2006 8:47 am, edited 1 time in total.
Top
Grooby
n00b
n00b
Posts: 47
Joined: Wed Jun 08, 2005 3:59 am
Contact:
Contact Grooby
Website

  • Quote

Post by Grooby » Sun Feb 19, 2006 5:31 am

arg...i am having this problem...but i can't even emerge =coreutils-5.93....any idea?

[edit]
nevermind..i am a retard...
scp expr from my other amd64 box (which for some reason, was able to use the new coreutils and the new glib) to my broken box, reemerge coreutils 5.93, and everything seems ok. Might re-emerge 5.94 again later just to see...

[edit]
ok...so after all that and re-emerge coreutils 5.94, expr broke again. copy it from my other box and continue....now the question is..how do we submit this bug?
Last edited by Grooby on Sun Feb 19, 2006 6:37 am, edited 1 time in total.
Top
friedmud
Apprentice
Apprentice
User avatar
Posts: 258
Joined: Thu Apr 18, 2002 8:49 pm
Location: Austin, TX USA

  • Quote

Post by friedmud » Sun Feb 19, 2006 6:28 am

Just like to note that I am also having this problem...

I had unfortunately put ~x86 into my accept_keywords on my laptop (doing some testing... I know I know it shouldn't be done that way blah blah blah ;-) and forgot to take it out before doing an emerge -u world..... doh

This is what I get for not following the rules I suppose...

It's too late to grab a livecd and get this fixed... it'll have to wait for tomorrow (my desktop is AMD64... so I can't just grab it off there).

Friedmud
Top
meebee
n00b
n00b
Posts: 4
Joined: Thu Feb 09, 2006 12:10 am

  • Quote

Post by meebee » Sun Feb 19, 2006 10:50 am

Copying /bin/expr from an older installation solved the problem for me.
I didn't have to downgrade the complete coreutils package.
Top
chunderbunny
Veteran
Veteran
User avatar
Posts: 1281
Joined: Mon May 31, 2004 11:28 am
Location: 51°24'27" N, 0°57'15" W

  • Quote

Post by chunderbunny » Sun Feb 19, 2006 10:57 am

According to [bug=123342] bug 123342[/bug] this is actually a problem with the new bash.
Top
gruftie
Apprentice
Apprentice
Posts: 184
Joined: Tue Sep 24, 2002 9:26 pm

  • Quote

Post by gruftie » Sun Feb 19, 2006 1:26 pm

chunderbunny wrote:According to [bug=123342] bug 123342[/bug] this is actually a problem with the new bash.
can someone please provide me the expr-binary from the amd64-debian package mentioned in comment #5 in the above-named bug? i don't have the dpgk ebuild installed and can't do it, as it dies with the same expr-error.

thanks in advance
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Sun Feb 19, 2006 1:37 pm

In case anybody is interested in doing some testing, I've uploaded my working expr binary from coreutils-5.94 install to dev.gentoo.org/~genone/temp/expr, I'd be curious if it works or fails for people who got the problem fixed by downgrading coreutils.
Top
RaZoR1394
Guru
Guru
User avatar
Posts: 356
Joined: Sun Jan 09, 2005 11:19 pm

  • Quote

Post by RaZoR1394 » Sun Feb 19, 2006 1:42 pm

Didn't see this thread... It's the same problem I had. As I see dpgk doesn't emerge but what you could do is emerge deb2targz. It should emerge fine and then you can convert the .deb package to *.tar.gz. If I have time I can upload all the 5.93 coreutils expr binaries to my server.
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Top
gruftie
Apprentice
Apprentice
Posts: 184
Joined: Tue Sep 24, 2002 9:26 pm

  • Quote

Post by gruftie » Sun Feb 19, 2006 1:50 pm

RaZoR1394 wrote:Didn't see this thread... It's the same problem I had. As I see dpgk doesn't emerge but what you could do is emerge deb2targz. It should emerge fine and then you can convert the .deb package to *.tar.gz. If I have time I can upload all the 5.93 coreutils expr binaries to my server.
this works, thank you :wink:
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

  • Quote

Post by Maedhros » Sun Feb 19, 2006 1:53 pm

I've just managed to get expr to segfault when I rebuilt coreutils with the acl USE flag. Without it, no segfaults.
No-one's more important than the earthworm.
Top
RaZoR1394
Guru
Guru
User avatar
Posts: 356
Joined: Sun Jan 09, 2005 11:19 pm

  • Quote

Post by RaZoR1394 » Sun Feb 19, 2006 1:56 pm

Here are the working Ubuntu Coreutils 5.93 expr binaries:

amd64 :arrow: http://www.razoreye.org/files/expr-amd64/expr
i386 :arrow: http://www.razoreye.org/files/expr-i386/expr
ppc :arrow: http://www.razoreye.org/files/expr-ppc/expr

Copy them to /usr/bin. After that I would mask Coreutils 5.94 and emerge the previous one (5.93):
/etc/portage/package.mask wrote: =sys-apps/coreutils-5.94
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Sun Feb 19, 2006 1:59 pm

Maedhros wrote:I've just managed to get expr to segfault when I rebuilt coreutils with the acl USE flag. Without it, no segfaults.
Now that gets even more weird: Most people who reported problems at bugzilla don't have the acl flag set, I have it set and don't have any problems :-/
Top
nesl247
Veteran
Veteran
Posts: 1614
Joined: Tue Jun 15, 2004 7:21 pm
Location: Florida
Contact:
Contact nesl247
Website

  • Quote

Post by nesl247 » Sun Feb 19, 2006 2:05 pm

I don't get any errors with coreutils. Using nxsty's glibc 2.3.90 overlay if it ever comes down to glibc..
Top
agent_jdh
Veteran
Veteran
Posts: 1783
Joined: Thu Aug 08, 2002 8:23 am
Location: Scotland

  • Quote

Post by agent_jdh » Sun Feb 19, 2006 2:27 pm

I've got this problem here, but it only seems to have appeared for me with coreutils-5.94-patches-1.2.tar.bz2. 5.94 worked fine here with the old patchset 1.1.

I'll try going back to the older patchset (if I can) when I've got a minute to spare.

EDIT - Doh! of course, coreutils won't build now because of the problem, so I can't check right now, but the fact it now won't build when it did 30 minutes ago convinces me even more that it's the 1.2 patchset that's the problem here.

EDIT #2 - Oh well, it isn't patchset 1.2. Downgraded to 1.1 and things are still broken. 5.94 now masked.
Last edited by agent_jdh on Sun Feb 19, 2006 2:42 pm, edited 2 times in total.
Jingle Jangle Jewellery
Top
Konsti
l33t
l33t
User avatar
Posts: 691
Joined: Tue Dec 10, 2002 12:42 pm
Contact:
Contact Konsti
Website

  • Quote

Post by Konsti » Sun Feb 19, 2006 2:28 pm

The expr replacement worked fine.
That was a bit more eaysy than messing with a stage3 chroot :)
Top
Post Reply

70 posts
  • 1
  • 2
  • 3
  • Next

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