Page MenuHomeFreeBSD
Feed Advanced Search

Aug 8 2019

zeising added inline comments to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.
Aug 8 2019, 8:44 AM

Aug 7 2019

zeising added a comment to D21172: Bump LLVM_DEFAULT to 90.

@jmd or @zeising, can you update devel/libclc to a more recent LLVM snapshot? lang/clover (P294) compiles fine against LLVM 9 API while linking errors maybe unrelated.

Aug 7 2019, 10:01 AM
D21019: devel/libclc: Update to 0.4.0 is now accepted and ready to land.

I trust that it runs fine in poudriere and so on. :)

Aug 7 2019, 10:00 AM
zeising committed rP508309: MFH: r508214.
MFH: r508214
Aug 7 2019, 10:00 AM
D20990: graphics/drm-current-kmod: Install kernel module sources. is now accepted and ready to land.
Aug 7 2019, 1:24 AM
D20990: graphics/drm-current-kmod: Install kernel module sources. is now accepted and ready to land.
Aug 7 2019, 12:53 AM

Aug 6 2019

zeising added inline comments to D20990: graphics/drm-current-kmod: Install kernel module sources..
Aug 6 2019, 10:39 PM
zeising committed rP508286: MFH: r508284 r508285.
MFH: r508284 r508285
Aug 6 2019, 10:22 PM
zeising committed rP508285: graphics/drm-current-kmod: Update snapshot.
graphics/drm-current-kmod: Update snapshot
Aug 6 2019, 10:15 PM
zeising committed rP508284: graphics/drm-devel-kmod: Update snapshot.
graphics/drm-devel-kmod: Update snapshot
Aug 6 2019, 10:14 PM
zeising added a comment to D20992: Fix build with DRM and INVARIANTS enabled..
In D20992#460070, @jhb wrote:

So with this change people will rebuild the module on current without having to reinstall the port, so I think this will effectively do the recommended change, but even more strongly on current. I think that any pre-built kernel modules are always going to have to be targeted at a kind of lowest-common-denominator. We aim to do this already for standalone kernel module builds (so cd /sys/modules/foo; make is the same problem space).

If you really want to customize kernel modules to the running kernel then I think the next step you might consider is to build modules during the post-install step of the package being installed. However, for people running releases, I think shipping a pre-built module that will work with GENERIC is sufficient. In that sense I'm pretty happy with where the current LOCAL_MODULES scheme ends up.

Aug 6 2019, 7:10 PM
zeising committed rP508253: Switch a couple of x11 ports to https.
Switch a couple of x11 ports to https
Aug 6 2019, 2:15 PM
zeising committed rP508237: MFH: r508236.
MFH: r508236
Aug 6 2019, 8:37 AM
zeising committed rP508236: graphics/drm-fbsd11.2-kmod: Update snapshot.
graphics/drm-fbsd11.2-kmod: Update snapshot
Aug 6 2019, 8:36 AM

Aug 5 2019

zeising committed rP508214: devel/libpciaccess: Update to 0.16, fix regression.
devel/libpciaccess: Update to 0.16, fix regression
Aug 5 2019, 9:29 PM
zeising committed rP508210: x11/rstart: Deprecate and set expiration.
x11/rstart: Deprecate and set expiration
Aug 5 2019, 8:33 PM
zeising committed rP508208: x11/libXTrap: mark deprecated and set expiration.
x11/libXTrap: mark deprecated and set expiration
Aug 5 2019, 8:30 PM
zeising committed rP508207: x11/xtrap: Deprecate and set expiration.
x11/xtrap: Deprecate and set expiration
Aug 5 2019, 8:24 PM
zeising committed rP508203: x11/xrendercheck: Grab on behalf of x11@.
x11/xrendercheck: Grab on behalf of x11@
Aug 5 2019, 7:49 PM
zeising committed rP508202: x11-drivers/xf86-video-qxl: Set x11@ as maintainer.
x11-drivers/xf86-video-qxl: Set x11@ as maintainer
Aug 5 2019, 7:38 PM

Aug 2 2019

zeising added inline comments to D21133: devel/libevent2: update to 2.1.11.
Aug 2 2019, 1:24 PM
D21133: devel/libevent2: update to 2.1.11 is now accepted and ready to land.
Aug 2 2019, 1:07 PM
zeising added a comment to D21133: devel/libevent2: update to 2.1.11.

Minor nits, I noticed them, but feel free to change or leave them as-is.

Aug 2 2019, 1:07 PM
D21133: devel/libevent2: update to 2.1.11 is now accepted and ready to land.

lgtm (I only glanced at the patch, and haven't tested it, though).

Aug 2 2019, 1:00 PM

Aug 1 2019

zeising committed rP507829: MFH: r507828.
MFH: r507828
Aug 1 2019, 8:08 PM
zeising committed rP507828: graphics/drm-legacy-kmod: Update snapshot.
graphics/drm-legacy-kmod: Update snapshot
Aug 1 2019, 8:07 PM
zeising added a comment to D20992: Fix build with DRM and INVARIANTS enabled..
In D20992#458955, @jhb wrote:
In D20992#455803, @jhb wrote:

@zeising: With the related changes (see the stack, and you've commented on the drm-current-kmod one), a normal GENERIC kernel on head defines INVARIANTS and trips over this. If you apply the other two changes and install the updated package and try to build GENERIC you will hit this.

I'm not sure I understand this comment.
The kmod is built using the kmod facility in ports, and bsd.kmod.mk. I don't know if INVARIANTS and other options gets set by that, but it seems they don't. If the build when building out of tree (building the port) vs. building in tree is different because of this (and other options), this would mean we get different drivers depending on how they are built, and this feels like it's going to become a support nightmare. Perhaps options such as these should be stripped before building ports modules together with source, to avoid this issue.

It's more like getting reliably working modules on HEAD instead of random crashes and panics due to a mismatch in the kernel and module environment. Standalone modules only work with non-changing kernels (e.g. a user staying on a release) or with modules that use stable, well-supported interfaces like (the graphics drivers do not as they regularly use VM internals). Plus, running the graphics drivers with debugging enabled on HEAD such as INVARIANTS is more likely to find bugs more quickly and more nicely. virtualbox is in a similar situation where it needs to be paired with the running kernel instead of mixing old and new versions of kernel interfaces.

Aug 1 2019, 8:02 AM
zeising added a comment to D20990: graphics/drm-current-kmod: Install kernel module sources..
In D20990#458950, @jhb wrote:

Having to specify each source and header file seems like a huge maintenance burden. For every update in Linux version files get added, removed and renamed. Some sort of recursive directory install would be nice...

This is just how ports work, the package list (pkg-plist) must contain all files that are to be installed, otherwise pkg doesn't know how to create a package from the files in the staging area.

There are some ways to do automatic plist general, but my understanding is that portmgr@ generally frowns on it as they want to preserve the ability to grep for a file in all the pkg-plist files. *shrug* FWIW, I generated the list of files with 'find' fairly easily. 'make check-plist' is also handy to let you know if you have it wrong.

Aug 1 2019, 7:51 AM

Jul 31 2019

zeising added a comment to D20992: Fix build with DRM and INVARIANTS enabled..
In D20992#455803, @jhb wrote:

@zeising: With the related changes (see the stack, and you've commented on the drm-current-kmod one), a normal GENERIC kernel on head defines INVARIANTS and trips over this. If you apply the other two changes and install the updated package and try to build GENERIC you will hit this.

Jul 31 2019, 9:47 AM
zeising added a comment to D20990: graphics/drm-current-kmod: Install kernel module sources..

Having to specify each source and header file seems like a huge maintenance burden. For every update in Linux version files get added, removed and renamed. Some sort of recursive directory install would be nice...

Jul 31 2019, 9:46 AM

Jul 30 2019

zeising committed rP507658: MFH: r507657.
MFH: r507657
Jul 30 2019, 7:29 PM
zeising committed rP507657: graphics/drm-fbsd11.2-kmod: Update snapshot.
graphics/drm-fbsd11.2-kmod: Update snapshot
Jul 30 2019, 7:18 PM

Jul 22 2019

zeising committed rP507151: MFH: r507148 r507149 r507150.
MFH: r507148 r507149 r507150
Jul 22 2019, 5:22 PM
zeising committed rP507150: graphics/drm-current-kmod: Update snapshot.
graphics/drm-current-kmod: Update snapshot
Jul 22 2019, 5:20 PM
zeising committed rP507149: graphics/drm-current-kmod: Update snapshot.
graphics/drm-current-kmod: Update snapshot
Jul 22 2019, 5:20 PM
zeising committed rP507148: graphics/drm-fbsd12.0-kmod: Update snapshot.
graphics/drm-fbsd12.0-kmod: Update snapshot
Jul 22 2019, 5:18 PM

Jul 19 2019

zeising added a comment to D20990: graphics/drm-current-kmod: Install kernel module sources..

Thank you for working on this!

Jul 19 2019, 7:33 AM
zeising updated subscribers of D20992: Fix build with DRM and INVARIANTS enabled..

I don't think the drm kmods are built with INVARIANTS, unless it's somehow passed into the build environment when building out of tree kmods. In general, are there other options added when building the DRM kmods (or other kmods) as part of the kernel build?

Jul 19 2019, 7:21 AM

Jul 18 2019

zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.

This breaks ports that test something and set USE_XORG between bsd.port.pre.mk and bsd.port.post.mk.

Also, I have the feeling that there is a .include "${USESDIR}/*.mk" abuse in xorg-cat.mk, in my opinion this should be pushed to the USES line in individual ports.

Jul 18 2019, 8:11 AM

Jul 15 2019

zeising committed rP506713: MFH: r506712.
MFH: r506712
Jul 15 2019, 9:40 PM
zeising committed rP506712: graphics/drm-fbsd12.0-kmod: Mark only for 12.
graphics/drm-fbsd12.0-kmod: Mark only for 12
Jul 15 2019, 9:38 PM

Jul 12 2019

zeising committed rP506490: graphics/libdrm: Fix check for arm and powerpc.
graphics/libdrm: Fix check for arm and powerpc
Jul 12 2019, 9:02 PM

Jul 10 2019

zeising committed rP506385: MFH: r506384.
MFH: r506384
Jul 10 2019, 8:08 PM
zeising committed rP506384: graphics/drm-devel-kmod: Update snapshot.
graphics/drm-devel-kmod: Update snapshot
Jul 10 2019, 8:07 PM
zeising committed rP506355: MFH: r506311 r506335 r506353 r506354.
MFH: r506311 r506335 r506353 r506354
Jul 10 2019, 3:10 PM
zeising committed rP506354: graphics/drm-fbsd12.0-kmod: Update snapshot.
graphics/drm-fbsd12.0-kmod: Update snapshot
Jul 10 2019, 2:51 PM
zeising committed rP506353: graphics/drm-current-kmod: Update snapshot.
graphics/drm-current-kmod: Update snapshot
Jul 10 2019, 2:50 PM
zeising committed rP506335: graphics/drm-kmod: Update supported versions.
graphics/drm-kmod: Update supported versions
Jul 10 2019, 7:15 AM

Jul 9 2019

zeising committed rP506311: Change maintainer of all drm kmod ports to x11@.
Change maintainer of all drm kmod ports to x11@
Jul 9 2019, 8:20 PM
zeising committed rP506308: devel/nasm: Use https to fetch distfiles.
devel/nasm: Use https to fetch distfiles
Jul 9 2019, 7:52 PM
zeising committed rP506304: net/bredbandskollen: Update snapshot.
net/bredbandskollen: Update snapshot
Jul 9 2019, 7:04 PM
zeising committed rP506303: MFH: r506302.
MFH: r506302
Jul 9 2019, 6:52 PM
zeising committed rP506302: graphics/drm-legacy-kmod: Update snapshot.
graphics/drm-legacy-kmod: Update snapshot
Jul 9 2019, 6:51 PM

Jul 8 2019

zeising added a comment to D20732: Update porter's handbook for USES=xorg.

Updates based on comments from @mat

Jul 8 2019, 7:55 PM

Jul 7 2019

zeising updated the summary of D20732: Update porter's handbook for USES=xorg.

Update patch, add documentation for USES=xorg-cat as well.

Jul 7 2019, 10:33 AM

Jul 5 2019

zeising committed rP505941: www/trac-accountmanager: Update to 0.5.17339.
www/trac-accountmanager: Update to 0.5.17339
Jul 5 2019, 10:25 PM
zeising committed rS349770: MFC r349607: pci(4): Use plural registers.
MFC r349607: pci(4): Use plural registers
Jul 5 2019, 10:21 PM
zeising committed rS349769: MFC r349607: pci(4): Use plural registers.
MFC r349607: pci(4): Use plural registers
Jul 5 2019, 10:21 PM
zeising committed rP505940: databases/rrdtool: Update to 1.7.2.
databases/rrdtool: Update to 1.7.2
Jul 5 2019, 9:49 PM

Jul 4 2019

zeising added inline comments to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.
Jul 4 2019, 8:27 PM
zeising added inline comments to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.
Jul 4 2019, 8:25 PM
zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.

Submitted for exp-run in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238988 .

Jul 4 2019, 5:12 PM
zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.

Update based on latest comments. Ready for exp-run now.

Jul 4 2019, 5:07 PM
zeising committed rP505838: x11/pixman: Update to 0.38.4.
x11/pixman: Update to 0.38.4
Jul 4 2019, 3:38 PM

Jul 3 2019

zeising committed rP505796: graphics/pixmap: Fix build after libXt update.
graphics/pixmap: Fix build after libXt update
Jul 3 2019, 9:27 PM
zeising committed rP505763: graphics/libdrm: Enable more drivers on aarch64.
graphics/libdrm: Enable more drivers on aarch64
Jul 3 2019, 4:48 PM

Jul 2 2019

zeising committed rP505706: security/softhsm2: Fix build with non-base openSSL.
security/softhsm2: Fix build with non-base openSSL
Jul 2 2019, 8:45 PM
zeising committed rS349607: pci(4): Use plural configuration registers.
pci(4): Use plural configuration registers
Jul 2 2019, 5:48 PM
zeising committed rS349606: MFC 349133 349146 349150: document PCIOCATTACHED.
MFC 349133 349146 349150: document PCIOCATTACHED
Jul 2 2019, 5:24 PM
zeising committed rS349605: MFC 349133 349146 349150: document PCIOCATTACHED.
MFC 349133 349146 349150: document PCIOCATTACHED
Jul 2 2019, 5:23 PM

Jul 1 2019

zeising committed rP505641: x11-toolkits/libXt: Update to 1.2.0.
x11-toolkits/libXt: Update to 1.2.0
Jul 1 2019, 9:19 PM

Jun 30 2019

zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.

Patch is updated based on last round of comments. The only outstanding issue is the handling of libtool and autoreconf. Currently, the way it's handled is by moving the check for libtool_ARGS into the POSTMKINCLUDED stage of autoreconf.mk. Based on the discussion, perhaps that is the least bad idea?

Jun 30 2019, 8:09 PM
zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.

Updated based on comments.

Jun 30 2019, 8:06 PM
zeising added a comment to D18411: x11/pixman: update to 0.36.0.

The PR in connection with this review has been updated with a patch to update pixman to 0.38.4. This review can be closed/abandoned.

Jun 30 2019, 7:12 PM
zeising committed rP505442: graphics/libdrm: fix drmGetNodeTypeFromFd.
graphics/libdrm: fix drmGetNodeTypeFromFd
Jun 30 2019, 5:39 PM
zeising committed rP505441: graphics/libdrm: Update to 2.4.98.
graphics/libdrm: Update to 2.4.98
Jun 30 2019, 5:32 PM
zeising committed rP505440: x11/libpciaccess: Update to 0.14.0.
x11/libpciaccess: Update to 0.14.0
Jun 30 2019, 5:04 PM
zeising committed rP505427: x11/libX11: Update to 1.6.8.
x11/libX11: Update to 1.6.8
Jun 30 2019, 3:54 PM
zeising committed rP505425: Switch mesa and related ports to llvm80.
Switch mesa and related ports to llvm80
Jun 30 2019, 2:56 PM
zeising committed rP505415: x11/xfd x11/xload: Don't mark as broken on aarch64.
x11/xfd x11/xload: Don't mark as broken on aarch64
Jun 30 2019, 10:24 AM

Jun 27 2019

zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.
In D20724#449462, @tijl wrote:

I am not entirely sure what you mean here. Ports fetched directly from gitlab (or github) will require autoreconf, since when fetching arbitrary revisions, no pre-generated autotools scripts are provided.

Some projects keep pre-generated scripts in their repo.

Jun 27 2019, 9:06 AM

Jun 26 2019

zeising added inline comments to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.
Jun 26 2019, 5:44 PM
zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.
In D20724#449198, @mat wrote:
In D20724#449059, @mat wrote:

I think you are trying to put really too much magic in xorg-cat.

I am merely replicating the functionality that was in bsd.xorg.mk. All of this is in the old bsd.xorg.mk, and there it works. bsd.xorg.mk is only pulled in from bsd.ports.mk if USE_XORG or XORG_CAT is defined, perhaps it is better left this way, rather than converted to USES?

Save for the generic framework files, nothing should be left as a bsd.*.mk file, everything should be moved to a USES. The move is better if it is done by someone who actually understands what the file does.

Jun 26 2019, 3:55 PM
zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.
In D20724#449170, @tijl wrote:

I found two ports with USES=autoreconf and XORG_CAT: x11-drivers/xf86-input-egalax and x11-drivers/xf86-video-intel. The former isn't maintained by x11@ and is fetched from github. If such non-X.org ports are allowed to use XORG_CAT then they may be fetched from gitlab and not need autoreconf for instance, so you cannot include autoreconf.mk. If XORG_CAT is only meant for X.org ports and use by other ports is unsupported then you can keep the libtool.mk and autoreconf.mk includes (as in 9e63b55 but without " || ${USES:Mautoreconf}") and for special cases like x11-drivers/xf86-video-intel you can add "USES= autoreconf libtool" to the port Makefile instead of just USES=autoreconf.

Jun 26 2019, 3:43 PM
zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.
In D20724#449059, @mat wrote:

I think you are trying to put really too much magic in xorg-cat.

Jun 26 2019, 8:50 AM

Jun 25 2019

zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.
In D20724#449034, @tijl wrote:

I think the problem is you are including autoreconf.mk before setting libtool_ARGS. Try moving "libtool_ARGS?= #empty" to right before each libtool.mk include (there are two) so it's only defined if libtool is used. Then include autoreconf.mk if "USE_GITLAB && BUILDSYS == autotools" right after ". endif # ${_XORG_CAT} == <category>".

Jun 25 2019, 9:03 PM
zeising added a reviewer for D20724: Change USE_XORG to USES=xorg and USES=xorg-cat: tijl.
Jun 25 2019, 7:18 PM
zeising set the repository for D20724: Change USE_XORG to USES=xorg and USES=xorg-cat to rP FreeBSD ports repository.

Update patch again.
Move things around in Uses/autoreconf.mk to check for libtool things later. Uses/autoreconf.mk checks if libtool is being used, by checking libtool_ARGS, and if it's set, add a dependency on libtoolize. Move this check later, in the POSTMKINCLUDED phase, to avoid issues where we're hitting autoreconf before setting libtool_ARGS, and then not bringing in libtoolize.

Jun 25 2019, 5:31 PM
zeising added inline comments to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.
Jun 25 2019, 3:15 PM
zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.

Updated diff based on comments from @mat

Jun 25 2019, 3:15 PM
zeising added a comment to D20732: Update porter's handbook for USES=xorg.
In D20732#448839, @mat wrote:
In D20732#448815, @mat wrote:

Could you also add documentation for USES=xorg-cat?

I purposefully omitted it, since it is supposed to be internal to xorg ports, not used by other ports, similar to qt-dist.mk.

Mmmm, I do not understand, you mean I'll have to document it myself when the other review hits the tree? All USES have to be documented, otherwise, the only one who knows how it works is you, so, the bus factor is 1, and it is very bad.

Jun 25 2019, 3:09 PM
zeising added a comment to D20732: Update porter's handbook for USES=xorg.
In D20732#448815, @mat wrote:

Could you also add documentation for USES=xorg-cat?

Jun 25 2019, 2:38 PM

Jun 24 2019

zeising committed rP505058: MFH: r505057.
MFH: r505057
Jun 24 2019, 9:39 PM
zeising committed rP505057: graphics/drm-fbsd12.0-kmod: Update snapshot.
graphics/drm-fbsd12.0-kmod: Update snapshot
Jun 24 2019, 9:38 PM

Jun 23 2019

zeising created D20732: Update porter's handbook for USES=xorg.
Jun 23 2019, 9:15 PM
zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.

Updated based on comments from @tobik .

Jun 23 2019, 6:42 PM
zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.
In D20724#448218, @kwm wrote:

This porters-handbook chapter needs to be updated/rewritten, maybe there are other bits elsewhere in the porters-handbook that also need attention.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-x11.html

Jun 23 2019, 6:38 PM
zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.

Thank you very much for the review @tobik !
I think I've fixed everything, I'm just going to do a local smoke test, and then I'll update the patch in phabricator as well.

Jun 23 2019, 5:33 PM

Jun 22 2019

zeising committed rP504915: x11/libXi: Update to 1.7.10.
x11/libXi: Update to 1.7.10
Jun 22 2019, 11:13 PM
zeising added a comment to D20724: Change USE_XORG to USES=xorg and USES=xorg-cat.

Some notes about the patch: Uses/xorg.mk and possibly Uses/xorg-cat.mk will be copied from bsd.xorg.mk using svn cp or svn mv as needed. Current patch is pulled from our git repo with rename detection turned off when generating the patch.

Jun 22 2019, 9:37 PM