After emerging tinycobol-0.61, the only x86 unmasked package found when searching for cobol, it did not install htcobol as it should have according to the documentation at http://tiny-cobol.sourceforge.net/resources.php#commandline. The only binary which `slocate htcobol` finds is htcobolpp, the preprocessor, which was installed normally and is functional. `man htcobol` says no man page found, however, '/usr/man/man1/htcobol.1.bz2' is present. Reproducible: Always Steps to Reproduce: 1. emerge =dev-lang/tinycobol-0.61 2. Attempt to run 'htcobol' 3. 'slocate htcobol' to ensure it is not on the system. 4. 'man htcobol' to check for manpage. compare with above output. Actual Results: 1. success. 2. bash: htcobol: command not found 3. /usr/lib/libhtcobol.so.0.61.0 /usr/lib/libhtcobol.so /usr/lib/libhtcobol.so.0 /usr/man/man1/htcobol.1.bz2 /usr/man/man1/htcobolpp.1.bz2 /usr/share/htcobol /usr/share/htcobol/copybooks /usr/share/htcobol/copybooks/screen.cpy /usr/bin/htcobolpp 4. No manual entry for htcobol Expected Results: 1. success. 2. "Processing command line arguments... No input files" or something similar. 3. A return involving "/usr/bin/htcobol" 4. The htcobol manpage melfina ~ # emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.29-gentoo-r5-i686-AMD_Athlon-tm-_XP_2200+-with-glibc2.0 Timestamp of tree: Fri, 03 Jul 2009 19:30:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -mfpmath=sse -masm=att -m128bit-long-double -mmmx -msse -m3dnow -m32 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -mfpmath=sse -masm=att -m128bit-long-double -mmmx -msse -m3dnow -m32 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acl acpi ada aim alsa apache2 berkdb bzip2 cjk cli cobol cracklib crypt css cups curl dbus dri dvd dvdr ffmpeg fontconfig fortran ftp gd gdbm gpm gtk hal hash iconv ipv6 isdnlog java6 kde midi mmx mng mono mplayer msn mudflap mysql mysqli ncurses nls nptl nptlonly odbc openal opengl openmp pam pcre pdo perl pppd python qt3 qt3support qt4 readline reflection ruby samba server session spl sse ssl svg sysfs tcl tcpd unicode videos webkit x86 xml xorg yahoo zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Attaching build.log would be welcome.
Output from emerge (what I assume you mean by build.log, as there was no such file on my system even after enabling elog): Calculating dependencies ... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-lang/tinycobol-0.61 * tinycobol-0.61.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking tinycobol-0.61.tar.gz to /var/tmp/portage/dev-lang/tinycobol-0.61/work [32;01m*[0m Applying tinycobol-0.61.patch ... [A[169C [34;01m[ [32;01mok[34;01m ][0m >>> Source unpacked in /var/tmp/portage/dev-lang/tinycobol-0.61/work >>> Compiling source in /var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61 ... * econf: updating tinycobol-0.61/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tinycobol-0.61/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for gcc... gcc checking for as... as checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for ar... ar checking for flex... flex checking for bison... bison checking for expand... /usr/bin/expand checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for stdio.h... yes checking for alloca.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for malloc.h... yes checking for stdlib.h... yes checking for string.h... yes checking for strings.h... yes checking for utime.h... yes checking for ctype.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for getopt.h... yes checking for ltdl.h... yes checking for working const... yes checking for off_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for 8-bit clean memcmp... yes checking for vprintf... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for putenv... yes checking for asin in -lm... yes Beginning DB library header search sequence checking for db_185.h... yes Beginning DB library test link sequence checking for -ldb (version 2.x or 3.x with 1.85 API compatibility)... yes checking for ncurses.h... yes checking for addch in -lncurses... yes checking for color_set in -lncurses... yes Setting RTS to use internal dynamic load routines updating cache ./config.cache creating ./config.status creating Makefile creating compiler/Makefile creating compiler/htversion.h creating compiler/htcobolrc creating lib/Makefile creating cobpp/Makefile creating cobpp/tcppversion.h creating utils/Makefile creating utils/cobf2f/Makefile creating test.code/Makefile creating test.code/copybooks/Makefile creating info/Makefile creating lockserver/Makefile creating htconfig.h Making all in compiler make[1]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/compiler' flex -oscan.c scan.l bison -dv -b htcobol htcobol.y htcobol.y:175.27-35: warning: symbol DATE_TIME redeclared htcobol.y:206.42-45: warning: symbol SIZE redeclared htcobol.y:208.44-51: warning: symbol SUBSCVAR redeclared htcobol.y:1832.5-1836.47: warning: unused value: $3 htcobol.y:1837.7-1842.49: warning: unused value: $4 htcobol.y:1936.5-1966.5: warning: unused value: $6 htcobol.y:2924.5-2930.17: warning: unused value: $6 htcobol.y:3326.7-3328.33: warning: unused value: $4 htcobol.y:3893.7-3899.18: warning: unused value: $4 htcobol.y: conflicts: 182 shift/reduce gcc -I/usr/include -I../lib -I../ -c htcobol.tab.c gcc -I/usr/include -I../lib -I../ -c scan.c scan.c:1175: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'YY_PROTO' scan.l:865: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'YY_PROTO' make[1]: *** [scan.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/compiler' Making all in lib make[1]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/lib' gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c mcmath.c -o mcmath.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c general.c -o general.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c fileio.c -o fileio.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c pictures.c -o pictures.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c basicio.c -o basicio.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c strings.c -o strings.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c screenio.c -o screenio.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c cobmove.c -o cobmove.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c cobmove_f_.c -o cobmove_f_.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c cobmove_x_.c -o cobmove_x_.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c cobmove_e_.c -o cobmove_e_.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c cobmove_9_.c -o cobmove_9_.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c cobmove_b_.c -o cobmove_b_.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c cobmove_c_.c -o cobmove_c_.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c rterrors.c -o rterrors.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c scr_curses.c -o scr_curses.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c intrinsic.c -o intrinsic.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c dyncall.c -o dyncall.lo gcc -I/usr/include -I../lib -I../ -Wall -fPIC -c flckclient.c -o flckclient.lo gcc -shared -Wl,-soname,libhtcobol.so.0 -o libhtcobol.so.0.61.0 mcmath.lo general.lo fileio.lo pictures.lo basicio.lo strings.lo screenio.lo cobmove.lo cobmove_f_.lo cobmove_x_.lo cobmove_e_.lo cobmove_9_.lo cobmove_b_.lo cobmove_c_.lo rterrors.lo scr_curses.lo intrinsic.lo dyncall.lo flckclient.lo -ldl -lm -ldb -lncurses ln -sf libhtcobol.so.0.61.0 libhtcobol.so.0 ln -sf libhtcobol.so.0.61.0 libhtcobol.so make[1]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/lib' Making all in cobpp make[1]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/cobpp' flex -oscanner.c scanner.l bison -dv -b parser parser.y gcc -I/usr/include -I../lib -I../ -c parser.tab.c gcc -I/usr/include -I../lib -I../ -c scanner.c gcc -I/usr/include -I../lib -I../ -Wall -c cobpp.c gcc -g -o htcobolpp parser.tab.o scanner.o cobpp.o -Wl,-O1 -L/usr/lib make[1]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/cobpp' Making all in test.code make[1]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/test.code' Making all in copybooks make[2]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/test.code/copybooks' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/test.code/copybooks' make[1]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/test.code' Making all in info make[1]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/info' make[1]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/info' >>> Source compiled. >>> Test phase [not enabled]: dev-lang/tinycobol-0.61 >>> Install tinycobol-0.61 into /var/tmp/portage/dev-lang/tinycobol-0.61/image/ category dev-lang Installing in compiler make[1]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/compiler' gcc -I/usr/include -I../lib -I../ -c scan.c scan.c:1175: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'YY_PROTO' scan.l:865: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'YY_PROTO' make[1]: *** [scan.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/compiler' Installing in lib make[1]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/lib' /usr/bin/install -c -m 644 libhtcobol.so.0.61.0 /var/tmp/portage/dev-lang/tinycobol-0.61/image//usr/lib/libhtcobol.so.0.61.0 ln -sf /var/tmp/portage/dev-lang/tinycobol-0.61/image//usr/lib/libhtcobol.so.0.61.0 /var/tmp/portage/dev-lang/tinycobol-0.61/image//usr/lib/libhtcobol.so ln -sf /var/tmp/portage/dev-lang/tinycobol-0.61/image//usr/lib/libhtcobol.so.0.61.0 /var/tmp/portage/dev-lang/tinycobol-0.61/image//usr/lib/libhtcobol.so.0 make[1]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/lib' Installing in cobpp make[1]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/cobpp' strip htcobolpp /usr/bin/install -c -m 755 htcobolpp /var/tmp/portage/dev-lang/tinycobol-0.61/image//usr/bin/htcobolpp make[1]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/cobpp' Installing in test.code make[1]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/test.code' Installing in copybooks make[2]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/test.code/copybooks' mkdir -p /var/tmp/portage/dev-lang/tinycobol-0.61/image//usr/share/htcobol/copybooks /usr/bin/install -c -m 644 screen.cpy /var/tmp/portage/dev-lang/tinycobol-0.61/image//usr/share/htcobol/copybooks/screen.cpy make[2]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/test.code/copybooks' make[1]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/test.code' Installing in info make[1]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/info' /usr/bin/install -c -m 644 htcobol.1 /var/tmp/portage/dev-lang/tinycobol-0.61/image//usr/man/man1/htcobol.1 /usr/bin/install -c -m 644 htcobf2f.1 /var/tmp/portage/dev-lang/tinycobol-0.61/image//usr/man/man1/htcobf2f.1 /usr/bin/install -c -m 644 htcobolpp.1 /var/tmp/portage/dev-lang/tinycobol-0.61/image//usr/man/man1/htcobolpp.1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/info' >>> Completed installing tinycobol-0.61 into /var/tmp/portage/dev-lang/tinycobol-0.61/image/ [33;01m*[0m QA Notice: Pre-stripped files found: [33;01m*[0m /usr/bin/htcobolpp strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/lib/libhtcobol.so.0.61.0 ecompressdir: bzip2 -9 /usr/man making executable: usr/lib/libhtcobol.so.0.61.0 >>> Installing (1 of 1) dev-lang/tinycobol-0.61 >>> Recording dev-lang/tinycobol in "world" favorites file... >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. * IMPORTANT: 10 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files.
There is an error in your log that suggests htcobol binary did not get built due to flex failure: ake[1]: Entering directory `/var/tmp/portage/dev-lang/tinycobol-0.61/work/tinycobol-0.61/compiler' gcc -I/usr/include -I../lib -I../ -c scan.c scan.c:1175: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'YY_PROTO' scan.l:865: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'YY_PROTO' make[1]: *** [scan.o] Error 1 Please try installing the ~x86 tinycobol, because it includes fixes for more modern flex. If that works, old ebuild should be booted and newer one stabilized.
The ~x86 version, dev-lang/tinycobol-0.64 installs fine, including manpages. Solution found, thanks.
You're welcome -- thanks for reporting back on your results. Sounds like the newer version should be stabilized so the old can be dropped.
I just modified the patch for 0.64 a little because I some problems with parallel make, but I think it is anyway a good idea to declare it stable instead of the old broken one.
x86 stable
ppc stable