Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634728 - app-text/pdf2djvu-0.9.4 will not rebuild: /usr/include/libintl.h:63:43: error: ambiguating new declaration of 'char* ngettext(const char*, const char*, long unsigned int)'
Summary: app-text/pdf2djvu-0.9.4 will not rebuild: /usr/include/libintl.h:63:43: error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-19 02:39 UTC by deference
Modified: 2018-02-05 00:12 UTC (History)
3 users (show)

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


Attachments
build.log (build-pdf2djvu.txt,11.75 KB, text/plain)
2017-10-19 02:39 UTC, deference
Details
emerge --info (emergeinfo-pdf2djvu.txt,31.87 KB, text/plain)
2017-10-19 02:39 UTC, deference
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deference 2017-10-19 02:39:30 UTC
[ebuild   R   ] app-text/pdf2djvu-0.9.4  USE="graphicsmagick openmp -nls {-test}" 

x86_64-pc-linux-gnu-g++ -fopenmp -pipe -O2 -march=amdfam10 -mtune=amdfam10 -std=c++11 -Wall -Werror=overloaded-virtual -Werror=narrowing -pthread  -I/usr/include/poppler  -I/usr/include/GraphicsMagick   -I/usr/include/uuid    -c -o pdf-backend.o pdf-backend.cc
In file included from /usr/include/features.h:368:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/x86_64-pc-linux-gnu/bits/c++config.h:482,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/cstddef:44,
                 from pdf-backend.hh:19,
                 from pdf-backend.cc:16:
/usr/include/libintl.h:63:43: error: ambiguating new declaration of 'char* ngettext(const char*, const char*, long unsigned int)'
      __THROW __attribute_format_arg__ (1) __attribute_format_arg__ (2);
                                           ^
Comment 1 deference 2017-10-19 02:39:41 UTC
Created attachment 499218 [details]
build.log
Comment 2 deference 2017-10-19 02:39:48 UTC
Created attachment 499220 [details]
emerge --info
Comment 3 Andreas Proteus 2017-12-28 16:50:48 UTC
Version 0.9.7 (not in the tree) builds fine.
Comment 4 Stefan Briesenick 2017-12-29 13:13:00 UTC
ping? time for version bump?
Comment 5 Stefan Briesenick 2017-12-29 13:26:54 UTC
renaming the 0.9.4 ebuild to 0.9.7 and changing the SRC_URI to

> SRC_URI="https://github.com/jwilk/${PN}/releases/download/${PV}/${P}.tar.xz"

worked fine for me.
Comment 6 Larry the Git Cow gentoo-dev 2018-02-05 00:12:11 UTC
The bug has been closed via the following commit(s):

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

commit bb5366dfd17230a3a59c21817dae863c39458886
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2018-02-05 00:06:19 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2018-02-05 00:11:55 +0000

    app-text/pdf2djvu: Version bump to 0.9.8
    
    Closes: https://bugs.gentoo.org/644798
    Closes: https://bugs.gentoo.org/643130
    Closes: https://bugs.gentoo.org/634728
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-text/pdf2djvu/Manifest              |  1 +
 app-text/pdf2djvu/pdf2djvu-0.9.8.ebuild | 60 +++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)