Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477604 - =x11-drivers/xf86-video-vmware-13.0.1: Please fix RDEPEND for G/FBSD and add amd64-fbsd KEYWORDS.
Summary: =x11-drivers/xf86-video-vmware-13.0.1: Please fix RDEPEND for G/FBSD and add ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal enhancement (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on: 435648
Blocks:
  Show dependency tree
 
Reported: 2013-07-21 10:46 UTC by Yuta SATOH
Modified: 2016-12-11 13:58 UTC (History)
0 users

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


Attachments
sample patch for xf86-video-vmware-13.0.1.ebuild (477604.patch,635 bytes, patch)
2013-07-21 10:51 UTC, Yuta SATOH
Details | Diff
sample patch for profiles (477604-profile.patch,891 bytes, patch)
2013-07-21 10:55 UTC, Yuta SATOH
Details | Diff
Xorg.0.log (Xorg.0.log,24.66 KB, text/plain)
2013-07-21 10:57 UTC, Yuta SATOH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2013-07-21 10:46:47 UTC
When you enable USE=libkms, x11-libs/libdrm will not compile on FreeBSD.
I'll attach patch to be able to build by modifying RDEPEND.



/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-gentoo-freebsd9.1-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46/libkms -I..    -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I/var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46/include/drm -I/var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46 -O2 -pipe -c -o vmwgfx.lo /var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46/libkms/vmwgfx.c
libtool: compile:  x86_64-gentoo-freebsd9.1-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46/libkms -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I/var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46/include/drm -I/var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46 -O2 -pipe -c /var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46/libkms/vmwgfx.c  -fPIC -DPIC -o .libs/vmwgfx.o
/var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46/libkms/vmwgfx.c: In function 'vmwgfx_bo_create':
/var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46/libkms/vmwgfx.c:107:20: error: 'ERESTART' undeclared (first use in this function)
/var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46/libkms/vmwgfx.c:107:20: note: each undeclared identifier is reported only once for each function it appears in
gmake[2]: *** [vmwgfx.lo] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46_build/libkms'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.46/work/libdrm-2.4.46_build'
gmake: *** [all] Error 2
 * ERROR: x11-libs/libdrm-2.4.46 failed (compile phase):
 *   emake failed
Comment 1 Yuta SATOH 2013-07-21 10:51:47 UTC
Created attachment 353762 [details, diff]
sample patch for xf86-video-vmware-13.0.1.ebuild
Comment 2 Yuta SATOH 2013-07-21 10:55:43 UTC
Created attachment 353764 [details, diff]
sample patch for profiles
Comment 3 Yuta SATOH 2013-07-21 10:57:19 UTC
Created attachment 353766 [details]
Xorg.0.log

Tested on vmplayer 5.0.2 build-1031769.
Comment 4 Yuta SATOH 2013-07-21 12:36:02 UTC
To work around Segmentation fault, patched libpciaccess needs.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-12-11 13:58:06 UTC
Done. Three years later ;-). Thanks.

commit 543f24c98777f3353eaa14c8f8ee93124f96c154
Author:     Yuta Satoh <nigoro.dev@gmail.com>
AuthorDate: Thu Nov 10 11:19:42 2016
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Sun Dec 11 14:56:37 2016

    profiles: Unmask xorg-drivers[video_cards_vmware] on amd64-fbsd
    
    Closes: https://github.com/gentoo/gentoo/pull/2798

commit ca9458030885529ae6ba4895730e964135e12be3
Author:     Yuta Satoh <nigoro.dev@gmail.com>
AuthorDate: Thu Nov 10 11:18:02 2016
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Sun Dec 11 14:55:14 2016

    x11-drivers/xf86-video-vmware: add ~amd64-fbsd, #477604
    
    Keyword ~amd64-fbsd and adjust the dependencies accordingly.