All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd
@ 2021-04-30  7:46 bugzilla at busybox.net
  2021-04-30  7:55 ` [Buildroot] [Bug 13781] " bugzilla at busybox.net
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2021-04-30  7:46 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13781

            Bug ID: 13781
           Summary: isc dhcp-server package don't create file
                    /usr/bin/dhcpd
           Product: buildroot
           Version: 2021.02
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: kay.jeschonneck at airbus.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Overview: 

After activate the isc dhcp-server package, configure the dhcpd.conf, build the
system and flash it on the target i expect the dhcp-server start, but i doesn't
start. After some investigate i found that the /etc/init.d/S80dhcp-server file
check with this command "test -f /usr/sbin/dhcpd" if the file dhcpd exist but
it doesn't exist.

Steps to Reproduce:
  1. create enviroment
(https://github.com/kontron/buildroot-external-smarc-sal28)
  2. select "Target Packages/show packages that are also provided by busybox"
  3. select "Target Packages/Networking applications/dhcp (isc)" and "Target
Packages/Networking applications/dhcp (isc)/dhcp-server"
  4. build system

Actual Results:
  file "build/target/usr/sbin/dhcpd2", "./usr/sbin/dhcpd2" in
"build/images/rootfs.tar" not exist

Expected Results:
  file "build/target/usr/sbin/dhcpd2", "./usr/sbin/dhcpd2" in
"build/images/rootfs.tar" exist


Build Date & Hardware
  Build 30.04.2021 on Ubuntu 18.04.5 LTS
  Intel NUC, Intel Core i7-10710U

Additional Builds and Platforms:
  Kontron SMARC-sAL28 module

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13781] isc dhcp-server package don't create file /usr/bin/dhcpd
  2021-04-30  7:46 [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd bugzilla at busybox.net
@ 2021-04-30  7:55 ` bugzilla at busybox.net
  2021-04-30 20:12 ` bugzilla at busybox.net
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2021-04-30  7:55 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13781

--- Comment #1 from Kay Jeschonneck <kay.jeschonneck@airbus.com> ---
Created attachment 8916
  --> https://bugs.busybox.net/attachment.cgi?id=8916&action=edit
buildroot config-file

add buildroot-config file

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13781] isc dhcp-server package don't create file /usr/bin/dhcpd
  2021-04-30  7:46 [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd bugzilla at busybox.net
  2021-04-30  7:55 ` [Buildroot] [Bug 13781] " bugzilla at busybox.net
@ 2021-04-30 20:12 ` bugzilla at busybox.net
  2021-05-05 11:53 ` bugzilla at busybox.net
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2021-04-30 20:12 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13781

--- Comment #2 from Arnout Vandecappelle <arnout@mind.be> ---
I just built the defconfig in attachment, and /usr/sbin/dhcpd is in fact
installed.

Perhaps your post-build script removes it? Or one of your custom packages?


> Actual Results:
>  file "build/target/usr/sbin/dhcpd2", "./usr/sbin/dhcpd2" in "build/images/rootfs.tar" not exist

The file is dhcpd, not dhcpd2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13781] isc dhcp-server package don't create file /usr/bin/dhcpd
  2021-04-30  7:46 [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd bugzilla at busybox.net
  2021-04-30  7:55 ` [Buildroot] [Bug 13781] " bugzilla at busybox.net
  2021-04-30 20:12 ` bugzilla at busybox.net
@ 2021-05-05 11:53 ` bugzilla at busybox.net
  2021-05-05 19:23 ` bugzilla at busybox.net
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2021-05-05 11:53 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13781

--- Comment #3 from Kay Jeschonneck <kay.jeschonneck@airbus.com> ---
(In reply to Arnout Vandecappelle from comment #2)

> The file is dhcpd, not dhcpd2.
its right, prescribed


To test if i have some issue with the os-enviroment i had reinstall Ubuntu
18.04.5 LTS, followed the kontron github manual, activated the ccache and only
activated the isc dhcp service packages. 
Now i can't find the dhcpd-file in "build/target/usr/sbin/" or in the
rootfs.tar. 
In "build/build/dhcp-4.4.2/server" i found the file dhcpd, so the system
generate it. If i copy this file manuel in the folder "build/target/usr/sbin/"
and restart the make process, everything is fine and the dhcp-server start.


> Perhaps your post-build script removes it? Or one of your custom packages?

In the kontron buildlayer i can't find something what delete the dhcpd file, 
i searched per 'grep -rnw "./" -e "pattern"', pettern is dhcpd or sbin.

For this test i don't use any custom packages.


Have you some other Ideas?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13781] isc dhcp-server package don't create file /usr/bin/dhcpd
  2021-04-30  7:46 [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2021-05-05 11:53 ` bugzilla at busybox.net
@ 2021-05-05 19:23 ` bugzilla at busybox.net
  2021-05-06  8:22 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2021-05-05 19:23 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13781

--- Comment #4 from Arnout Vandecappelle <arnout@mind.be> ---
> Now i can't find the dhcpd-file in "build/target/usr/sbin/" or in the rootfs.tar. 
> In "build/build/dhcp-4.4.2/server" i found the file dhcpd

You did enable BR2_PACKAGE_DHCP_SERVER, right?

Which buildroot version are you using? There was a problem with installation
between Sat Apr 20 16:30:31 2019 and Thu Aug 1 18:26:09 2019 - if you happen to
use 2019.05 or 2019.05.1, you would have this problem.

I can't reproduce the issue here with your config file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13781] isc dhcp-server package don't create file /usr/bin/dhcpd
  2021-04-30  7:46 [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2021-05-05 19:23 ` bugzilla at busybox.net
@ 2021-05-06  8:22 ` bugzilla at busybox.net
  2021-05-06 12:59 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2021-05-06  8:22 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13781

--- Comment #5 from Heiko Thiery <heiko.thiery@gmail.com> ---
Hi, just tried to reproduce your issue. Setup the environment with using the
latest buildroot from master. With that I see the expected files in the target
directory.

# find build/target/ -name "*dhcp*" 
build/target/sbin/udhcpc
build/target/etc/init.d/S80dhcp-server
build/target/etc/init.d/S80dhcp-relay
build/target/etc/dhcp
build/target/etc/dhcp/dhcpd.conf
build/target/usr/sbin/dhcpd
build/target/usr/share/udhcpc
build/target/usr/lib/libdhcp.so
build/target/usr/lib/libdhcpctl.so
build/target/usr/lib/libdhcp.so.0.0.0
build/target/usr/lib/libdhcp.so.0
build/target/usr/lib/libdhcpctl.so.0
build/target/usr/lib/libdhcpctl.la
build/target/usr/lib/libdhcp.la
build/target/usr/lib/libdhcpctl.so.0.0.0
build/target/var/lib/dhcp


As Arnout also asked, which buildroot version are you using?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13781] isc dhcp-server package don't create file /usr/bin/dhcpd
  2021-04-30  7:46 [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2021-05-06  8:22 ` bugzilla at busybox.net
@ 2021-05-06 12:59 ` bugzilla at busybox.net
  2021-05-06 14:56 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2021-05-06 12:59 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13781

--- Comment #6 from Kay Jeschonneck <kay.jeschonneck@airbus.com> ---
> You did enable BR2_PACKAGE_DHCP_SERVER, right?

Yes

> As Arnout also asked, which buildroot version are you using?
version 2021.02


> Hi, just tried to reproduce your issue. Setup the environment with using the latest buildroot from master. With that I see the expected files in the target directory.

I don't see the same file. 
I use the version 2021.02, the kontron external layer and the
kontron_smarc_sal28_defconfig plus i enabled BR2_PACKAGE_DHCP and
BR2_PACKAGE_DHCP_SERVER.

This is my result:

#find build/target/ -name "*dhcp*"
build/target/var/lib/dhcp
build/target/usr/lib/libdhcpctl.so
build/target/usr/lib/libdhcp.so.0
build/target/usr/lib/libdhcpctl.so.0.0.0
build/target/usr/lib/libdhcpctl.so.0
build/target/usr/lib/libdhcp.so.0.0.0
build/target/usr/lib/libdhcp.so
build/target/usr/share/udhcpc
build/target/etc/dhcpcd.conf
build/target/etc/dhcp
build/target/etc/dhcp/dhcpd.conf
build/target/etc/init.d/S80dhcp-relay
build/target/etc/init.d/S80dhcp-server
build/target/sbin/udhcpc

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13781] isc dhcp-server package don't create file /usr/bin/dhcpd
  2021-04-30  7:46 [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2021-05-06 12:59 ` bugzilla at busybox.net
@ 2021-05-06 14:56 ` bugzilla at busybox.net
  2021-05-06 16:03 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2021-05-06 14:56 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13781

--- Comment #7 from Heiko Thiery <heiko.thiery@gmail.com> ---
How do you enable these additional configuration options? Do you use make
menuconfig?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13781] isc dhcp-server package don't create file /usr/bin/dhcpd
  2021-04-30  7:46 [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd bugzilla at busybox.net
                   ` (6 preceding siblings ...)
  2021-05-06 14:56 ` bugzilla at busybox.net
@ 2021-05-06 16:03 ` bugzilla at busybox.net
  2021-05-07  8:37 ` bugzilla at busybox.net
  2021-05-07  9:59 ` bugzilla at busybox.net
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2021-05-06 16:03 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13781

--- Comment #8 from Heiko Thiery <heiko.thiery@gmail.com> ---
could you please share the content of the following file;

# cat build/dhcp-4.4.2/.files-list.txt 

dhcp,./usr/lib/libdhcp.so.0.0.0
dhcp,./usr/lib/libdhcp.so.0
dhcp,./usr/lib/libdhcp.so
dhcp,./usr/lib/libdhcp.la
dhcp,./usr/lib/libomapi.so.0.0.0
dhcp,./usr/lib/libomapi.so.0
dhcp,./usr/lib/libomapi.so
dhcp,./usr/lib/libomapi.la
dhcp,./usr/lib/libdhcpctl.so.0.0.0
dhcp,./usr/lib/libdhcpctl.so.0
dhcp,./usr/lib/libdhcpctl.so
dhcp,./usr/lib/libdhcpctl.la
dhcp,./usr/bin/omshell
dhcp,./var/lib/dhcp
dhcp,./usr/sbin/dhcpd
dhcp,./etc/dhcp/dhcpd.conf
dhcp,./etc/init.d/S80dhcp-server
dhcp,./etc/init.d/S80dhcp-relay

this is what the package should install into the target.


you could also try to rebuild the dhcp package and check/share the output:
# make dhcp-dirclean dhcp

maybe the autoreconfigure does something strange on your side.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13781] isc dhcp-server package don't create file /usr/bin/dhcpd
  2021-04-30  7:46 [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd bugzilla at busybox.net
                   ` (7 preceding siblings ...)
  2021-05-06 16:03 ` bugzilla at busybox.net
@ 2021-05-07  8:37 ` bugzilla at busybox.net
  2021-05-07  9:59 ` bugzilla at busybox.net
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2021-05-07  8:37 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13781

Kay Jeschonneck <kay.jeschonneck@airbus.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #9 from Kay Jeschonneck <kay.jeschonneck@airbus.com> ---
I have found the problem.
In the logs of the command "make dhcp-dirclean dhcp" i get the info the package
gawk is missed. After i install this package, everything is fine.

Thanks for your help.

I close this bug report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13781] isc dhcp-server package don't create file /usr/bin/dhcpd
  2021-04-30  7:46 [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd bugzilla at busybox.net
                   ` (8 preceding siblings ...)
  2021-05-07  8:37 ` bugzilla at busybox.net
@ 2021-05-07  9:59 ` bugzilla at busybox.net
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2021-05-07  9:59 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13781

--- Comment #10 from Heiko Thiery <heiko.thiery@gmail.com> ---
This is a bug in buildroot since there is a missing dependency to host-gawk.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-05-07  9:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30  7:46 [Buildroot] [Bug 13781] New: isc dhcp-server package don't create file /usr/bin/dhcpd bugzilla at busybox.net
2021-04-30  7:55 ` [Buildroot] [Bug 13781] " bugzilla at busybox.net
2021-04-30 20:12 ` bugzilla at busybox.net
2021-05-05 11:53 ` bugzilla at busybox.net
2021-05-05 19:23 ` bugzilla at busybox.net
2021-05-06  8:22 ` bugzilla at busybox.net
2021-05-06 12:59 ` bugzilla at busybox.net
2021-05-06 14:56 ` bugzilla at busybox.net
2021-05-06 16:03 ` bugzilla at busybox.net
2021-05-07  8:37 ` bugzilla at busybox.net
2021-05-07  9:59 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.