More NetBSD-current fun at Linveo!

2»

Comments

  • @Not_Oles did your NetBSD VPS ever lock up (waiting for I/O that never completes)?

    I am seeing my NetBSD VPS occasionally lock up, and so far it looks like some issue with the virtio block device (either on the NetBSD side or the qemu side).

    With something like

    while sleep 0.4; do echo Hello >~/stress-test.txt; sync; rm ~/stress-test.txt; done
    

    I seem to get it to lock up after a few hours (with the sleep the load on the host should be fine, even when running over longer periods). Just wondering if that's something that you are (or could be) seeing on your VPS as well?
    (btw, the VPS comes back to life when logging in via the VNC console)

    Thanked by (1)Not_Oles
  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @cmeerw I feel really lucky, no trouble at all here. FWIW, do I remember right that we are on different node processor architectures? Mine is AMD Ryzen 9 9950X on kvmaz13. If I can help, please let me know. Thanks @linveo! <3

    I hope everyone gets the servers they want!

  • @Not_Oles said:
    @cmeerw I feel really lucky, no trouble at all here. FWIW, do I remember right that we are on different node processor architectures? Mine is AMD Ryzen 9 9950X on kvmaz13. If I can help, please let me know. Thanks @linveo! <3

    I used to be on an AMD Ryzen 9 7950X 16-Core Processor on kvmtx11, but it seems I am now also on an AMD Ryzen 9 9950X 16-Core Processor (thanks @linveo). Just trying to figure out how reproducible (or common) the issue I am seeing is...

    Thanked by (1)Not_Oles
  • @cmeerw said:

    @Not_Oles said:
    @cmeerw I feel really lucky, no trouble at all here. FWIW, do I remember right that we are on different node processor architectures? Mine is AMD Ryzen 9 9950X on kvmaz13. If I can help, please let me know. Thanks @linveo! <3

    I used to be on an AMD Ryzen 9 7950X 16-Core Processor on kvmtx11, but it seems I am now also on an AMD Ryzen 9 9950X 16-Core Processor (thanks @linveo). Just trying to figure out how reproducible (or common) the issue I am seeing is...

    I have filed https://gnats.netbsd.org/59618 for this issue, and it already got confirmed.

    Thanked by (2)Not_Oles linveo
  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @cmeerw Congrats! :star:

    FWIW, I did read skim through the gnats link you posted and onward also through the references there. First time I looked at nxr.netbsd.org and opengrok.

    Since testing and troubleshooting were done on hlcs, I guess we now can celebrate hlcs having contributed to NetBSD development! Thanks @Hosteroid for hlcs! <3

    I'm still not having any trouble on my very fast @linveo VPS! But I am glad to see this bug exposed. Thanks @linveo for the VPSes @cmeerw and I are using! <3

    Thanked by (1)cmeerw

    I hope everyone gets the servers they want!

  • linveolinveo Hosting ProviderOG

    @cmeerw said:

    @cmeerw said:

    @Not_Oles said:
    @cmeerw I feel really lucky, no trouble at all here. FWIW, do I remember right that we are on different node processor architectures? Mine is AMD Ryzen 9 9950X on kvmaz13. If I can help, please let me know. Thanks @linveo! <3

    I used to be on an AMD Ryzen 9 7950X 16-Core Processor on kvmtx11, but it seems I am now also on an AMD Ryzen 9 9950X 16-Core Processor (thanks @linveo). Just trying to figure out how reproducible (or common) the issue I am seeing is...

    I have filed https://gnats.netbsd.org/59618 for this issue, and it already got confirmed.

    Sorry it's been a while since I have been around this thread. I have completed all of the node upgrades in Texas to 9950X, so 7950X is a thing of the past. Now all locations are on 9950x.

    Thanked by (2)cmeerw Not_Oles

    linveo.com | Shared Hosting | KVM VPS | Dedicated Servers

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    edited November 19

    Could someone please help me with the following type mismatch compile error in /pkgsrc/x11/xf86-video-openchrome?

    Today is November 18. The error has persisted for several days, since I first saw it on November 12. I seemed to have had a successful pkgsrc rebuild on November 5, but I am not sure that xf86-video-openchrome was included in the November 5 rebuild.

    Specific questions:

    1. NetBSD and pkgsrc seem to catch issues very quickly. The fact that this issue has persisted for several days makes me wonder if some mistake I made somehow is an underlying cause of the error.

    2. Where do I look for daily pkgsrc build reports by package to see whether xf86-video-openchrome builds on the test platform?

    3. How do I find the commit history showing where and when the cause of the error was introduced?

    4. How to fix without causing a problem for other packages?

    Thanks very much, everyone! <3 Special thanks to @linveo for the very fast VPS! <3

    Tom


    To update pkgsrc, I usually run, as root, inside tmux, in /usr/pkgsrc:

    nohup time cvs -q up -dP
    nohup time pkg_admin fetch-pkg-vulnerabilities
    nohup time pkg_rolling-replace -rsuv
    

    The terminal output is captured in a file called nohup.out.

    linveo# pwd
    /usr/pkgsrc
    linveo# cat -en nohup.out
      [ . . . ]
       513  /bin/sh ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/pkg/include/xorg -fvisibility=hidden -I/usr/pkg/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/X11/dri -I/usr/pkg/include/libdrm -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -I/usr/pkg/include/xorg -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/xorg -fvisibility=hidden -I/usr/pkg/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/X11/dri -I/usr/pkg/include/libdrm -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT  -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/X11/dri -O2 -I/usr/pkg/include/xorg -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -MT via_driver.lo -MD -MP -MF .deps/via_driver.Tpo -c -o via_driver.lo via_driver.c$
       514  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/xorg -fvisibility=hidden -I/usr/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include -I/usr/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/pixman-1 -I/usr/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/X11/dri -I/usr/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/libdrm -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -I/usr/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/freetype2 -fvisibility=hidden -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -O2 -MT via_driver.lo -MD -MP -MF .deps/via_driver.Tpo -c via_driver.c  -fPIC -DPIC -o .libs/via_driver.o$
       515  via_driver.c: In function 'VIACreateScreenResources':$
       516  via_driver.c:1678:45: error: implicit declaration of function 'shadowUpdatePackedWeak'; did you mean 'shadowUpdatePacked'? [-Wimplicit-function-declaration]$
       517   1678 |         if (!shadowAdd(pScreen, rootPixmap, shadowUpdatePackedWeak(),$
       518        |                                             ^~~~~~~~~~~~~~~~~~~~~~$
       519        |                                             shadowUpdatePacked$
       520  via_driver.c:1678:45: error: passing argument 3 of 'shadowAdd' makes pointer from integer without a cast [-Wint-conversion]$
       521   1678 |         if (!shadowAdd(pScreen, rootPixmap, shadowUpdatePackedWeak(),$
       522        |                                             ^~~~~~~~~~~~~~~~~~~~~~~~$
       523        |                                             |$
       524        |                                             int$
       525  In file included from via_driver.c:33:$
       526  /usr/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/xorg/shadow.h:78:28: note: expected 'ShadowUpdateProc' {aka 'void (*)(struct _Screen *, struct _shadowBuf *)'} but argument is of type 'int'$
       527     78 |           ShadowUpdateProc update,$
       528        |           ~~~~~~~~~~~~~~~~~^~~~~~$
       529  *** Error code 1$
       530  $
       531  Stop.$
       532  make[4]: stopped making "all-am" in /usr/pkgsrc/x11/xf86-video-openchrome/work/xf86-video-openchrome-0.6.0/src$
       533  *** Error code 1$
       534  $
       535  Stop.$
       536  make[3]: stopped making "all-recursive" in /usr/pkgsrc/x11/xf86-video-openchrome/work/xf86-video-openchrome-0.6.0/src$
       537  *** Error code 1$
       538  $
       539  Stop.$
       540  make[2]: stopped making "all" in /usr/pkgsrc/x11/xf86-video-openchrome/work/xf86-video-openchrome-0.6.0/src$
       541  Making all in man$
       542  sed -e 's|__vendorversion__|"xf86-video-openchrome 0.6.0" "X Version 11"|'  -e 's|__xorgversion__|"xf86-video-openchrome 0.6.0" "X Version 11"|'  -e 's|__xservername__|Xorg|g'  -e 's|__xconfigfile__|xorg.conf|g'  -e 's|__projectroot__|/usr/pkg|g'  -e 's|__appmansuffix__|1|g'  -e 's|__drivermansuffix__|4|g'  -e 's|__adminmansuffix__|8|g'  -e 's|__miscmansuffix__|7|g'  -e 's|__filemansuffix__|5|g' < openchrome.man > openchrome.4$
       543  Making all in tools$
       544  *** Error code 1$
       545  $
       546  Stop.$
       547  make[1]: stopped making "all-recursive" in /usr/pkgsrc/x11/xf86-video-openchrome/work/xf86-video-openchrome-0.6.0$
       548  *** Error code 1$
       549  $
       550  Stop.$
       551  make: stopped making "all" in /usr/pkgsrc/x11/xf86-video-openchrome/work/xf86-video-openchrome-0.6.0$
       552  *** Error code 1$
       553  $
       554  Stop.$
       555  make[1]: stopped making "replace" in /usr/pkgsrc/x11/xf86-video-openchrome$
       556  *** Error code 1$
       557  $
       558  Stop.$
       559  make: stopped making "replace" in /usr/pkgsrc/x11/xf86-video-openchrome$
       560  *** 'make replace' failed for package xf86-video-openchrome.$
       561  *** Please read the errors listed above, fix the problem,$
       562  *** then re-run pkg_rolling-replace to continue.$
       563  - xf86-video-openchrome$
       564         53.87 real        28.96 user        21.69 sys$
    linveo# 
    

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    edited November 19

    @Not_Oles said: Where do I look for daily pkgsrc build reports by package to see whether xf86-video-openchrome builds on the test platform?

    Looks like maybe I found the pkgsrc BulkTracker! The BulkTracker is linked from the pkgsrc home page, https://pkgsrc.org. Scroll down to information for developers, wherein BulkTracker is the last item.

    But, if I go to the BulkTracker x11 page, there do not seem to be any amd64 entries. So I am confused. . . .

    Am I making a mistake expecting to build xf86-video-openchrome on amd64?

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    Looks like I could do without the xf86-video-openchrome package since I might not be using a VIA chipset? See also https://www.freedesktop.org/wiki/Openchrome/.

    linveo# pkg_info xf86-video-openchrome
    Information for xf86-video-openchrome-0.6.0nb3:
    
    Comment:
    Modular Xorg OpenChrome driver for VIA UniChrome video chipsets
    
    Requires:
    libXvMC>=1.0.2
    modular-xorg-server>=21.1.9nb1
    
    Required by:
    modular-xorg-drivers-1.19.0nb9
    
    Description:
    This is the VIA openchrome video driver for the modular Xorg server.
    
    The OpenChrome project is committed to providing and supporting fully free
    and Open Source drivers that take full advantage of the hardware
    acceleration of VIA chipsets featuring the VIA UniChrome, UniChrome Pro and
    Chrome9 integrated graphics processors.
    
    Homepage:
    https://www.freedesktop.org/wiki/Openchrome/
    
    
    linveo# 
    

    I hope everyone gets the servers they want!

  • @Not_Oles said:
    Am I making a mistake expecting to build xf86-video-openchrome on amd64?

    Unfortunately, I don't have the answer to your question, but you might try asking on the NetBSD mailing list "pkgsrc-users":

    https://netbsd.org/mailinglists/#pkgsrc-users

    In the past, I sometimes wrote to this list when I had an issue with a compilation using pkgsrc.

    Thanked by (1)Not_Oles

    "A single swap file or partition may be up to 128 MB in size. [...] [I]f you need 256 MB of swap, you can create two 128-MB swap partitions." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 49)

  • edited November 19

    @Not_Oles said: Looks like I could do without the xf86-video-openchrome package since I might not be using a VIA chipset?

    Right, if you don't have that chipset, then the best strategy would be to avoid trying to build it :)

    By the way, it appears that this package hasn't been built for any of architectures that NetBSD supports:

    https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/x11/xf86-video-openchrome/index.html

    In addition, this package isn't available in either Debian 13 (trixie) or Debian testing:

    https://packages.debian.org/search?suite=all&section=all&arch=any&searchon=names&keywords=xserver-xorg-video-openchrome

    This suggests that an attempt to build xf86-video-openchrome at this time won't succeed

    But for NetBSD it would be nice to find where exactly the option not to build this package is located

    Thanked by (1)Not_Oles

    "A single swap file or partition may be up to 128 MB in size. [...] [I]f you need 256 MB of swap, you can create two 128-MB swap partitions." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 49)

  • @Not_Oles , you seem to like living on the edge :)

    Any reason why you're trying to build modular-xorg?

    Thanked by (1)Not_Oles

    "A single swap file or partition may be up to 128 MB in size. [...] [I]f you need 256 MB of swap, you can create two 128-MB swap partitions." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 49)

  • @angstrom said: But for NetBSD it would be nice to find where exactly the option not to build this package is located

    I think that I've found the relevant Makefile:

    https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/meta-pkgs/modular-xorg-drivers/Makefile

    You could try commenting out the line

    DEPENDS+=   xf86-video-openchrome-[0-9]*:../../x11/xf86-video-openchrome
    

    and see whether this brings you more luck :)

    Thanked by (1)Not_Oles

    "A single swap file or partition may be up to 128 MB in size. [...] [I]f you need 256 MB of swap, you can create two 128-MB swap partitions." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 49)

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @angstrom said:
    @Not_Oles , you seem to like living on the edge :)

    Yes! :)

    This VPS isn't running any services. It's just for having lots of fun trying small parts of NetBSD. :)

    Any reason why you're trying to build modular-xorg?

    I just wanted to try the modular Xorg. You can see, above, on March 14, when I installed the modular xorg meta-package.

    As you probably know, NetBSD has the X11R7 set in the main distribution and Xorg in pkgsrc. Part of the reason for the two different approaches to X might be differences in the licensing and differences in developers.

    Ever since March 14, pkgsrc, as implemented on this VPS, nothing special, has been rebuilding Xorg without any issue until about November 12 or a little before.

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @angstrom said:

    @angstrom said: But for NetBSD it would be nice to find where exactly the option not to build this package is located

    I think that I've found the relevant Makefile:

    https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/meta-pkgs/modular-xorg-drivers/Makefile

    You could try commenting out the line

    DEPENDS+= xf86-video-openchrome-[0-9]*:../../x11/xf86-video-openchrome
    

    and see whether this brings you more luck :)

    Yes, definitely looks like it would work! Thank you! <3

    Another alternative might be to remove the modular xorg meta-package and go with a simpler install of only some of the packages in the meta-packages? For example, maybe an approach like https://rubenerd.com/modular-xorg-on-netbsd-from-scratch/ might work. Um, which if any driver is needed for this VPS? Which packages? More fun coming up soon! <3

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    linveo# pwd
    /usr/pkg/share/X11
    linveo# ls
    XErrorDB    locale      x11perfcomp xman.help
    Xcms.txt    twm         xkb         xorg.conf.d
    linveo# ls xorg.conf.d/
    10-amdgpu.conf   10-radeon.conf   50-vmmouse.conf
    linveo# cat xorg.conf.d/10-amdgpu.conf 
    Section "OutputClass"
            Identifier "AMDgpu"
            MatchDriver "amdgpu"
            Driver "amdgpu"
            Option "HotplugDriver" "amdgpu"
    EndSection
    linveo# cat xorg.conf.d/10-radeon.conf 
    Section "OutputClass"
            Identifier "Radeon"
            MatchDriver "radeon"
            Driver "radeon"
    EndSectionlinveo# 
    
    linveo# pwd
    /usr/pkgsrc/x11
    linveo# ls | grep amdgpu
    xf86-video-amdgpu
    linveo# ls | grep radeon
    linveo# 
    

    Looks like xf86-video-amdgpu might be the only driver needed for this VPS?

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    edited November 20

    What happens if I get rid of the modular xorg meta-package plus all the other X packages, and install just

    wm/twm
    x11/modular-xorg-server/ # includes Xvfb
    meta-pkgs/modular-xorg-fonts/
    x11/xf86-input-keyboard/
    x11/xf86-input-mouse/
    x11/xf86-video-vmware/
    x11/xauth/
    X11/x11vnc
    X11/xeyes/
    x11/xinit/
    X11/xterm # Maybe X11/rxvt-unicode

    Will this give me a minimal, but working X via VNC?

    I hope everyone gets the servers they want!

  • @Not_Oles said:

    @angstrom said:
    @Not_Oles , you seem to like living on the edge :)

    Yes! :)

    I'm a long-term NetBSD user -- but not exclusively NetBSD -- but I don't like living on the edge, ;) so I've always just used NetBSD stable (now: 10.1) and pkgsrc stable

    I confess that I've never tried to build modular-xorg, largely because the xorg that's part of the base distribution has always worked for my purposes :)

    As you probably know, NetBSD has the X11R7 set in the main distribution and Xorg in pkgsrc.

    I think that they're both xorg, but that the xorg of the base distribution has been modified to suit the purposes of the base distribution. If you wish, the xorg of the base distribution is a kind of "light fork" of the standard xorg, where the latter is available as modular-xorg in pkgsrc

    Part of the reason for the two different approaches to X might be differences in the licensing and differences in developers.

    Just to note that that's a very old blog entry from 2004, shortly after the forking of xorg from xfree86, which doesn't reflect the current state of X in NetBSD

    Thanked by (1)Not_Oles

    "A single swap file or partition may be up to 128 MB in size. [...] [I]f you need 256 MB of swap, you can create two 128-MB swap partitions." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 49)

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @angstrom said: I think that they're both xorg,

    I think you are right! Yesterday I was trying to figure out the history of X and X as it has been in NetBSD. . . .

    Thanks for always being helpful! <3

    Thanked by (1)angstrom

    I hope everyone gets the servers they want!

  • Oh God. I didn't think I'd be reading about XFree86 in TYOOL 2025. XLibre has really pissed off a lot of troons and they're going out of their way to stymie and destroy it from different distributions (e.g. Alpine) by making baseless claims and stating privately that it's entirely political.

    That's why I'm nuking my Alpine instances and going back to OpenBSD.

    Thanked by (1)Not_Oles

    My pronouns are like/subscribe.

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    I posted to pkgsrc-users, received and tried some great suggestions, but the xf86-video-openchrome error continued.

    I reverted to my Linveo backup from November 5, which I had imagined to be the last good build. However, the error was present in the November 5 build and also was present in the next previous October 26 build. I just didn't notice.

    When the build errors out, and the compiler errors scroll off the terminal, the only remaining visible clue seems to be the minus sign ahead of the last line of output. There is no additional error message at the end. And time completes as expected. Obviously I would have seen the prominent compiler errors if I had scrolled up even a little bit through the output. Clueless™

    chronos@penguin:~/servers/linveo$ `head -n 1 login`
    Last login: Wed Nov  5 17:04:13 2025 from xxx.xxx.xxx.xxx
    NetBSD 11.99.3 (GENERIC) #3: Tue Nov  4 03:43:15 UTC 2025
    
    linveo# cd /usr/pkgsrc 
    linveo# ls -l no*
    -rw-------  1 root  wheel  3909356 Nov  4 05:05 nohup.out
    -rw-------  1 root  wheel  5198871 Oct 26 20:21 nohup.out-old
    linveo# tail nohup.out-old 
    + polkit
    + pulseaudio
    + py313-cython
    + py313-setuptools_scm
    + raqm
    + rust
    + vala
    + xf86-video-savage
    - xf86-video-openchrome
         9226.38 real      8076.45 user       805.59 sys
    linveo# 
    

    What now? I still haven't figured out exactly why and where xf86-video-openchrome comes into the picture. As mentioned above, I installed the modular xorg meta-package. So I am guessing xf86-video-openchrome derives from the meta-package.

    Besides looking at the meta-package, additional options include @angstrom's suggestion to change a makefile to exclude xf86-video-openchrome, maybe adding a cast to fix the type mismatch error, and maybe deleting all the modular X packages and rebuilding with precisely specified packages instead of meta-packages.

    I could go back to the X which is in /usr/xsrc, as part of the regular NetBSD distribution, instead of the X which is in pkgsrc. Or just leave X entirely out and concentrate on command line serial stuff.

    Since @Crab is here maybe I should try FreeBSD again? Since @AuroraZero is here, maybe I should try Slackware again?

    Thanks to @linveo for the nice, very fast VPS!

    Thanked by (1)linveo

    I hope everyone gets the servers they want!

  • @Not_Oles said:
    I posted to pkgsrc-users, received and tried some great suggestions, but the xf86-video-openchrome error continued.

    I reverted to my Linveo backup from November 5, which I had imagined to be the last good build. However, the error was present in the November 5 build and also was present in the next previous October 26 build. I just didn't notice.

    When the build errors out, and the compiler errors scroll off the terminal, the only remaining visible clue seems to be the minus sign ahead of the last line of output. There is no additional error message at the end. And time completes as expected. Obviously I would have seen the prominent compiler errors if I had scrolled up even a little bit through the output. Clueless™

    I was surprised when you said that the build succeeded as recently as the end of October, but I didn't want to question you on this :)

    What now? I still haven't figured out exactly why and where xf86-video-openchrome comes into the picture. As mentioned above, I installed the modular xorg meta-package. So I am guessing xf86-video-openchrome derives from the meta-package.

    Yes, as I said above, it's a dependency of the meta-package "modular-xorg-drivers"

    Besides looking at the meta-package, additional options include @angstrom's suggestion to change a makefile to exclude xf86-video-openchrome,

    If I may say so, this would be the simplest thing to try!

    As I also said above, it's telling that xf86-video-openchrome isn't present in the pkgsrc binary repository, which indicates that it currently fails to build

    I could go back to the X which is in /usr/xsrc, as part of the regular NetBSD distribution, instead of the X which is in pkgsrc. Or just leave X entirely out and concentrate on command line serial stuff.

    I'm not sure that I fully understand why you're trying to build the package "modular-xorg", but if it's just for fun, then I (kind of) understand :)

    Since @Crab is here maybe I should try FreeBSD again? Since @AuroraZero is here, maybe I should try Slackware again?

    For what it's worth, I don't find the package "xf86-video-openchrome" in the FreeBSD ports and packages collection either:

    https://ports.freebsd.org/cgi/ports.cgi?query=xf86-video-openchrome&stype=all&sektion=all

    But the good news is that it's available in Slackware current: :)

    https://packages.slackware.com/?r=slackware64-current&p=xf86-video-openchrome-0.6.0-x86_64-6.txz

    Thanked by (1)Not_Oles

    "A single swap file or partition may be up to 128 MB in size. [...] [I]f you need 256 MB of swap, you can create two 128-MB swap partitions." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 49)

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    edited November 22

    @angstrom said: I was surprised when you said that the build succeeded as recently as the end of October, but I didn't want to question you on this

    One of the best ways to be my friend is to catch and post about my mistakes. The more quickly I learn about my mistakes, the better off I am! Thanks for your wonderfully positive and helpful motivation toward questioning me about something I said that seemed wrong! <3

    @angstrom said: Yes, as I said above, it's a dependency of the meta-package "modular-xorg-drivers"

    Yes. So, if I understand right, "x11/modular-xorg-drivers" is a dependency of "x11/modular-xorg" and "x11/xf86-video-openchrome" is a dependency of "x11/modular-xorg-drivers"

    @angstrom said: As I also said above, it's telling that xf86-video-openchrome isn't present in the pkgsrc binary repository, which indicates that it currently fails to build

    It seems like everyone who currently installs X via pkgsrc on any architecture with the pkgsrc "x11/modular-xorg" meta-package receives a dependency that doesn't compile.

    @angstrom said: I'm not sure that I fully understand why you're trying to build the package "modular-xorg", but if it's just for fun, then I (kind of) understand

    This very fast Linveo VPS is just for fun! It has given me the opportunities to

    • try @cmeerw's NetBSD image, <3
    • bring the VPS up to self-compiled NetBSD-current,
    • follow NetSD-current as the source code evolves,
    • try installing modular X from pkgsrc,
    • offer a free shell account so friends can try NetBSD-current.

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    edited November 22

    @Not_Oles said: What now?

    @Not_Oles said: . . .

    @Not_Oles said: just leave X entirely out and concentrate on command line serial stuff.

    Pkgsrc modular X is now removed. Of course, we could add the main distribution's /usr/xsrc X or restore pkgsrc modular X if somebody comes aboard and wants it.

    What I did procedurally was make a backup and then remove all pkgsrc packages with

    linveo# cat delete-all-packages.sh 
    for pkg in $(pkg_info | awk '{print $1}')
    do 
      pkg_delete $pkg 
    done
    linveo# 
    

    Just run this a few times until there are no more "still needed dependencies" in the output. I had 517 packages. I ran delete-all-packages.sh about six times.

    linveo# wc -l pkg_info-20251121
         517 pkg_info-20251121
    linveo# 
    

    Once all the packages were gone, I reinstalled /www/lynx, /www/curl, /www/tinyproxy, and /devel/git. Including their dependencies, these 4 packages resulted in 75 installed packages.

    linveo# pkg_info | wc -l
          75
    linveo# 
    
    linveo# pkg_info
    libnbcompat-20251029 Portable NetBSD compatibility library
    cwrappers-20220403  pkgsrc compiler wrappers
    mktools-20250213    Collection of pkgsrc mk infrastructure tools
    digest-20220214     Message digest wrapper utility
    m4-1.4.19nb1        GNU version of UNIX m4 macro language processor
    libtool-base-2.4.7nb1 Generic shared library support script (the script itself)
    gettext-lib-0.22.5  Internationalized Message Handling Library (libintl)
    gettext-tools-0.22.5nb1 Tools for providing messages in different languages
    lynx-2.9.2nb5       Alphanumeric display oriented World-Wide Web Client
    pkgconf-2.4.3nb1    API-driven pkg-config replacement
    gmake-4.4.1         GNU version of 'make' utility
    libffi-3.5.2        Foreign function interface
    libuuid-2.40.2      Generate unique identifiers for objects
    mpdecimal-4.0.1     C/C++ arbitrary precision decimal floating point libraries
    readline-8.3nb1     GNU library that can recall and edit previous input
    sqlite3-3.51.0      SQL Database Engine in a C Library
    python313-3.13.9    Interpreted, interactive, object-oriented programming language
    py313-flit_core-3.12.0 Distribution-building parts of Flit
    py313-installer-0.7.0nb3 Library for installing Python wheels
    py313-pyparsing-3.2.5 Parsing module for Python
    py313-packaging-25.0 Core utilities for Python packages
    py313-pyproject_hooks-1.2.0nb1 Wrappers to call pyproject.toml-based build backend hooks
    py313-build-1.3.0   Simple, correct PEP517 package builder
    py313-setuptools-80.9.0 New Python packaging system
    xmlcatmgr-2.2nb1    XML and SGML catalog manager
    docbook-xml-4.5     XML DTD designed for computer documentation
    perl-5.42.0         Practical Extraction and Report Language
    docbook-xsl-1.79.2nb7 Docbook XSL modular stylesheet
    getopt-1.1.6        Program to help shell scripts parse command-line parameters
    libgpg-error-1.56   Definitions of common error values for all GnuPG components
    libgcrypt-1.11.2    GNU cryptographic library
    libxml2-2.14.6      XML parser library from the GNOME project
    libxslt-1.1.43nb4   XSLT parser library
    asciidoc-10.2.1nb5  ASCII to formatted document converter
    gperf-3.2nb1        GNU perfect hash function generator
    tinyproxy-1.11.2    Lightweight HTTP/SSL proxy
    libunistring-1.2    Unicode string library
    libidn2-2.3.7       Convert internationalized domain names to/from ASCII Encoding
    nghttp2-1.68.0      Implementation of HTTP/2 in C
    curl-8.17.0         Client that groks URLs
    pcre2-10.47         Perl Compatible Regular Expressions library (major version 2)
    git-base-2.52.0     GIT Tree History Storage Tool (base package)
    p5-gettext-1.07nb10 Perl5 module interface to C I18N functions
    help2man-1.49.3     Generate simple manual pages from program output
    autoconf-2.72       Generates automatic source code configuration scripts
    automake-1.18       GNU Standards-compliant Makefile generator
    xmlto-0.0.29        Tool to help transform XML documents into other formats
    git-contrib-2.52.0  GIT Tree History Storage Tool (contrib)
    git-docs-2.52.0     GIT Tree History Storage Tool (documentation)
    p5-DBI-1.647nb1     The database-independent Perl database access API
    p5-DBD-SQLite-1.76nb6 Perl DBI/DBD driver for sqlite databases (self contained)
    p5-Error-0.17030nb1 Perl extension module for try/throw/catch exception handling
    p5-Capture-Tiny-0.50nb1 Capture STDOUT and STDERR from Perl, XS or external programs
    p5-Net-3.15nb3      Perl5 modules to access and use network protocols
    p5-TimeDate-2.33nb5 Perl5 TimeDate distribution
    p5-MailTools-2.22nb1 Perl5 modules related to mail applications
    p5-Digest-HMAC-1.05nb2 Perl5 module for HMAC
    p5-Net-IP-1.26nb13  Perl extension for manipulating IPv4/IPv6 addresses
    p5-Socket6-0.29nb7  Perl5 module to support getaddrinfo() and getnameinfo()
    p5-IO-Socket-INET6-2.73nb4 Perl object interface for AF_INET/AF_INET6 domain sockets
    p5-Net-DNS-1.53     Perl5 module for DNS resolution
    p5-Net-Domain-TLD-1.75nb9 Work with TLD names
    p5-Email-Valid-1.204nb2 Perl5 module for testing validity of an email address
    gsed-4.9nb1         GNU implementation of sed, the POSIX stream editor
    libidn-1.42         Internationalized Domain Names command line tool
    p5-Net-LibIDN-0.12nb17 Perl bindings for GNU Libidn
    p5-Net-SSLeay-1.94nb2 Perl5 module for using OpenSSL
    p5-Mozilla-CA-20250602nb1 Mozilla's CA cert bundle for Perl
    p5-IO-Socket-SSL-2.095 Perl5 SSL socket interface class
    p5-Net-SMTP-SSL-1.04nb9 Perl5 module providing SSL support for Net::SMTP
    p5-Crypt-URandom-0.54nb1 Perl5 module to provide non blocking randomness
    p5-GSSAPI-0.28nb18  Perl extension providing access to the GSSAPIv2 library
    p5-Authen-SASL-2.1900 Perl module to handle SASL authentication
    git-perlscripts-2.52.0 Git commands that rely on Perl
    git-2.52.0          GIT version control suite meta-package
    linveo# 
    

    Following the reinstall I made another backup.

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @angstrom

    Thanks again for helping me understand the dependencies of pkgsrc's modular xorg! <3

    @angstrom said: I'm a long-term NetBSD user -- but not exclusively NetBSD -- but I don't like living on the edge, so I've always just used NetBSD stable (now: 10.1) and pkgsrc stable

    May I please ask, how did you get started with NetBSD? Thanks!

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    Checked to make sure that the delete-all-packages.sh script mentioned above does delete all the old, earlier than today binaries from /usr/pkg/bin.

    linveo# pwd
    /usr/pkg/bin
    linveo# ls -l | wc -l
         126
    linveo# ls -l | grep -v "Nov 22"
    total 18052
    linveo# 
    

    In case anyone might be interested, here is the full /usr/pkg/bin directory listing:

    linveo# pwd
    /usr/pkg/bin
    linveo# ls -l
    total 18052
    -rwxr-xr-x  1 root  wheel      216 Nov 22 04:09 a2x
    -rwxr-xr-x  2 root  wheel    37739 Nov 22 04:25 aclocal
    -rwxr-xr-x  2 root  wheel    37739 Nov 22 04:25 aclocal-1.18
    -rwxr-xr-x  1 root  wheel      221 Nov 22 04:09 asciidoc
    -rwxr-xr-x  1 root  wheel     6718 Nov 22 04:25 autoconf
    -rwxr-xr-x  1 root  wheel     9118 Nov 22 04:25 autoheader
    -rwxr-xr-x  1 root  wheel    34954 Nov 22 04:25 autom4te
    -rwxr-xr-x  2 root  wheel   265489 Nov 22 04:25 automake
    -rwxr-xr-x  2 root  wheel   265489 Nov 22 04:25 automake-1.18
    -rwxr-xr-x  1 root  wheel    27367 Nov 22 03:55 autopoint
    -rwxr-xr-x  1 root  wheel    26901 Nov 22 04:25 autoreconf
    -rwxr-xr-x  1 root  wheel    17206 Nov 22 04:25 autoscan
    -rwxr-xr-x  1 root  wheel    34051 Nov 22 04:25 autoupdate
    -rwxr-xr-x  1 root  wheel    19288 Nov 22 04:01 bomtool
    lrwxr-xr-x  1 root  wheel       25 Nov 22 04:07 corelist -> ../lib/perl5/bin/corelist
    lrwxr-xr-x  1 root  wheel       21 Nov 22 04:07 cpan -> ../lib/perl5/bin/cpan
    -rwxr-xr-x  1 root  wheel   331736 Nov 22 04:22 curl
    -rwxr-xr-x  1 root  wheel     5690 Nov 22 04:22 curl-config
    lrwxr-xr-x  1 root  wheel       40 Nov 22 04:26 dbilogstrip -> ../lib/perl5/vendor_perl/bin/dbilogstrip
    lrwxr-xr-x  1 root  wheel       36 Nov 22 04:26 dbiprof -> ../lib/perl5/vendor_perl/bin/dbiprof
    lrwxr-xr-x  1 root  wheel       37 Nov 22 04:26 dbiproxy -> ../lib/perl5/vendor_perl/bin/dbiproxy
    -rwxr-xr-x  1 root  wheel   108320 Nov 22 03:51 digest
    -rwxr-xr-x  1 root  wheel    19168 Nov 22 04:08 dumpsexp
    lrwxr-xr-x  1 root  wheel       23 Nov 22 04:07 enc2xs -> ../lib/perl5/bin/enc2xs
    lrwxr-xr-x  1 root  wheel       25 Nov 22 04:07 encguess -> ../lib/perl5/bin/encguess
    -rwxr-xr-x  1 root  wheel    48320 Nov 22 03:55 envsubst
    -rwxr-xr-x  1 root  wheel    23400 Nov 22 04:07 getopt
    -rwxr-xr-x  1 root  wheel    48288 Nov 22 03:55 gettext
    -rwxr-xr-x  1 root  wheel     5190 Nov 22 03:55 gettext.sh
    -rwxr-xr-x  1 root  wheel    42295 Nov 22 03:55 gettextize
    -rwxr-xr-x  1 root  wheel  4371408 Nov 22 04:25 git
    -rwxr-xr-x  1 root  wheel      100 Nov 22 04:25 git-cvsserver
    lrwxr-xr-x  1 root  wheel        3 Nov 22 04:25 git-receive-pack -> git
    -rwxr-xr-x  1 root  wheel  2445552 Nov 22 04:25 git-shell
    lrwxr-xr-x  1 root  wheel        3 Nov 22 04:25 git-upload-archive -> git
    lrwxr-xr-x  1 root  wheel        3 Nov 22 04:25 git-upload-pack -> git
    -rwxr-xr-x  1 root  wheel   282648 Nov 22 03:51 gm4
    -rwxr-xr-x  1 root  wheel   275840 Nov 22 04:01 gmake
    -rwxr-xr-x  1 root  wheel   101704 Nov 22 04:09 gperf
    -rwxr-xr-x  1 root  wheel    40320 Nov 22 04:07 gpg-error
    -rwxr-xr-x  1 root  wheel     2083 Nov 22 04:07 gpg-error-config
    -rwxr-xr-x  1 root  wheel    16289 Nov 22 04:07 gpgrt-config
    -rwxr-xr-x  1 root  wheel   200496 Nov 22 04:27 gsed
    lrwxr-xr-x  1 root  wheel       21 Nov 22 04:07 h2ph -> ../lib/perl5/bin/h2ph
    lrwxr-xr-x  1 root  wheel       21 Nov 22 04:07 h2xs -> ../lib/perl5/bin/h2xs
    -rwxr-xr-x  1 root  wheel    21702 Nov 22 04:25 help2man
    -rwxr-xr-x  1 root  wheel    19624 Nov 22 04:08 hmac256
    -rwxr-xr-x  1 root  wheel       98 Nov 22 04:04 idle3.13
    -rwxr-xr-x  1 root  wheel    45016 Nov 22 04:27 idn
    -rwxr-xr-x  1 root  wheel    36528 Nov 22 04:20 idn2
    -rwxr-xr-x  1 root  wheel     4204 Nov 22 04:25 ifnames
    lrwxr-xr-x  1 root  wheel       26 Nov 22 04:07 instmodsh -> ../lib/perl5/bin/instmodsh
    lrwxr-xr-x  1 root  wheel       36 Nov 22 04:26 ipcount -> ../lib/perl5/vendor_perl/bin/ipcount
    lrwxr-xr-x  1 root  wheel       34 Nov 22 04:26 iptab -> ../lib/perl5/vendor_perl/bin/iptab
    lrwxr-xr-x  1 root  wheel       24 Nov 22 04:07 json_pp -> ../lib/perl5/bin/json_pp
    -rwxr-xr-x  1 root  wheel     4494 Nov 22 04:08 libgcrypt-config
    lrwxr-xr-x  1 root  wheel       26 Nov 22 04:07 libnetcfg -> ../lib/perl5/bin/libnetcfg
    -rwxr-xr-x  1 root  wheel   373607 Nov 22 03:52 libtool
    -rwxr-xr-x  1 root  wheel   136724 Nov 22 03:52 libtoolize
    -rwxr-xr-x  1 root  wheel  1873960 Nov 22 03:56 lynx
    -rwxr-xr-x  1 root  wheel    23440 Nov 22 04:08 mpicalc
    -rwxr-xr-x  1 root  wheel    27600 Nov 22 03:55 msgattrib
    -rwxr-xr-x  1 root  wheel    27592 Nov 22 03:55 msgcat
    -rwxr-xr-x  1 root  wheel    27696 Nov 22 03:55 msgcmp
    -rwxr-xr-x  1 root  wheel    27576 Nov 22 03:55 msgcomm
    -rwxr-xr-x  1 root  wheel    23464 Nov 22 03:55 msgconv
    -rwxr-xr-x  1 root  wheel    23464 Nov 22 03:55 msgen
    -rwxr-xr-x  1 root  wheel    23488 Nov 22 03:55 msgexec
    -rwxr-xr-x  1 root  wheel    31776 Nov 22 03:55 msgfilter
    -rwxr-xr-x  1 root  wheel    85888 Nov 22 03:55 msgfmt
    -rwxr-xr-x  1 root  wheel   122224 Nov 22 03:55 msggrep
    -rwxr-xr-x  1 root  wheel    69336 Nov 22 03:55 msginit
    -rwxr-xr-x  1 root  wheel    77656 Nov 22 03:55 msgmerge
    -rwxr-xr-x  1 root  wheel    31896 Nov 22 03:55 msgunfmt
    -rwxr-xr-x  1 root  wheel    23472 Nov 22 03:55 msguniq
    -rwxr-xr-x  1 root  wheel    48288 Nov 22 03:55 ngettext
    -rwxr-xr-x  1 root  wheel     2196 Nov 22 04:23 pcre2-config
    -rwxr-xr-x  1 root  wheel    59176 Nov 22 04:23 pcre2grep
    -rwxr-xr-x  1 root  wheel   275312 Nov 22 04:23 pcre2test
    -rwxr-xr-x  2 root  wheel    17248 Nov 22 04:07 perl
    -rwxr-xr-x  2 root  wheel    17248 Nov 22 04:07 perl5.42.0
    lrwxr-xr-x  1 root  wheel       24 Nov 22 04:07 perlbug -> ../lib/perl5/bin/perlbug
    lrwxr-xr-x  1 root  wheel       24 Nov 22 04:07 perldoc -> ../lib/perl5/bin/perldoc
    lrwxr-xr-x  1 root  wheel       24 Nov 22 04:07 perlivp -> ../lib/perl5/bin/perlivp
    lrwxr-xr-x  1 root  wheel       31 Nov 22 04:07 perllink -> /usr/pkg/lib/perl5/bin/perllink
    lrwxr-xr-x  1 root  wheel       27 Nov 22 04:07 perlthanks -> ../lib/perl5/bin/perlthanks
    lrwxr-xr-x  1 root  wheel       23 Nov 22 04:07 piconv -> ../lib/perl5/bin/piconv
    lrwxr-xr-x  1 root  wheel        7 Nov 22 04:01 pkg-config -> pkgconf
    -rwxr-xr-x  1 root  wheel    50376 Nov 22 04:01 pkgconf
    lrwxr-xr-x  1 root  wheel       22 Nov 22 04:07 pl2pm -> ../lib/perl5/bin/pl2pm
    lrwxr-xr-x  1 root  wheel       25 Nov 22 04:07 pod2html -> ../lib/perl5/bin/pod2html
    lrwxr-xr-x  1 root  wheel       24 Nov 22 04:07 pod2man -> ../lib/perl5/bin/pod2man
    lrwxr-xr-x  1 root  wheel       25 Nov 22 04:07 pod2text -> ../lib/perl5/bin/pod2text
    lrwxr-xr-x  1 root  wheel       26 Nov 22 04:07 pod2usage -> ../lib/perl5/bin/pod2usage
    lrwxr-xr-x  1 root  wheel       27 Nov 22 04:07 podchecker -> ../lib/perl5/bin/podchecker
    lrwxr-xr-x  1 root  wheel       22 Nov 22 04:07 prove -> ../lib/perl5/bin/prove
    lrwxr-xr-x  1 root  wheel       21 Nov 22 04:07 ptar -> ../lib/perl5/bin/ptar
    lrwxr-xr-x  1 root  wheel       25 Nov 22 04:07 ptardiff -> ../lib/perl5/bin/ptardiff
    lrwxr-xr-x  1 root  wheel       25 Nov 22 04:07 ptargrep -> ../lib/perl5/bin/ptargrep
    -rwxr-xr-x  1 root  wheel       83 Nov 22 04:04 pydoc3.13
    -rwxr-xr-x  1 root  wheel      232 Nov 22 04:04 pyproject-build-3.13
    -rwxr-xr-x  1 root  wheel    14896 Nov 22 04:04 python3.13
    -rwxr-xr-x  1 root  wheel     3193 Nov 22 04:04 python3.13-config
    -rwxr-xr-x  1 root  wheel    19328 Nov 22 03:55 recode-sr-latin
    -rwxr-xr-x  1 root  wheel  2507264 Nov 22 04:25 scalar
    lrwxr-xr-x  1 root  wheel       23 Nov 22 04:07 shasum -> ../lib/perl5/bin/shasum
    -rwxr-xr-x  1 root  wheel      122 Nov 22 03:52 shlibtool
    lrwxr-xr-x  1 root  wheel       23 Nov 22 04:07 splain -> ../lib/perl5/bin/splain
    -rwxr-xr-x  1 root  wheel  1989568 Nov 22 04:02 sqlite3
    lrwxr-xr-x  1 root  wheel       26 Nov 22 04:07 streamzip -> ../lib/perl5/bin/streamzip
    -rwxr-xr-x  1 root  wheel    99128 Nov 22 04:09 tinyproxy
    -rwxr-xr-x  1 root  wheel    36056 Nov 22 04:01 uuidgen
    -rwxr-xr-x  1 root  wheel    11440 Nov 22 04:22 wcurl
    -rwxr-xr-x  1 root  wheel   305632 Nov 22 03:55 xgettext
    -rwxr-xr-x  1 root  wheel     1832 Nov 22 04:09 xml2-config
    -rwxr-xr-x  1 root  wheel    23440 Nov 22 04:09 xmlcatalog
    -rwxr-xr-x  1 root  wheel    36624 Nov 22 04:04 xmlcatmgr
    -rwxr-xr-x  1 root  wheel    35664 Nov 22 04:25 xmlif
    -rwxr-xr-x  1 root  wheel    82240 Nov 22 04:09 xmllint
    -rwxr-xr-x  1 root  wheel    18265 Nov 22 04:25 xmlto
    -rwxr-xr-x  1 root  wheel     2635 Nov 22 04:09 xslt-config
    -rwxr-xr-x  1 root  wheel    31912 Nov 22 04:09 xsltproc
    lrwxr-xr-x  1 root  wheel       23 Nov 22 04:07 xsubpp -> ../lib/perl5/bin/xsubpp
    -rwxr-xr-x  1 root  wheel    48088 Nov 22 04:07 yat2m
    lrwxr-xr-x  1 root  wheel       27 Nov 22 04:07 zipdetails -> ../lib/perl5/bin/zipdetails
    linveo#
    

    I hope everyone gets the servers they want!

Sign In or Register to comment.