Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906096 - app-text/zathura-pdf-poppler-0.3.1 should require >=app-text/zathura-0.5.2
Summary: app-text/zathura-pdf-poppler-0.3.1 should require >=app-text/zathura-0.5.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Piotr Karbowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-10 22:19 UTC by Tom Samstag
Modified: 2023-05-14 14:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Samstag 2023-05-10 22:19:30 UTC
app-text/zathura-pdf-poppler-0.3.1 has a build-time check for zathura >=0.5.2 but the ebuild DEPENDs on >=app-text/zathura-0.3.9:=. This leads to a build failure if you attempt to update zathura-pdf-poppler without updating zathura first.

Reproducible: Always

Steps to Reproduce:
1. Install app-text/zathura-0.4.9
2. Attempt to emerge app-text/zathura-pdf-poppler-0.3.1

Actual Results:  
Build of zathura-pdf-poppler fails:

>>> Emerging (1 of 1) app-text/zathura-pdf-poppler-0.3.1::gentoo
 * zathura-pdf-poppler-0.3.1.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking zathura-pdf-poppler-0.3.1.tar.gz to /var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work
>>> Source unpacked in /var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work
>>> Preparing source in /var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work/zathura-pdf-poppler-0.3.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work/zathura-pdf-poppler-0.3.1 ...
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false --buildtype plain /var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work/zathura-pdf-poppler-0.3.1 /var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work/zathura-pdf-poppler-0.3.1-build
The Meson build system
Version: 0.64.1
Source dir: /var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work/zathura-pdf-poppler-0.3.1
Build dir: /var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work/zathura-pdf-poppler-0.3.1-build
Build type: native build
Project name: zathura-pdf-poppler
Project version: 0.3.1
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 12.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo 12.2.1_p20230428-r1 p2) 12.2.1 20230428")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)
Dependency zathura found: NO found 0.4.9 but need: '>=0.5.2'
Found CMake: /usr/bin/cmake (3.25.3)
Run-time dependency zathura found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency zathura

meson.build:18:0: ERROR: Automatic wrap-based subproject downloading is disabled

A full log can be found at /var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work/zathura-pdf-poppler-0.3.1-build/meson-logs/meson-log.txt
 * ERROR: app-text/zathura-pdf-poppler-0.3.1::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2286:  Called meson_src_configure
 *   environment, line 1708:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=app-text/zathura-pdf-poppler-0.3.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/zathura-pdf-poppler-0.3.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work/zathura-pdf-poppler-0.3.1'
 * S: '/var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work/zathura-pdf-poppler-0.3.1'

>>> Failed to emerge app-text/zathura-pdf-poppler-0.3.1, Log file:

>>>  '/var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/temp/build.log'

 * Messages for package app-text/zathura-pdf-poppler-0.3.1:

 * ERROR: app-text/zathura-pdf-poppler-0.3.1::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2286:  Called meson_src_configure
 *   environment, line 1708:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=app-text/zathura-pdf-poppler-0.3.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/zathura-pdf-poppler-0.3.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work/zathura-pdf-poppler-0.3.1'
 * S: '/var/tmp/portage/app-text/zathura-pdf-poppler-0.3.1/work/zathura-pdf-poppler-0.3.1'


Expected Results:  
If zathura-pdf-poppler-0.3.1 requires a newer version of zathura, it should depend on it.
Comment 1 Larry the Git Cow gentoo-dev 2023-05-14 14:51:10 UTC
The bug has been closed via the following commit(s):

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

commit 8de078428f16d5311145bc8fc3f336efb7b6d06d
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2023-05-14 14:47:31 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2023-05-14 14:51:07 +0000

    app-text/zathura-pdf-poppler: 0.3.1-r1 revbump with deps fix.
    
    Closes: https://bugs.gentoo.org/906096
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 .../zathura-pdf-poppler-0.3.1-r1.ebuild            | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)