vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| ash-2.05b# emerge -v hwsetup Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/hwsetup-1.0-r2 to / /usr/lib/portage/bin/ebuild.sh: /usr/portage/eclass/eutils.eclass: line 39: syntax error near unexpected token `else' /usr/lib/portage/bin/ebuild.sh: /usr/portage/eclass/eutils.eclass: line 39: ` else' !!! ERROR: sys-apps/hwsetup-1.0-r2 failed. !!! Function inherit, Line 1443, Exitcode 1 !!! died sourcing /usr/portage/eclass/eutils.eclass in inherit() !!! If you need support, post the topmost build error, NOT this status message. -- Luís Ferreira |
| |||
| Same problem here with all(!) packages and emerge sync... workaround: go to line 39 in /usr/portage/eclass/eutils.eclass an comment the whole paragraph "ecpu_check()" (not very important: "Checks user USE related cpu flags against /proc/cpuinfo." Anybody know from what ebuild this file is? portage? Luís Ferreira wrote: > > ash-2.05b# emerge -v hwsetup > Calculating dependencies ...done! > >>>>emerge (1 of 1) sys-apps/hwsetup-1.0-r2 to / > > /usr/lib/portage/bin/ebuild.sh: /usr/portage/eclass/eutils.eclass: line 39: > syntax error near unexpected token `else' > /usr/lib/portage/bin/ebuild.sh: /usr/portage/eclass/eutils.eclass: line 39: > ` else' > > !!! ERROR: sys-apps/hwsetup-1.0-r2 failed. > !!! Function inherit, Line 1443, Exitcode 1 > !!! died sourcing /usr/portage/eclass/eutils.eclass in inherit() > !!! If you need support, post the topmost build error, NOT this status > message. > > > |
| |||
| > workaround: > go to line 39 in /usr/portage/eclass/eutils.eclass an comment the whole > paragraph "ecpu_check()" (not very important: "Checks user USE related > cpu flags against /proc/cpuinfo." does not work with all ebuilds: emerged portage but emerging pam hangs at the end |
| |||
| it is now fixed (i've done another emerge sync) they changed: .... if [ $CROSSCOMPILE -eq 1 ] || [ ! -e /proc/cpuinfo ] then else CPU_FLAGS=$1 .... to: .... if [ $CROSSCOMPILE -eq 1 ] || [ ! -e /proc/cpuinfo ] then : else CPU_FLAGS=$1 .... Marco Jackel wrote: >> workaround: >> go to line 39 in /usr/portage/eclass/eutils.eclass an comment the >> whole paragraph "ecpu_check()" (not very important: "Checks user USE >> related cpu flags against /proc/cpuinfo." > > does not work with all ebuilds: emerged portage but emerging pam hangs > at the end |
| ||||
| Marco Jackel wrote: Thank you! > it is now fixed (i've done another emerge sync) > > they changed: > > ... > if [ $CROSSCOMPILE -eq 1 ] || [ ! -e /proc/cpuinfo ] > then > else > CPU_FLAGS=$1 > ... > > to: > ... > if [ $CROSSCOMPILE -eq 1 ] || [ ! -e /proc/cpuinfo ] > then > : > else > CPU_FLAGS=$1 > ... > > > Marco Jackel wrote: >>> workaround: >>> go to line 39 in /usr/portage/eclass/eutils.eclass an comment the >>> whole paragraph "ecpu_check()" (not very important: "Checks user USE >>> related cpu flags against /proc/cpuinfo." >> >> does not work with all ebuilds: emerged portage but emerging pam hangs >> at the end -- Luís Ferreira |