openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.94k stars 3.45k forks source link

isc-dhcp-server-ipv4: disappear from packages feeds and menuconfig #14735

Open carlo2007 opened 3 years ago

carlo2007 commented 3 years ago

Maintainer: @pprindeville Environment: OpenWrt (all versions)

Description:

From Openwrt System Build is no more possible to compile the package: it has disappeared from feeds and as a result from menuconfig.

Trying to force compile the package, this is the result:

Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for isc-dhcp-server-ipv4 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package isc-dhcp-server-ipv4.

The problem appeared starting from the commit 3a07e294a9d355ee480de4afa469429b14d160de (release 13) where is introduced the support to "add dynamic dns integration for local bind server".

The dependency DEPENDS+=bind-server bind-client in the Makefile is the cause of the problem.

pprindeville commented 3 years ago

This seems to be a broader problem resulting from changes either to opkg or the broader build machinery itself...

plntyk commented 3 years ago

the compile / install error "incompatible with the architectures" should be fixed

afaik with DEPENDS+=+bind-server +bind-client the package will show up and bind-server will be selected/installed too

carlo2007 commented 3 years ago

My envroinment is an embedded equipment with limited resources. Actually I don't have a "local bind server" and I don't want to install a DNS server. Introducing the dependency on the bind-server package means for my envroinment that I will no longer be able to use isc-dhcp-server as DHCP only and will probably have to change software or keep an old version of it without upgrading.

pprindeville commented 3 years ago

Collected errors:

pkg_hash_fetch_best_installation_candidate: Packages for isc-dhcp-server-ipv4 found, but incompatible with the architectures configured opkg_install_cmd: Cannot install package isc-dhcp-server-ipv4.

This was actually the result of a regression @nbd168 introduced via commit c921650.

pprindeville commented 3 years ago

My envroinment is an embedded equipment with limited resources. Actually I don't have a "local bind server" and I don't want to install a DNS server. Introducing the dependency on the bind-server package means for my envroinment that I will no longer be able to use isc-dhcp-server as DHCP only and will probably have to change software or keep an old version of it without upgrading.

Point taken. Fixed with PR #15161.