Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574740 - sys-apps/texinfo-6.5 fails test_scripts/formatting_documentlanguage_set_option.sh
Summary: sys-apps/texinfo-6.5 fails test_scripts/formatting_documentlanguage_set_optio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
: 630974 (view as bug list)
Depends on:
Blocks: 583794
  Show dependency tree
 
Reported: 2016-02-14 19:56 UTC by tka
Modified: 2022-11-08 02:40 UTC (History)
9 users (show)

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


Attachments
build.log (build.log,161.17 KB, text/plain)
2016-02-14 19:56 UTC, tka
Details
tp/tests/test-suite.log (test-suite.log,36.51 KB, text/plain)
2016-02-14 19:58 UTC, tka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2016-02-14 19:56:45 UTC
Created attachment 425518 [details]
build.log

texinfo-6.1 fails a test. From the name, the failure may be related to USE=-nls. However, simply enabling NLS for just this package does _not_ help.


FAIL: test_scripts/formatting_documentlanguage_set_option.sh

============================================================================
Testsuite summary for GNU Texinfo 6.1
============================================================================
# TOTAL: 184
# PASS:  34
# SKIP:  149
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tp/tests/test-suite.log
Please report to bug-texinfo@gnu.org
============================================================================

FAIL: test_scripts/formatting_documentlanguage_set_option.sh
============================================================

D: formatting//diffs/documentlanguage_set_option.diff
testdir: formatting/
driving_file: ./formatting//tests-parser.txt
made result dir: ./formatting//res_parser/

doing test documentlanguage_set_option, src_file ./formatting//documentlanguage_set.texi
format_option: --set-customization-variable=TEXI2HTML
texi2any.pl documentlanguage_set_option -> formatting//out_parser/documentlanguage_set_option
 /usr/bin/perl -w ./..//texi2any.pl --set-customization-variable=TEXI2HTML --force --conf-dir ./../t/init/ --conf-dir ./../init -I formatting// -I ./ --set-customization-variable L2H_FILE=./../t/init/l2h.init --error-limit=1000 --set-customization-variable TEST=1 --set-customization-variable L2H_CLEAN=0  --output formatting//out_parser/documentlanguage_set_option/ --document-language fr ./formatting//documentlanguage_set.texi > formatting//out_parser/documentlanguage_set_option/documentlanguage_set.1 2>formatting//out_parser/documentlanguage_set_option/documentlanguage_set.2

all done, exiting with status 1

diff -a -u -r formatting//diffs/staging_res/documentlanguage_set_option/documentlanguage_set.html formatting//out_parser/documentlanguage_set_option/documentlanguage_set.html
--- formatting//diffs/staging_res/documentlanguage_set_option/documentlanguage_set.html	2016-01-22 08:55:06.000000000 +0100
+++ formatting//out_parser/documentlanguage_set_option/documentlanguage_set.html	2016-02-14 20:42:35.907683914 +0100
@@ -53,7 +53,7 @@
 </p>
 <hr>
 <p><font size="-1">
-  Ce document a &eacute;t&eacute; g&eacute;n&eacute;r&eacute; <em>a sunny day</em> en utilisant <a href="http://www.gnu.org/software/texinfo/"><em>texi2any</em></a>
+  This document was generated on <em>a sunny day</em> using <a href="http://www.gnu.org/software/texinfo/"><em>texi2any</em></a>.
 </font></p>
 
 
FAIL test_scripts/formatting_documentlanguage_set_option.sh (exit status: 1)


# emerge -pqv '=sys-apps/texinfo-6.1::gentoo'
[ebuild     U ] sys-apps/texinfo-6.1 [6.0] USE="-nls -static" 


# emerge --info '=sys-apps/texinfo-6.1::gentoo'
Portage 2.2.27 (python 3.4.3-final-0, hardened/linux/amd64/no-multilib, gcc-5.3.0, glibc-2.22-r1, 4.4.1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.1-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:    16399632 total,  11519912 free
KiB Swap:   17825788 total,  17825788 free
Timestamp of repository gentoo: Sun, 14 Feb 2016 19:00:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.7.4::gentoo, 4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /var/lib/portage-local/local
    masters: gentoo
    priority: 0

testing
    location: /var/lib/portage-local/testing
    masters: gentoo
    priority: 1

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/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 -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j8"
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 acpi alsa amd64 avx berkdb bzip2 cairo caps cdda cddb cdparanoia cli cracklib crypt cups cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig foomaticdb gdbm gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg justify lame lcms libnotify lzma mad matroska mmap mmx mmxext modules mp3 mpeg ncurses networkmanager nptl ogg opengl openmp pam pcre pie png policykit ppds readline sasl sdl seccomp session sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssp ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower vaapi vorbis wayland x264 xattr xcb xinerama xml xtpax xv xvid zlib" ABI_X86="64" 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" 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 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="i965 intel nouveau" XFCE_PLUGINS="power" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 tka 2016-02-14 19:58:10 UTC
Created attachment 425520 [details]
tp/tests/test-suite.log
Comment 2 Matt Turner gentoo-dev 2016-05-26 03:58:58 UTC
Reproduced on alpha and amd64. The test does not fail on texinfo-6.0 but does fail with 6.1.
Comment 3 SpanKY gentoo-dev 2016-05-31 19:50:08 UTC
looks like the issue is related to --with-external-libintl-perl.  omitting that flag for the 6.1 build allows it to pass this test.

looking at the log output, texinfo isn't able to translate the string to french.
Comment 4 SpanKY gentoo-dev 2016-05-31 20:57:54 UTC
bisecting upstream seems to point to this commit as the bad one:
http://svn.savannah.gnu.org/viewvc?view=rev&root=texinfo&revision=6488
Comment 5 Jonathan Lovelace 2016-08-06 02:29:58 UTC
I found an upstream mailing list discussion <https://lists.gnu.org/archive/html/bug-texinfo/2015-12/msg00047.html> that pointed to --with-external-libintl-perl and the system libintl-perl version being 1.240.0 instead of 1.200.0. I temporarily downgraded libintl-perl to version 1.200.0-r1, and with that the texinfo test suite completed successfully.
Comment 6 Mart Raudsepp gentoo-dev 2017-01-27 21:00:45 UTC
still broken with texinfo 6.3
Comment 7 eroen 2017-08-10 22:28:49 UTC
This still fails with texinfo-6.4.

Additionally, test_scripts/coverage_formatting_fr.sh and test_scripts/layout_formatting_fr_icons.sh fail with similar output, diffs between English and French text.
Comment 8 Rolf Eike Beer archtester 2019-03-02 13:16:08 UTC
*** Bug 630974 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2022-10-20 03:50:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a5b8af6d6b24d4794fc626971972e1714a52365

commit 0a5b8af6d6b24d4794fc626971972e1714a52365
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-20 03:32:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-20 03:43:03 +0000

    sys-apps/texinfo: add 6.8.90 ("pretest", unkeyworded)
    
    Bug: https://bugs.gentoo.org/574740
    Bug: https://bugs.gentoo.org/624394
    Bug: https://bugs.gentoo.org/679238
    Bug: https://bugs.gentoo.org/863713
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/texinfo/Manifest              |  1 +
 sys-apps/texinfo/texinfo-6.8.90.ebuild | 62 ++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-11-08 02:40:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be8b3c99b95b29ec1f233736840cfa83400f617

commit 9be8b3c99b95b29ec1f233736840cfa83400f617
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-08 02:38:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-08 02:39:33 +0000

    sys-apps/texinfo: add 7.0, drop 6.8.91
    
    Closes: https://bugs.gentoo.org/574740
    Closes: https://bugs.gentoo.org/624394
    Closes: https://bugs.gentoo.org/679238
    Closes: https://bugs.gentoo.org/863713
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/texinfo/Manifest                                      | 2 +-
 sys-apps/texinfo/{texinfo-6.8.91.ebuild => texinfo-7.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)