Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669224 - =app-shells/ksh-93.20140625 and =app-shells/ksh-93.20160110 fails to build: sh: line 3: nmake: command not found
Summary: =app-shells/ksh-93.20140625 and =app-shells/ksh-93.20160110 fails to build: s...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-21 17:04 UTC by Sergey S. Starikoff
Modified: 2019-10-10 18:54 UTC (History)
0 users

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


Attachments
ksh-93.20160110_build.log.xz (ksh-93.20160110_build.log.xz,33.40 KB, application/x-xz)
2018-10-21 17:04 UTC, Sergey S. Starikoff
Details
environment.xz (environment.xz,17.63 KB, application/x-xz)
2018-10-21 17:05 UTC, Sergey S. Starikoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2018-10-21 17:04:23 UTC
Created attachment 552164 [details]
ksh-93.20160110_build.log.xz

=app-shells/ksh-93.20140625 and =app-shells/ksh-93.20160110 fails to build with similiar error message (quoted for latest):

…
+ nmake --base --compile --file=/var/tmp/portage/app-shells/ksh-93.20160110/work/ast-c506cb548d9b4bcebef92c86e948657728760e15/src/cmd/nmake/Makerules.mk
sh: line 3: nmake: command not found 
mamake [cmd/nmake]: *** exit code 127 making Makerules.mo
mamake: *** exit code 1 making cmd/nmake
package: make: errors making /var/tmp/portage/app-shells/ksh-93.20160110/work/ast-c506cb548d9b4bcebef92c86e948657728760e15/arch/linux.i386/bin/nmake
package: make done  at Sun Oct 21 19:01:51 MSK 2018 in /var/tmp/portage/app-shells/ksh-93.20160110/work/ast-c506cb548d9b4bcebef92c86e948657728760e15/arch/linux.i386
 * ERROR: app-shells/ksh-93.20160110::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_compile
 *   environment, line 1996:  Called die
 * The specific snippet of code: 
 *       sh bin/package flat only make ast-ksh SHELL=sh SHOPT_SYSRC=1 || die;
 * 
 * If you need support, post the output of `emerge --info '=app-shells/ksh-93.20160110::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-shells/ksh-93.20160110::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-shells/ksh-93.20160110/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-shells/ksh-93.20160110/temp/environment'.
 * Working directory: '/var/tmp/portage/app-shells/ksh-93.20160110/work/ast-c506cb548d9b4bcebef92c86e948657728760e15'
 * S: '/var/tmp/portage/app-shells/ksh-93.20160110/work/ast-c506cb548d9b4bcebef92c86e948657728760e15'

My system:

$ einfo 
!!! Repository 'rion' has sync-uri attribute, but is missing sync-type attribute
Portage 2.3.49 (python 3.6.5-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.26-r7, 4.14.61-gentoo x86_64)
=================================================================
System uname: Linux-4.14.61-gentoo-x86_64-Intel-R-_Core-TM-_i3-7100_CPU_@_3.90GHz-with-gentoo-2.4.1
KiB Mem:    16310892 total,  11055324 free
KiB Swap:      16060 total,     16060 free
Timestamp of repository gentoo: Sat, 20 Oct 2018 14:15:01 +0000
Head commit of repository gentoo: 66b0bbf474eef7ec7fa6b2d7449a4ec1e78961ad
Head commit of repository junta: 20501b139cb7df05bd8155b061121125b54e2435

sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage/gentoo
    sync-type: rsync
    sync-uri: rsync://mirror.yandex.ru/gentoo-portage/
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

junta
    location: /usr/portage/junta
    sync-type: git
    sync-uri: git@github.com:beelze/junta.git
    masters: gentoo

local_home
    location: /usr/portage/local
    masters: gentoo

rion
    location: /usr/portage/layman/rion
    sync-uri: https://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA GPL*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d/clock /etc/rc.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/portage/distfiles/"
EMERGE_DEFAULT_OPTS="--ask=y --verbose --autounmask=n"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror2.corbina.ru/gentoo-distfiles/ 		http://mirror2.corbina.ru/gentoo-distfiles/ 	http://mirror.yandex.ru/gentoo-distfiles/ 		ftp://mirror.yandex.ru/gentoo-distfiles/ 		http://gentoo.bloodhost.ru/ 		ftp://gentoo.bloodhost.ru/ 		distfiles.gentoo.org"
LANG="ru_RU.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 acl alsa amd64 berkdb bzip2 cairo cdr cli consolekit crypt cups cxx dbus djvu dri dv dvd ffmpeg flac fortran gdbm gif gtk iconv icu jpeg jpeg2k kpathsea libtirpc mac mp3 mpeg multilib ncurses nls nptl ogg openmp pam pcre pdf png policykit qt3support readline seccomp ssl tcpd tiff truetype unicode utf8 v4l v4l2 vorbis x264 xattr zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby23 ruby19" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sergey S. Starikoff 2018-10-21 17:05:00 UTC
Created attachment 552166 [details]
environment.xz
Comment 2 Kyle Elbert 2019-03-17 08:08:30 UTC
ya'll didn't focus on the FIRST error message, 
"In file included from /var/tmp/portage/app-shells/ksh-93.20160110/work/ast-c506cb548d9b4bcebef92c86e948657728760e15/src/lib/libast/std/stdio.h:22:0,
                 from ./ast_wchar.h:94,
                 from /var/tmp/portage/app-shells/ksh-93.20160110/work/ast-c506cb548d9b4bcebef92c86e948657728760e15/src/lib/libast/include/ast_std.h:101,
                 from /var/tmp/portage/app-shells/ksh-93.20160110/work/ast-c506cb548d9b4bcebef92c86e948657728760e15/src/lib/libast/include/ast.h:34,
                 from /var/tmp/portage/app-shells/ksh-93.20160110/work/ast-c506cb548d9b4bcebef92c86e948657728760e15/src/lib/libast/misc/state.c:26:
./ast_stdio.h:82:15: error: conflicting types for '_sfio_FILE'
 #define FILE  _sfio_FILE
               ^
./ast_stdio.h:80:24: note: previous declaration of '_sfio_FILE' was here
 typedef struct _sfio_s _sfio_FILE;
                        ^~~~~~~~~~"

which looks like https://bugzilla.redhat.com/show_bug.cgi?id=1477082 which was fixed upstream https://github.com/att/ast/commit/a8de521715b02c0a39564817c628e14b640afecc