| View previous topic :: View next topic |
| Author |
Message |
thecooptoo Veteran

Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Sat Mar 06, 2004 9:33 pm Post subject: emerge -UD sys-apps/texinfo-4.6 failed. |
|
|
emerge - UD fails here
!!! ERROR: sys-apps/texinfo-4.6 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! (no error message)
bash-2.05b# cat /etc/make.conf |grep -v '#'
USE="alsa mysql apache2 xv slang readline gpm berkdb mmx 3dnow gdbm tcpd pam libwww ssl nls arts perl python esd gif imlib sdl oggvorbis gnome gtk X qt kde motif opengl avi png tiff gif"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
do I remove/change the ~x86 flag ? |
|
| Back to top |
|
 |
mhodak Veteran

Joined: 15 Nov 2003 Posts: 1218
|
Posted: Sun Mar 07, 2004 7:24 am Post subject: |
|
|
Actually, the compile error message was reported on the lines above the erroe message you posted - it is just portage message saying that compilation failed.
You should definetely try with reemerging with "x86" keyword. Do either
| Code: | | ACCEPT_KEYWORDS="x86" emerge sys-apps/texinfo |
or change ACCEPT_KEYWORDS setting in make.conf |
|
| Back to top |
|
 |
thecooptoo Veteran

Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Sun Mar 07, 2004 1:22 pm Post subject: |
|
|
ACCEPT_KEYWORDS="x86" emerge sys-apps/texinfo
still fails
In file included from install-info.c:1042:
install-info.c: In function `parse_dir_file':
install-info.c:327: warning: passing arg 0 of `menu_item_equal' discards qualifiers from pointer target type
In file included from install-info.c:1054:
install-info.c:327: warning: passing arg 0 of `menu_item_equal' discards qualifiers from pointer target type
gcc -march=pentium3 -O3 -pipe -o texindex texindex.o ../lib/libtxi.a
gcc -march=pentium3 -O3 -pipe -o ginstall-info install-info.o ../lib/libtxi.a
make[2]: Leaving directory `/var/tmp/portage/texinfo-4.6/work/texinfo-4.6/util'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/texinfo-4.6/work/texinfo-4.6/doc'
../makeinfo/makeinfo -I . \
-o info-stnd.info `test -f 'info-stnd.texi' || echo './'`info-stnd.texi
../makeinfo/makeinfo -I . \
-o info.info `test -f 'info.texi' || echo './'`info.texi
Updating version.texi
../makeinfo/makeinfo -I. texinfo.txi
make[2]: *** [texinfo.info] Illegal instruction
make[2]: *** Deleting file `texinfo.info'
make[2]: Leaving directory `/var/tmp/portage/texinfo-4.6/work/texinfo-4.6/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/texinfo-4.6/work/texinfo-4.6'
make: *** [all] Error 2
!!! ERROR: sys-apps/texinfo-4.6 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! (no error message)
bash-2.05b# |
|
| Back to top |
|
 |
mhodak Veteran

Joined: 15 Nov 2003 Posts: 1218
|
Posted: Sun Mar 07, 2004 7:58 pm Post subject: |
|
|
First of all do not really know what the error message means, but somehow
KEYWORDS seetings is not working as expected, since "x86" should merge latest stable which is 4.5 and not 4.6.
Try doing
ACCEPT_KEYWORDS="x86" emerge info
and see if ACCEPT_KEYWORDS is set corretly. If not then you should change it in make.conf. Run emerge info to see if KEYWORDS change was accepted.
As for as 4.6 version, I would try trying to compile with O2 instead of O3 and if it still fails report it as a bug.[/code] |
|
| Back to top |
|
 |
thecooptoo Veteran

Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Sun Mar 07, 2004 9:51 pm Post subject: |
|
|
i it ANDs the new one, not ORs it.
i'll change it in make.conf
bash-2.05b# ACCEPT_KEYWORDS="x86" emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
<other stuff snipped>
but this is now the problem - wherer is the portage tree that i have to delete to allow it to start over again?
bash-2.05b# emerge -pUD world
>>> --upgradeonly implies --update... adding --update to options.
These are the packages that I would merge, in order:
Calculating world dependencies -
!!! all ebuilds that could satisfy ">=sys-devel/automake-1.8.2" have been masked.
!!! possible candidates are:
- sys-devel/automake-1.8.2 (masked by: ~keyword)
!!! (dependency required by "sys-apps/coreutils-5.2.0" [ebuild])
!!! Problem with ebuild sys-apps/man-pages-1.65
!!! Possibly a DEPEND/*DEPEND problem.
!!! Depgraph creation failed.
bash-2.05b# ACCEPT_KEYWORDS="~x86" emerge sys-devel/automake-1.8.2
Calculating dependencies
!!! Problem in sys-devel/automake-1.8.2 dependencies.
!!! "Specific key requires an operator (sys-devel/automake-1.8.2) (try adding an '=')"
bash-2.05b# |
|
| Back to top |
|
 |
mhodak Veteran

Joined: 15 Nov 2003 Posts: 1218
|
Posted: Mon Mar 08, 2004 12:22 am Post subject: |
|
|
I do not see your portage tree is broken, the problem is the keywords, in emerge info you should either have
| Code: | | ACCEPT_KEYWORDS="x86" |
or
| Code: | | ACCEPT_KEYWORDS="~x86" |
not both of them.
Since you seem to have important packages from unstable, I recommend staying with "~x86". So edit your make.conf back to ~x86 and run emerge info to make sure that ACCEPT_KEYWORDS is setup properly (you may need to relogin). Now emerge -pUD world should work without errors (I am talking about texinfo compilation, just calculation of dependencies).
Once dependencies are calculated correctly, resync your portage tree, just to be sure and try emerging sys-apps/texinfo. If that fails again, submit a bug report and until the issue is solved mask the sys-apps/texinfo-4.6 in /etc/portage/package.mask. Check man portage for more info on masking.
I hope this will solve the problem. |
|
| Back to top |
|
 |
thecooptoo Veteran

Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Mon Mar 08, 2004 7:30 am Post subject: |
|
|
changes to /etc/make.conf
bash-2.05b# cat /etc/make.conf |grep ACCEPT
# would add '~x86' to ACCEPT_KEYWORDS to enable unstable/testing packages.
#ACCEPT_KEYWORDS='~x86'
#ACCEPT_KEYWORDS="x86"
bash-2.05b# emerge info | grep ACCEPT
ACCEPT_KEYWORDS="x86"
bash-2.05b#
then changing the line in /etc/make.conf
bash-2.05b# cat /etc/make.conf |grep ACCEPT
# would add '~x86' to ACCEPT_KEYWORDS to enable unstable/testing packages.
ACCEPT_KEYWORDS='~x86'
#ACCEPT_KEYWORDS="x86"
bash-2.05b# emerge info | grep ACCEPT
ACCEPT_KEYWORDS="x86 ~x86"
bash-2.05b#
not sure if this is what should happen
Ive then done
bash-2.05b# emerge -pUD world
bash-2.05b# emerge sync
emerge sys-apps/texinfo
and it fails
n file included from install-info.c:1054:
install-info.c:327: warning: passing arg 0 of `menu_item_equal' discards qualifiers from pointer target type
gcc -march=pentium3 -O3 -pipe -o texindex texindex.o ../lib/libtxi.a
gcc -march=pentium3 -O3 -pipe -o ginstall-info install-info.o ../lib/libtxi.a
make[2]: Leaving directory `/var/tmp/portage/texinfo-4.6/work/texinfo-4.6/util'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/texinfo-4.6/work/texinfo-4.6/doc'
../makeinfo/makeinfo -I . \
-o info-stnd.info `test -f 'info-stnd.texi' || echo './'`info-stnd.texi
../makeinfo/makeinfo -I . \
-o info.info `test -f 'info.texi' || echo './'`info.texi
Updating version.texi
../makeinfo/makeinfo -I. texinfo.txi
make[2]: *** [texinfo.info] Illegal instruction
make[2]: *** Deleting file `texinfo.info'
make[2]: Leaving directory `/var/tmp/portage/texinfo-4.6/work/texinfo-4.6/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/texinfo-4.6/work/texinfo-4.6'
make: *** [all] Error 2
!!! ERROR: sys-apps/texinfo-4.6 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! (no error message) |
|
| Back to top |
|
 |
mhodak Veteran

Joined: 15 Nov 2003 Posts: 1218
|
Posted: Mon Mar 08, 2004 8:55 am Post subject: |
|
|
Your KEYWORDS setup seems OK now. Since the the thing still does not want to build, file a bug report. Also mask the sys-apps/texinfo-4.6 in /etc/portage/package.mask to be able to use emerge -pUD world without errors.
You can also try to compile with O2 instead od O3, the error like you are getting can be due to optimizations in O3.
BTW, there are two more threads about this problem, none of them contains the solution, so quite possibly this is a bug. |
|
| Back to top |
|
 |
|