Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603358 - dev-libs/icu-58.2 - make[1]: *** No rule to make target '1.6', needed by 'all-local'. Stop.
Summary: dev-libs/icu-58.2 - make[1]: *** No rule to make target '1.6', needed by 'all...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-21 17:20 UTC by Wojciech Myrda
Modified: 2017-12-31 14:57 UTC (History)
0 users

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


Attachments
icu_build.log (icu_build.log,25.87 KB, text/plain)
2016-12-21 17:20 UTC, Wojciech Myrda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Myrda 2016-12-21 17:20:19 UTC
Created attachment 457030 [details]
icu_build.log

I experienced following error while building ICU on my Skylake platform. Something related to the build process. What could it be, missing one of the automake dependency perhaps as below error shows?

make[1]: *** No rule to make target '1.6', needed by 'all-local'.  Stop.

I attach full log of the build process. If any more info is required please let me know
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2016-12-21 17:52:14 UTC
Please also add the output of "emerge --info" here!
Comment 2 Wojciech Myrda 2016-12-21 17:54:50 UTC
hope this helps

emerge --info
Portage 2.3.3 (python 3.5.2-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r3, 4.7.7 x86_64)
=================================================================
System uname: Linux-4.7.7-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-gentoo-2.3
KiB Mem:    16097744 total,   5702456 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 21 Dec 2016 12:15:02 +0000
sh bash 4.4_p5-r1
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p5-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.7.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.27::gentoo
sys-devel/gcc:            5.3.0::gentoo, 5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /var/portage
    sync-type: rsync
    sync-uri: rsync://192.168.101.101/gentoo-portage
    priority: -1000

i7woj
    location: /usr/local/portage
    masters: gentoo
    priority: 0

cg
    location: /var/lib/layman/cg
    masters: gentoo
    priority: 50

dotnet
    location: /var/lib/layman/dotnet
    masters: gentoo
    priority: 50

flameeyes-overlay
    location: /var/lib/layman/flameeyes-overlay
    masters: gentoo
    priority: 50

games-overlay
    location: /var/lib/layman/games-overlay
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    masters: gentoo
    priority: 50

multimedia
    location: /var/lib/layman/multimedia
    masters: gentoo
    priority: 50

sabayon
    location: /var/lib/layman/sabayon
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 50

toolchain
    location: /var/lib/layman/toolchain
    masters: gentoo
    priority: 50

trash
    location: /var/lib/layman/trash
    masters: gentoo
    priority: 50

voyageur
    location: /var/lib/layman/voyageur
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -DG_DISABLE_ASSERT -DNO_DEBUG -DNDEBUG -fomit-frame-pointer -ftree-vectorize -fpredictive-commoning -fgcse-after-reload -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -DG_DISABLE_ASSERT -DNO_DEBUG -DNDEBUG -fomit-frame-pointer -ftree-vectorize -fpredictive-commoning -fgcse-after-reload -fno-stack-protector -fabi-version=0"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman 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="http://192.168.101.101 http://gentoo.prz.rzeszow.pl"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed -Wl,--relax -Wl,--sort-common"
MAKEOPTS="-j9"
PKGDIR="/var/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="/tmp/"
USE="X a52 aac aacs acl acpi alsa amd64 aplaymidi audio bdplus berkdb bluray branding bzip2 cairo caps cdda cdio cdr chromaprint cli colord consolekit cracklib crypt cxx dbus dcadec dri dts dvb dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fluidsynth fontconfig fortran gdbm gif glamor gnome-keyring gphoto2 gpu gstreamer gtk gtkstyle hddtemp iconv icu inotify ithreads java jpeg jpeg2k lcms libnotify lm_sensors lz4 lzma lzo mad midi mkv mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nfs nls nptl nsplugin ocr ogg openal openexr opengl openh264 openmp openssl osmesa pam pango pcre pdf perl pm-utils png policykit postproc ppds pulseaudio python rar readline rtmp s3tc samba scanner sdl seccomp session sound sox spell sqlite sse sse2 ssl startup-notification svg tcpd thread threads tiff truetype udev udf udisks unicode upower usb v4l vaapi vdpau vorbis wxwidgets x264 x265 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel emu10k1" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" DVB_CARDS="cx23885 ttpci" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 imon imonlcd glk hd44780 lb216 lcdm001 mtxorb ncurses text picolcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" PYTHON_SINGLE_TARGET="python2_7 python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby23" SANE_BACKENDS="gt68xx plustek" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="clock power trash xkb" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2016-12-30 19:37:11 UTC
Since I can't reproduce this here (and no duplicates have appeared), I assume this is somehow due to your settings. 

Could you please try simplifying your CFLAGS / CXXFLAGS / LDFLAGS, if that makes the problem go away? If yes, please try to find out which precise switch causes the problem.
Comment 4 Wojciech Myrda 2016-12-30 22:46:58 UTC
It is possible it is due to my settings as on no of my older boxes I have problem with this package. I am thinking it may be possible that it is due to some dependency that is miscompiled and that icu has problem using/finding. I could test them if different FLAGS as well if You could point me out as of what package may be essential dependency for icu.
Comment 5 Wojciech Myrda 2017-12-31 14:32:22 UTC
After extensive search and even more hair pulling I found out the cause of the build failure.

Out of the tree packages I installed about 1,5 year ago 

https://github.com/stefantalpalaru/gentoo-overlay/blob/master/sci-geosciences/splitter-bin/splitter-bin-580.ebuild

https://github.com/stefantalpalaru/gentoo-overlay/blob/master/sci-geosciences/mkgmap-bin/mkgmap-bin-3831.ebuild

They did setup environment files in /etc/env.d which where referring to java environment. Among others they created entry of TARGET="1.6" and SOURCE="1.6". Since then I have moved to JDK-1.8 and no 1.6 target existed. I am not sure if icu uses java at all, but for some reason dev-libs/icu-layoutex & dev-libs/icu where the only packages affected as build process stopped due to this environment settings.

So workaround to build icu is now present, but make process probably needs some fix not to use TARGET environment setting.
Comment 6 Wojciech Myrda 2017-12-31 14:40:08 UTC
Never mind the need for fix. Most recent versions of the splitter-bin and mkgmap-bin install enviroment files in the usr/share/mkgmap-bin/package.env and /usr/share/splitter-bin/package.env so /etc/env.d directory is no longer used and other packages such as icu are no longer affected.

This bug may be closed now as no longer valid.
Comment 7 Andreas Sturmlechner gentoo-dev 2017-12-31 14:57:15 UTC
Thanks for checking back.