Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239372 - app-text/recode-3.6-r2 LINGUAS="zh" - make[2]: *** No rule to make target `zh.mo', needed by `install-data-local'. Stop.
Summary: app-text/recode-3.6-r2 LINGUAS="zh" - make[2]: *** No rule to make target `zh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
: 260680 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-02 20:50 UTC by Daniel Santos
Modified: 2009-06-28 08:46 UTC (History)
6 users (show)

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


Attachments
build log (app-text:recode-3.6-r2:20081002-203429.log,1.54 KB, text/plain)
2008-10-02 20:51 UTC, Daniel Santos
Details
proposed fix (recode-3.6-gettextfix.diff,534 bytes, patch)
2009-01-08 18:54 UTC, Dmitry Karasik
Details | Diff
ebuild to apply patch (recode-3.6_p15-r1.ebuild,1.55 KB, text/plain)
2009-01-14 10:55 UTC, Mathieu Z
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Santos 2008-10-02 20:50:01 UTC
make[2]: *** No rule to make target `zh.mo', needed by `install-data-local'.  Stop.
make[2]: Leaving directory `/tmp/portage/app-text/recode-3.6_p15/work/recode-3.6/i18n'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tmp/portage/app-text/recode-3.6_p15/work/recode-3.6/i18n'
make: *** [install-recursive] Error 1

When removing zh from LINGUAS it compiles & installs fine and also zh_CN does not break the install (only "zh").


Portage 2.2_rc11 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r6-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Thu, 02 Oct 2008 20:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8-sse3 -msse4a -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8-sse3 -msse4a -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.cs.wmich.edu/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://osmirrors.cerias.purdue.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US af ar as_IN be be_BY bg br bs ca cs csb cy da de dz el en en_GB en_ZA es es_AR es_ES et eu fa fi fr fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hu is it ja ka km ko ku lt mk ml_IN mn mr_IN ms mt nb nb_NO nds ne nl nn nn_NO nr ns or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw sh sk sl sr ss st sv sv_SE sw sw_TZ ta te te_IN tg th ti ti_ER tr ts uk ur ur_IN ve vi xh zh zh_CN zh_TW zu"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina /usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 64bit 7zip X Xaw3d a52 aac aalib acl acpi administrator afs aim aimextras aio akode alsa amd64 amr ao aotuv apache apache2 apm applet ares arts asf async audacious audiofile authdaemond authfile autoipd automount avahi backtrace bash-completion berkdb binfilter bittorrent bl bluetooth bonjour boost branding buttons bzip2 c3p0 cairo calendar cdaudio cdb cdda cddb cdparanoia cdr cdrom cegui cg cgi cjk cli commons-digester console cpudetection cpufreq cpulimit cracklib crypt cscope css cups curl curlwrappers cvs daap dbus dedicated dga dirac directfb divx djbfft dmx dolby-record-switch dom4j double-precision dri dts dv dvd dvdnav dvdr dvdread eds emboss emoticon encode enscript esd evo excel exif expat extraicons fam fasttrack fbcon ffmpeg fftw firefox flac flash fmod font-server fontconfig fortran ftp fuse fusion gadu gb gcj gd gdb gdbm geos ggi gif ginac git glitz glut gmedia gmp gmtfull gnokii gnutella gnutls gphoto2 gpm graphviz gs gsl gstreamer gtalk gtk gzip hal hddtemp html hwmixer icecast iceweasel iconv icq id3 id3tag idn ieee1394 imagemagick imap imlib inifile insecure-savers irc irda isdnlog ithreads jack java java5 java6 javascript jbig jce jikes jingle jmx jpeg jpeg2k kde kdexdeltas kdrive kerberos keyring lame lcms ldap libcaca libnotify libsamplerate libvisual libwww lirc live lm_sensors log4j logitech-mouse lua lzo mad maildir maps math maxoptimization md5sum meanwhile menesi midi mikmod mime ming mjpeg mmap mmkeys mmx mmxext mng modperl modplug motif mouse mozdevelop mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 msn mtp mudflap multicall multilib multislot musepack musicbrainz mysql mysqli nas ncurses net netjack network njb nls nntp npp nptl nptlonly nsplugin nss nuv nvidia nvtv objc objc++ objc-gc ode odk offensive ogg openal openexr opengl openmp p2p pam pango pch pcntl pcre pda pdf perl php player plotutils png portaudio posix postproc ppds pppd pulseaudio python qq qt3 qt3support qt4 quicktime radio rar readline reflection rrdcgi rtc ruby samba sametime sasl schroedinger sdl sdl-image sdl-sound seamonkey sensord serpentine session sharedext silc slp smp smtp sndfile snmp soap sockets sound speex spell spl sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification stream streamripper subversion suexec svg svgz sysfs syslog sysvipc tagwriting tcl tcpd tetex tga theora threads tidy tiff timidity tk tokenizer transcode translator trayicon truetype tse3 twolame unicode urandom usb userlocales v4l v4l2 vcd vda vhosts videos vim-syntax vim-with-x visualization vorbis vorbis-psy wav wavpack webdav wifi wma wmf wxwindows x264 xanim xattr xcb xcomposite xface xforms xine xinerama xml xmlreader xmlrpc xmlwriter xorg xplanet xpm xprint xscreensaver xsl xv xvid xvmc yaepg yahoo yv12 zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 auth_digest authn_alias authn_dbd 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 dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US af ar as_IN be be_BY bg br bs ca cs csb cy da de dz el en en_GB en_ZA es es_AR es_ES et eu fa fi fr fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hu is it ja ka km ko ku lt mk ml_IN mn mr_IN ms mt nb nb_NO nds ne nl nn nn_NO nr ns or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw sh sk sl sr ss st sv sv_SE sw sw_TZ ta te te_IN tg th ti ti_ER tr ts uk ur ur_IN ve vi xh zh zh_CN zh_TW zu" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Santos 2008-10-02 20:51:45 UTC
Created attachment 167024 [details]
build log
Comment 2 Dmitry Karasik 2008-11-17 16:12:47 UTC
The problem is in m4/gettext.m4 on line 113:

      for ac_item in $ac_items; do
        case "$ALL_LINGUAS" in
          *$ac_item*)
            ac_print="$ac_print $ac_item"
            MOFILES="$MOFILES $ac_item.mo"
            ;;
        esac
      done

The ALL_LINGUAS has zh_CN which allows zh to match when it shouldn't
Comment 3 shigubuhua 2008-12-03 03:22:42 UTC
I meet this problem too.
Comment 4 Lawrence Ong 2009-01-04 07:03:27 UTC
I successfully compile with using -nls USE flag.
Comment 5 Daniel Santos 2009-01-08 03:26:31 UTC
Well Dmitry already posted the underlying problem.  If somebody can just create a fix and post the patch we can get this resolved and closed.
Comment 6 Dmitry Karasik 2009-01-08 18:54:26 UTC
Created attachment 177787 [details, diff]
proposed fix
Comment 7 Mathieu Z 2009-01-14 10:55:19 UTC
Created attachment 178468 [details]
ebuild to apply patch

Thanks Dmitry Karasik for the patch. It applied and build for me no problem.
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-02 14:33:18 UTC
*** Bug 260680 has been marked as a duplicate of this bug. ***
Comment 9 shigubuhua 2009-03-17 23:13:33 UTC
This problem is not correct in portage now ?
Comment 10 Gordon Pritchard 2009-03-18 16:37:53 UTC
It appears not :-(  I am hitting this, on multiple stable-amd64 boxes.

For stable app-text/recode-3.6_p15 (and there seems to be no ~recode):

make[2]: *** No rule to make target `zh.mo', needed by `install-data-local'.  Stop.

At this same time, there is only stable-gettext (no ~gettext appears):

sys-devel/gettext-0.17

Has enough time passed that this ebuild-patch can go mainstream now, into stable-portage?

Thank-you!
Comment 11 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-10 04:03:43 UTC
sorry about the delay. thx for the patches guys.

commited to recode-3.6_p15-r1
Comment 12 Arrigo Marchiori 2009-06-28 08:46:49 UTC
Hello,

I (In reply to comment #11)
> sorry about the delay. thx for the patches guys.
> 
> commited to recode-3.6_p15-r1
 
I see that the ebuild app-text/recode-3.6_p15-r1 still has the keywords "~x86" and "~amd64". Does anybody know when it will become stable on those architectures?