Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632008 - app-text/lesspipe-1.83 : less testok/a\ b NOT ok
Summary: app-text/lesspipe-1.83 : less testok/a\ b NOT ok
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2017-09-25 17:14 UTC by Toralf Förster
Modified: 2021-08-09 03:48 UTC (History)
2 users (show)

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

emerge-info.txt (emerge-info.txt,15.96 KB, text/plain)
2017-09-25 17:14 UTC, Toralf Förster
app-text:lesspipe-1.83:20170925-164124.log (app-text:lesspipe-1.83:20170925-164124.log,7.07 KB, text/plain)
2017-09-25 17:14 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,255.55 KB, text/plain)
2017-09-25 17:14 UTC, Toralf Förster
environment (environment,11.30 KB, text/plain)
2017-09-25 17:14 UTC, Toralf Förster
etc.portage.tbz2 (etc.portage.tbz2,16.31 KB, application/x-bzip)
2017-09-25 17:14 UTC, Toralf Förster
temp.tbz2 (temp.tbz2,6.20 KB, application/x-bzip)
2017-09-25 17:14 UTC, Toralf Förster
emerge-info.txt (emerge-info.txt,16.79 KB, text/plain)
2017-10-27 17:47 UTC, Toralf Förster
app-text:lesspipe-1.83:20171027-173733.log (app-text:lesspipe-1.83:20171027-173733.log,6.95 KB, text/plain)
2017-10-27 17:47 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,198.02 KB, text/plain)
2017-10-27 17:47 UTC, Toralf Förster
environment (environment,12.35 KB, text/plain)
2017-10-27 17:47 UTC, Toralf Förster
etc.portage.tbz2 (etc.portage.tbz2,15.21 KB, application/x-bzip)
2017-10-27 17:47 UTC, Toralf Förster
temp.tbz2 (temp.tbz2,6.47 KB, application/x-bzip)
2017-10-27 17:47 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-25 17:14:36 UTC
make -j1   test
less    testok/a\ b                                      NOT ok
less    testok/symlink                                   NOT ok
less    testok/a\ b.tgz:testok/a\ text.gz                NOT ok
less    testok/a\ b.tgz:testok/a\<\<b      NOT ok


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop_libressl_20170918-162903


gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)

The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-text/lesspipe
[ebuild  N    ] app-text/lesspipe-1.83
Comment 1 Toralf Förster gentoo-dev 2017-09-25 17:14:39 UTC
Created attachment 496384 [details]
Comment 2 Toralf Förster gentoo-dev 2017-09-25 17:14:43 UTC
Created attachment 496386 [details]
Comment 3 Toralf Förster gentoo-dev 2017-09-25 17:14:46 UTC
Created attachment 496388 [details]
Comment 4 Toralf Förster gentoo-dev 2017-09-25 17:14:49 UTC
Created attachment 496390 [details]
Comment 5 Toralf Förster gentoo-dev 2017-09-25 17:14:52 UTC
Created attachment 496392 [details]
Comment 6 Toralf Förster gentoo-dev 2017-09-25 17:14:55 UTC
Created attachment 496394 [details]
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2017-09-25 17:48:16 UTC
I cannot reproduce your test failures.
Comment 8 Toralf Förster gentoo-dev 2017-10-27 17:46:59 UTC
happened again at 17.0-no-multilib_libressl-test_20171022-133742
Comment 9 Toralf Förster gentoo-dev 2017-10-27 17:47:02 UTC
Created attachment 500450 [details]
Comment 10 Toralf Förster gentoo-dev 2017-10-27 17:47:05 UTC
Created attachment 500452 [details]
Comment 11 Toralf Förster gentoo-dev 2017-10-27 17:47:09 UTC
Created attachment 500454 [details]
Comment 12 Toralf Förster gentoo-dev 2017-10-27 17:47:12 UTC
Created attachment 500456 [details]
Comment 13 Toralf Förster gentoo-dev 2017-10-27 17:47:15 UTC
Created attachment 500458 [details]
Comment 14 Toralf Förster gentoo-dev 2017-10-27 17:47:18 UTC
Created attachment 500460 [details]
Comment 15 Thomas Deutschmann (RETIRED) gentoo-dev 2017-10-27 18:09:00 UTC
> checking isoinfo...found, include code for isoinfo (fixed)
Please tell me which package (emerge --info <pkgname>) provides isoinfo for you.
Comment 16 Toralf Förster gentoo-dev 2017-10-27 18:14:03 UTC
(In reply to Thomas Deutschmann from comment #15)

mr-fox / # emerge -qpv app-cdr/cdrtools
[ebuild   R   ] app-cdr/cdrtools-3.02_alpha07-r1  USE="acl filecaps nls unicode -caps"
Comment 17 Toralf Förster gentoo-dev 2017-10-27 18:14:35 UTC
FWIW helps too
Comment 18 Toralf Förster gentoo-dev 2017-10-27 18:15:15 UTC
mr-fox / # emerge --verbose=n --info app-cdr/cdrtools
Portage 2.3.12 (python 3.4.6-final-0, default/linux/amd64/17.0/no-multilib, gcc-6.4.0, glibc-2.25-r8, 4.13.10 x86_64)
                         System Settings
System uname: Linux-4.13.10-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1
KiB Mem:    65274920 total,  44105312 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of repository gentoo: Fri, 27 Oct 2017 18:04:56 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.6::gentoo, 3.6.3::gentoo
dev-util/cmake:           3.9.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.3::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.9.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r8::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: 1

    location: /tmp/tb/data/portage
    masters: gentoo
    priority: 2

    location: /usr/local/portage
    masters: gentoo
    priority: 99

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe -march=native -Wall"
CONFIG_PROTECT="/etc /etc/omega.conf /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /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="-Werror=terminate -O2 -pipe -march=native"
EMERGE_DEFAULT_OPTS="--verbose --verbose-conflicts --color=n --nospinner --tree --quiet-build --with-bdeps=y --complete-graph=y --autounmask-keep-masks=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox 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=" rsync:// rsync://"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="acl amd64 analitza anonres appstream beeper berkdb blockerupter bpd bzip2 camelcase channels cheetah cli coinmp colord coverage cracklib crypt cwc cxx cython datafiles dri epoll eps fasttree fdk filter-proxy fortran fullscreen gasgano gdbm gegl geotiff ghcmakebinary http httpd iconv inherit inkjar ipv6 juick kate libressl libzfs mhash module_store_mysql modules ncurses netapi netcdf netgroups networkmanager nls nptl oidentd openbabel openmp pam pam_nuauth pcre persistence prawn q16 queue-null readline recursion-limit rendering seccomp secondary-wheel servlets session signalfd snomhack ssl ssp system-harfbuzz tcpd tofu unbound unicode unit-mm unsafe-tricks ups_drivers_al175 ups_drivers_bcmxcp_usb vasarajanauloja vc xattr 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx popcnt sse3 sse4_1 sse4_2 ssse3" CURL_SSL="libressl" ELIBC="glibc" ENLIGHTENMENT_MODULES="battery" 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="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text sdeclcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" 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"

                        Package Settings

app-cdr/cdrtools-3.02_alpha07-r1::gentoo was built with the following:
USE="acl filecaps nls unicode -caps"
CFLAGS="-O2 -pipe -march=native -Wall -finput-charset=ISO-8859-1 -fexec-charset=UTF-8"
CXXFLAGS="-Werror=terminate -O2 -pipe -march=native -finput-charset=ISO-8859-1 -fexec-charset=UTF-8"
Comment 19 Thomas Deutschmann (RETIRED) gentoo-dev 2017-10-27 18:34:27 UTC
OK, I can reproduce with

> isoinfo 3.02a07 (x86_64-pc-linux-gnu) Copyright (C) 1993-1999 Eric Youngdale (C) 1999-2016 Joerg Schilling
from app-cdr/cdrtools-3.02_alpha07-r1

It works with

> isoinfo 1.1.11 (Linux)
from app-cdr/cdrkit-1.1.11-r2 (currently not in Gentoo)
Comment 20 Thomas Deutschmann (RETIRED) gentoo-dev 2017-10-27 18:38:21 UTC
Daniel, you are the maintainer of app-cdr/cdrtools. Do you have an idea what's different in isoinfo from cdrtools?

Looks like

> isoinfo -itestok/iso.image -x/ISO.TXT
is failing/returning different things.
Comment 21 Daniel Pielmeier gentoo-dev 2017-11-05 19:43:05 UTC
(In reply to Thomas Deutschmann from comment #20)
> Daniel, you are the maintainer of app-cdr/cdrtools. Do you have an idea
> what's different in isoinfo from cdrtools?
> Looks like
> > isoinfo -itestok/iso.image -x/ISO.TXT
> is failing/returning different things.

Running the test perl script with debug option:

./ -d

result:Setting input-charset to 'UTF-8' from locale.
Setting input-charset to 'UTF-8' from locale.
testless    testok/iso.image:/ISO.TXT\;1                     NOT ok

I suppose isoinfo from cdrkit does not produce the output about setting the input-charset? So this is probably the reason it fails with cdrtools.

@Thomas: I don't have cdrkit here, maybe you can check this?
Comment 22 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-10-15 08:31:23 UTC
This part: 

less    testok/a\ b.tgz:testok/a\#b.sxw                  NOT ok
less    testok/a\ b.tgz:testok/a\~b.odt                  NOT ok

Is reproduceable without cdrtools installed.

In this users build log, you'll see:

less    testok/a\ b.tgz:testok/a\#b.sxw                  ignored, needs sxw2txt
less    testok/a\ b.tgz:testok/a\~b.odt                  ignored, needs sxw2txt

However, sxw2txt is provided by lesspipe. ( I do an install run before I do a test run, which makes this evident )

I'll consider filing an individual bug for this if need be, but just running out the door.
Comment 23 Daniel Pielmeier gentoo-dev 2018-10-16 16:21:57 UTC
Okay so I recovered the latest version of cdrkit from Git.

Running "isoinfo -itestok/iso.image -x/ISO.TXT" isoinfo from cdrkit returns nothing.

Running it with isoinfo from cdrtools returns "Setting input-charset to 'UTF-8' from locale.". This output makes the test fail.

Explicitly setting the charset with isoinfo from cdrtools also returns nothing.

So running the test like "isoinfo -j UTF-8 -itestok/iso.image -x/ISO.TXT" or any other valid charset/locale should fix this issue. So lesspipe should just adapt the test to fix this issue.