Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 16027] New: problems building on fedora-40
@ 2024-04-09 18:45 bugzilla
  2024-04-09 19:21 ` [Buildroot] [Bug 16027] " bugzilla
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla @ 2024-04-09 18:45 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 16027
           Summary: problems building on fedora-40
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: stsp2@yandex.ru
                CC: buildroot@uclibc.org
  Target Milestone: ---

I am trying to build the latest buildroot
from git on fedora-40. What I get for menuconfig, is:

 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 *** 
 *** Install ncurses (ncurses-devel or libncurses-dev 
 *** depending on your distribution) and try again.
 *** 

$ rpm -q ncurses-devel
ncurses-devel-6.4-12.20240127.fc40.x86_64

What I get for linux-menuconfig, is:

make: Entering directory '/home/stas/src/fdpp-buildroot/buildroot'
support/dependencies/check-host-cmake.sh: line 35: [: cmake: integer expression
expected
support/dependencies/check-host-cmake.sh: line 38: [: cmake: integer expression
expected

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
@ 2024-04-09 19:21 ` bugzilla
  2024-04-09 19:23 ` bugzilla
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-04-09 19:21 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from stsp <stsp2@yandex.ru> ---
Here is the fix for menuconfig:

diff --git a/support/kconfig/lxdialog/check-lxdialog.sh
b/support/kconfig/lxdialog/check-lxdialog.sh
index 16cd9a3186..98bc150a0f 100755
--- a/support/kconfig/lxdialog/check-lxdialog.sh
+++ b/support/kconfig/lxdialog/check-lxdialog.sh
@@ -48,7 +48,7 @@ trap "rm -f $tmp" 0 1 2 3 15
 check() {
         $cc -x c - -o $tmp 2>/dev/null <<'EOF'
 #include CURSES_LOC
-main() {}
+int main() { return 0; }
 EOF
        if [ $? != 0 ]; then
            echo " *** Unable to find the ncurses libraries or the"       1>&2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
  2024-04-09 19:21 ` [Buildroot] [Bug 16027] " bugzilla
@ 2024-04-09 19:23 ` bugzilla
  2024-04-09 19:42 ` bugzilla
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-04-09 19:23 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from stsp <stsp2@yandex.ru> ---
Further problems:

>>> host-libzlib 1.2.12 Downloading
wget --passive-ftp -nd -t 3 -O
'/home/stas/src/fdpp-buildroot/buildroot/output/build/.zlib-1.2.12.tar.xz.18scLK/output'
'http://www.zlib.net/zlib-1.2.12.tar.xz' 
Unknown option 'passive-ftp'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
  2024-04-09 19:21 ` [Buildroot] [Bug 16027] " bugzilla
  2024-04-09 19:23 ` bugzilla
@ 2024-04-09 19:42 ` bugzilla
  2024-04-30 14:13 ` bugzilla
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-04-09 19:42 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from stsp <stsp2@yandex.ru> ---
Further problem:

make[3]: Entering directory
'/home/stas/src/fdpp-buildroot/buildroot/output/build/host-util-linux-2.38'
  CCLD     libcommon.la
  CCLD     libtcolors.la
  CC       misc-utils/kill.o
  CC       sys-utils/ctrlaltdel.o
  CC       sys-utils/fsfreeze.o
  CC       sys-utils/blkdiscard-blkdiscard.o
misc-utils/kill.c: In function 'kill_with_timeout':
misc-utils/kill.c:397:20: error: implicit declaration of function 'pidfd_open';
did you mean 'fdopen'? [-Wimplicit-function-declaration]
  397 |         if ((pfd = pidfd_open(ctl->pid, 0)) < 0)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
                   ` (2 preceding siblings ...)
  2024-04-09 19:42 ` bugzilla
@ 2024-04-30 14:13 ` bugzilla
  2024-04-30 14:59 ` bugzilla
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-04-30 14:13 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from swerve_olive366@simplelogin.com ---
Did you manage to fix it? If yes, can you please share the solution?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
                   ` (3 preceding siblings ...)
  2024-04-30 14:13 ` bugzilla
@ 2024-04-30 14:59 ` bugzilla
  2024-05-01  5:30 ` bugzilla
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-04-30 14:59 UTC (permalink / raw)
  To: buildroot

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

stsp <stsp2@yandex.ru> changed:

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

--- Comment #5 from stsp <stsp2@yandex.ru> ---
There was something wrong on my side,
I suppose. Maybe the CFLAGS var was
mistakenly exported with -Werror parameter.
I rechecked all my fixes now, and they
are not needed, eg missing `int` before
`main` only produces the warning, so ncurses
are now working again.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
                   ` (4 preceding siblings ...)
  2024-04-30 14:59 ` bugzilla
@ 2024-05-01  5:30 ` bugzilla
  2024-05-01  7:25 ` bugzilla
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-05-01  5:30 UTC (permalink / raw)
  To: buildroot

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

swerve_olive366@simplelogin.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |---
             Status|RESOLVED                    |REOPENED

--- Comment #6 from swerve_olive366@simplelogin.com ---
Indeed, ncurses is working again. What about the error in comment #2? Is it
working for you?

I have fedora 40 too, but after running `make` I still get an error:

Unknown option 'passive-ftp'
make: *** [package/pkg-generic.mk:179:
/buildroot/output/build/host-pkgconf-1.6.3/.stamp_downloaded] Error 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
                   ` (5 preceding siblings ...)
  2024-05-01  5:30 ` bugzilla
@ 2024-05-01  7:25 ` bugzilla
  2024-05-01  9:53 ` bugzilla
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-05-01  7:25 UTC (permalink / raw)
  To: buildroot

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

--- Comment #7 from stsp <stsp2@yandex.ru> ---
Ah, completely forgot about this one!

Since menuconfig now works, please navigate
to "Build options" -> "Commands" -> "Wget command"
and remove "passive-ftp" from there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
                   ` (6 preceding siblings ...)
  2024-05-01  7:25 ` bugzilla
@ 2024-05-01  9:53 ` bugzilla
  2024-05-01 10:08 ` bugzilla
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-05-01  9:53 UTC (permalink / raw)
  To: buildroot

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

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann.morin.1998@free.fr

--- Comment #8 from Yann E. MORIN <yann.morin.1998@free.fr> ---
stsp, All,

Thanks for the report.

The menuconfig issue has been fixed with commit a6210d28db (kconfig/lxdialog:
fix check() with GCC14).

As for the wget issue, please refer to the release notes of your distribution:

    https://docs.fedoraproject.org/en-US/fedora/latest/release-notes/

Quoting:
    The wget command in Fedora 40 uses Wget2.

Amd a little trivial web-search turns up:
    https://fedoraproject.org/wiki/Changes/Wget2asWget

And of course, it all quickly leads to:
    https://gitlab.com/gnuwget/wget2/-/wikis/Home#different-behavior-of-wget2

The current workaround is indeed to remove --passive-ftp from the wget command
line, but thisis not a vial long-term solution, because it means it is no
longer
possible to do ftp downloads (which although legacy, still exist). The proper
solution would be to contribute a patch that solves the issue.

I think a good solution would be two fold:
  - introduce a new download backend specifically for ftp
  - drop --passive-ftp from the default wget command line

Regards,
Yann E. MORIN.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
                   ` (7 preceding siblings ...)
  2024-05-01  9:53 ` bugzilla
@ 2024-05-01 10:08 ` bugzilla
  2024-05-01 15:08 ` bugzilla
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-05-01 10:08 UTC (permalink / raw)
  To: buildroot

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

--- Comment #9 from stsp <stsp2@yandex.ru> ---
How about just switching to curl, instead
of playing around the legacy stuff as wget is?
Ok maybe wget2 is not legacy, but you never
know, as now debian-based distros will have
wget1, and fedora-based - wget2, all under
the same name.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
                   ` (8 preceding siblings ...)
  2024-05-01 10:08 ` bugzilla
@ 2024-05-01 15:08 ` bugzilla
  2024-06-08 13:00 ` bugzilla
  2024-06-15 15:22 ` bugzilla
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-05-01 15:08 UTC (permalink / raw)
  To: buildroot

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

--- Comment #10 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Hello.

> How about just switching to curl, instead
> of playing around the legacy stuff as wget is?

1. wget is not legacy. cURL and wget were initialy released at about the
same period, in 1996 [0] [1]; both saw their latest release in March 2024.
Hard to say that wget is legacy without saying so for cURL.

[0] https://en.wikipedia.org/wiki/Wget  => January 1996
[1] https://en.wikipedia.org/wiki/CURL  => November 1996

2. cURL can be configured without FTP support [2], so if switching from wget
to wget2 was done, knowing that FTP was dropped, and considering that was
acceptable on the basis that FTP is legacy (broken, insecure...), then it
is not inconceivalbe that distros may consider truning FTP off in their builds
of cURL, ion the same basis (broken, insecure...). Switching to cURL would
not solve the issue. Yes, it is a bit far-fetched, but given the reasoning
behind wget2 switch, it is legit to consider it for other tools that are not
FTP-only.

[2] https://github.com/curl/curl/blob/master/configure.ac#L631

3. Existing packages (in external trees) may use wget's authentication options
yo authenticate to an HTTP server; switching to cURL would break them. That
also applies to existing (def)config files that use non-standard options, like
--no-proxy to talk to internal servers, or --load-cookies with a pre-build
script that authenticates against an internal server or filled by a CI/CD
job, etc...

4. For all things HTTP-related, wget2 is expected to be option-compatible with
wget.

5. As a consequence, it feels more appropriate to keep using wget for HTTP/S
downloads, and use a tool dedicated to FTP for FTP downloads, and implemented
as a separate backend in Buildroot.

Regards,
Yann E. MORIN,

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
                   ` (9 preceding siblings ...)
  2024-05-01 15:08 ` bugzilla
@ 2024-06-08 13:00 ` bugzilla
  2024-06-15 15:22 ` bugzilla
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-06-08 13:00 UTC (permalink / raw)
  To: buildroot

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

daveth <davidhepp2@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hunterwnorman@gmail.com

--- Comment #11 from daveth <davidhepp2@gmail.com> ---
*** Bug 16051 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 16027] problems building on fedora-40
  2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
                   ` (10 preceding siblings ...)
  2024-06-08 13:00 ` bugzilla
@ 2024-06-15 15:22 ` bugzilla
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla @ 2024-06-15 15:22 UTC (permalink / raw)
  To: buildroot

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

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|REOPENED                    |RESOLVED

--- Comment #12 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-06-15 15:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-09 18:45 [Buildroot] [Bug 16027] New: problems building on fedora-40 bugzilla
2024-04-09 19:21 ` [Buildroot] [Bug 16027] " bugzilla
2024-04-09 19:23 ` bugzilla
2024-04-09 19:42 ` bugzilla
2024-04-30 14:13 ` bugzilla
2024-04-30 14:59 ` bugzilla
2024-05-01  5:30 ` bugzilla
2024-05-01  7:25 ` bugzilla
2024-05-01  9:53 ` bugzilla
2024-05-01 10:08 ` bugzilla
2024-05-01 15:08 ` bugzilla
2024-06-08 13:00 ` bugzilla
2024-06-15 15:22 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox