Code Monkey home page Code Monkey logo

Comments (9)

fichtner avatar fichtner commented on August 29, 2024

ngattach is a new port, you need to rebuild (or force rebuild) ports in order to pick it up:

# make ports-ngattach
# make core-16.1.5

from tools.

oparoz avatar oparoz commented on August 29, 2024

Thanks, but shouldn't make prefetch-packages VERSION=16.1 download all the required packages without having to manually compile them?

Also, make ports-ngattach fails

>>> Building net/isc-dhcp43-client... ===>  Cleaning for isc-dhcp43-client-4.3.3P1_1

===>  isc-dhcp43-client-4.3.3P1_1 conflicts with installed package(s):
      isc-dhcp42-client-4.2.8

      They install files into the same place.
      You may want to stop build with Ctrl + C.
===>  License ISCL accepted by the user
===>   isc-dhcp43-client-4.3.3P1_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by isc-dhcp43-client-4.3.3P1_1 for building

===>  isc-dhcp43-client-4.3.3P1_1 conflicts with installed package(s):
      isc-dhcp42-client-4.2.8

      They will not build together.
      Please remove them first with pkg delete.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/isc-dhcp43-client

from tools.

fichtner avatar fichtner commented on August 29, 2024

You cannot magically turn a 16.1(.0) packages set into a 16.1.x set, it will fail at some point because ports need to be switched, updated and removed. Plus you're updating the GUI, but not the vulnerable packages that way...

My advice is to recompile the ports completely. It's what we do for every release or deal with the aftermath yourself:

# make ports-isc-dhcp42-client,isc-dhcp42-server,isc-dhcp42-relay

from tools.

fichtner avatar fichtner commented on August 29, 2024

Also, you're trying to build 16.1.5 from a tools.git perspective past 16.1.5, because dhcp 4.3 isn't used there.

# cd /usr/tools
# git checkout 16.1.5

This will avoid the next clash when core.git will want DHCP 4.2, not 4.3...

from tools.

oparoz avatar oparoz commented on August 29, 2024

You cannot magically turn a 16.1(.0) packages set into a 16.1.x set

I think I understand. You only make the dot zero release available as a download, because people may not necessarily want to install the latest version and there will be problems if packages are newer than core.

Plus you're updating the GUI, but not the vulnerable packages that way...

Since I have a local ports tree, I don't care about updating packages to generate core. The only think I'm after is the GUI.

My advice is to recompile the ports completely

They are all compiled from source, just not when building the packages "image" from which I extract the GUI.

Also, you're trying to build 16.1.5 from a tools.git perspective past 16.1.5, because dhcp 4.3 isn't used there.

But then I would be stuck on an old branch which only gets the latest updates from upstream once a week.
I guess that's still the right thing to do as the GUI may not be designed for some of the newer packages.
Thanks for the advice. I'll update the How-to.

I stumbled upon another problem which makes it impossible to compile ports

+ rm -rf /usr/obj/usr/tools/config/16.1/OpenSSL
*** Error code 1

Stop.
make: stopped in /usr/tools

When manually running the command, I can see why:

# rm -rf /usr/obj/usr/tools/config/16.1/OpenSSL
rm: /usr/obj/usr/tools/config/16.1/OpenSSL/dev/fd: Operation not supported
rm: /usr/obj/usr/tools/config/16.1/OpenSSL/dev/usb: Operation not supported
rm: /usr/obj/usr/tools/config/16.1/OpenSSL/dev/pts: Operation not supported
rm: /usr/obj/usr/tools/config/16.1/OpenSSL/dev: Device busy
rm: /usr/obj/usr/tools/config/16.1/OpenSSL: Directory not empty

from tools.

fichtner avatar fichtner commented on August 29, 2024
# make clean-stage

Fixes this, devfs is mounted inside the jail.

from tools.

oparoz avatar oparoz commented on August 29, 2024

Nope, same problem

+ :
+
+ setup_stage /usr/obj/usr/tools/config/16.1/OpenSSL
+ echo '>>> Setting up stage in /usr/obj/usr/tools/config/16.1/OpenSSL'
>>> Setting up stage in /usr/obj/usr/tools/config/16.1/OpenSSL
+ local 'MOUNTDIRS=/dev /usr/src /usr/ports /usr/core /usr/plugins'
+ [ -d /usr/obj/usr/tools/config/16.1/OpenSSL/dev ]
+ umount /usr/obj/usr/tools/config/16.1/OpenSSL/dev
+ true
+ [ -d /usr/obj/usr/tools/config/16.1/OpenSSL/usr/src ]
+ [ -d /usr/obj/usr/tools/config/16.1/OpenSSL/usr/ports ]
+ [ -d /usr/obj/usr/tools/config/16.1/OpenSSL/usr/core ]
+ [ -d /usr/obj/usr/tools/config/16.1/OpenSSL/usr/plugins ]
+ rm -rf /usr/obj/usr/tools/config/16.1/OpenSSL
+ chflags -R noschg /usr/obj/usr/tools/config/16.1/OpenSSL
+ rm -rf /usr/obj/usr/tools/config/16.1/OpenSSL
*** Error code 1

Stop.
make: stopped in /usr/tools

from tools.

fichtner avatar fichtner commented on August 29, 2024

A runaway process is stuck in the jail, that's likely why devfs won't unmount.

from tools.

oparoz avatar oparoz commented on August 29, 2024

Thanks, it was configd.

All good after that.

from tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.