I emerged ufed 0.3 from the testing tree and then ran 'ufed'. It did not start and gave the following error message. Nested quantifiers in regex; marked by <-- HERE in m/ -?* <-- HERE / at /usr/sbin/ufed line 489, <FILE> line 1. Reproducible: Always Steps to Reproduce: Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GENTOO_MIRRORS="http://gentoo.linux.no/ http://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ " CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow aalib acpi alsa avi cdr cups directfb dvd encode fbcon gif gtk gtk2 imap imlib java jpeg libwww mmx mpeg ncurses oggvorbis opengl pam pdflib png python qt quicktime readline sdl sse ssl svga tcpd tiff truetype usb X xml xml2 xmms" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -falign-functions=4 -funroll-loops -ffast-math -fforce-addr" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -falign-functions=4 -funroll-loops -ffast-math -fforce-addr" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
I think this could be an indirect result of your CFLAGS. Please read make.conf and downgrade the pentium4 option in your CFLAGS to pentium3. You will need to rebuild glibc and a number of other things (gcc/binutils/perl come to mind in short order, i'm not sure what else tho)
Can you attach your /etc/make.profile/make.defaults, /etc/make.profile/use.defaults and /etc/make.conf so I can take a look at them.
I changed my cflags to pentium3 and rebuilt gcc, glibc, binutils and perl but it did not make a difference. Ufed still gives the same error and doesn't start. I will now attach the files that I was asked for.
Created attachment 11175 [details] /etc/make.profile/make.defaults /etc/make.profile/make.defaults
Created attachment 11176 [details] /etc/make.profile/use.defaults
Created attachment 11177 [details] /etc/make.conf
Please note that prior to submitting this bug my cflags were based upon pentium4 whereas in the make.conf attached they are now pentium3. The remainder of the cflags were identical at all times.
can you please confirm that there is no -* in the USE setting of make.conf in the pentium3 machine you used to test? I think this is a problem with ufed not handling -* in make.conf nicely. So, you still can run ufed-0.3 with your current CFLAGS setttings if you don't have -* in use setting of your make.conf.
As per your skillful suggestion I commented the USE="-* <flags>" line in my make.conf after which to my great relief ufed ran as normal. And yes, the other pentium3 machine that I used to test ufed did _not_ have that syntax in USE. I'm sorry for the inconvenience that these issues have brought. Would I be right to assume that USE="-* <flags>" is syntax that ufed should be made to support eventually? Worth an enhancement bug. Many thanks for your efforts.
I will fix it for the next version uf ufed which should be coming within a week. Thanks for your comments.
Closing old bugs.