Bug 85887 - Compilation Failed
Summary: Compilation Failed
Status: CLOSED NOTOURBUG
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-05 02:31 UTC by Mr Bump
Modified: 2014-11-08 17:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test-suite.log (2.04 KB, text/plain)
2014-11-05 02:31 UTC, Mr Bump
Details
all log (1.95 KB, application/gzip)
2014-11-06 17:10 UTC, Mr Bump
Details

Description Mr Bump 2014-11-05 02:31:21 UTC
Created attachment 108924 [details]
test-suite.log

Compilation failed on Archlinux with the package poppler-qt5-git from AUR: https://aur.archlinux.org/packages/poppler-qt5-git/

needed to run and view pdf with qpdfview: https://aur.archlinux.org/packages/qpdfview-bzr/

I am on Archlinux x86_64. 

Please see the attachment test-suite.log

And here is the few last lines from the console:

PASS: check_attachments
PASS: check_actualtext
PASS: check_dateConversion
PASS: check_fonts
PASS: check_links
PASS: check_metadata
PASS: check_optcontent
PASS: check_permissions
PASS: check_pagelabelinfo
PASS: check_pagemode
FAIL: check_password
PASS: check_pagelayout
PASS: check_search
PASS: check_strings
PASS: check_lexer
PASS: check_goostring
make[5]: Entering directory '/tmp/yaourt-tmp-paul/aur-poppler-qt5-git/src/poppler/qt4/tests'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/tmp/yaourt-tmp-paul/aur-poppler-qt5-git/src/poppler/qt4/tests'
============================================================================
Testsuite summary for poppler 0.28.1
============================================================================
# TOTAL: 16
# PASS:  15
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See qt4/tests/test-suite.log
Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=poppler
============================================================================
Makefile:1190: recipe for target 'test-suite.log' failed
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory '/tmp/yaourt-tmp-paul/aur-poppler-qt5-git/src/poppler/qt4/tests'
Makefile:1296: recipe for target 'check-TESTS' failed
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory '/tmp/yaourt-tmp-paul/aur-poppler-qt5-git/src/poppler/qt4/tests'
Makefile:1474: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-paul/aur-poppler-qt5-git/src/poppler/qt4/tests'
Makefile:435: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-paul/aur-poppler-qt5-git/src/poppler/qt4'
Makefile:640: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
Comment 1 Albert Astals Cid 2014-11-05 18:21:59 UTC
Do you have the test files around?

Are you using a non utf8 file system or something similar?
Comment 2 Mr Bump 2014-11-06 17:10:03 UTC
Created attachment 109056 [details]
all log
Comment 3 Mr Bump 2014-11-06 17:16:57 UTC
Locales is fr_FR.UTF-8 and my keyboard layout is fr-latin9.
I retried the compilation to give you more log. You can see the log above in attachment.

Do not hesitate asking for more information. Regards
Comment 4 Albert Astals Cid 2014-11-06 18:14:48 UTC
Please answer the question i already made, do you have the test files around?
Comment 5 Mr Bump 2014-11-06 20:11:18 UTC
<do you have the test files around?>
I don't understand, what the files you mean? what the extension?
Comment 6 Mr Bump 2014-11-06 20:19:32 UTC
there are many files starting with test

ls test*
test-password-qt4      test-poppler-qt4.o
test-password-qt4.cpp  test-render-to-file
test-password-qt4.o    test-render-to-file.cpp
test-poppler-qt4       test-render-to-file.o
test-poppler-qt4.cpp   test-suite.log
Comment 7 Albert Astals Cid 2014-11-06 21:32:46 UTC
Well, i mean the file that is giving you the error as could not open in the log, obviously.
Comment 8 Mr Bump 2014-11-06 23:25:36 UTC
Ok I see.
"Error: Couldn't open file '/tmp/yaourt-tmp-paul/aur-poppler-qt5-git/src/poppler/./../test/unittestcases/Gday garon - open.pdf': No such file or directory."

This relative path supposed to look in the following folder is it correct?

/tmp/yaourt-tmp-paul/aur-poppler-qt5-git/src/test/unittestcases/

But this file "Gday garon - open.pdf" has not been found because the name is miscoded

$ cd /tmp/yaourt-tmp-paul/aur-poppler-qt5-git/src/test/unittestcases/
$ ls Gd*
Gday garçon - open.pdf  Gday garçon - owner.pdf
Comment 9 Albert Astals Cid 2014-11-07 20:13:38 UTC
The name is not miscoded, the code is pretty clear and says

QString::fromUtf8(TESTDATADIR "/unittestcases/Gday garçon - open.pdf")

And obviously works for me. That is why i am asking if you have anything wrong in your system, because it sounds like it to me.
Comment 10 Mr Bump 2014-11-08 05:53:48 UTC
I do not know how to be helpful to solve this bug.
Here's what I found as a command that can perhaps help them understand the problem.

$ localectl status
   System Locale: LANG=fr_FR.UTF-8
                  LC_COLLATE=C
       VC Keymap: fr-latin9
      X11 Layout: fr
       X11 Model: pc105
     X11 Variant: latin9_nodeadkeys
     X11 Options: grp:shifts_toggle

$ pacman -Q | grep 'poppler\|qt'
poppler 0.26.5-1
poppler-data 0.4.7-1
poppler-glib 0.26.5-1
pyqt4-common 4.11.2-1
python-pyqt4 4.11.2-1
qt4 4.8.6-3
qt5-base 5.3.2-2
qt5-declarative 5.3.2-2
qt5-location 5.3.2-2
qt5-sensors 5.3.2-2
qt5-svg 5.3.2-2
qt5-tools 5.3.2-2
qt5-translations 5.3.2-2
qt5-webkit 5.3.2-2
qt5-xmlpatterns 5.3.2-2
qtchooser 41-1
qtdownloadmanager-svn 14-1
qtwebkit 2.3.4-1
Comment 11 Mr Bump 2014-11-08 06:33:30 UTC
But there is something wrong with relative path (/./../):
'/tmp/yaourt-tmp-paul/aur-poppler-qt5-git/src/poppler/./../test/unittestcases/Gday garon - open.pdf'

Perhaps the problem came from the PKGBUILD of AUR.
Comment 12 Albert Astals Cid 2014-11-08 14:42:23 UTC
What's wrong with /./../ ?

I stongly suggest you speak with the AUR guys
Comment 13 Mr Bump 2014-11-08 15:59:40 UTC
<< What's wrong with /./../ ? >>

Simply, if you type in console : $ cd /A/path/./../somewhere
you will receive an error saying the path does not exist.


<< I stongly suggest you speak with the AUR guys >>

I stongly give up.
Comment 14 Albert Astals Cid 2014-11-08 16:02:46 UTC
(In reply to Mr Bump from comment #13)
> << What's wrong with /./../ ? >>
> 
> Simply, if you type in console : $ cd /A/path/./../somewhere
> you will receive an error saying the path does not exist.

You're joking right?

tsdgeos@xps:~/borrame$ cd ./../borrame
tsdgeos@xps:~/borrame$ pwd
/home/tsdgeos/borrame
tsdgeos@xps:~/borrame$ cd /home/tsdgeos/./../tsdgeos/borrame
tsdgeos@xps:~/borrame$ pwd
/home/tsdgeos/borrame


> 
> 
> << I stongly suggest you speak with the AUR guys >>
> 
> I stongly give up.

Enjoy your weakness of mind.
Comment 15 Mr Bump 2014-11-08 17:08:24 UTC
"Error: Couldn't open file '/tmp/yaourt-tmp-paul/aur-poppler-qt5-git/src/poppler/./../test/unittestcases/Gday garon - open.pdf': No such file or directory."

Okay, I'm probably wrong. But your condescending attitude will not make me change my mind. In my case, the topic is closed.


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.