Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350534 - sys-apps/groff-1.21: USE=linguas_ja fails to apply japanese.patch
Summary: sys-apps/groff-1.21: USE=linguas_ja fails to apply japanese.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 13:17 UTC by TANABE Ken-ichi
Modified: 2011-01-09 14:36 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,1.96 KB, text/plain)
2011-01-04 13:18 UTC, TANABE Ken-ichi
Details
gorff-1.20.1-r2-japanese.patch.out (groff-1.20.1-r2-japanese.patch.out,146.09 KB, text/plain)
2011-01-04 13:18 UTC, TANABE Ken-ichi
Details
groff-1.21-japanese.patch (groff-1.21-japanese.patch.bz2,197.04 KB, text/plain)
2011-01-04 13:23 UTC, TANABE Ken-ichi
Details
groff-1.21-japanese.patch (refreshed) (groff-1.21-japanese.patch.bz2,51.78 KB, text/plain)
2011-01-05 10:08 UTC, TANABE Ken-ichi
Details
groff-1.21-japanese.patch (re-refreshed) (groff-1.21-japanese.patch.bz2,51.78 KB, text/plain)
2011-01-05 11:20 UTC, TANABE Ken-ichi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TANABE Ken-ichi 2011-01-04 13:17:42 UTC
groff-1.21 failed to apply a japanese patch.

Reproducible: Always

Steps to Reproduce:
1. emerge groff

Actual Results:  
 * Failed Patch: groff-1.20.1-r2-japanese.patch !
 *  ( /var/tmp/portage/sys-apps/groff-1.21/work/groff-1.20.1-r2-japanese.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-apps/groff-1.21/temp/groff-1.20.1-r2-japanese.patch.out

 * ERROR: sys-apps/groff-1.21 failed:
 *   Failed Patch: groff-1.20.1-r2-japanese.patch!
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_unpack
 *   environment, line 2913:  Called epatch '/var/tmp/portage/sys-apps/groff-1.21/work/groff-1.20.1-r2-japanese.patch'
 *   environment, line 1733:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 *
 * If you need support, post the output of 'emerge --info =sys-apps/groff-1.21',
 * the complete build log and the output of 'emerge -pqv =sys-apps/groff-1.21'.
 * The complete build log is located at '/var/tmp/portage/sys-apps/groff-1.21/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/groff-1.21/temp/environment'.
 * S: '/var/tmp/portage/sys-apps/groff-1.21/work/groff-1.21'

>>> Failed to emerge sys-apps/groff-1.21, Log file:

>>>  '/var/tmp/portage/sys-apps/groff-1.21/temp/build.log'



build.log, groff-1.20.1-r2-japanese.patch.out are attached.

# emerge --info
Portage 2.1.9.28 (default/linux/amd64/10.0/desktop, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P7350_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 04 Jan 2011 11:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.3.4, 4.4.5, 4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Broadcom PUEL dlj-1.1 skype-eula AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.iij.ad.jp/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ja_JP.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ja"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-6"
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="/var/lib/layman/haskell /usr/local/portage"
SYNC="rsync://rika.tokyo.tknetworks.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups curl cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig freetype gdbm gdu gif gpg gpm gtk gtk2 iconv ipv6 jpeg kerberos latex lcms libnotify live mad mikmod mmx mmx2 mng modules mozdevelop mp2 mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline rtsp ruby sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb v4l v4l2 vorbis x264 xcb xft xinerama xml xorg xulrunner xv xvid 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 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 TANABE Ken-ichi 2011-01-04 13:18:18 UTC
Created attachment 258812 [details]
build.log
Comment 2 TANABE Ken-ichi 2011-01-04 13:18:59 UTC
Created attachment 258813 [details]
gorff-1.20.1-r2-japanese.patch.out
Comment 3 TANABE Ken-ichi 2011-01-04 13:23:24 UTC
Created attachment 258814 [details]
groff-1.21-japanese.patch

based on groff-1.20.1-r2-japanese.patch.
Comment 4 TANABE Ken-ichi 2011-01-04 13:23:46 UTC
also I try to fix the patch. This fix works fine for me.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-04 19:56:23 UTC
Confirmed.
Comment 6 TANABE Ken-ichi 2011-01-05 10:08:45 UTC
Created attachment 258904 [details]
groff-1.21-japanese.patch (refreshed)
Comment 7 TANABE Ken-ichi 2011-01-05 10:11:12 UTC
refresh the patch (remove .orig files from the patch).
Comment 8 TANABE Ken-ichi 2011-01-05 11:20:05 UTC
Created attachment 258907 [details]
groff-1.21-japanese.patch (re-refreshed)

re-refreshed. Thanks to matsuu@ for reviewing the patch.
Comment 9 MATSUU Takuto (RETIRED) gentoo-dev 2011-01-05 14:48:49 UTC
Fixed in cvs.
Comment 10 Colin Watson 2011-01-09 14:32:23 UTC
You should be able to radically cut down this patch for groff 1.21, now that it has character class support.  There are a few parts of this patch that have nothing to do with Japanese support, but the bulk of it should be unnecessary now, especially if you're using sys-apps/man-db rather than sys-apps/man; man-db knows how to load the proper locale macro files.

See the Debian package (groff 1.21 will be in Debian experimental later today).