Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704166 - app-text/texlive-core-2019-r5 w/ app-text/poppler-0.84.0: In file included from texk/web2c/pdftexdir/utils.c:36: /usr/include/poppler/poppler-config.h:142:10: fatal error: cstdio: No such file or directory
Summary: app-text/texlive-core-2019-r5 w/ app-text/poppler-0.84.0: In file included fr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL: https://gitlab.freedesktop.org/popple...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-29 12:04 UTC by Andreas Sturmlechner
Modified: 2019-12-31 18:41 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,782.44 KB, text/x-log)
2019-12-29 12:04 UTC, Andreas Sturmlechner
Details
texlive-core-2019-r6.build.log.xz (build.log.xz,34.83 KB, application/x-xz)
2019-12-30 20:02 UTC, Andreas Sturmlechner
Details
texlive-core-2019-r7.build.log.xz (build.log.xz,20.52 KB, application/x-xz)
2019-12-31 18:25 UTC, Andreas Sturmlechner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2019-12-29 12:04:29 UTC
Created attachment 601676 [details]
build.log

> In file included from /var/tmp/portage/app-text/texlive-core-2019-r5/work/texlive-20190410-source/texk/web2c/pdftexdir/utils.c:36:
> /usr/include/poppler/poppler-config.h:142:10: fatal error: cstdio: No such file or directory
>   142 | #include <cstdio> // __MINGW_PRINTF_FORMAT is defined in the mingw stdio.h
>       |          ^~~~~~~~


Caused by poppler upstream commit: https://gitlab.freedesktop.org/poppler/poppler/commit/1c1d9a70013125f67518f398a2b5abf37ec43cdd
Comment 1 Larry the Git Cow gentoo-dev 2019-12-29 12:28:44 UTC
The bug has been referenced in the following commit(s):

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

commit cfbacc1d4b97edc2ad6e99f71087ff7d40459f55
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-12-29 12:27:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-12-29 12:27:42 +0000

    profiles: Mask ~app-text/poppler-0.84.0
    
    Bug: https://bugs.gentoo.org/704166
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/package.mask | 4 ++++
 1 file changed, 4 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2019-12-30 19:24:08 UTC
The bug has been closed via the following commit(s):

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

commit c728d76bf6f7739b4a428ddcdbf7a1213ee4a48b
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2019-12-30 19:21:31 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2019-12-30 19:24:00 +0000

    app-text/texlive-core: fix building with poppler-0.84
    
    Closes: https://bugs.gentoo.org/704166
    
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 app-text/texlive-core/Manifest                    |   1 +
 app-text/texlive-core/texlive-core-2019-r6.ebuild | 360 ++++++++++++++++++++++
 2 files changed, 361 insertions(+)
Comment 3 Andreas Sturmlechner gentoo-dev 2019-12-30 20:02:55 UTC
Created attachment 601946 [details]
texlive-core-2019-r6.build.log.xz

> In file included from /var/tmp/portage/app-text/texlive-core-2019-r6/work/texlive-20190410-source/texk/web2c/xetexdir/XeTeX_ext.c:41:
> /usr/include/poppler/poppler-config.h:142:10: fatal error: cstdio: No such file or directory
>   142 | #include <cstdio> // __MINGW_PRINTF_FORMAT is defined in the mingw stdio.h
>       |          ^~~~~~~~
Comment 4 Larry the Git Cow gentoo-dev 2019-12-31 09:13:27 UTC
The bug has been closed via the following commit(s):

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

commit 7b4098fca15cc0111f04b3ae6927323e04150de3
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2019-12-31 09:12:35 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2019-12-31 09:13:22 +0000

    app-text/texlive-core: redo poppler-0.84 compat patch
    
    Closes: https://bugs.gentoo.org/704166
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 app-text/texlive-core/Manifest                                        | 2 +-
 .../{texlive-core-2019-r6.ebuild => texlive-core-2019-r7.ebuild}      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2019-12-31 09:43:37 UTC
The bug has been referenced in the following commit(s):

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

commit bd8a28e19c67c311b844c81d29b89b12d6180199
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-12-31 09:39:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-12-31 09:39:02 +0000

    profiles: Unmask app-text/poppler-0.84.0
    
    Bug: https://bugs.gentoo.org/704166
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/package.mask | 4 ----
 1 file changed, 4 deletions(-)
Comment 6 Andreas Sturmlechner gentoo-dev 2019-12-31 18:25:26 UTC
Created attachment 602124 [details]
texlive-core-2019-r7.build.log.xz

> In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/string:55,
>                  from /usr/include/poppler/goo/GooString.h:40,
>                  from /var/tmp/portage/app-text/texlive-core-2019-r7/work/texlive-20190410-source/texk/web2c/pdftexdir/pdftosrc.cc:39:
> /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(int)':
> /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/basic_string.h:6547:50: error: 'vsnprintf' is not a member of 'std'; did you mean 'isprint'?
>  6547 |   { return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, 4 * sizeof(int),
>       |                                                  ^~~~~~~~~
>       |                                                  isprint
Comment 7 Andreas Sturmlechner gentoo-dev 2019-12-31 18:41:38 UTC
False alarm.