Bug 96972

Summary: check_password Test fails with missing files
Product: poppler Reporter: Damian Martinez Dreyer <le.trmr>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: medium CC: le.trmr
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test-suite.log

Description Damian Martinez Dreyer 2016-07-18 11:03:44 UTC
Created attachment 125131 [details]
test-suite.log

Poppler (commit 954ee65) fails to build as the check_password test fails with missing files. Please see the attached test-suite.log .


System Info:
System:    Host: sumomo Kernel: 4.7.0-1-MANJARO x86_64 (64 bit) Desktop: KDE Plasma 5.7.1 Distro: Manjaro Linux
Machine:   System: HP (portable) product: HP Spectre x360 Convertible
           Mobo: HP model: 804E v: 33.23 Bios: American Megatrends v: F.32 date: 03/02/2016
CPU:       Dual core Intel Core i7-6500U (-HT-MCP-) cache: 4096 KB 
           clock speeds: max: 3100 MHz 1: 799 MHz 2: 799 MHz 3: 799 MHz 4: 799 MHz
Graphics:  Card: Intel HD Graphics 520
           Display Server: X.Org 1.17.4 driver: intel Resolution: 1920x1080@60.00hz
           GLX Renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2) GLX Version: 3.0 Mesa 12.0.1
Audio:     Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel Sound: ALSA v: k4.7.0-1-MANJARO
Network:   Card: Intel Wireless 7265 driver: iwlwifi
           IF: wlo1 state: up mac: 18:5e:0f:76:e2:5b
Info:      Processes: 187 Uptime: 1 day Memory: 3499.1/7897.4MB Client: Shell (bash) inxi: 2.3.0
Comment 1 Damian Martinez Dreyer 2016-07-18 11:26:33 UTC
witch https://poppler.freedesktop.org/poppler-0.45.0.tar.xz "make check" fails like the git source.
Comment 2 Damian Martinez Dreyer 2016-07-18 11:32:26 UTC
I am using the following configure flags:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --enable-cairo-output --enable-xpdf-headers --enable-libjpeg --enable-zlib --enable-poppler-qt4 --enable-poppler-qt5 --enable-poppler-glib
Comment 3 Albert Astals Cid 2016-07-18 12:36:23 UTC
configure: WARNING:
 No test data found in /home/tsdgeos_work/borrame2/poppler-0.45.0/./../test.
 You will not be able to run 'make check' successfully.

 The test data is not included in the source packages
 and is also not part of the main git repository. Instead,
 you can checkout the test data from its own git
 repository with:

   git clone git://git.freedesktop.org/git/poppler/test

 You should checkout the test data as a sibling of your
 poppler source folder or specify the location of your
 checkout with --with-testdatadir=/path/to/checkoutdir/test.
Comment 4 Damian Martinez Dreyer 2016-07-18 15:05:56 UTC
The test repository is checked out as a sibling. All other tests pass as indicated in the log file.
Upon inspecting the unittestcase files, I can narrow down the problem to the special Character 'ç' in the file name.

The test tries to open 'Gday garon - *.pdf' instead of 'Gday garçon - *.pdf'. Unsure why. Maybe Qt 5.7 related?
Comment 5 Albert Astals Cid 2016-07-18 21:52:21 UTC
what's your locale?
Comment 6 Damian Martinez Dreyer 2016-07-19 12:31:21 UTC
My system locale is de_DE.UTF-8 .
Comment 7 Damian Martinez Dreyer 2016-07-19 12:35:23 UTC
The Locale is explicitly changed though, by calling 'LANG=en_US.UTF8 make check'.
Comment 8 Albert Astals Cid 2016-07-19 21:41:51 UTC
passes fine in my arch install with qt 5.7, you'll probably have to debug it on your side.
Comment 9 Damian Martinez Dreyer 2016-07-21 17:57:36 UTC
Yes, this looks like it's confined to special circumstances. Will report, if I find out why.
Thank you for investigating the issue.
Comment 10 Albert Astals Cid 2017-01-16 16:56:19 UTC
I'm closing it to try to clear a bit the loooong bug list, please reopen if you find what was wrong.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.