Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432410 - [keywordreq] some packages compile and works on amd64-fbsd
Summary: [keywordreq] some packages compile and works on amd64-fbsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: AMD64 FreeBSD
: Normal enhancement (vote)
Assignee: Gentoo AMD64 FreeBSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-23 12:08 UTC by Yuta SATOH
Modified: 2013-05-24 20:33 UTC (History)
0 users

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


Attachments
patch for profiles/default/bsd/package.use.mask (432410-xattr.patch,420 bytes, patch)
2012-11-09 11:04 UTC, Yuta SATOH
Details | Diff
patch for sys-apps/more/more-2.12r.ebuild (432410-more.patch,1.21 KB, patch)
2012-11-09 11:06 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2012-08-23 12:08:22 UTC
I had check the operation of the following packages.
Please add ~amd64-fbsd KEYWORDS in the following packages.

sys-apps/more-2.12r
app-arch/tar-1.26-r1
app-arch/lha-114i-r7
app-i18n/nkf-2.1.2-r1
app-portage/gentoolkit-dev-0.2.8
app-text/lv-4.51-r3
net-misc/keychain-2.7.1
Comment 1 Alexis Ballier gentoo-dev 2012-11-06 13:37:09 UTC
please provide a complete list without broken deps or list what needs to be masked, eg tar has broken deps.
Comment 2 Yuta SATOH 2012-11-09 11:03:18 UTC
(In reply to comment #1)
> please provide a complete list without broken deps or list what needs to be
> masked, eg tar has broken deps.

Thanks for your comment.
I checked all USE flags.

I found two problems, I'll attach patches.
Comment 3 Yuta SATOH 2012-11-09 11:04:43 UTC
Created attachment 328998 [details, diff]
patch for profiles/default/bsd/package.use.mask

GNU's attr is not support on gfbsd.
Please add the following line to p.use.mask.

app-arch/tar xattr
Comment 4 Yuta SATOH 2012-11-09 11:06:06 UTC
Created attachment 329000 [details, diff]
patch for sys-apps/more/more-2.12r.ebuild

This patch is bump to EAPI=2 from EAPI=0.
And I added USE Dependencies. 
+ DEPEND="static? ( >=sys-libs/ncurses-5.2-r2[static-libs] )"

sys-apps/more will fail to compile when static USE flag enabled.
You must enable static-lib flag of sys-libs/ncurses for compile to be successful...

error messages
/usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../../x86_64-gentoo-freebsd9.1/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
gmake: *** [more] Error 1
Comment 5 Alexis Ballier gentoo-dev 2013-05-24 20:33:42 UTC
all done, thanks!