Free LES Community Server from Hosteroid via MetalVPS!

1457910

Comments

  • Not_OlesNot_Oles Provider

    Excellent! <3

  • Not_OlesNot_Oles Provider

    Looks like the build is continuing! Yaaay!

    load averages:  1.00,  1.00,  1.00                                        hlcs.my.domain 23:34:16
    56 processes: 54 idle, 2 on processor                                          up 2 days 00:55:55
    CPU0 states:  0.8% user,  0.0% nice,  0.2% sys,  0.0% spin,  0.2% intr, 98.8% idle
    CPU1 states: 81.1% user,  0.0% nice,  5.0% sys,  0.0% spin,  0.0% intr, 13.9% idle
    CPU2 states:  0.0% user,  0.0% nice,  0.0% sys,  0.0% spin,  0.0% intr,  100% idle
    CPU3 states:  0.0% user,  0.0% nice,  0.0% sys,  0.0% spin,  0.0% intr,  100% idle
    CPU4 states:  0.0% user,  0.0% nice,  0.0% sys,  0.0% spin,  0.0% intr,  100% idle
    CPU5 states: 10.2% user,  0.0% nice,  2.2% sys,  0.0% spin,  0.0% intr, 87.6% idle
    CPU6 states:  0.0% user,  0.0% nice,  0.0% sys,  0.0% spin,  0.0% intr,  100% idle
    CPU7 states:  0.0% user,  0.0% nice,  0.0% sys,  0.0% spin,  0.0% intr,  100% idle
    Memory: Real: 133M/12G act/tot Free: 19G Cache: 9101M Swap: 0K/8000M
    
      PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
    83518 build     55    0  121M   85M onproc/1  -         0:01  3.47% c++
    60190 root       2    0 4388K 5152K sleep/5   kqread    0:28  0.00% tmux
       66 www        2    0 2228K 5040K idle      kqread    0:02  0.00% httpd
    18853 www        2    0 2300K 5188K idle      kqread    0:02  0.00% httpd
       52 www        2    0 2484K 5364K idle      kqread    0:01  0.00% httpd
    80295 _pflogd    4    0 1048K 1416K sleep/5   bpf       0:00  0.00% pflogd
    39044 _ntp       2  -20 1240K 2804K sleep/5   kqread    0:00  0.00% ntpd
    40269 root       2    0 1228K 1400K sleep/2   kqread    0:00  0.00% cron
    

    Aaaannnddd

    From https://www.openbsd.org/faq/current.html :

    2025/06/11 - update to clang 19
    Before building the system from source, make sure /etc/login.conf is up to date, then change the build user's login class:

    # sysmerge
    # id -c build
    default
    # user mod -L build build
    

    By the time I started building, I had forgotten about this note at the end of the FAQ on building -current. When I read the note, originally, I remember thinking, "Oh! I had better remember this!" :) Also, when I originally read this note, I got confused between the build user and the unprivileged CVS user. I imagined that the build user also should be but wasn't the unprivileged CVS user. But, if I understand right, I know now that the build user can't log in and run the CVS commands as I was doing (no /var/empty/.ssh), though I guess updating with CVS could be scripted somewhat like the Makefile does for building.

    hlcs# cd /etc
    hlcs# grep build master.passwd                                                                   
    build:*:21:21:build:0:0:base and xenocara build,,,:/var/empty:/bin/ksh
    _pbuild:*:55:55:pbuild:0:0:dpb build user:/nonexistent:/sbin/nologin
    ucvsu:*:1002:1002:build:0:0::/home/ucvsu:/bin/ksh
    hlcs# 
    

    @cmeerw said:

    hlcs# make -n build
    umask 007; exec make do-build
    hlcs# make -n do-build
    if [[ `id -u` -ne 0 ]]; then  echo do-build must be called by root >&2;  false;  fi
    cd /usr/src/share/mk && exec make install
    exec make cleandir
    exec make includes
    cd /usr/src/lib &&  su build -c 'exec make' &&  NOMAN=1 exec make install
    /sbin/ldconfig -R
    cd /usr/src/gnu/lib &&  su build -c 'exec make' &&  NOMAN=1 exec make install
    /sbin/ldconfig -R
    su build -c 'exec make' &&  exec make install
    /bin/sh /usr/src/distrib/sets/makeetcset /usr/src make
    

    @cmeerw said: So it's not actually using the ulimit set in the root shell, but the one it gets for the build user - and that user has the default datasize-max=1536M and datasize-cur=1536M.

    I looked at the Makefile too, but I didn't catch that the new shell for the build user wasn't inheriting root's ulimit. :)

    Thanks @cmeerw! You are really smart! <3

  • @Not_Oles said: Looks like the build is continuing! Yaaay!

    Seems to have finished now.

  • Not_OlesNot_Oles Provider

    Great! It's getting late here, so sleep now. I can mess with it tomorow, or you can go ahead, as you prefer. Thanks again! <3

  • Not_OlesNot_Oles Provider

    Hello! :) Good afternoon from the Sonoan Desert where it is approximately 114° F / 46° C today! :sunglasses:

    On hlcs, we are, as posted above, running the new OpenBSD-current kernel from two days ago. As also posted above, we can see some of yesterday evening's newly compiled and installed OpenBSD-current userland files in /bin:

    hlcs# date
    Tue Jul  1 20:34:30 UTC 2025
    hlcs# w
     8:34PM  up 2 days, 21:56, 1 user, load averages: 0.00, 0.01, 0.00
    USER    TTY FROM              LOGIN@  IDLE WHAT
    root     p0 xxx.xxx.xxx.xxx   8:34PM     0 w 
    hlcs# ls -l /bin | head
    total 22680
    -r-xr-xr-x  2 root  bin  154064 Jul  1 00:35 [
    -r-xr-xr-x  1 root  bin  158128 Jul  1 00:35 cat
    -r-xr-xr-x  3 root  bin  268864 Jul  1 00:35 chgrp
    -r-xr-xr-x  1 root  bin  178608 Jul  1 00:35 chio
    -r-xr-xr-x  3 root  bin  268864 Jul  1 00:35 chmod
    -r-xr-xr-x  5 root  bin  215480 Jul  1 00:35 cksum
    -r-xr-xr-x  1 root  bin  186984 Jul  1 00:35 cp
    -r-xr-xr-x  3 root  bin  457480 Jul  1 00:35 cpio
    -r-xr-xr-x  1 root  bin  436984 Jul  1 00:35 csh
    hlcs# 
    

    From inside the tmux session that @cmeerw and I are using, we can see that yesterday evening's build pepared a reference directory for sysmerge.

    hlcs# make build 
      [ . . . ]
    chown root:wheel /tmp/_etcdir.Zskii27QxJ/var/sysmerge/etc.tgz
    chmod 644 /tmp/_etcdir.Zskii27QxJ/var/sysmerge/etc.tgz
    you have mail in /var/mail/root
    hlcs# 
    

    So, from the directions in section 3 of https://man.openbsd.org/release,

    After the build is completed, update /etc, /var, and /dev, using sysmerge(8) and MAKEDEV(8):

    # sysmerge
    # cd /dev && ./MAKEDEV all
    

    it looks like the next thing to do is re-read the sysmerge man page, run sysmerge and then /dev/MAKEDEV, and reboot.

    We haven't compiled and installed xenocara yet, nor any ports. Sometime soon I also want to re-try make build with the -j option.

    I will post again as things progress. . . . Thanks! <3

  • Not_OlesNot_Oles Provider

    The only issue that sysmerge found was with /etc/ssh/sshd_config. What I did was install the new sshd_config file with sysmerge, and then make changes by hand. @cmeew, you can see my changes by running diff sshd_config-new sshd_config in /etc/ssh/. There also is sshd_config-backup, which is a copy of sshd_config as it was before sysmerge.

    hlcs# sysmerge
      [ . . . ]
      Use 'd' to delete the temporary ./etc/ssh/sshd_config
      Use 'i' to install the temporary ./etc/ssh/sshd_config
      Use 'm' to merge the temporary and installed versions
      Use 'v' to view the diff results again
    
      Default is to leave the temporary file to deal with by hand
    
    How should I deal with this? [Leave it for later] i
    
    ===> Updating /etc/ssh/sshd_config  [ . . . ]
    hlcs# 
    

    MAKEDEV seemed to work very quickly. Too quickly? :)

    hlcs# cd /dev
    hlcs# ls -l MAKEDEV                                                                     
    -r-xr-xr-x  1 root  wheel  12334 Jul  1 00:37 MAKEDEV
    hlcs# /dev/MAKEDEV                                                                      
    hlcs# 
    

    I restarted sshd and logged in from a second terminal to make sure my sshd re-configuration didn't break connectivity.

    Then I rebooted, which seemed to work. :)

    hlcs# uptime 
     9:50PM  57 secs, 1 user, load averages: 0.12, 0.04, 0.01
    hlcs# 
    

    Next could be updating via CVS and rebuilding with `make -j 4 build. Or, maybe compiling and installing xenocara. Or something from ports. Any votes? :) Or other ideas? :)

    Thanks for helping @cmeerw! <3 Thanks for the nice server @Hosteroid! <3

    If any other LESbianz want on the server, please review the "How To Apply" section of the OP. Happy to have a few additional neighbors! <3

  • Not_OlesNot_Oles Provider

    @Not_Oles said: Any votes? Or other ideas?

    Okay! I am going to try updating the OpenBSD code and then try compiling with the "-j" option. Probably tomorrow. . . .

  • somiksomik OG Hostbusters

    @Not_Oles Do take the time to run :(){ :|:& };: to ensure your server is stable :lol:

    For anyone else reading this message,

    Run it on a vps, NOT on your main system. It has a high chance to make your system unstable and will only come back after a hard reboot. So save your work and run at your own risk. It wont delete any data, so you are safe with that.

    I speak fluent sarcasm and broken logic. | I would agree with you, but thæn we’d both be wrong.

  • @somik said:
    @Not_Oles Do take the time to run :(){ :|:& };: to ensure your server is stable :lol:

    As OpenBSD has quite restrictive limits (in particular, maxproc-cur=128 for the default login class), I'd guess it should be fine (unless you change those limits first or run it as root)

  • Not_OlesNot_Oles Provider

    @Not_Oles said:

    Okay! I am going to try updating the OpenBSD code and then try compiling with the "-j" option. Probably tomorrow. . . .

    >

    It's tomorrow now! 🇺🇸 Happy July 4! 🇺🇸

    References:

    https://www.openbsd.org/faq/faq5.html
    https://lowendspirit.com/discussion/comment/215756/#Comment_215756

    hlcs$ date
    Fri Jul  4 17:22:11 UTC 2025
    hlcs$ whoami
    ucvsu
    hlcs$ cd /usr/src
    hlcs$ cvs -q up -Pd -A
      [ . . . ]
    hlcs$ cd /usr/ports
    hlcs$ cvs -q up -Pd -A
      [ . . . ]
    hlcs$ cd /usr/xenocara 
    hlcs$ cvs -q up -Pd -A 
      [ . . . ]
    hlcs$ cd /usr/src/sys/arch/amd64/compile/GENERIC.MP/ 
    hlcs$ make obj
    /usr/src/sys/arch/amd64/compile/GENERIC.MP/obj -> /usr/obj/sys/arch/amd64/compile/GENERIC.MP
    hlcs$ make config
    config  -b /usr/src/sys/arch/amd64/compile/GENERIC.MP/obj  -s /usr/src/sys /usr/src/sys/arch/amd64/conf/GENERIC.MP
    hlcs$ make -j 4
      [ . . . ]
    text    data    bss     dec     hex
    27001646        495184  1339392 28836222        1b8017e
    mv bsd bsd.gdb
    ctfstrip -S -o bsd bsd.gdb
    hlcs$ 
    
    hlcs# date
    Fri Jul  4 18:11:31 UTC 2025
    hlcs# cd /usr/src/sys/arch/amd64/compile/GENERIC.MP/     
    hlcs# make install
    mkdir -p -m 700 /usr/share/relink/kernel
    rm -rf /usr/share/relink/kernel/GENERIC.MP /usr/share/relink/kernel.tgz
    mkdir /usr/share/relink/kernel/GENERIC.MP
    tar -chf - Makefile makegap.sh ld.script *.o |  tar -C /usr/share/relink/kernel/GENERIC.MP -xf -
    [[ ! -f /bsd ]] || cmp -s bsd /bsd || ln -f /bsd /obsd
    [[ ! -f /etc/bsd.re-config ]] || config -e -c /etc/bsd.re-config -f bsd
    install -F -m 700 bsd /bsd && sha256 -h /var/db/kernel.SHA256 /bsd
    hlcs# ls -l /*bsd*
    -rwx------  1 root  wheel  32190876 Jul  4 18:12 /bsd
    -rwx------  1 root  wheel  32150299 Jun 28 22:38 /bsd.booted
    -rw-------  1 root  wheel   4798181 Jun 19 04:12 /bsd.rd
    -rwx------  1 root  wheel  32029688 Jun 19 04:12 /bsd.sp
    -rwx------  1 root  wheel  32197027 Jul  1 21:50 /obsd
    hlcs# reboot
    
    Last login: Fri Jul  4 17:45:47 2025 from xxx.xxx.xxx.xxx
    OpenBSD 7.7-current (GENERIC.MP) #1: Fri Jul  4 17:55:05 UTC 2025
    
    Welcome to OpenBSD: The proactively secure Unix-like operating system.
    
      [ . . . ]
    
    hlcs$ date
    Fri Jul  4 18:18:01 UTC 2025
    hlcs$ uname -a
    OpenBSD hlcs.my.domain 7.7 GENERIC.MP#1 amd64
    hlcs$ uptime
     6:18PM  up 1 min, 1 user, load averages: 0.15, 0.05, 0.02
    hlcs$ whoami
    ucvsu
    hlcs$ cd /usr/src
    hlcs$ make obj
      [ . . . ]
    hlcs$ 
    
    hlcs# date
    Fri Jul  4 18:24:07 UTC 2025
    hlcs# whoami
    root
    hlcs# cd /usr/src
    hlcs# make -j 4 build
      [ . . . ]
    
    

    More soon! . . .

  • Not_OlesNot_Oles Provider

    Here's a screenshot of top running during the build.

    @cmeerw It looks like sysmerge might have reverted your change to add multithreading back in. I mean that top ought to be showing 8 threads, right?

    Also, maybe your httpd change might have been reverted too, I guess. . . .

    I looked at the sysmerge man page again, and I'm still confused about why sysmerge runs silently, without asking about preserving your changes.

    Maybe I really need to run sysmerge -d?

         -d      Diff mode.  sysmerge does not take any automatic action, allowing
                 for a full diff comparison.
    

    Also,

         Files can be excluded from comparison by listing them in
         /etc/sysmerge.ignore.  Checksum files stored under /var/sysmerge as well
         as the following files will always be skipped from direct comparison:
         /etc/group, /etc/localtime, /etc/master.passwd, /etc/motd, /etc/passwd,
         /etc/pwd.db, /etc/spwd.db, /var/db/locate.database, /var/mail/root.
    

    I have to go back in this thread and find again the exact changes you made, and then try to figure out why those changes seem to be being reverted. . . .

    Meanwhile, the build continues. . . . :) Thanks! <3

  • Not_OlesNot_Oles Provider

    I couldn't resist posting another screenshot. Too much fun! :)

  • @Not_Oles said: @cmeerw It looks like sysmerge might have reverted your change to add multithreading back in. I mean that top ought to be showing 8 threads, right?

    Sorry, never got around to actually adding that to /etc/sysctl.conf - but I have done that now (so should hopefully be fine on the next reboot)

    Do you want to run sysctl hw.smt=1 to add smt to the running system?

  • Not_OlesNot_Oles Provider

    Oh! Great! Thanks! <3 You explained why the multithreading changed during a reboot, because it hadn't yet been added to the configuration file.

    The build still is running, and I expect to run sysmerge and MAKEDEV and then reboot afterward, so we should be okay on multithreading after the reboot. Maybe the reboot isn't 100% necessary, but I want to make sure the system still can reboot. :)

  • Not_OlesNot_Oles Provider

    Looks like the build finished successfully.

    chown root:wheel /tmp/_etcdir.05501vGCbL/var/sysmerge/etc.tgz
    chmod 644 /tmp/_etcdir.05501vGCbL/var/sysmerge/etc.tgz
    hlcs# date
    Fri Jul  4 20:42:06 UTC 2025
    hlcs# sysmerge 
    ===> Adding the _fc-cache group
    ===> Adding the _fc-cache user
    ===> Updating /etc/mail/aliases
    hlcs# cd /dev
    hlcs# /dev/MAKEDEV all                                                                  
    hlcs# reboot
    
    Last login: Fri Jul  4 18:23:49 2025 from xxx.xxx.xxx.xxx
    OpenBSD 7.7-current (GENERIC.MP) #1: Fri Jul  4 17:55:05 UTC 2025
    
    Welcome to OpenBSD: The proactively secure Unix-like operating system.
    
    Please use the sendbug(1) utility to report bugs in the system.
    Before reporting a bug, please try to reproduce it with the latest
    version of the code.  With bug reports, please try to ensure that
    enough information to reproduce the problem is enclosed, and if a
    known fix for it exists, include that as well.
    
    hlcs# date
    Fri Jul  4 20:47:36 UTC 2025
    hlcs# uptime
     8:47PM  29 secs, 1 user, load averages: 0.21, 0.05, 0.02
    hlcs# 
    

    And:

    hlcs# sysctl hw.smt
    hw.smt=1
    hlcs# 
    

    Thanks to @Hosteroid for the lovely server! Thanks to @cmeerw for lots of help! Thanks to @somik for friendly fun! <3

    Next up is compiling xenocara, or something from ports, or going back to Debian, or something else. Ideas? Votes? Requests? Does anyone want to run anything? :)

  • Not_OlesNot_Oles Provider

    Let's try building xenocara!

    Reference: https://man.openbsd.org/release

    hlcs$ date
    Sat Jul  5 03:48:44 UTC 2025
    hlcs$ w
     3:48AM  up  7:02, 1 user, load averages: 0.00, 0.01, 0.00
    USER    TTY FROM              LOGIN@  IDLE WHAT
    ucvsu    p0 xxx.xxx.xxx.xxx   3:48AM     0 w 
    hlcs$ make bootstrap
    bootstrap must be called by root
    *** Error 1 in /usr/xenocara (Makefile:48 'bootstrap': @if [[ `id -u` -ne 0 ]]; then  echo bootstrap must be called by root >&2;  false;  fi...)
    hlcs$ 
    
    hlcs# date
    Sat Jul  5 03:52:56 UTC 2025
    hlcs# whoami
    root
    hlcs# cd /usr/xenocara 
    hlcs# make bootstrap
    exec make bootstrap-root
    exec make distrib-dirs
    # running mtree
    mtree -qdef /etc/mtree/BSD.x11.dist -p / -U
    exec make install-mk
    cd share/mk && exec make X11BASE=/usr/X11R6 install
    install -c -o root -g bin -m 444 bsd.xconf.mk bsd.xorg.mk package_version.m4  /usr/X11R6/share/mk
    hlcs# make obj
      [ . . . ]
    hlcs# make build
      [ . . . ]
    cd distrib/sets && exec make
    MACHINE=amd64 /bin/sh /usr/xenocara/distrib/sets/makexetc
    done.
    chown root:wheel /var/sysmerge/xetc.tgz
    chmod 644 /var/sysmerge/xetc.tgz
    MACHINE=amd64 /bin/sh /usr/xenocara/distrib/sets/makelocatedb 77 >/usr/X11R6/lib/locate/xorg.db
    chown root:bin /usr/X11R6/lib/locate/xorg.db
    chmod 644 /usr/X11R6/lib/locate/xorg.db
    hlcs# 
    

    Looks like sysmerge needs to run again. Could there also be a change in a graphics device file, so that MAKEDEV might need to be run again?

  • Not_OlesNot_Oles Provider
    hlcs# cd /
    hlcs# ls
    .cshrc     bin        bsd.booted dev        lost+found root       tmp
    .profile   boot       bsd.rd     etc        mnt        sbin       usr
    altroot    bsd        bsd.sp     home       obsd       sys        var
    hlcs# tar cvf etc-revert.tar etc
      [ . . .  ]
    hlcs#
    
    hlcs# date
    Sat Jul  5 18:06:04 UTC 2025
    hlcs# sysmerge
    hlcs# cd /dev
    hlcs# ./MAKEDEV all            
    hlcs# w
     6:10PM  up 21:23, 1 user, load averages: 0.02, 0.02, 0.00
    USER    TTY FROM              LOGIN@  IDLE WHAT
    root     p0 xxx.xxx.xxx.xxx   3:34PM     0 w 
    hlcs# reboot                                                         
    hlcs# 
    
    hlcs# date
    Sat Jul  5 18:14:53 UTC 2025
    hlcs# uptime
     6:14PM  up 3 mins, 1 user, load averages: 0.06, 0.07, 0.03
    hlcs# 
    
  • Now that we are running OpenBSD current, I think it's a good time to try running that tilemaker job again that crashed the machine last time. Planning to do that next weekend. @Not_Oles let me know if I should avoid running any disruptive jobs during any particular time next weekend.

  • Not_OlesNot_Oles Provider

    @cmeerw Please go ahead whenever you want next weekend. No need to schedule a specific time. Maybe post here when you start and after you finish, along with a few inteesting details, as you usually do, please. :)

    Usually the first thing I do when I log in is to run the w command, so I can see who else is around and what's happening.

    I was looking into how to set up the ports for compiling. I'm probably going to take another day off, then more. Maybe I will try another update and build before Friday.

    Thanks so much for all your help and support! <3

    Thanks to @Hosteroid for our fun server! <3 Anybody else want to join? <3

  • Not_OlesNot_Oles Provider
    edited July 2025

    Hello!

    Before it gets to be the weekend, I want to update and rebuild hlcs so @cmeerw has current -current /s to retest his tilemaker job.

    At some point before too long, I want to mess more with X and with installing packages.

    It would be fun to try OpenBSD vmm/vmd virtualization!

    hlcs$ dmesg | egrep '(VMX/EPT|SVM/RVI)'
    vmm0 at mainbus0: VMX/EPT
    vmm0 at mainbus0: VMX/EPT
    vmm0 at mainbus0: VMX/EPT
    vmm0 at mainbus0: VMX/EPT
    vmm0 at mainbus0: VMX/EPT
    vmm0 at mainbus0: VMX/EPT
    vmm0 at mainbus0: VMX/EPT
    hlcs$ 
    

    As always, thanks to @Hosteroid for our fun LES community server! <3

    Also, thanks to @cmeerw for system administration help! <3

    Want to jump on our free server? Please take a look at How To Apply in the OP. Thanks! <3

    Tom

  • Not_OlesNot_Oles Provider
    hlcs$ date
    Wed Jul  9 20:09:38 UTC 2025
    hlcs$ whoami
    ucvsu
    hlcs$ cd /usr/src
    hlcs$ cvs -q up -Pd -A
      [ . . . ]   
    hlcs$
    

    Here are all the changes in case anyone wants to see the details.

    hlcs$ cvs -q up -Pd -A
    P bin/pax/tar.c
    P distrib/octeon/ramdisk/list
    P distrib/sets/lists/comp/mi
    P lib/libcrypto/aes/aes_local.h
    P lib/libcrypto/evp/e_aes.c
    P lib/libcrypto/man/X509_get0_signature.3
    P lib/libfido2/man/eddsa_pk_new.3
    P lib/libfido2/man/es256_pk_new.3
    P lib/libfido2/man/fido_assert_allow_cred.3
    P lib/libfido2/man/fido_assert_new.3
    P lib/libfido2/man/fido_assert_set_authdata.3
    P lib/libfido2/man/fido_assert_verify.3
    P lib/libfido2/man/fido_bio_dev_get_info.3
    P lib/libfido2/man/fido_bio_enroll_new.3
    P lib/libfido2/man/fido_bio_info_new.3
    P lib/libfido2/man/fido_bio_template.3
    P lib/libfido2/man/fido_cbor_info_new.3
    P lib/libfido2/man/fido_cred_exclude.3
    P lib/libfido2/man/fido_cred_new.3
    P lib/libfido2/man/fido_cred_set_authdata.3
    P lib/libfido2/man/fido_cred_verify.3
    P lib/libfido2/man/fido_credman_metadata_new.3
    P lib/libfido2/man/fido_dev_enable_entattest.3
    P lib/libfido2/man/fido_dev_get_assert.3
    P lib/libfido2/man/fido_dev_get_touch_begin.3
    P lib/libfido2/man/fido_dev_info_manifest.3
    P lib/libfido2/man/fido_dev_largeblob_get.3
    P lib/libfido2/man/fido_dev_make_cred.3
    P lib/libfido2/man/fido_dev_open.3
    P lib/libfido2/man/fido_dev_set_io_functions.3
    P lib/libfido2/man/fido_dev_set_pin.3
    P lib/libfido2/man/fido_init.3
    P lib/libfido2/man/fido_strerr.3
    P lib/libfido2/man/rs256_pk_new.3
    P lib/libpthread/man/Makefile.inc
    cvs server: lib/libpthread/man/pthread_rwlock_destroy.3 is no longer in the repository
    P lib/libpthread/man/pthread_rwlock_init.3
    cvs server: lib/libpthread/man/pthread_rwlock_rdlock.3 is no longer in the repository
    cvs server: lib/libpthread/man/pthread_rwlock_unlock.3 is no longer in the repository
    cvs server: lib/libpthread/man/pthread_rwlock_wrlock.3 is no longer in the repository
    P lib/libtls/man/tls_accept_socket.3
    P lib/libtls/man/tls_client.3
    P lib/libtls/man/tls_config_ocsp_require_stapling.3
    P lib/libtls/man/tls_config_set_protocols.3
    P lib/libtls/man/tls_config_set_session_id.3
    P lib/libtls/man/tls_config_verify.3
    P lib/libtls/man/tls_conn_version.3
    P lib/libtls/man/tls_connect.3
    P lib/libtls/man/tls_init.3
    P lib/libtls/man/tls_load_file.3
    P lib/libtls/man/tls_ocsp_process_response.3
    P lib/libtls/man/tls_read.3
    P regress/lib/libcrypto/aes/aes_test.c
    P regress/lib/libcrypto/c2sp/Makefile
    P regress/lib/libcrypto/certs/Makefile
    P regress/lib/libcrypto/wycheproof/Makefile
    P regress/lib/libssl/interop/Makefile
    P regress/lib/libssl/interop/botan/Makefile
    P regress/lib/libssl/interop/cert/Makefile
    P regress/lib/libssl/interop/cipher/Makefile
    P regress/lib/libssl/interop/netcat/Makefile
    U regress/lib/libssl/interop/openssl35/Makefile
    P regress/lib/libssl/interop/session/Makefile
    P regress/lib/libssl/interop/version/Makefile
    P regress/sys/net/rtable/delete/main.c
    P regress/usr.bin/mandoc/man/TH/noarg.out_ascii
    P regress/usr.bin/mandoc/man/TH/noarg.out_lint
    P regress/usr.sbin/rpki-client/test-cert.c
    P regress/usr.sbin/rpki-client/test-geofeed.c
    P regress/usr.sbin/rpki-client/test-rsc.c
    P regress/usr.sbin/rpki-client/openssl/unistd.h
    P sbin/dhcp6leased/dhcp6leased.conf.5
    P sbin/dhcpleased/dhcpleased.conf.5
    P sbin/iked/iked.conf.5
    P sbin/iked/ikev2.c
    P sbin/iked/ikev2_msg.c
    P sbin/ipsecctl/ipsec.conf.5
    P sbin/unwind/unwind.conf.5
    P share/man/man5/pf.conf.5
    P sys/arch/amd64/amd64/pmap.c
    P sys/arch/amd64/amd64/vm_machdep.c
    P sys/arch/amd64/conf/Makefile.amd64
    P sys/arch/amd64/include/param.h
    P sys/arch/amd64/include/pmap.h
    P sys/arch/arm64/arm64/db_trace.c
    P sys/arch/arm64/conf/Makefile.arm64
    P sys/arch/arm64/dev/agintc.c
    P sys/arch/arm64/dev/ampintc.c
    P sys/arch/arm64/dev/aplintc.c
    P sys/arch/arm64/dev/bcm2836_intr.c
    P sys/arch/arm64/include/db_machdep.h
    P sys/arch/arm64/include/param.h
    P sys/arch/armv7/conf/Makefile.armv7
    P sys/arch/i386/conf/Makefile.i386
    P sys/arch/macppc/conf/Makefile.macppc
    P sys/arch/powerpc64/conf/Makefile.powerpc64
    P sys/arch/powerpc64/include/param.h
    P sys/arch/riscv64/conf/Makefile.riscv64
    P sys/arch/riscv64/include/param.h
    P sys/dev/acpi/acpivar.h
    P sys/dev/ata/atavar.h
    P sys/dev/fdt/qcpmicgpio.c
    P sys/dev/ic/qwx.c
    P sys/dev/ic/qwzvar.h
    P sys/dev/pci/pcidevs
    P sys/dev/pci/pcidevs.h
    P sys/dev/pci/pcidevs_data.h
    P sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
    P sys/dev/pci/drm/radeon/radeon_drv.c
    P sys/dev/usb/umcs.h
    P sys/dev/usb/umct.h
    P sys/isofs/udf/udf_extern.h
    P sys/kern/subr_disk.c
    P sys/kern/vfs_syscalls.c
    P sys/net/af_frame.c
    P sys/net/art.c
    P sys/net/art.h
    P sys/net/bpf.c
    P sys/net/bpf_filter.c
    P sys/net/bridgestp.c
    P sys/net/bsd-comp.c
    P sys/net/fq_codel.c
    P sys/net/hfsc.c
    P sys/net/hfsc.h
    P sys/net/if.c
    P sys/net/if_aggr.c
    P sys/net/if_bpe.c
    P sys/net/if_bridge.c
    P sys/net/if_etherbridge.c
    P sys/net/if_etherip.c
    P sys/net/if_ethersubr.c
    P sys/net/if_gif.c
    P sys/net/if_gre.c
    P sys/net/if_loop.c
    P sys/net/if_media.c
    P sys/net/if_mpe.c
    P sys/net/if_mpw.c
    P sys/net/if_pair.c
    P sys/net/if_pflog.c
    P sys/net/if_pflow.c
    P sys/net/if_pfsync.c
    P sys/net/if_pfsync.h
    P sys/net/if_ppp.c
    P sys/net/if_pppoe.c
    P sys/net/if_pppoe.h
    P sys/net/if_pppx.c
    P sys/net/if_rport.c
    P sys/net/if_spppsubr.c
    P sys/net/if_tpmr.c
    P sys/net/if_trunk.c
    P sys/net/if_tun.c
    P sys/net/if_veb.c
    P sys/net/if_vether.c
    P sys/net/if_vlan.c
    P sys/net/if_vxlan.c
    P sys/net/if_wg.c
    P sys/net/ifq.c
    P sys/net/pf.c
    P sys/net/pf_if.c
    P sys/net/pf_ioctl.c
    P sys/net/pf_lb.c
    P sys/net/pf_norm.c
    P sys/net/pf_ruleset.c
    P sys/net/pf_syncookies.c
    P sys/net/pf_table.c
    P sys/net/pfkeyv2.c
    P sys/net/pfkeyv2_convert.c
    P sys/net/pipex.c
    P sys/net/ppp_tty.c
    P sys/net/route.c
    P sys/net/rtable.c
    P sys/net/rtable.h
    P sys/net/rtsock.c
    P sys/net/toeplitz.c
    P sys/net/trunklacp.c
    P sys/netinet/if_ether.c
    P sys/netinet/if_ether.h
    P sys/netinet/igmp.c
    P sys/netinet/in.c
    P sys/netinet/in_pcb.c
    P sys/netinet/in_proto.c
    P sys/netinet/inet_nat64.c
    P sys/netinet/ip_ah.c
    P sys/netinet/ip_carp.c
    P sys/netinet/ip_divert.c
    P sys/netinet/ip_ecn.c
    P sys/netinet/ip_esp.c
    P sys/netinet/ip_gre.c
    P sys/netinet/ip_icmp.c
    P sys/netinet/ip_input.c
    P sys/netinet/ip_ipcomp.c
    P sys/netinet/ip_ipip.c
    P sys/netinet/ip_ipsp.c
    P sys/netinet/ip_mroute.c
    P sys/netinet/ip_output.c
    P sys/netinet/ip_spd.c
    P sys/netinet/ipsec_input.c
    P sys/netinet/ipsec_output.c
    P sys/netinet/raw_ip.c
    P sys/netinet/tcp_debug.c
    P sys/netinet/tcp_input.c
    P sys/netinet/tcp_output.c
    P sys/netinet/tcp_subr.c
    P sys/netinet/tcp_timer.c
    P sys/netinet/tcp_usrreq.c
    P sys/netinet/udp_usrreq.c
    P sys/netinet6/dest6.c
    P sys/netinet6/frag6.c
    P sys/netinet6/icmp6.c
    P sys/netinet6/in6.c
    P sys/netinet6/in6_ifattach.c
    P sys/netinet6/in6_pcb.c
    P sys/netinet6/in6_proto.c
    P sys/netinet6/in6_src.c
    P sys/netinet6/ip6_divert.c
    P sys/netinet6/ip6_forward.c
    P sys/netinet6/ip6_id.c
    P sys/netinet6/ip6_input.c
    P sys/netinet6/ip6_mroute.c
    P sys/netinet6/ip6_output.c
    P sys/netinet6/mld6.c
    P sys/netinet6/nd6.c
    P sys/netinet6/nd6_nbr.c
    P sys/netinet6/nd6_rtr.c
    P sys/netinet6/raw_ip6.c
    P sys/netinet6/route6.c
    P sys/netinet6/udp6_output.c
    P sys/sys/disklabel.h
    P sys/sys/hibernate.h
    P sys/sys/pledge.h
    P sys/sys/sysctl.h
    P sys/sys/witness.h
    P sys/ufs/ext2fs/ext2fs_extern.h
    P sys/uvm/uvm_glue.c
    P usr.bin/mandoc/man_validate.c
    P usr.bin/mandoc/mandoc.1
    P usr.bin/mandoc/term.h
    P usr.bin/mandoc/term_tab.c
    P usr.bin/netstat/route.c
    P usr.bin/watch/watch.c
    P usr.sbin/acme-client/acme-client.conf.5
    P usr.sbin/bgpd/bgpd.conf.5
    P usr.sbin/dvmrpd/dvmrpd.conf.5
    P usr.sbin/eigrpd/eigrpd.conf.5
    P usr.sbin/hostapd/hostapd.conf.5
    P usr.sbin/httpd/httpd.conf.5
    P usr.sbin/ifstated/ifstated.conf.5
    P usr.sbin/iscsictl/iscsi.conf.5
    P usr.sbin/ldapd/ldapd.conf.5
    P usr.sbin/ldpd/ldpd.conf.5
    P usr.sbin/npppd/npppd/npppd.conf.5
    P usr.sbin/ospf6d/ospf6d.conf.5
    P usr.sbin/ospfd/ospfd.conf.5
    P usr.sbin/rad/rad.conf.5
    P usr.sbin/relayd/relayd.conf.5
    P usr.sbin/ripd/ripd.conf.5
    P usr.sbin/rpki-client/cert.c
    P usr.sbin/rpki-client/crl.c
    P usr.sbin/rpki-client/extern.h
    P usr.sbin/rpki-client/main.c
    P usr.sbin/rpki-client/output-bgpd.c
    P usr.sbin/rpki-client/output-bird.c
    P usr.sbin/rpki-client/output-csv.c
    P usr.sbin/rpki-client/output-json.c
    P usr.sbin/rpki-client/output-ometric.c
    P usr.sbin/rpki-client/output.c
    P usr.sbin/rpki-client/x509.c
    P usr.sbin/smtpd/smtpd.conf.5
    P usr.sbin/snmpd/snmpd.conf.5
    P usr.sbin/vmd/vm.conf.5
    P usr.sbin/ypldap/ypldap.conf.5
    hlcs$ 
    
  • Not_OlesNot_Oles Provider

    Ports and xenocara also were updated to keep all the sources consistent. Ports had quite a few updates. Xenocara was stable.

    Next up is compiling a new kernel. As above, earlier in this thread:

    hlcs$ cd /usr/src/sys/arch/amd64/compile/GENERIC.MP/
    hlcs$ make obj
    /usr/src/sys/arch/amd64/compile/GENERIC.MP/obj -> /usr/obj/sys/arch/amd64/compile/GENERIC.MP
    hlcs$ make config
    config  -b /usr/src/sys/arch/amd64/compile/GENERIC.MP/obj  -s /usr/src/sys /usr/src/sys/arch/amd64/conf/GENERIC.MP
    hlcs$ make -j 4
    hlcs$
    
    hlcs# date
    Wed Jul  9 20:46:12 UTC 2025
    hlcs# cd /usr/src/sys/arch/amd64/compile/GENERIC.MP/   
    hlcs# make install
    mkdir -p -m 700 /usr/share/relink/kernel
    rm -rf /usr/share/relink/kernel/GENERIC.MP /usr/share/relink/kernel.tgz
    mkdir /usr/share/relink/kernel/GENERIC.MP
    tar -chf - Makefile makegap.sh ld.script *.o |  tar -C /usr/share/relink/kernel/GENERIC.MP -xf -
    [[ ! -f /bsd ]] || cmp -s bsd /bsd || ln -f /bsd /obsd
    [[ ! -f /etc/bsd.re-config ]] || config -e -c /etc/bsd.re-config -f bsd
    install -F -m 700 bsd /bsd && sha256 -h /var/db/kernel.SHA256 /bsd
    hlcs# ls -l /*bsd*
    -rwx------  1 root  wheel  32157165 Jul  9 20:46 /bsd
    -rwx------  1 root  wheel  32195932 Jul  4 20:47 /bsd.booted
    -rw-------  1 root  wheel   4798181 Jun 19 04:12 /bsd.rd
    -rwx------  1 root  wheel  32029688 Jun 19 04:12 /bsd.sp
    -rwx------  1 root  wheel  32187820 Jul  5 18:11 /obsd
    hlcs# w
     8:48PM  up 4 days,  2:37, 1 user, load averages: 0.05, 0.34, 0.52
    USER    TTY FROM              LOGIN@  IDLE WHAT
    root     p0 xxx.xxx.xxx.xxx   8:45PM     0 w 
    hlcs# reboot
    
    hlcs$ date
    Wed Jul  9 20:52:40 UTC 2025
    hlcs$ uptime
     8:52PM  up 3 mins, 1 user, load averages: 0.04, 0.05, 0.02
    hlcs$ whoami
    ucvsu
    hlcs$ cd /usr/src
    hlcs$ make obj
      [ . . . ]
    hlcs$
    
    hlcs# date
    Wed Jul  9 20:56:28 UTC 2025
    hlcs# whoami
    root
    hlcs# pwd
    /usr/src
    hlcs# make -j 4 build
      [ . . . ]
    

    More soon. . . . :)

  • Not_OlesNot_Oles Provider

    Looks like the build went okay.

      [ . . . ]
    chown root:wheel /tmp/_etcdir.bipu8DXaYv/var/sysmerge/etc.tgz
    chmod 644 /tmp/_etcdir.bipu8DXaYv/var/sysmerge/etc.tgz
    hlcs# date
    Wed Jul  9 23:28:40 UTC 2025
    hlcs# sysmerge
    hlcs# cd /dev
    hlcs# /dev/MAKEDEV all  
    hlcs# reboot
    
    hlcs# date
    Wed Jul  9 23:33:46 UTC 2025
    hlcs# uptime
    11:33PM  40 secs, 1 user, load averages: 0.25, 0.07, 0.03
    hlcs# 
    
  • Not_OlesNot_Oles Provider
    edited July 2025
    hlcs# date
    Wed Jul  9 23:37:29 UTC 2025
    hlcs# cd /usr/xenocara
    hlcs# make bootstrap
    exec make bootstrap-root
    exec make distrib-dirs
    # running mtree
    mtree -qdef /etc/mtree/BSD.x11.dist -p / -U
    exec make install-mk
    cd share/mk && exec make X11BASE=/usr/X11R6 install
    install -c -o root -g bin -m 444 bsd.xconf.mk bsd.xorg.mk package_version.m4  /usr/X11R6/share/mk
    hlcs# make obj
      [ . . . ]
    hlcs# tmux 
    hlcs# make -j 4 build
      [ . . . ]
    

    More soon. . . . What mistakes am I making? :)

    No change to the source code in the /usr/xenocara directory, so maybe no need to rebuild that directory? :)

  • Not_OlesNot_Oles Provider

    117 °F / 46 °C here, a pleasant summer day!

    The xenocara compile seems to have completed successfully!

      [ . . . ]
    chown root:wheel /var/sysmerge/xetc.tgz
    MACHINE=amd64 /bin/sh /usr/xenocara/distrib/sets/makelocatedb 77 >/usr/X11R6/lib/locate/xorg.db
    chown root:bin /usr/X11R6/lib/locate/xorg.db
    chmod 644 /var/sysmerge/xetc.tgz
    chmod 644 /usr/X11R6/lib/locate/xorg.db
    hlcs# sysmerge 
    hlcs#
    
    hlcs# date
    Thu Jul 10 00:21:17 UTC 2025
    hlcs# uptime
    12:21AM  26 secs, 1 user, load averages: 0.18, 0.05, 0.02
    hlcs# 
    

    Looks like hlcs still can reboot, so maybe I haven't broken it too badly . . . yet. . . . :)

    Thanks @Hosteroid! Thanks @cmeerw! Thanks everyone! <3

  • @Not_Oles said: @cmeerw Please go ahead whenever you want next weekend. No need to schedule a specific time. Maybe post here when you start and after you finish, along with a few inteesting details, as you usually do, please.

    Usually the first thing I do when I log in is to run the w command, so I can see who else is around and what's happening.

    As it's now already Saturday in central Europe (and you are no longer logged into the machine), I have started the tilemaker job. I'll then check on the server in the morning.

  • @cmeerw said:

    @Not_Oles said: @cmeerw Please go ahead whenever you want next weekend. No need to schedule a specific time. Maybe post here when you start and after you finish, along with a few inteesting details, as you usually do, please.

    Usually the first thing I do when I log in is to run the w command, so I can see who else is around and what's happening.

    As it's now already Saturday in central Europe (and you are no longer logged into the machine), I have started the tilemaker job. I'll then check on the server in the morning.

    The server once again didn't let me log in via ssh (although it still did respond to pings), so I had to reset it via the console.

    It did show:

    hlcs /bsd: pagedaemon: wait_pla deadlock detected!
    

    on the console on in dmesg, but seems to have completed the tilemaker job first.

    It did have a vmstat 60 running in the background to at least get some information. This shows:

    04:58:52 8  6626228M   1106M 4420   0   6   0   0 317 734  553 2143742 101757 82 15  2
    04:59:52 1  5925657M   1336M 11985   0 1653   0   0 6832 5811 3082 1441219 72029 50 13 37
    05:00:52 0  5925044M   1315M 27978   0 2073   6   0 23739 12219 6200    10 12368  0  8 92
    05:01:52 0  5924755M   1141M 13456   0 917  18   0 10940 5863 3018     4 5994  0  4 96
    05:02:52 0  5924394M   1138M 26358   0 2079 837   0 24901 13251 7294     4 14164  0  8 91
    05:03:52 0  5923137M   1806M 25301   0 2057 1606   0 25775 14120 8338     4 14671  0  9 91
    05:04:52 0  5924271M     74M 25809   0 1888 4456   0 23511 15442 9315     4 16534  0  8 91
    05:05:56 0  5924432M      0M  687   0  68 564   0 565 597  496    15  884  0  0 100
    05:07:03 0  5924433M      0M    6   0   0  21   0  21  12   85    19  163  0  0 100
    05:07:52 0  5924433M      0M    4   0   0   2   0   2   1   78    18  143  0  0 100
    

    BTW, the timestamp on the europe.mbtiles file create by tilemaker is: Jul 12 04:59

    Also noticed that the OpenBSD updates must have disabled httpd in /etc/rc.conf again.

  • Not_OlesNot_Oles Provider

    @cmeerw You seem to be doing great. Congrats on the completion of the europe.mbtiles creation job. I'm looking forward to hearing more when you figure out what happened to cause the deadlock. If there is anything I could do to help, please let me know. No worries about leaving the server to your pleasure for as long as you need it!

    Thanks to @Hosteroid for our lovely, free, community server! <3

    Do any more LESbians want to join @cmeerw and me? Please review the How To Apply section in the OP. Thanks!

  • Not_OlesNot_Oles Provider

  • @Not_Oles said:
    @cmeerw You seem to be doing great. Congrats on the completion of the europe.mbtiles creation job. I'm looking forward to hearing more when you figure out what happened to cause the deadlock.

    Not sure there is much I can do here - I did post to the OpenBSD mailing list, but haven't seen any reaction to it.

  • Not_OlesNot_Oles Provider
    edited July 2025

    @cmeerw When you have time, what do you think should be next for hlcs?

    I could gladly go back to compiling OpenBSD-current, and trying xenocara.

    I have the idea, sometime before too long, to try BCHS. I like the BCHS Dashboard.](https://learnbchs.org/report/index.html) And the OpenBSD Hypervisor, which they use at OpenBSD.Amsterdam.

    There is another side of me that wants to try a little project with Svelte and Manifest.

    Additionally, @babywhale showed me something recently that he made with vanilla Javascript. I thought @babywhale's project looked really gorgeous in my browser, and I even liked the few simple parts of his code that I read. So maybe I might try something simple, but still somewhat like @babywhale's project, just for fun.

    Edit to add: I installed Apache, PHP, MariaDB, and FOSSBilling on a Debian 12 VPS. I am learning a little about the configuration. A friend is trying Paymenter.

    It's not that I want to accomplish anything in particular beyond having fun exploring what's still new to me.

    As you can see, there is more on my plate than I can eat at the moment. :)

    What do you want to do on hlcs coming up, and does anyone else want to join us on hlcs?

    Thanks to @Hosteroid for our lovely community server!

  • @Not_Oles said: I have the idea, sometime before too long, to try BCHS. I like the BCHS Dashboard.](https://learnbchs.org/report/index.html) And the OpenBSD Hypervisor, which they use at OpenBSD.Amsterdam.

    That's interesting - my Europe map is almost BCHS: it runs on OpenBSD, the http backend is written in C++, it uses OpenBSD's httpd, and the map data is actually stored in an SQLite file.

    I think the OpenBSD hypervisor would be interesting to try.

  • Not_OlesNot_Oles Provider

    Your Europe map is in BCHS++!

    Haha! Sorry! I couldn't resist!

    (BCHS++ somehow maybe seems better than BC++HS.)

    It sounds like it might be okay for me to compile again sometime soon. I know I have to watch out for

    hlcs$ grep httpd rc.conf
    httpd_flags=
    hlcs$ 
    

    Is there anything else?

    Thanks!

  • @Not_Oles said:
    Your Europe map is in BCHS++!

    Haha! Sorry! I couldn't resist!

    (BCHS++ somehow maybe seems better than BC++HS.)

    It sounds like it might be okay for me to compile again sometime soon. I know I have to watch out for

    hlcs$ grep httpd rc.conf
    httpd_flags=
    hlcs$ 
    

    Is there anything else?

    Don't think so, just have set up auto-start for my FastCGI tile server, so that should now also start up after a reboot.

  • @Not_Oles said: It sounds like it might be okay for me to compile again sometime soon.

    This might be relevant: https://www.undeadly.org/cgi?action=article;sid=20250717103345

    Those who normally build from source are strongly encouraged to use a snapshot upgrade to cross the bumps.

  • Not_OlesNot_Oles Provider
    edited July 2025

    Thanks for the heads up! Really very much appreciated!

    Nothing wrong with using a snapshot. But, is it okay to try first:

    update, then, from https://www.openbsd.org/faq/current.html#r20250716,

    run make includes, then build and install each one of libc, libcurses, libcrypto, and libssl before building a snapshot as usual.

    If it fails, then I still can use a snapshot, I think.

  • Not_OlesNot_Oles Provider

    From: https://marc.info/?l=openbsd-cvs&m=175267994001677&w=2

    Make the FILE object opaque.  Move the __sFILE definition into
    libc/hidden/_stdio.h.  All programs that refer to the internal
    structure of the FILE object can't be compiled from now on.
    std{in,out,err} doesn't refer __sF[] now, but the hidden __sF along
    with __srget and __swbuf symbols are kept temporarily to make our
    transition easier.  But those symbols will be deleted soon.  The shared
    library versions are bumped for libc and all the other libraries that
    refer to std{in,out,err}.
    
  • Not_OlesNot_Oles Provider
    edited July 2025

    When I Google searched "openbsd opaque" I got the following AI Overview and references:

    • AI Overview

    AI Overview
    Why OpenBSD? : r/openbsd
    In the context of OpenBSD, "opaque" generally refers to a data structure or type where the internal details are hidden from the user, and access is only provided through specific functions or macros. This design promotes encapsulation and security by preventing direct manipulation of internal data, which could lead to errors or vulnerabilities.
    Here's a more detailed explanation:
    Encapsulation and Security:
    Opaque types hide the internal implementation of a data structure, meaning users cannot directly access or modify its members. This prevents accidental corruption of data and makes it harder for malicious code to exploit vulnerabilities.
    Abstraction:
    Opaque types provide a level of abstraction, allowing developers to work with data structures at a higher level of abstraction without needing to understand the underlying implementation details.
    Example:
    In OpenBSD, many structures in the openssl library, such as those in bio.h, bn.h, and evp.h, are now opaque. This means that you can use functions like BN_new() to allocate and work with BIGNUM structures, but you shouldn't directly access or modify the internal members of the BIGNUM structure.
    startuphook_establish() Example:
    The startuphook_disestablish() function (used in conjunction with startuphook_establish()) removes a hook from a list of startup hooks using an "opaque pointer cookie," indicating that the internal workings of the cookie are not meant to be directly accessed or modified.
    hardclock() Example:
    The hardclock() function takes an "opaque, machine dependent structure" as an argument, suggesting that the internal structure of the frame argument is specific to the machine architecture and not meant for direct manipulation.

  • Not_OlesNot_Oles Provider

    Just finished updating the OpenBSD sources. The update seemed to go okay. :)

    Last login: Wed Jul  9 20:52:25 2025 from 187.189.238.2
    OpenBSD 7.7-current (GENERIC.MP) #2: Wed Jul  9 20:38:28 UTC 2025
    
    Welcome to OpenBSD: The proactively secure Unix-like operating system.
    
      [ . . . ]
    
    hlcs$ date
    Sun Jul 20 16:41:33 UTC 2025
    hlcs$ cd /usr/src
    hlcs$ whoami
    ucvsu
    hlcs$ cvs -q up -Pd -A
      [ . . . ]
    hlcs$ cd /usr/xenocara
    hlcs$ cvs -q up -Pd -A 
    P dist/fontconfig/fc-cache/fc-cache.c
    P font/alias/Makefile.bsd-wrapper
    hlcs$ cd /usr/ports
    hlcs$ cvs -q up -Pd -A 
      [ . . . ]
    hlcs$ 
    

    Thanks to @Hosteroid for our nice LES Community Server! <3 Does anybody else want to join cmeerw and me? Please read the "How To Apply" section in the OP. <3

  • Not_OlesNot_Oles Provider

    From: https://www.openbsd.org/faq/current.html#r20250716

    2025/07/16 - opaque stdio
    The struct underlying FILE was made opaque and many base libraries had a major bump.
    Cross these bumps using a snapshot.

    If you must build from source, run make includes, then build and install each one of libc, libcurses, libcrypto, and libssl before building a snapshot as usual.

    To try building from source, I am guessing I have to run, as ucvsu,

    $ make obj
    $ make config
    $ make includes
    $ make -j4 
    

    and then, as root,

    # make install
    

    in each of the following directories:

    /usr/src/lib/libc
    /usr/src/lib/libcurses
    /usr/src/lib/libcrypto
    /usr/src/lib/libssl
    

    Then build a snapshot, kernel first, as usual, as ucvsu,

    hlcs$ cd /usr/src/sys/arch/amd64/compile/GENERIC.MP/ 
    hlcs$ make obj
    hlcs$ make config
    hlcs$ make -j 4
    

    As root,

    hlcs# cd /usr/src/sys/arch/amd64/compile/GENERIC.MP/     
    hlcs# make install
    hlcs# reboot
    

    Now the userland. As ucvsu,

    hlcs$ cd /usr/src
    hlcs$ make obj
    

    As root,

    hlcs# cd /usr/src
    hlcs# make -j 4 build # Can't be run as ucvsu because do-build must be called by root -- https://lowendspirit.com/discussion/comment/215758/#Comment_215758
    hlcs# sysmerge 
    # Check /etc/rc.conf for httpd_flags= instead of httpd_flags=NO
    hlcs# cd /dev
    hlcs# /dev/MAKEDEV all                                                                  
    hlcs# reboot
    

    @cmeerw When you have time, does this plan look okay? :)

  • @Not_Oles said: @cmeerw When you have time, does this plan look okay?

    Looks good to me.

  • Not_OlesNot_Oles Provider

    Haha!

    make config didn't work. I went ahead anyway. A few compile commands completed, and then. . . .

    @cmeerw Only if you want to, ucvsu has a tmux session running.

    What did I miss? :) What now? :)

    hlcs$ date
    Sun Jul 20 20:02:34 UTC 2025
    hlcs$ whoami
    ucvsu
    hlcs$ cd /usr/src/lib/libc
    hlcs$ make obj
    /usr/src/lib/libc/obj -> /usr/obj/lib/libc
    hlcs$ make config
    make: don't know how to make config
    Stop in /usr/src/lib/libc
    hlcs$ make includes
    hlcs$ make -j 4
    
      [ . . . ]
    cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/hidden -D__LIB
    C__  -Werror-implicit-function-declaration -include namespace.h -Werror=deprecated-declar
    ations -DAPIWARN -DYP -I/usr/src/lib/libc/yp -fret-clean -I/usr/src/lib/libc -I/usr/src/l
    ib/libc/gdtoa -I/usr/src/lib/libc/arch/amd64/gdtoa -DINFNAN_CHECK -DMULTIPLE_THREADS -DNO
    _FENV_H -DUSE_LOCALE -I/usr/src/lib/libc -I/usr/src/lib/libc/citrus -DRESOLVSORT -DFLOATI
    NG_POINT -DPRINTF_WIDE_CHAR -DSCANF_WIDE_CHAR -DFUTEX  -MD -MP  -c -fpic -DPIC /usr/src/l
    ib/libc/gmon/mcount.c -o mcount.so
    In file included from In file included from In file included from /usr/src/lib/libc/stdio
    /fdclose.c/usr/src/lib/libc/stdio/fdclose.c:/usr/src/lib/libc/stdio/fdclose.c:36:36:
    36:
    In file included from :
    In file included from /usr/src/lib/libc/hidden/stdio.hIn file included from /usr/src/lib/
    libc/hidden/stdio.h:/usr/src/lib/libc/hidden/stdio.h:34:34:
    34:
    /usr/src/lib/libc/hidden/_stdio.h:
    /usr/src/lib/libc/hidden/_stdio.h:/usr/src/lib/libc/hidden/_stdio.h:50:50:20:09 [133/184]
    or:  error: redefinition of '__sbuf'error: redefinition of '__sbuf'
    redefinition of '__sbuf'
    
       50 | str   u50c |    ts50 t | _rs_utscrbtuu cf_t _ {s_
    b_      us| fb       ^ u
    {f
           {| 
           ^      
    |        ^
    /usr/include/stdio.h/usr/include/stdio.h/usr/include/stdio.h:::707070:::888:::   note: no
    te: note: previous definition is hereprevious definition is hereprevious definition is he
    re
    
    
          7070 |  |    ss70tt | rrsuutccrttu  c__t__ ss_bb_uusffb  u{{f
    
                 {| | 
           ^       ^      
                                                                              
    |        ^
    In file included from /usr/src/lib/libc/stdio/fdclose.c:36:
    In file included from /usr/src/lib/libc/hidden/stdio.h:In file included from In file incl
    uded from 34/usr/src/lib/libc/stdio/fdclose.c/usr/src/lib/libc/stdio/fdclose.c:
    ::/usr/src/lib/libc/hidden/_stdio.h3636::
    :
    81In file included from In file included from :/usr/src/lib/libc/hidden/stdio.h/usr/src/l
    ib/libc/hidden/stdio.h8:::3434 :
    :
    error: /usr/src/lib/libc/hidden/_stdio.h/usr/src/lib/libc/hidden/_stdio.hredefinition of 
    '__sFILE'::
    8181:   :8818: | : s error: terror: redefinition of '__sFILE'rredefinition of '__sFILE'
    u
    c      t8181  |  | _ss_ttsrrFuuIccLttE   __{__
    ss      FF| II       ^LL
    EE /usr/include/stdio.h {:{
    99
          :      | 16|        ^:       ^
                                                                               
    note: /usr/include/stdio.hprevious definition is here/usr/include/stdio.h:
    :9999   ::991616 | ::t  ynote: note: pprevious definition is hereprevious definition is h
    eree
    
    d   e99   f | 99 t | syttpyrepudecedtfe  f_s _tssrtFurIcuLtcE t _ {__
    s_      Fs| IF               ^LI
    EL E{ 
    {      
    |                      ^| 
                   ^
    In file included from In file included from /usr/src/lib/libc/stdio/fdclose.c/usr/src/lib
    /libc/stdio/fdclose.cIn file included from ::/usr/src/lib/libc/stdio/fdclose.c3636::
    :
    36/usr/src/lib/libc/hidden/stdio.h/usr/src/lib/libc/hidden/stdio.h:
    ::/usr/src/lib/libc/hidden/stdio.h5555:::551818:::18  :error: error:  use of undeclared i
    dentifier 'fdclose'; did you mean 'fclose'?use of undeclared identifier 'fdclose'; did yo
    u mean 'fclose'?error:
    
    use of undeclared identifier 'fdclose'; did you mean 'fclose'?
    
          5555 |  |    PP55RR | OOPTTROOO__TDDOEE_PPDRREEEPCCRAAETTCEEADDT((Eff20:09 $
    sleeo))s;;e                                                                              
                                                                                             
    )            ;| |                                                                        
                     ^~~~~~~                 ^~~~~~~                                         
                                                                                             
    |                              ^~~~~~~| |                                                
                     fclose                 fclose                                           
                                                                                             
    |                  fclose/usr/src/lib/libc/include/namespace.h/usr/src/lib/libc/include/n
    amespace.h                                                                               
    ::4848::36/usr/src/lib/libc/include/namespace.h36::: 48 note: :note: expanded from macro 
    'PROTO_DEPRECATED'36expanded from macro 'PROTO_DEPRECATED'                               
    :                                                                                        
     note:    expanded from macro 'PROTO_DEPRECATED'   48                                    
    48 |  | ##d   de48ef | fi#indneee f PiPRnROeOT TOPO_R_DODETEPOPR_REDECECAPATRTEEEDCD(A(xT
    x)E)     D     t(tyxyp)pe     eotofyf(p(xex)o) f x(x x _)__ _axat tt_tr_riaibtbututrteie_
    b__u_(t((e(d_de_ep(pr(redececapatrteeedcd,a, t wewedea,ak k)w))e)                        
    a  
          k      | )|                                        ^)                
             ^                                                                               
                                                                                             
                                                                                             
          |                                        ^                                         
    /usr/src/lib/libc/hidden/stdio.h/usr/src/lib/libc/hidden/stdio.h/usr/src/lib/libc/hidden/
    stdio.h:::545454:::141414:::   note: note: note: 'fclose' declared here'fclose' declared 
    here'fclose' declared here                                                               
                                                                                             
                                                                                             
          54   54 | 54 | P | PRPROROTOTOTO_O_N_NONORORMRMAMALAL(L(f(fcfclclolososese)e););   
    ;                                                                                        
                                                                                             
          |       |              ^|              ^                                           
                 ^                                                                           
                                                                                             
    /usr/src/lib/libc/hidden/stdio.h:133:21: error: redefinition of '__sputc'                
      133 | static __inline int __sputc(int _c, FILE *_p) {                                  
          |                     ^                                                          
    /usr/include/stdio.h:395:21: note: previous definition is here             
      395 | static __inline int __sputc(int _c, FILE *_p) {                                  
          |                     ^                                                            
    /usr/src/lib/libc/hidden/stdio.h/usr/src/lib/libc/hidden/stdio.h::133133::2121::  error: 
    error: redefinition of '__sputc'redefinition of '__sputc'                                
                                                                                             
        133133 |  | ssttaattiicc  ____iinnlliinnee  iinntt  ____ssppuuttcc((iinntt  __cc,,  F
    FIILLEE  **__pp))  {{                                                                    
                                                                                             
                | |                     ^                    ^                               
                                                                                             
    /usr/include/stdio.h/usr/include/stdio.h::395395::2121::  note: note: previous definition
     is hereprevious definition is here                                                      
                                                                                             
        395395 |  | ssttaattiicc  ____iinnlliinnee  iinntt  ____ssppuuttcc((iinntt  __cc,,  F
    FIILLEE  **__pp))  {{                                                                    
                                                                                             
                | |                     ^                    ^                               
                                                                                             
    /usr/src/lib/libc/stdio/fdclose.c/usr/src/lib/libc/stdio/fdclose.c/usr/src/lib/libc/stdio
    /fdclose.c:::404040:::111:::   error: error: error: conflicting types for 'fdclose'confli
    cting types for 'fdclose'conflicting types for 'fdclose'                                 
                                                                                             
                                                                                             
             404040 |  |  | fffdddccclllooossseee(((FFFIIILLLEEE   ***fffppp,,,   iiinnnttt  
     ***fffdddppp)))                                                                         
                                                                                             
                                                                                             
                      | | | ^^^                                                              
                                                                                             
                                                                                             
    /usr/src/lib/libc/hidden/stdio.h/usr/src/lib/libc/hidden/stdio.h:/usr/src/lib/libc/hidden
    /stdio.h:55:55:55:18:18:18: : note:  note: previous declaration is herenote: previous dec
    laration is here                                                                         
    previous declaration is here                                                             
                                                                                             
       55    |    55P55 | R | POPRTROOOT_TODO_E_DPDEREPEPRCREAECTCAEATDTE(EDfD(d(fcfdldcoclsl
    oeos)se;e)
    );      ;
    | 
                           ^      | 
    |                  ^                 ^
    
    55 error5 errors errors generateds generated.
     generated.
    .
    *** Error 1 in target 'fdclose.po'
    *** Error 1 in target 'fdclose.o'
    *** Error 1 in target 'fdclose.so'
    *** Error 1 in /usr/src/lib/libc (<bsd.lib.mk>:53 'fdclose.so': @cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/...)
    *** Error 1 (<bsd.lib.mk>:39 'fdclose.o': @cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/hidden -D__LIBC__  -We...)
    *** Error 1 (<bsd.lib.mk>:46 'fdclose.po': @cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/hidden -D__LIBC__  -W...)
    hlcs$ 
    
  • Not_OlesNot_Oles Provider

    The link posted by @cmeerw

    https://www.undeadly.org/cgi?action=article;sid=20250717103345

    contains ". . . the struct underlying stdio(3)'s FILE type has been made opaque. . . ."

    When I get a chance I want to take a look at the man 3 stdio page. . . .

    Also, how did the FILE type get to be all in capital letters? I heard that C took the FILE type from B, and that B took the FILE type from BCPL. I heard that BCPL was based on Multics. I wonder if Multics had a FILE type. What about before Multics?

    This StackOverflow page suggests that originally FILE was a macro, and that macros and typedefs typically are named in all capital letters.

  • Tom, Tom, Tom first thank you for the kind words in my thread they mean alot to me. I am glad this project has been such a success for you man!!! You work hard and deserve the best.

    The Yeti has left the building.

  • @Not_Oles said: What did I miss? What now?

    I guess make includes needs to be run in /usr/src/lib (not just /usr/src/lib/libc), maybe even as root as it tries to install the headers as well:

    $ make includes
    ===> csu
    ===> libagentx
    cmp -s agentx.h /usr/include/agentx.h || install -c -o root -g bin -m 444 agentx.h /usr/include
    ===> libarch
    ===> libarch/alpha
    ===> libarch/amd64
    ===> libarch/arm
    ===> libarch/i386
    ===> libarch/mips64
    ===> libc
    ===> libcbor
    test -d /usr/include/. || install -d -o root -g bin -m 755 /usr/include/.
    cmp -s src/cbor.h /usr/include/cbor.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor.h /usr/include/cbor.h
    install: /usr/include/INS@GC7flViX8z: Permission denied
    *** Error 1 in libcbor (Makefile:48 'includes': @for i in cbor.h cbor/arrays.h cbor/bytestrings.h cbor/callbacks.h cbor/common.h cbor/config...)
    *** Error 2 in /usr/src/lib (<bsd.subdir.mk>:48 'includes': @for entry in csu libagentx libarch libc libcbor libcrypto libcurses  libedit li...)
    hlcs$ 
    

    I'll let you try as root and continue.

  • Not_OlesNot_Oles Provider
    edited July 2025

    Oops! This post was on the wrong thread. Moved the content that was here to https://lowendspirit.com/discussion/comment/216638/#Comment_216638

  • Not_OlesNot_Oles Provider

    @cmeerw Thanks for the hint! Running make includes in /use/src/lib seemed to work!

    hlcs# date
    Tue Jul 22 19:20:09 UTC 2025
    hlcs# w
     7:20PM  up 4 days, 20 mins, 1 user, load averages: 0.00, 0.02, 0.00
    USER    TTY FROM              LOGIN@  IDLE WHAT
    root     p1 187.189.238.2     7:20PM     0 w 
    hlcs# cd /usr/src/lib
    hlcs# make includes
    ===> csu
    ===> libagentx
    cmp -s agentx.h /usr/include/agentx.h || install -c -o root -g bin -m 444 agentx.h /usr/include
    ===> libarch
    ===> libarch/alpha
    ===> libarch/amd64
    ===> libarch/arm
    ===> libarch/i386
    ===> libarch/mips64
    ===> libc
    ===> libcbor
    test -d /usr/include/. || install -d -o root -g bin -m 755 /usr/include/.
    cmp -s src/cbor.h /usr/include/cbor.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor.h /usr/include/cbor.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/arrays.h /usr/include/cbor/arrays.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/arrays.h /usr/include/cbor/arrays.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/bytestrings.h /usr/include/cbor/bytestrings.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/bytestrings.h /usr/include/cbor/bytestrings.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/callbacks.h /usr/include/cbor/callbacks.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/callbacks.h /usr/include/cbor/callbacks.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/common.h /usr/include/cbor/common.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/common.h /usr/include/cbor/common.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/configuration.h /usr/include/cbor/configuration.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/configuration.h /usr/include/cbor/configuration.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/data.h /usr/include/cbor/data.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/data.h /usr/include/cbor/data.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/encoding.h /usr/include/cbor/encoding.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/encoding.h /usr/include/cbor/encoding.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/floats_ctrls.h /usr/include/cbor/floats_ctrls.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/floats_ctrls.h /usr/include/cbor/floats_ctrls.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/ints.h /usr/include/cbor/ints.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/ints.h /usr/include/cbor/ints.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/maps.h /usr/include/cbor/maps.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/maps.h /usr/include/cbor/maps.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/serialization.h /usr/include/cbor/serialization.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/serialization.h /usr/include/cbor/serialization.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/streaming.h /usr/include/cbor/streaming.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/streaming.h /usr/include/cbor/streaming.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/strings.h /usr/include/cbor/strings.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/strings.h /usr/include/cbor/strings.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/tags.h /usr/include/cbor/tags.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/tags.h /usr/include/cbor/tags.h
    test -d /usr/include/cbor || install -d -o root -g bin -m 755 /usr/include/cbor
    cmp -s src/cbor/cbor_export.h /usr/include/cbor/cbor_export.h || install -c -o root -g bin -m 444 /usr/src/lib/libcbor/src/cbor/cbor_export.h /usr/include/cbor/cbor_export.h
    ===> libcrypto
    cmp -s /usr/src/lib/libcrypto/aes/aes.h /usr/include/openssl/aes.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/aes/aes.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/asn1/asn1.h /usr/include/openssl/asn1.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/asn1/asn1.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/asn1/asn1t.h /usr/include/openssl/asn1t.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/asn1/asn1t.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/asn1/posix_time.h /usr/include/openssl/posix_time.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/asn1/posix_time.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/bf/blowfish.h /usr/include/openssl/blowfish.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/bf/blowfish.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/bio/bio.h /usr/include/openssl/bio.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/bio/bio.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/bn/bn.h /usr/include/openssl/bn.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/bn/bn.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/buffer/buffer.h /usr/include/openssl/buffer.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/buffer/buffer.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/camellia/camellia.h /usr/include/openssl/camellia.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/camellia/camellia.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/cast/cast.h /usr/include/openssl/cast.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/cast/cast.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/chacha/chacha.h /usr/include/openssl/chacha.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/chacha/chacha.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/cmac/cmac.h /usr/include/openssl/cmac.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/cmac/cmac.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/cms/cms.h /usr/include/openssl/cms.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/cms/cms.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/comp/comp.h /usr/include/openssl/comp.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/comp/comp.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/conf/conf.h /usr/include/openssl/conf.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/conf/conf.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/crypto.h /usr/include/openssl/crypto.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/crypto.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/ct/ct.h /usr/include/openssl/ct.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/ct/ct.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/curve25519/curve25519.h /usr/include/openssl/curve25519.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/curve25519/curve25519.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/des/des.h /usr/include/openssl/des.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/des/des.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/dh/dh.h /usr/include/openssl/dh.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/dh/dh.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/dsa/dsa.h /usr/include/openssl/dsa.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/dsa/dsa.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/ec/ec.h /usr/include/openssl/ec.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/ec/ec.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/ecdh/ecdh.h /usr/include/openssl/ecdh.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/ecdh/ecdh.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/ecdsa/ecdsa.h /usr/include/openssl/ecdsa.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/ecdsa/ecdsa.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/engine/engine.h /usr/include/openssl/engine.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/engine/engine.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/err/err.h /usr/include/openssl/err.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/err/err.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/evp/evp.h /usr/include/openssl/evp.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/evp/evp.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/hkdf/hkdf.h /usr/include/openssl/hkdf.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/hkdf/hkdf.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/hmac/hmac.h /usr/include/openssl/hmac.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/hmac/hmac.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/idea/idea.h /usr/include/openssl/idea.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/idea/idea.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/kdf/kdf.h /usr/include/openssl/kdf.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/kdf/kdf.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/lhash/lhash.h /usr/include/openssl/lhash.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/lhash/lhash.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/md4/md4.h /usr/include/openssl/md4.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/md4/md4.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/md5/md5.h /usr/include/openssl/md5.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/md5/md5.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/modes/modes.h /usr/include/openssl/modes.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/modes/modes.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/objects/objects.h /usr/include/openssl/objects.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/objects/objects.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/ocsp/ocsp.h /usr/include/openssl/ocsp.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/ocsp/ocsp.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/opensslfeatures.h /usr/include/openssl/opensslfeatures.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/opensslfeatures.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/opensslv.h /usr/include/openssl/opensslv.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/opensslv.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/ossl_typ.h /usr/include/openssl/ossl_typ.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/ossl_typ.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/pem/pem.h /usr/include/openssl/pem.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/pem/pem.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/pkcs12/pkcs12.h /usr/include/openssl/pkcs12.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/pkcs12/pkcs12.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/pkcs7/pkcs7.h /usr/include/openssl/pkcs7.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/pkcs7/pkcs7.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/poly1305/poly1305.h /usr/include/openssl/poly1305.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/poly1305/poly1305.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/rand/rand.h /usr/include/openssl/rand.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/rand/rand.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/rc2/rc2.h /usr/include/openssl/rc2.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/rc2/rc2.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/rc4/rc4.h /usr/include/openssl/rc4.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/rc4/rc4.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/ripemd/ripemd.h /usr/include/openssl/ripemd.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/ripemd/ripemd.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/rsa/rsa.h /usr/include/openssl/rsa.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/rsa/rsa.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/sha/sha.h /usr/include/openssl/sha.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/sha/sha.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/sm3/sm3.h /usr/include/openssl/sm3.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/sm3/sm3.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/sm4/sm4.h /usr/include/openssl/sm4.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/sm4/sm4.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/stack/safestack.h /usr/include/openssl/safestack.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/stack/safestack.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/stack/stack.h /usr/include/openssl/stack.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/stack/stack.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/ts/ts.h /usr/include/openssl/ts.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/ts/ts.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/txt_db/txt_db.h /usr/include/openssl/txt_db.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/txt_db/txt_db.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/ui/ui.h /usr/include/openssl/ui.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/ui/ui.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/x509/x509.h /usr/include/openssl/x509.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/x509/x509.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/x509/x509_vfy.h /usr/include/openssl/x509_vfy.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/x509/x509_vfy.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/x509/x509v3.h /usr/include/openssl/x509v3.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/x509/x509v3.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/arch/amd64/opensslconf.h /usr/include/openssl/opensslconf.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/arch/amd64/opensslconf.h /usr/include/openssl
    cmp -s /usr/src/lib/libcrypto/obj/obj_mac.h /usr/include/openssl/obj_mac.h || install -c -o root -g bin -m 444 /usr/src/lib/libcrypto/obj/obj_mac.h /usr/include/openssl
    ===> libcurses
    ===> libedit
    cd /usr/src/lib/libedit; cmp -s histedit.h /usr/include/histedit.h >  /dev/null 2>&1 ||  install -c -o root -g bin -m 444 histedit.h  /usr/include
    ===> libelf
    cmp -s libelf.h /usr/include/libelf.h || install -c -o root -g bin -m 444 libelf.h /usr/include
    cmp -s gelf.h /usr/include/gelf.h || install -c -o root -g bin -m 444 gelf.h /usr/include
    ===> libevent
    ===> libexpat
    cmp -s /usr/include/expat.h /usr/src/lib/libexpat/lib/expat.h ||  install -c -m 444 -o root -g bin  /usr/src/lib/libexpat/lib/expat.h /usr/include/expat.h
    cmp -s /usr/include/expat_external.h /usr/src/lib/libexpat/lib/expat_external.h ||  install -c -m 444 -o root -g bin  /usr/src/lib/libexpat/lib/expat_external.h /usr/include/expat_external.h
    ===> libform
    ===> libfuse
    cmp -s fuse.h /usr/include/fuse.h || install -c -o root -g bin -m 444 fuse.h /usr/include
    cmp -s fuse_opt.h /usr/include/fuse_opt.h || install -c -o root -g bin -m 444 fuse_opt.h /usr/include
    ===> libkeynote
    cmp -s keynote.h /usr/include/keynote.h || install -c -o root -g bin -m 444 keynote.h /usr/include
    ===> libkvm
    ===> libl
    ===> libm
    ===> libmenu
    ===> libossaudio
    ===> libpanel
    ===> libpcap
    cmp -s pcap.h /usr/include/pcap.h || install -c -o root -g bin -m 444 pcap.h /usr/include
    cmp -s pcap-namedb.h /usr/include/pcap-namedb.h || install -c -o root -g bin -m 444 pcap-namedb.h /usr/include
    ===> libradius
    cmp -s radius.h /usr/include/radius.h || install -c -o root -g bin -m 444 radius.h /usr/include
    ===> librthread
    ===> librpcsvc
    install -d -o root -g bin -m 755  /usr/include/rpcsvc
    installing rpc .h and .x files
    ===> libskey
    cmp -s skey.h /usr/include/skey.h || install -c -o root -g bin -m 444 skey.h /usr/include
    ===> libsndio
    ===> libssl
    cmp -s dtls1.h /usr/include/openssl/dtls1.h || install -c -o root -g bin -m 444 dtls1.h /usr/include/openssl
    cmp -s srtp.h /usr/include/openssl/srtp.h || install -c -o root -g bin -m 444 srtp.h /usr/include/openssl
    cmp -s ssl.h /usr/include/openssl/ssl.h || install -c -o root -g bin -m 444 ssl.h /usr/include/openssl
    cmp -s ssl3.h /usr/include/openssl/ssl3.h || install -c -o root -g bin -m 444 ssl3.h /usr/include/openssl
    cmp -s tls1.h /usr/include/openssl/tls1.h || install -c -o root -g bin -m 444 tls1.h /usr/include/openssl
    ===> libtls
    cmp -s tls.h /usr/include/tls.h || install -c -o root -g bin -m 444 tls.h /usr/include/
    ===> libusbhid
    ===> libutil
    cmp -s ber.h /usr/include/ber.h || install -c -o root -g bin -m 444 ber.h /usr/include
    cmp -s util.h /usr/include/util.h || install -c -o root -g bin -m 444 util.h /usr/include
    cmp -s imsg.h /usr/include/imsg.h || install -c -o root -g bin -m 444 imsg.h /usr/include
    cmp -s ohash.h /usr/include/ohash.h || install -c -o root -g bin -m 444 ohash.h /usr/include
    ===> liby
    ===> libz
    cmp -s zconf.h /usr/include/zconf.h || install -c -o root -g bin -m 444 zconf.h /usr/include
    cmp -s zlib.h /usr/include/zlib.h || install -c -o root -g bin -m 444 zlib.h /usr/include
    ===> libfido2
    test -d /usr/include/. || install -d -o root -g bin -m 755 /usr/include/.
    cmp -s src/fido.h /usr/include/fido.h || install -c -o root -g bin -m 444 /usr/src/lib/libfido2/src/fido.h /usr/include/fido.h
    test -d /usr/include/fido || install -d -o root -g bin -m 755 /usr/include/fido
    cmp -s src/fido/bio.h /usr/include/fido/bio.h || install -c -o root -g bin -m 444 /usr/src/lib/libfido2/src/fido/bio.h /usr/include/fido/bio.h
    test -d /usr/include/fido || install -d -o root -g bin -m 755 /usr/include/fido
    cmp -s src/fido/config.h /usr/include/fido/config.h || install -c -o root -g bin -m 444 /usr/src/lib/libfido2/src/fido/config.h /usr/include/fido/config.h
    test -d /usr/include/fido || install -d -o root -g bin -m 755 /usr/include/fido
    cmp -s src/fido/credman.h /usr/include/fido/credman.h || install -c -o root -g bin -m 444 /usr/src/lib/libfido2/src/fido/credman.h /usr/include/fido/credman.h
    test -d /usr/include/fido || install -d -o root -g bin -m 755 /usr/include/fido
    cmp -s src/fido/eddsa.h /usr/include/fido/eddsa.h || install -c -o root -g bin -m 444 /usr/src/lib/libfido2/src/fido/eddsa.h /usr/include/fido/eddsa.h
    test -d /usr/include/fido || install -d -o root -g bin -m 755 /usr/include/fido
    cmp -s src/fido/err.h /usr/include/fido/err.h || install -c -o root -g bin -m 444 /usr/src/lib/libfido2/src/fido/err.h /usr/include/fido/err.h
    test -d /usr/include/fido || install -d -o root -g bin -m 755 /usr/include/fido
    cmp -s src/fido/es256.h /usr/include/fido/es256.h || install -c -o root -g bin -m 444 /usr/src/lib/libfido2/src/fido/es256.h /usr/include/fido/es256.h
    test -d /usr/include/fido || install -d -o root -g bin -m 755 /usr/include/fido
    cmp -s src/fido/param.h /usr/include/fido/param.h || install -c -o root -g bin -m 444 /usr/src/lib/libfido2/src/fido/param.h /usr/include/fido/param.h
    test -d /usr/include/fido || install -d -o root -g bin -m 755 /usr/include/fido
    cmp -s src/fido/rs256.h /usr/include/fido/rs256.h || install -c -o root -g bin -m 444 /usr/src/lib/libfido2/src/fido/rs256.h /usr/include/fido/rs256.h
    test -d /usr/include/fido || install -d -o root -g bin -m 755 /usr/include/fido
    cmp -s src/fido/types.h /usr/include/fido/types.h || install -c -o root -g bin -m 444 /usr/src/lib/libfido2/src/fido/types.h /usr/include/fido/types.h
    hlcs# 
    
  • @Not_Oles said:
    @cmeerw Thanks for the hint! Running make includes in /use/src/lib seemed to work!

    Although, not sure if that actually helped. I guess we'd need to get the new stdio.h installed into /usr/include, but that didn't do that yet. Maybe also run make includes in /usr/src/include?

  • Not_OlesNot_Oles Provider

    Now trying make -j4 followed by make install in each of:

    @Not_Oles said:

    /usr/src/lib/libc
    /usr/src/lib/libcurses
    /usr/src/lib/libcrypto
    /usr/src/lib/libssl
    

    Bang!! Didn't get far! :)

    cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/hidden -D__LIBC__  -Werror-implicit-function-declaration -include namespace.h -Werror=deprecated-declarations -DAPIWARN -DYP -I/usr/src/lib/libc/yp -fret-clean -I/usr/src/lib/libc -I/usr/src/lib/libc/gdtoa -I/usr/src/lib/libc/arch/amd64/gdtoa -DINFNAN_CHECK -DMULTIPLE_THREADS -DNO_FENV_H -DUSE_LOCALE -I/usr/src/lib/libc -I/usr/src/lib/libc/citrus -DRESOLVSORT -DFLOATING_POINT -DPRINTF_WIDE_CHAR -DSCANF_WIDE_CHAR -DFUTEX  -MD -MP  -c -fpic -DPIC /usr/src/lib/libc/stdio/fdclose.c -o fdclose.so
    cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/hidden -D__LIBC__  -Werror-implicit-function-declaration -include namespace.h -Werror=deprecated-declarations -DAPIWARN -DYP -I/usr/src/lib/libc/yp -fret-clean -I/usr/src/lib/libc -I/usr/src/lib/libc/gdtoa -I/usr/src/lib/libc/arch/amd64/gdtoa -DINFNAN_CHECK -DMULTIPLE_THREADS -DNO_FENV_H -DUSE_LOCALE -I/usr/src/lib/libc -I/usr/src/lib/libc/citrus -DRESOLVSORT -DFLOATING_POINT -DPRINTF_WIDE_CHAR -DSCANF_WIDE_CHAR -DFUTEX  -MD -MP  -c -p /usr/src/lib/libc/stdio/fdclose.c -o fdclose.po
    cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/hidden -D__LIBC__  -Werror-implicit-function-declaration -include namespace.h -Werror=deprecated-declarations -DAPIWARN -DYP -I/usr/src/lib/libc/yp -fret-clean -I/usr/src/lib/libc -I/usr/src/lib/libc/gdtoa -I/usr/src/lib/libc/arch/amd64/gdtoa -DINFNAN_CHECK -DMULTIPLE_THREADS -DNO_FENV_H -DUSE_LOCALE -I/usr/src/lib/libc -I/usr/src/lib/libc/citrus -DRESOLVSORT -DFLOATING_POINT -DPRINTF_WIDE_CHAR -DSCANF_WIDE_CHAR -DFUTEX  -MD -MP  -c /usr/src/lib/libc/stdio/fdclose.c -o fdclose.o
    cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/hidden -D__LIBC__  -Werror-implicit-function-declaration -include namespace.h -Werror=deprecated-declarations -DAPIWARN -DYP -I/usr/src/lib/libc/yp -fret-clean -I/usr/src/lib/libc -I/usr/src/lib/libc/gdtoa -I/usr/src/lib/libc/arch/amd64/gdtoa -DINFNAN_CHECK -DMULTIPLE_THREADS -DNO_FENV_H -DUSE_LOCALE -I/usr/src/lib/libc -I/usr/src/lib/libc/citrus -DRESOLVSORT -DFLOATING_POINT -DPRINTF_WIDE_CHAR -DSCANF_WIDE_CHAR -DFUTEX  -MD -MP  -c -fpic -DPIC /usr/src/lib/libc/uuid/uuid_to_string.c -o uuid_to_string.so
    In file included from /usr/src/lib/libc/stdio/fdclose.c:36:
    In file included from /usr/src/lib/libc/hidden/stdio.h:34:
    /usr/src/lib/libc/hidden/_stdio.h:50:8: error: redefinition of '__sbuf'
    In file included from /usr/src/lib/libc/uuid/uuid_to_string.c:33:
    In file included from /usr/src/lib/libc/hidden/stdio.h   :5034 | :
    s/usr/src/lib/libc/hidden/_stdio.ht:r50u:c8t:  _error: _redefinition of '__sbuf's
    buf {
          |        ^
       50 | struc/usr/include/stdio.ht: 70_:_8s:b unote: fprevious definition is here 
    {
             70|  |        ^s
    truct __sb/usr/include/stdio.hu:f70 :{8
    :       | note:        ^previous definition is here
    
       70 | struct __sIn file included from b/usr/src/lib/libc/stdio/fdclose.cu:f36 :
    {In file included from 
    /usr/src/lib/libc/hidden/stdio.h      :| 34       ^:
    
    /usr/src/lib/libc/hidden/_stdio.h:81:8: error: redefinition of '__sFILE'
       81 | strIn file included from u/usr/src/lib/libc/uuid/uuid_to_string.cc:t33 :
    _In file included from _/usr/src/lib/libc/hidden/stdio.hs:F34I:
    L/usr/src/lib/libc/hidden/_stdio.hE: 81{:
    8      :|         ^error: 
    redefinition of '__sFILE'
    /usr/include/stdio.h:   9981: | 16s:t rnote: uprevious definition is herec
    t    _99_ | stFyIpLeEd e{f
           s| t       ^r
    uc/usr/include/stdio.ht: 99_:_16s:F Inote: Lprevious definition is hereE
     {   
    99       | | t               ^y
    pedef struct __sFILE {
          |                ^
    In file included from In file included from /usr/src/lib/libc/stdio/fdclose.c/usr/src/lib/libc/uuid/uuid_to_string.c::3633:
    :
    /usr/src/lib/libc/hidden/stdio.h/usr/src/lib/libc/hidden/stdio.h::5555::1818::  error: error: use of undeclared identifier 'fdclose'; did you mean 'fclose'?use of undeclared identifier 'fdclose'; did you mean 'fclose'?
    
          5555 |  | PPRROOTTOO__DDEEPPRREECCAATTEEDD((ffddcclloossee));;
    
                | |                  ^~~~~~~                 ^~~~~~~
    
                | |                  fclose                 fclose
    
    /usr/src/lib/libc/include/namespace.h/usr/src/lib/libc/include/namespace.h::4848::3636::  note: note: expanded from macro 'PROTO_DEPRECATED'expanded from macro 'PROTO_DEPRECATED'
    
       48    | 48# | d#edfeifnien eP RPORTOOT_OD_EDPERPERCEACTAETDE(Dx()x     )t     ytpyepoefo(fx()x )x  x_ __a_tattrtirbiubtuet_e__(_((d(edperperceactaetde,d ,w ewaeka)k))
    )      
    |                                              ^| 
                                           ^
    /usr/src/lib/libc/hidden/stdio.h:54/usr/src/lib/libc/hidden/stdio.h::1454:: 14note: :'fclose' declared here 
    note: 'fclose' declared here   
    54 |    P54R | OPTROO_TNOO_RNMOARLM(AfLc(lfocsleo)s;e
    )      ;| 
                 ^      
    |              ^
    In file included from /usr/src/lib/libc/stdio/fdclose.c:36:
    In file included from /usr/src/lib/libc/hidden/stdio.h:34:
    /usr/src/lib/libc/hidden/_stdio.h:50:8: error: redefinition of '__sbuf'
       50 | struct __sbuf {
          |        ^
    /usr/include/stdio.h:70:8: note: previous definition is here
       70 | struct __sbuf {
          |        ^
    In file included from /usr/src/lib/libc/stdio/fdclose.c:36:
    In file included from /usr/src/lib/libc/hidden/stdio.hIn file included from :/usr/src/lib/libc/stdio/fdclose.c34::
    36/usr/src/lib/libc/hidden/_stdio.h:
    :In file included from 81/usr/src/lib/libc/hidden/stdio.h::834::
     /usr/src/lib/libc/hidden/_stdio.herror: :redefinition of '__sFILE'50
    :8:    81error:  | redefinition of '__sbuf's
    truct __sFI   L50E |  s{t
    r      u| c       ^t
     _/usr/include/stdio.h_:s99b:u16f:  {note: 
    previous definition is here      
    |        ^
       99 | typedef/usr/include/stdio.h :s70t:r8u:c tnote:  previous definition is here_
    _s   F70I | LsEt r{u
    c      t|                 ^_
    _sbuf {
          |        ^
    In file included from /usr/src/lib/libc/stdio/fdclose.c:36:
    In file included from /usr/src/lib/libc/hidden/stdio.h:34:
    /usr/src/lib/libc/hidden/_stdio.h:81:8: error: redefinition of '__sFILE'
       81 | struct __sFILE {
          |        ^
    /usr/include/stdio.h:99:16: note: previous definition is here
       99 | typedef struct __sFILE {
          |                ^
    /usr/src/lib/libc/hidden/stdio.h:133:21: error: redefinition of '__sputc'
      133 | static __inline int __sputc(int _c, FILE */usr/src/lib/libc/hidden/stdio.h_:p133): 21{:
           error: | redefinition of '__sputc'                    ^
    
    /usr/include/stdio.h  :133395 | :s21t:a tnote: iprevious definition is herec
     __  i395n | lsitnaet iicn t_ __i_nslpiuntec (iinntt  ___cs,p uFtIcL(Ei n*t_ p_)c ,{ 
    F      I| L                    ^E
     */usr/include/stdio.h_:p395): 21{:
           note: | previous definition is here                    ^
    
      395 | static __inline int __sputc(int _c, FILE *_p) {
          |                     ^
    In file included from /usr/src/lib/libc/stdio/fdclose.c:36:
    /usr/src/lib/libc/hidden/stdio.h:55:18: error: use of undeclared identifier 'fdclose'; did you mean 'fclose'?
       55 | PROTO_DEPRECATED(fdcloIn file included from s/usr/src/lib/libc/stdio/fdclose.ce:)36;:
    
    /usr/src/lib/libc/hidden/stdio.h      :| 55                 ^~~~~~~:
    18      :|                   fcloseerror: 
    use of undeclared identifier 'fdclose'; did you mean 'fclose'?
    /usr/src/lib/libc/include/namespace.h:48   :5536 | :P Rnote: Oexpanded from macro 'PROTO_DEPRECATED'T
    O_DEPR   E48C | A#TdEeDf(ifndec lPoRsOeT)O;_
    D      E| P                 ^~~~~~~R
    E      C| A                 fcloseT
    ED(/usr/src/lib/libc/include/namespace.hx:)48     :t36y:p enote: oexpanded from macro 'PROTO_DEPRECATED'f
    (x)    x48  | _#_daetftirnieb uPtReO_T_O(_(DdEePpRrEeCcAaTtEeDd(,x )w     etaykp)e)o
    f      (| x                                       ^)
     x __at/usr/src/lib/libc/hidden/stdio.ht:r54i:b14u:t enote: _'fclose' declared here_
    ((   d54e | pPrReOcTaOt_eNdO,R MwAeLa(kf)c)l
    o      s| e                                       ^)
    ;
          |              ^
    /usr/src/lib/libc/hidden/stdio.h:54:14: note: 'fclose' declared here
       54 | PROTO_NORMAL(fclose);
          |              ^
    /usr/src/lib/libc/hidden/stdio.h:133:21: error: redefinition of '__sputc'
      133 | stati/usr/src/lib/libc/hidden/stdio.hc: 133_:_21i:n lerror: iredefinition of '__sputc'n
    e in  t133  | _s_tsaptuitcc (_i_nitn l_icn,e  FiInLtE  _*__spp)u t{c
    (      i| n                    ^t
     _c/usr/include/stdio.h,: 395F:I21L:E  note: *previous definition is here_
    p) {  
    395       | | s                    ^t
    at/usr/include/stdio.hi:c395 :_21_:i nnote: lprevious definition is herei
    ne   i395n | ts t_a_tsipcu t_c_(iinnlti n_ec ,i nFtI L_E_ s*p_upt)c ({i
    n      t|                      ^_
    c, FILE *_p) {
          |                     ^
    /usr/src/lib/libc/stdio/fdclose.c:40:1: error: conflicting types for 'fdclose'
       40 | fdclose(FILE *fp, int *fdp)
          | ^
    /usr/src/lib/libc/hidden/stdio.h:55:18: note: previous declaration is here
       55 | PROTO_DEPRECATED(fdclose);
          |                  ^
    4 errors generated.
    5 errors generated.
    /usr/src/lib/libc/stdio/fdclose.c/usr/src/lib/libc/stdio/fdclose.c::4040::11::  error: error: conflicting types for 'fdclose'conflicting types for 'fdclose'
    
          4040 |  | ffddcclloossee((FFIILLEE  **ffpp,,  iinntt  **ffddpp))
    
                | | ^^
    
    /usr/src/lib/libc/hidden/stdio.h/usr/src/lib/libc/hidden/stdio.h::5555::1818::  note: note: previous declaration is hereprevious declaration is here
    
          5555 |  | PPRROOTTOO__DDEEPPRREECCAATTEEDD((ffddcclloossee));;
    
                | |                  ^                 ^
    
    5 errors generated.
    5 errors generated.
    *** Error 1 in target 'uuid_to_string.so'
    *** Error 1 in target 'fdclose.po'
    *** Error 1 in target 'fdclose.so'
    *** Error 1 in /usr/src/lib/libc (<bsd.lib.mk>:39 'fdclose.o': @cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/h...)
    *** Error 1 (<bsd.lib.mk>:53 'fdclose.so': @cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/hidden -D__LIBC__  -W...)
    *** Error 1 (<bsd.lib.mk>:46 'fdclose.po': @cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/hidden -D__LIBC__  -W...)
    *** Error 1 (<bsd.lib.mk>:53 'uuid_to_string.so': @cc -O2 -pipe -g -Wimplicit -I/usr/src/lib/libc/include -I/usr/src/lib/libc/hidden -D__LIB...)
    hlcs# 
    
  • Not_OlesNot_Oles Provider

    @cmeerw said:

    @Not_Oles said:
    @cmeerw Thanks for the hint! Running make includes in /use/src/lib seemed to work!

    Although, not sure if that actually helped. I guess we'd need to get the new stdio.h installed into /usr/include, but that didn't do that yet. Maybe also run make includes in /usr/src/include?

    One moment, please. . . .

Sign In or Register to comment.