Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221361 - app-crypt/ccid: probably needs flex build-time dependency
Summary: app-crypt/ccid: probably needs flex build-time dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: flex-depends
  Show dependency tree
 
Reported: 2008-05-11 12:55 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2024-01-20 11:48 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-05-11 12:55:48 UTC
The configure of your package checks for flex, and your package contains .l files that flex uses to generate parsers, but the ebuild does not list a dependency on flex as per http://tinderbox.dev.gentoo.org/misc/dindex/sys-devel/flex .

Either disable the flex test during configure to avoid false positive, or add the dependency upon flex if it's needed by your package.

Thanks in advance,
Diego
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2008-05-11 13:38:15 UTC
Generated file is provided with package, added FLEX=":" to configure.
Comment 2 Larry the Git Cow gentoo-dev 2024-01-20 11:48:59 UTC
The bug has been referenced in the following commit(s):

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

commit d0f3c17b8eba3e2af33853922104c18ead580bea
Author:     Mason Rocha <turret@turret.cyou>
AuthorDate: 2023-11-22 02:03:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-20 11:48:33 +0000

    app-crypt/ccid: version bump 1.5.4
    
    upstream introduces in version 1.5.3 a hard-dependency on
    sys-devel/flex, which has been historically a soft-dependency, ignored
    by previous maintainers (see https://bugs.gentoo.org/221361)
    
    patch included removes dependency, permitting proper install of package
    without flex, as possible in the past due to upstream tarballs
    pre-generating required files
    
    Bug: https://bugs.gentoo.org/221361
    Signed-off-by: Mason Rocha <turret@turret.cyou>
    Closes: https://github.com/gentoo/gentoo/pull/33933
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/ccid/Manifest                            |  1 +
 app-crypt/ccid/ccid-1.5.4.ebuild                   | 55 ++++++++++++++++++++++
 ...id-1.5.4-remove-flex-configure-dependency.patch | 16 +++++++
 3 files changed, 72 insertions(+)