Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222741 - net-libs/udns-0.0.9 (New Package)
Summary: net-libs/udns-0.0.9 (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL: http://www.corpit.ru/mjt/udns.html
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 225751
  Show dependency tree
 
Reported: 2008-05-18 23:02 UTC by Simon Arlott
Modified: 2008-06-15 22:03 UTC (History)
1 user (show)

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


Attachments
UDNS ebuild (udns-0.0.9.ebuild,649 bytes, text/plain)
2008-05-18 23:04 UTC, Simon Arlott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Arlott 2008-05-18 23:02:20 UTC
Ebuild for UDNS, an async-capable DNS stub resolver library.

Reproducible: Always

Steps to Reproduce:




net-im/jabberd2-2.2.0 (not yet released) depends on this
Comment 1 Simon Arlott 2008-05-18 23:04:25 UTC
Created attachment 153625 [details]
UDNS ebuild
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-18 23:32:56 UTC
- The ebuild header is invalid¹
- no dependencies...
- don't hardcode /usr/lib, use $(get_libdir)

[1] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
Comment 3 Simon Arlott 2008-05-19 00:11:43 UTC
- There is absolutely no link to that document anywhere on http://www.gentoo.org/doc/en/ -> http://www.gentoo.org/doc/en/?catid=gentoodev -> http://www.gentoo.org/doc/en/ebuild-submit.xml

- There are no dependencies.

- I can't even find get_libdir in http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1, I just copied another ebuild.

Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2008-06-10 21:35:06 UTC
Added to the tree.
Comment 5 Simon Arlott 2008-06-15 19:35:48 UTC
This ebuild appears to have been broken by someone who doesn't understand that this is a library - it should not make use of the 'static' USE flag, the .a file should always be installed.
Comment 6 Simon Arlott 2008-06-15 19:39:13 UTC
It's also missing ~x86, which I had in my original file.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-15 19:56:03 UTC
@Krzysiek: Simon is right, using the static use flag to control installation of the static lib is misuse of this use flag. Revert, please.

gentoofan: Seeing this "improvement" from you and https://bugs.gentoo.org/show_bug.cgi?id=225673#c5 I thought it's better to cc you.
Comment 8 Krzysztof Pawlik (RETIRED) gentoo-dev 2008-06-15 20:06:07 UTC
(In reply to comment #6)
> It's also missing ~x86, which I had in my original file.

*YOU*, no me - I'm on amd64, so it got ~amd64 and a KEYWORDREQ bug: bug #225801

'static' removed.
Comment 9 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-06-15 20:07:32 UTC
Is there some document that says not to use the static USE flag for these circumstances?

I ask because the udns package isn't broken by it's use. Jabberd2 compiles and links just fine without the static archive.
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-15 22:03:22 UTC
(In reply to comment #9)
> Is there some document that says not to use the static USE flag for these
> circumstances?

I don't think this is documented anywhere. It might, though. The flags only purpose is creating static apps.

(In reply to comment #9)
> I ask because the udns package isn't broken by it's use. Jabberd2 compiles and
> links just fine without the static archive.

Irrelevant for the matter. Personally I'd love to see a system consisting of applications linking shared libs (almost) exclusively, but I fear that this is a long and burdensome way to go for Linux distributions