Package Details: mininet 2.3.1b4-1

Git Clone URL: https://aur.archlinux.org/mininet.git (read-only, click to copy)
Package Base: mininet
Description: Emulator for rapid prototyping of Software Defined Networks
Upstream URL: https://github.com/mininet/mininet
Keywords: mininet openflow sdn
Licenses: custom
Submitter: pedromj
Maintainer: kyechou
Last Packager: kyechou
Votes: 16
Popularity: 0.020501
First Submitted: 2014-11-07 17:38 (UTC)
Last Updated: 2024-07-09 16:07 (UTC)

Latest Comments

1 2 3 Next › Last »

kyechou commented on 2024-11-30 21:42 (UTC)

Hi @kaneki, I couldn't reproduce any build issue, and I'm also not sure what the output you shared means. Please provide more context (including steps to reproduce the issue) if the issue persists and you believe it's related to the build script. Thanks!

kaneki commented on 2024-11-29 09:23 (UTC)

adding license file 'LICENSE'
writing manifest file 'mininet.egg-info/SOURCES.txt'

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/build/__main__.py", line 178, in _handle_build_error
    yield
  File "/usr/lib/python3.12/site-packages/build/__main__.py", line 429, in main
    built = build_call(
            ^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/build/__main__.py", line 238, in build_package
    out = _build(isolation, srcdir, outdir, distribution, config_settings, skip_dependency_check, installer)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/build/__main__.py", line 172, in _build
    return _build_in_current_env(srcdir, outdir, distribution, config_settings, skip_dependency_check)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/build/__main__.py", line 151, in _build_in_current_env
    missing = builder.check_dependencies(distribution, config_settings or {})
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/build/_builder.py", line 243, in check_dependencies
    return {u for d in dependencies for u in check_dependency(d)}
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/build/_util.py", line 59, in check_dependency
    yield from check_dependency(other_req_string, (*ancestral_req_strings, normalised_req_string), req.extras)
  File "/usr/lib/python3.12/site-packages/build/_util.py", line 53, in check_dependency
    if req.specifier and not req.specifier.contains(dist.version, prereleases=True):
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/packaging/specifiers.py", line 917, in contains
    item = Version(item)
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/packaging/version.py", line 200, in __init__
    match = self._regex.search(version)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'

ERROR expected string or bytes-like object, got 'NoneType'

hendrikcech commented on 2024-07-05 09:59 (UTC)

The compilation problem is fixed. Thanks a lot for the swift response!

kyechou commented on 2024-07-03 14:25 (UTC)

Hi @hendrikcech, this is probably caused by the code not being updated with the more recent compiler version. The issue should be fixed now. Please try again and let me know if the problem still remains.

hendrikcech commented on 2024-07-03 09:37 (UTC)

Building this package fails on my machine with the following error:

lib/backtrace.c: In function ‘backtrace_capture’:
lib/backtrace.c:126:32: error: passing argument 1 of ‘backtrace’ from incompatible pointer type [-Wincompatible-pointer-types]
  126 |     bt->n_frames = backtrace(bt->frames, BACKTRACE_MAX_FRAMES);
      |                              ~~^~~~~~~~
      |                                |
      |                                uintptr_t * {aka long unsigned int *}

Can anyone reproduce this? I have not found a solution yet.

kyechou commented on 2023-11-21 03:45 (UTC) (edited on 2023-11-21 03:45 (UTC) by kyechou)

@mb720 Thanks for letting me know! However, packages in the base-devel group should not be listed as part of the build dependency.1

@mb720 @leshow The strlcpy compile issue should be resolved now. Please try again. Thanks!

leshow commented on 2023-09-19 16:29 (UTC)

I'm not able to get this to build, I have the strlcopy error also.

mb720 commented on 2023-09-06 08:31 (UTC)

To build libcgroup, you need a version of yacc and flex: pacman -S byacc flex.

I still ran into an error: lib/util.h:109:6: error: conflicting types for ‘strlcpy’; have ‘void(char *, const char *, size_t)’ {aka ‘void(char *, const char *, long unsigned int)’}. The full output is here.

mroethke commented on 2019-07-03 10:10 (UTC)

I seems mininet needs cgcreate out of libcgroup, can you please add that to the dependencies?

Tomaash commented on 2019-02-18 20:45 (UTC)

Package xbitmaps probably should be an optional dependency because MiniEdit crashes without it.