Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127454 - cannot emerge sci-calculators/hexcalc after upgrade to modular x
Summary: cannot emerge sci-calculators/hexcalc after upgrade to modular x
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-24 10:42 UTC by Chris Smith
Modified: 2006-03-24 11:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2006-03-24 10:42:59 UTC
first hexcalc emerge failed because of missing xmkmf and after installing imake it now fails with:
----------------------------
imake -DUseInstalled -I/usr/lib/X11/config
gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L    -D_POSIX_SOURCE -D_XOPEN_SOURCE                          -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                                                  -DFUNCPROTO=15 -DNARROWPROTO       -c -o hexcalc.o hexcalc.c
hexcalc.c: In function 'Left':
hexcalc.c:421: warning: incompatible implicit declaration of built-in function 'exit'
hexcalc.c: In function 'Right':
hexcalc.c:455: warning: incompatible implicit declaration of built-in function 'exit'
hexcalc.c: In function 'Op':
hexcalc.c:489: warning: cast from pointer to integer of different size
hexcalc.c: In function 'Off':
hexcalc.c:676: warning: incompatible implicit declaration of built-in function 'exit'
hexcalc.c: In function 'SetSign':
hexcalc.c:732: warning: cast from pointer to integer of different size
rm -f hexcalc
gcc -m32 -o hexcalc -O2 -fno-strength-reduce -fno-strict-aliasing      -L/usr/lib   hexcalc.o -lXaw -lXt -lSM -lICE -lXmu -lXt -lSM -lICE -lXext -lX11 -lXext -lX11
rm -f hexcalc._man
if test -z "" ; then \
   cd `dirname hexcalc` && \
   ln -s `basename hexcalc.man` `basename hexcalc._man`; \
else \
             cpp -undef -traditional  -D__apploaddir__=/usr/lib/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 6 8 99 903 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 6 8 99 903 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org"  \
     < hexcalc.man | sed -e '/^#  *[0-9][0-9]*  *.*$/d'                         -e '/^#line  *[0-9][0-9]*  *.*$/d'            -e '/^[  ]*XCOMM$/s/XCOMM/#/'                    -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/'                        -e '/^[        ]*XHASH/s/XHASH/#/'                     -e '/\@\@$/s/\@\@$/\\/' >hexcalc._man; \
fi
rm -f hexcalc.1x.html hexcalc.1x-html
rman -f HTML < hexcalc._man \
  > hexcalc.1x-html && mv -f hexcalc.1x-html hexcalc.1x.html
/bin/sh: rman: command not found
make: *** [hexcalc.1x.html] Error 127

!!! ERROR: sci-calculators/hexcalc-1.11 failed.
----------------------------
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-24 10:47:12 UTC
<snip>
RDEPEND="|| ( x11-libs/libXaw virtual/x11 )"
DEPEND="${RDEPEND}
        || ( ( x11-misc/imake app-text/rman ) virtual/x11 )"
</snip>

So - that what you get when using stupid hacks that mess with virtual/x11, such as:

http://gentoo-wiki.com/HOWTO_Modular_Xorg#.27emerge_-u_world.27_wants_to_install_xorg-x11_6.x_or_virtual.2Fx11

No missing deps, INVALID bug.
Comment 2 Chris Smith 2006-03-24 11:23:14 UTC
so help me out here please as I wish to not repeat such a mistake

What stupid hacks did I use? I had haxcalc installed and a revdep-rebuild wanted to remerge it.

Was it a mistake to install imake?

What could done more properly to avoid filing an invalid bug?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-24 11:26:50 UTC
See the link referred to in Comment #1 and never do such things, it plain breaks any modular X dependencies in every single ebuild. Remove any mention of virtual/x11 from /etc/portage/*