Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244517 - sys-apps/man-db keyword request
Summary: sys-apps/man-db keyword request
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2008-10-26 20:44 UTC by SpanKY
Modified: 2019-01-16 02:09 UTC (History)
4 users (show)

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


Attachments
config.log libpipeline-1.2.3 (config-1.2.3.log,392.30 KB, text/plain)
2013-06-05 00:29 UTC, Naohiro Aota
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2008-10-26 20:44:11 UTC
could you guys give man-db-2.5.2 a shot and make sure it works on BSD systems ?
Comment 1 Alexis Ballier gentoo-dev 2008-10-27 16:42:50 UTC
fails to link here: it's missing a lot of -lintl at link step

btw the ebuild should probably depend on virtual/libintl
(not sure if that's related to the nls useflag)
Comment 2 Colin Watson 2008-11-17 16:11:10 UTC
(Hi, I'm the upstream maintainer.)

Could you try man-db 2.5.3? Mike just committed an ebuild for it. Also, could I have the complete build log, including configure arguments, so that I can work out what's going on in the event that this is still happening? Thanks.
Comment 3 SpanKY gentoo-dev 2008-11-17 18:08:37 UTC
usually -lintl errors are due to the package not utilizing $(LTLIBINTL) / $(LIBINTL) ...
Comment 4 Colin Watson 2008-11-17 19:03:29 UTC
Yeah, I just reproduced this on a friend's FreeBSD box. Fix is in trunk now, but there's still something odd with gnulib's include path that I haven't sorted out yet.
Comment 5 Colin Watson 2008-12-03 10:59:29 UTC
I've figured out the remaining include path problems, and they'll be fixed in man-db 2.4.4.
Comment 6 Colin Watson 2010-11-28 18:07:32 UTC
Obviously I meant man-db 2.5.4 in that last comment.

Since 2.5.4 came out a long time ago, have any BSD folks looked at it again since then?
Comment 7 Артём Воротников 2013-05-25 11:02:59 UTC
Has this bug been fixed yet?
Comment 8 Colin Watson 2013-05-29 07:56:31 UTC
All the actual bugs I know about have been fixed.  Somebody still needs to retest a moderately recent version, it seems.
Comment 9 Naohiro Aota gentoo-dev 2013-06-02 23:29:23 UTC
Not man-db itself but libpipeline is using "clearenv()" which is not available on FreeBSD. So building man-db fail.
Comment 10 Colin Watson 2013-06-03 10:04:03 UTC
(In reply to Naohiro Aota from comment #9)
> Not man-db itself but libpipeline is using "clearenv()" which is not
> available on FreeBSD. So building man-db fail.

Thanks for your report.  Could you indicate which version of libpipeline you're testing, and provide a configure log?  If possible, it would also be helpful if you could report whether building libpipeline from bzr trunk (http://bzr.savannah.nongnu.org/r/libpipeline/trunk) works for you.
Comment 11 Naohiro Aota gentoo-dev 2013-06-05 00:29:50 UTC
Created attachment 350140 [details]
config.log libpipeline-1.2.3

(In reply to Colin Watson from comment #10)
> (In reply to Naohiro Aota from comment #9)
> > Not man-db itself but libpipeline is using "clearenv()" which is not
> > available on FreeBSD. So building man-db fail.
> 
> Thanks for your report.  Could you indicate which version of libpipeline
> you're testing, and provide a configure log?  If possible, it would also be
> helpful if you could report whether building libpipeline from bzr trunk
> (http://bzr.savannah.nongnu.org/r/libpipeline/trunk) works for you.

I've used libpipeline-1.2.3 config.log attached.
Comment 12 Colin Watson 2013-06-05 09:11:01 UTC
OK, I've asked bug-gnulib if they can help with this.
Comment 13 Colin Watson 2013-06-06 12:03:14 UTC
I've released libpipeline 1.2.4, which I've tested to work on FreeBSD.

I've also put some effort into fixing various porting issues in man-db on FreeBSD, mainly though not exclusively in the test suite, and I now have the test suite passing and at least man(1) apparently working fine.  I expect to release man-db 2.6.4 in a week or two with these changes.
Comment 14 Colin Watson 2013-06-24 10:41:26 UTC
I have now released man-db 2.6.4, which should work on FreeBSD in conjunction with libpipeline 1.2.4.  Please retest.
Comment 15 Naohiro Aota gentoo-dev 2013-06-27 17:57:04 UTC
(In reply to Colin Watson from comment #14)
> I have now released man-db 2.6.4, which should work on FreeBSD in
> conjunction with libpipeline 1.2.4.  Please retest.

Thanks. man-db 2.6.4 built fine. Some things left is that

- "fowners man:root /var/cache/man" in man-db-2.6.4.ebuild won't work
  - Jut replacing "root" with 0 is fine.
- /usr/bin/catman collide with freebsd-ubin.
  - We can also drop "catman" subdir from freebsd-ubin?
Comment 16 Naohiro Aota gentoo-dev 2013-08-31 10:34:54 UTC
(In reply to Naohiro Aota from comment #15)
> - "fowners man:root /var/cache/man" in man-db-2.6.4.ebuild won't work
>   - Jut replacing "root" with 0 is fine.

I just did it.

> - /usr/bin/catman collide with freebsd-ubin.
>   - We can also drop "catman" subdir from freebsd-ubin?

@aballier would dropping catman fine with you?
Comment 17 Adam Feldman gentoo-dev 2015-07-09 17:00:05 UTC
There are a couple of issues here which I'll get back to soon.  Just to sum them up so that you know there is a status update, several dependencies need keywording as well, I had trouble with po4a on my system (nls USE flag), but I am not sure if that is just my system.   Additionally, there is conflict with freebsd-ubin's /usr/bin/catman
Comment 18 Mike Gilbert gentoo-dev 2019-01-16 02:09:56 UTC
See bug 674834.