Remove _AnyApp, add Renderer.AppType associated type

Closes #224
This introduces a crash in the scene environment code and I'm still not sure why all known crashes are gone in https://github.com/swiftwasm/Tokamak/pull/223. Keeping this as a draft until we get more clarity on how to resolve this.

Closing this as outdated. The original crash was resolved, and this branch has diverged from main quite significantly for this refactor to have a benefit on its own.


On fly testing added

On fly testing demo attached
https://github.com/user-attachments/assets/a76cd4a2-0172-4ab7-810e-1d5df9561ba8

Also directly from camera


two-way binding to paper-input doesn't work as expected

here is demo view https://gist.github.com/k2s/b7918cc08efc18267561
tested in application with:

"aurelia-polymer"<EMAIL_ADDRESS>

<EMAIL_ADDRESS>

bower Polymer/polymer#^1.2.0

firstName = 'John'; is not populated to input boxes, it seams that paper-input will set empty value to the property on init (not as expected)

editing paper-input element will update other inputs and computed property (as expected)

editing the other input elements will update each other but not the paper-input (not as expected)

the problem was solved by moving link rel="import" to outside of template tag see updated gist


ESP32-S3: Internal SRAM 0 unused

It seems that on ESP32-S3 SRAM 0 (32k) is unused by the linker script.
Previously we had something like this: https://github.com/esp-rs/esp-hal/blob/22ac479bff5fd52b8d2ee984b1479eca9b981930/esp32s3-hal/ld/esp32s3.x#L74 to make SRAM 0 available for RWTEXT but seems we lost that
e.g.
  [ 1] .rwtext           PROGBITS        40378400 0e4400 001594 00  AX  0   0  4
  [ 3] .vectors          PROGBITS        40378000 0e4000 000400 00  AX  0   0  4

Probably now with the unified linker scripts it might be harder to make use of SRAM 0

Ah we reserve whole of SRAM0 for ICACHE apparently


Can I use my own AI model for automatic annotation, and which model formats are supported? Please let me know.

I am considering using my own AI model for automatic annotation. Is it possible to integrate a custom model into CVAT? If it is possible, please provide the method and the supported model formats.

Also, I want to introduce the annotation model into CVAT.

Hello, it is possible.
https://opencv.github.io/cvat/docs/manual/advanced/serverless-tutorial/#adding-your-own-dl-models
You have a lot of examples in serverless/**.


Add docker client executable/environment configuration to Maven

Fixes #468. Maven side of #1214.
Docker parameters can be configured using:
<configuration>
  <dockerClient>
    <executable>/path/to/executable</executable>
    <environment>
      <key1>value1</key1>
      <key2>value2</key2>
    </environment>
  </dockerClient>
</configuration>

Let me know if you have any ideas for how to test this (seems gradle side is also missing tests).

Not sure if this is feasible, but some idea for an integration test that will be a bit involved, for Ubuntu:

Create a shell script mock-docker.sh and save it somewhere.
Set the docker client to this script. (Optionally some env variables.)
Do mvn jib:dockerBuild. Looking at LoadDockerStep, I think it will just end up calling mock-docker.sh load <...some arguments...> and may run fine.
The script leaves some proof somewhere (e.g., create a random file in the same directory where the script lives). (It could output some env variables by some means too.)

I hope it's not too involved. Let me know if it doesn't look worth the effort.


kafka-3739:Add no-arg constructor for library provided serdes

Add default constructor for library provided serdes

@guozhangwang Added default constructors for WindowedSerde/ChangedSerde, but not for JsonPOJOSerde since it is in the example package. Please review the PR. Thanks.

Thanks for the patch, a couple of meta comments:

ChangeSerde is used internally only and not exposed to users, so we do not need to add no-arg constructor to it.

For WindowedSerde, inner serde is required, so if it is not passed in constructor, which is possible, we need to construct it in configure function, which will be auto-triggered when the instance is created by reflection. You can take a look at StringSerde class as a semi-related reference. Personally I'm thinking the inner serde could be again constructed via reflection from a passed class type string, and then assigned to inner.

@guozhangwang I am not sure I fully understand what you mean, but what do you think if I changed the code like this:
In WindowedSerializer.configure method,
if (inner == null) {
    inner = new ProducerConfig(configs).getConfiguredInstance(isKey ? "key.serializer" : "value.serializer", Serializer.class);
    inner.configure(configs, isKey);
}
However, seems that we have to modify the access level for ProducerConfig init to 'public', do you live with that?
Besides, that's the unit test code:
`@Test
public void testWindowedSerdeNoArgConstructors() {
    WindowedSerializer<StringSerializer> windowedSerializer = new WindowedSerializer<>();

    Map<String, String> props = new HashMap<>();

    props.put(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, "host:1");

    props.put(StreamsConfig.APPLICATION_ID_CONFIG, "appId");

    props.put("key.serializer", "org.apache.kafka.common.serialization.StringSerializer");

    props.put("value.serializer", "org.apache.kafka.common.serialization.StringSerializer");

    windowedSerializer.configure(props, true);

    Serializer<?> inner = windowedSerializer.getInnerSer();

    assertNotNull("Inner serializer should be not null", inner);

    assertTrue("inner serializer should be with StringSer", inner instanceof StringSerializer);

}`

The point is, in either way how the WindowedSer/Deser was created (either explicitly internal of Streams, or via reflection from the config class name), the inner serde should always be set after it is constructed since otherwise it cannot be used.
I think it is better to have the config name sth. like key[value].serializer[deserializer].inner.class?
And instead of creating a ProducerConfig object just to call its getConfiguredInstance I think we can just inline this function inside configure.

@guozhangwang  Thanks for the comments. Added two configs in StreamsConfig: "key.serializer.inner.class" and "value.serializer.inner.class"
And it's not easy to inline the function 'AbstractConfig.getConfiguredInstance' since it internally invokes other methods and references some internal states
Please have a review. If you think is okay, I will work on the deserializer counterparts. Thanks.

Code checkstyle failed:
scala2.12/streams/src/test/java/org/apache/kafka/streams/kstream/internals/WindowedStreamPartitionerTest.java:31: Using the '.*' form of import should be avoided - java.util.*.

Also we do not need to add these two configs into StreamsConfig, just as we did not add key.serializer.encoding used in StringSerializer in ProducerConfig. Instead, we should just mention them in the javadoc above as StringSerializer.

@guozhangwang addressed your comments including inlining AbstractConfig.getConfiguredInstance and refining some Javadoc. What about this time? If okay, will work on the deserializer parts. Thanks.

@guozhangwang already added the code for WindowedDeserializer and passed the style check. Please review again. Thanks.

@guozhangwang Please review the PR again. Thanks.

@guozhangwang Already removed the unnecessary class type check in WindowedSerde configure methods. Please kindly review again. Thanks.

retest this please

Merged to trunk. Thanks @amethystic and congrats for your first commit!

Thanks for your patience and your time:)


Error message: do not understand query on MacOS

Expected Behavior
The list should appear.
Current behaviour

Steps to reproduce
Open an obsidian file and past the following lines:
```tasks
- [ ] Open last pre-work PR for IAM cookie
- [ ] Open IAM cookie PR
```

Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[X] macOS
[ ] Windows

Obsidian Version
Version 1.0.0 (Installer 0.14.15)
Tasks Plugin Version
1.51.1
Checks

[X] I have tried it with all other plugins disabled and the error still occurs

Possible solution
No response

What is the query?

@aubreyz I've edited the original message so that the full text is visible
@tony-go That is not how tasks works. The error message is saying that the line in your tasks block is not a valid query, which is true.
This is what you need to do:

You write your tasks like this:

- [ ] do stuff

Then you write a query block like this in to a note of your choice. It searches through all the notes in the vault and shows you the tasks that match your query.

```tasks
not done
```

And then you view the note with the query in Preview or Reading mode to see the results.

The available queries are shown here:
https://obsidian-tasks-group.github.io/obsidian-tasks/queries/filters/

@claremacrae Thanks a lot 🙏
I didn't read the documentation properly which make confusion between the two concepts.
Thanks, for sharing this with me 🙌

Hi @tony-go - no problem, you're very welcome. Glad to hear you got it working!


Check if package list is refreshed for the accepted minion

This PR adds a new scenario to the Verify minion registration feature:

Scenario: Check if package list has been refreshed

This should also fix a timing issue refreshing the package list that produces test failures in the next scenario if the refreshing has not been completed.
Changes are for master and manager30 branches.
/cc @mseidl @hustodemon

lgtm

Merged in master and manager30


Update to latest wpilib and vendor libs

WPILib has a new release that is not yet in our repo
https://github.com/wpilibsuite/allwpilib/releases/tag/v2023.3.2

#53


TypeScript linting works only partially

What version of standard?
v12.0.1
What operating system, Node.js, and npm version?
Window 10
Node v10.15.3
NPM v6.9.0
What did you expect to happen?
Expected to have ability use TypeScript linting
What actually happened?
Following #1278, provided docs are insufficient to make TypeScript linting fully work, since while it will become enabled, due to lack of the TypeScript plugin rules extensions, rules actually won't work (see https://github.com/standard/standard/pull/1278#issuecomment-495760576).
More of it, since there is no way to disable no-unused-vars, Standard will always fail on imports of the types.
For now there is no way to make it fully work. False-unsued vars can be fixed by providing within each file
/* eslint no-unused-vars: "off" */
/* eslint @typescript-eslint/no-unused-vars: "error" */

but that doesn't looks like convinient at all.

just ran into this too

Just run into this as well.

+1 also having problems with this
Another issue I came across is the indentation rules will break under certain circumstances.
You can fix this by adding:
/* eslint indent: off */
/* eslint @typescript-eslint/indent: [error, 2] */

I'm sure there are probably also many other weird edge-case issues.
typescript-eslint does provide a set of sane rules recommended.json but it's not possible to enable these when using standard.
Also, some of these rules aren't really compatible with the standard rules. E.g.
    "@typescript-eslint/indent": "error"  // defaults to 4 space

It would be nice if typescript had proper "no config needed" support in standard.
Maybe the standard project could include their own set of sane defaults for typescript which are compatible with the normal js rules and apply them if the typescript plugin is loaded.
If I were to submit a PR along these lines is it likely it would be accepted?

Actually, #1007 would resolve this.

Any news here? This would make life much easier...

Any updates?
I thought I could just add this to my standard config but I get no-unused-vars.
"parser": "@typescript-eslint/parser",
"plugins": [
  "@typescript-eslint/eslint-plugin"
]

I know we can use eslint-config-standard-with-typescript but I think it'd be nice if it was supported by default in standard. I guess we have to wait for #1007 and/or #1321

I'd like to have solve this in a future version of standard. In the meantime, you can use standardx:

npm install standardx
Rename the "standard" field in your package.json to "standardx"
Add a new "rules": [] section with the following rules:

"rules": {
  "no-unused-vars": "off",
  "@typescript-eslint/no-unused-vars": "error"
}

@feross Thanks for the reply
That was plan B, but it wasn't possible because standardx didn't work with VS Code extension. Now since you've merged https://github.com/standard/vscode-standardjs/pull/71 that should become possible after release.

@feross would it make sense to open an issue on Typescript support in general and maybe even pin it? People can weigh in on what the best path forward would be (out of the box support, plugin, etc.), which rules to include, etc. etc.

Refer to Can I use a JavaScript language variant, like Flow or TypeScript?, I don't see "extends": ["plugin:@typescript-eslint/recommended"]. How do the rules offered by @typescript-eslint/eslint-plugin work? As far as I know, Standard does not allow us to specify rules or extends field, right?
I'm asking the above questions because I believe the problem here will be fixed if StandardJS allows me to extends or enable the rule @typescript-eslint/no-unused-vars (Do not be confused with the original rule no-unused-vars from ESLint)

I think this issue is very important because It affects almost all Typescript users and requires configuration changes :sweat_smile:.
I understand that standard is mostly focused on pure Javascript and its ESLint & standardx siblings are intended to be more flexible and handle some edge-cases like this.
Let's assume only a dozen of developers are affected by this and spent 15 minutes (focused on finding a solution and confused by the behavior) each to mitigate it. Then the total time would be 12 * 15 = 180minutes = 3hours.
In addition, the maintainers are spending focused time reading, understand, and replying to this.
IMHO, a maintainer should save everyones' time and first imagine that this is the only issue in the issue-tracker, allocate 10 minutes to think of fixes/mitigations, 10 minutes to choose one of them, and 30+ minutes to implement the fix/mitigation.
TLDR; :point_down:
From the 30 seconds I skimmed this issue I think there are two fixes/mitigations:sweat_smile::

Document @feross standardx mitigation/workaround in FAQ (the FAQ item maybe added as the last comment before closing the issue).
Implement an actual fix for Typescript.

Just wanted to put this package out there ts-standard for anyone wanting to try it out. Its relatively new and I am not sure if this resolves all the issues perfectly, but it uses the eslint-config-standard-with-typescript rules and the standard-engine package under the hood with minimal required configuration. This is just another option to native typescript support in standard.

Just made a PR with a working Typescript setup in the readme and hope it can close this issue:sweat_smile:.

Thanks! But, well, if we plan to go standardx-way, there are few issues at stake:

https://github.com/standard/vscode-standardjs/pull/71 has been merged, but not released. That means VS Code users won't be able to use it at all. I believe other popular editors might be affected by the same issue.
Even if standard.engine option will be released, it still requires additional configuration. That is, another developer will open the project with standardx and won't have any clue why VS Code doesn't show any errors. Proposal: https://github.com/standard/vscode-standardjs/issues/93

For Typescript I find it better to use TSLint with the tslint-config-standard plugin.
It's really easy to setup:
yarn add tslint tslint-config-standard --dev

Create a tslint.json file with the following content:
{
  "extends": [
    "tslint:recommended",
    "tslint-config-standard"
  ]
}

Then you can just call tslint from your CLI / package.json scripts to validate the syntax.
For the VSCode support be careful to use TSLint (deprecated) by egamma, because the one by Microsoft doesn't support autofix :sweat_smile:

Although much easier, I don't think it's the best idea to promote TSLint when it has been deprecated. The TSLint team are currently porting all of the TypeScript rules and logic over to typescript-eslint to make one unified linter for both JS and TS.

Any update?

@david-szabo97 as @PandawanFr said, typescript-eslint is the way to go. It works very well and allows to use any ESLint rule in addition to the Typescript specific rules.
Hit me on my Discord if you need any help to set it up.

Standard has rules for TypeScript, as well. And that repository has instructions on set up, as well:
https://github.com/standard/eslint-config-standard-with-typescript.

Hi, all; what is the latest recommendation re TypeScript?

https://github.com/standard/eslint-config-standard-with-typescript as @mightyiam recommends above
StandardX as recommended on the README by @ahimta

Thanks!

@JeffSpies my personal recommendation is ts-standard, which will probably be transfered to the Standard org. in a not so distant future ☺

ts-standard is awesome! We should update the README.md, that everyone using TypeScript should use ts-standard.

ts-standard is awesome! We should update the README.md, that everyone using TypeScript should use ts-standard.

Opened an issue for this here: https://github.com/standard/standard/issues/1590

ts-standard is now officially part of the standard github organization.
https://github.com/standard/ts-standard

Since ts-standard is now the official recommendation, I'll close this issue.
https://github.com/standard/ts-standard


Add check on package name size before cutting slice

Signed-off-by: acmenezes<EMAIL_ADDRESS>
Description of PR
This is for slice out of range panic happening on audit.go line 59 due to not checking the size of package names.

Fixes #288

Changes (required)

Added if clause checking package name sizes before sub slicing them. That prevents out of range errors when the package name is too small.

Checklist (required)

[x] I have reviewed and followed the contribution guidelines
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation if needed
[x] I have checked that my changes pass all tests

References (optional)

/lgtm


Implement basic fly camera

Resolves #18

@aayux, I know it's been a while, but do you want to review this? Just thought I'd throw it out there since you seemed interested in contributing. The main things I'm concerned about are the following:

Camera "flipping"

Movement feeling wonky, changing direction when crossing axes, etc.

As far as I can tell these seem to be fixed, but I want to see if others have any problems. Of course if you see anything else to poke at, by all means do so. Maybe my code looks ugly.
Naturally anyone else who sees this is welcome to test and review as well.

I can definitely take a look, happy to help!

Thanks for pointing that out - I'll definitely fix it. Don't exactly want someone's first impression to be "this looks broken."
Good to hear that the camera feels okay too. And I should have been more clear on what I meant by "flipping"; what I meant is being able to rotate the camera upward or downward more than 90 degrees so that the camera can essentially do a frontflip/backflip. At one point it would happen occasionally, and I just wanted to check that my fix truly worked. I've had a friend test it and it looks like it's working properly now (i.e. the camera won't flip), so don't worry if you didn't mess with that in particular.
Thank you for taking time to review this by the way! I really appreciate it. I'll make the change you suggested and then we should be ready for merging.

Ah, I see. No I didn't observe any flipping when I did that either.

Awesome. Sounds like we're good to go.
bors r=lberrymage,aayux p=5

bors r=lberrymage r=aayux p=5

bors r=lberrymage, aayux p=5


Fix Codacy unused variable

Codacy has detected a variable which is assigned, but never used:
Cadacy Issue: Unused variable
The code in question is:
void OGL_Renderer::drawImageRotated(Image& image, float x, float y, float degrees, int r, int g, int b, int a, float scale)
{
	// ...

	float _deg = degrees;
	if (_deg < 0.0f)
	{
		_deg += 360.0f;
	}

	glRotatef(degrees, 0.0f, 0.0f, 1.0f);

	// ...
}

It looks like perhaps glRotatef(_deg, 0.0f, 0.0f, 1.0f); was intended.
I should point out though, there is a deeper problem here. This method can only correct by 1 rotation about the circle in a given direction. It doesn't correct for multiple rotations, nor does it handle both directions. For something like that you'd need degrees % 360.0f.
Still deeper, the more rotations you are correcting by, the more the error can grow. For large enough floating point values, the delta between adjacent values can actually be larger than 360 degrees, making the correction quite useless.
Further, this correction is not applied back to the source. If it was applied back to the source, keeping the number in a small range, the minimum delta values, and hence the error would also be controlled to a small range.
In summary, I think this angle correction is being done in the wrong place. Such correction makes more sense in the caller, with this method assuming the angle is already in a certain range.

Quick note: % (mod operator) does not work for non-integral types. Use std::fmod instead.

I somehow suspected as much. Thank you for looking up the function name:
std::fmod
It's found in <cmath>.

Honestly, there's no need for any math operations here.
I believe the code is vestigial and I just forgot to remove it. I've been meaning to play with it a bit and do some basic code refactoring.


Fix implicit interfaces not being exposed via the __schema introspection

This fixes implicit interfaces not being exposed in introspection as they used to in version 2.x.
Fixes #740

Thank you very much, this bug is hard to find. 🙂


RE-133 Remove previously configured ansible

On the long running apt artifact builder we are
switching Ansible versions for each series, but
leaving behind parts of the installation which
cause the bootstrap to fail.
This is easily seen when doing the ansible
bootstrap using ocata, then trying to bootstrap
using newton. It fails if the role fetch method
is set to use git-clone.
This patch just ensures that we remove
everything related to the ansible execution so
that the new boostrap can do its thing without
worrying about previous installs.

Can one of the admins verify this patch?

recheck_cit_all

@hughsaunders Yeah, we could do something like that. Let's raise a card for that but get this merged and move on for now.

@hughsaunders Card registered: https://rpc-openstack.atlassian.net/browse/RE-161

The CIT/artifact-* jobs no longer exist and are replaced by the CIT/artifact test. That test cannot pass due to a problem with the container builds for the ELK stack in their current state.
Also, the CIT/xenial-deploy-swift job will fail due to https://rpc-openstack.atlassian.net/browse/RE-155 which I'm working on resolving.


Build failure: python311Packages.nbmake

Steps To Reproduce
Steps to reproduce the behavior:

build python311Packages.nbmake on master (ba2e291ee041c6b93448a47191ee32bfc3f08592) a few times

Build log

This build log is from nixos-unstable, didn't bother to reproduce it on master. It is truncated as the nix log ... command didn't output anything.
Build Log
error: builder for '/nix/store/dkgjc7l7ysi5dmhv4a7rjf6rlwbcfgc8-python3.11-nbmake-1.5.4.drv' failed with exit code 1;
       last 25 log lines:
       > KeyboardInterrupt:
       > ------------------------------ Captured log call -------------------------------
       > ERROR    traitlets:client.py:568 Error occurred while starting new kernel client for kernel b73c6d04-b562-4bc2-8529-1a083a596efa: Kernel didn't respond in 60 seconds
       >
       > Learn more about nbmake at https://github.com/treebeardtech/nbmake
       >
       > =========================== short test summary info ============================
       > FAILED 10.ipynb::
       > =================== 1 failed, 19 passed in 74.41s (0:01:14) ====================
       > ----------------------------- Captured stderr call -----------------------------
       > Exception ignored in atexit callback: <bound method run_sync.<locals>.wrapped of <nbclient.client.NotebookClient object at 0xfffff4135990>>
       > Traceback (most recent call last):
       >   File "/nix/store/qvs9sja4rzf1bdgyna6l6xmf9njdzj3i-python3.11-jupyter-core-5.7.2/lib/python3.11/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped
       >     return loop.run_until_complete(inner)
       >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/nix/store/cljp9nclqkbk08n6i1yk7ii4vv96pl68-python3-3.11.11/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
       >     return future.result()
       >            ^^^^^^^^^^^^^^^
       >   File "/nix/store/k9crdvfhd89jh7422rv74bgxpnjmak5v-python3.11-nbclient-0.10.0/lib/python3.11/site-packages/nbclient/client.py", line 504, in _async_cleanup_kernel
       >     assert self.km is not None
       >            ^^^^^^^^^^^^^^^^^^^
       > AssertionError:
       > =========================== short test summary info ============================
       > FAILED tests/test_pytest_plugin.py::test_when_parallel_passing_nbs_then_ok - assert <ExitCode.TESTS_FAILED: 1> == <ExitCode.OK: 0>
       > =================== 1 failed, 32 passed in 118.60s (0:01:58) ===================
       For full logs, run 'nix log /nix/store/dkgjc7l7ysi5dmhv4a7rjf6rlwbcfgc8-python3.11-nbmake-1.5.4.drv'.

The build either:

succeeds (most of the time, finishes in 2 minutes)
fails (see build log)
hangs

Screenshot of hanging at tests for 7 hours after the 4th attempt:

Additional context
I ran into this when trying to build helix.
Metadata

 - system: `"aarch64-linux"`
 - host os: `Linux 6.11.5, NixOS, 25.05 (Warbler), 25.05.20241219.d70bd19`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Lix, like Nix) 2.91.1
System type: aarch64-linux
Additional system types:
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/gep/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/gep/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/gep/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/gep/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/2si9cm7zi0pcx0xj3wh98h039njyv3nk-lix-2.91.1/share`
 - nixpkgs: `/nix/store/8fwsiv0hd7nw1brkvka0jf1frk3m7qkr-source`

Notify maintainers

@GaetanLepage
Related:

https://github.com/NixOS/nixpkgs/pull/367720
https://github.com/NixOS/nixpkgs/pull/359867 @FliegendeWurst

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

Try   pytestFlagsArray = [ "--maxprocesses=1" ];


how can I checkout a file

before commiting I'd like to discard changes to a file. I'm doing it with git checkout -- index.html
how can i do that with gulp-git?

https://github.com/stevelacy/gulp-git#gitcheckoutfilesopt
https://github.com/stevelacy/gulp-git/blob/master/lib/checkoutFiles.js#L14
gulp.src('./index.html')
  .pipe(git.checkoutFiles());


Parasol jobs can't find _toil_worker

If I run a parasol job to run _toil_worker in the same way the Parasol batch system does, it seems like it can't find _toil_worker on the other end:
[anovak@ku toil]$ parasol add job 'env _toil_worker'
[anovak@ku toil]$ less results
[anovak@ku toil]$ ssh ku-1-04.local cat /tmp/para556234936.err
env: _toil_worker: No such file or directory

This is because _toil_worker isn't in Parasol's PATH. I can't use the -e PATH option to Toil to fix this, because that makes the Toil commands longer than 256 characters, and Parasol limits the command length.
Perhaps Toil should do what Parasol recommends and put long environment variables in shell scripts that are then executed by Parasol. Alternately, perhaps it should execute _toil_worker by full path.

Is Toil installed in a virtualenv on ku?

I'm not in a virtualenv when I'm running this command, nor am I in a
virtualenv when I'm trying to run the Toil script that was giving me
trouble and made me want to try this command. I have Toil installed both
with pip install --user and in a virtualenv for running the tests.
On Fri, Jan 8, 2016 at 5:05 PM, Hannes Schmidt<EMAIL_ADDRESS>wrote:

Is Toil installed in a virtualenv on ku?
—
Reply to this email directly or view it on GitHub
https://github.com/BD2KGenomics/toil/issues/640#issuecomment-170174017.

If you use a virtualenv, Toil will use an absolute path to the worker entry point (_toil_worker).
We could always use an absolute path but then users of heterogeneous clusters will complain if their Toil is installed in different places on the cluster nodes.
You should file a bug against Parasol. 256 bytes is a joke, IMHO. There is an kernel-defined limit to command line length and Parasol should not invent arbitrary limits on top of that. A single ethernet frame can hold more bytes that that for goodness sakes.

I don't know that Parasol has a bug tracker.
On Fri, Jan 8, 2016 at 7:17 PM, Hannes Schmidt<EMAIL_ADDRESS>wrote:

If you use a virtualenv, Toil will use an absolute path to the worker
entry point (_toil_worker).
We could always use an absolute path but then users of heterogeneous
clusters will complain if their Toil is installed in different places on
the cluster nodes.
You should file a bug against Parasol. 256 bytes is a joke, IMHO. There is
an kernel-defined limit to command line length and Parasol should not
invent arbitrary limits on top of that. A single ethernet frame can hold
more bytes that that for goodness sakes.
—
Reply to this email directly or view it on GitHub
https://github.com/BD2KGenomics/toil/issues/640#issuecomment-170185661.

Closing. Feel free to reopen if the virtualenv workaround doesn't work.


Package request: ollama-python

Project description
Python library for interacting with ollama (package it please :) )

Metadata

homepage URL: https://github.com/ollama/ollama-python
source URL: https://github.com/ollama/ollama-python
license: MIT
platforms: linux

Add a :+1: reaction to issues you find important.

It already exists.
See https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/development/python-modules/ollama/default.nix.

It already exists.
See https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/development/python-modules/ollama/default.nix.

oh thanks!


prefixIds breaks references between defs + use

Version<EMAIL_ADDRESS>I have been trying to get SVGO to output unique IDs for elements in a batch of SVGs. I have several SVGs in my iconset that end up visually broken due to colliding IDs.
I thought I finally had a solution when I found the undocumented prefixIds plugin, but when I use prefixIds, it ends up stripping out the <defs> entirely, which just results in SVGs that are still visually broken, only now for a different reason. I am guessing that prefixIds doesn't make the two IDs match up correctly between these two elements, so when removeUselessDefs runs, it gets removed.
This isn't my only problem with the output, although it is the most important as it is blocking my progress. Another noteworthy thing about prefixIds's behavior is I had to (at one point, though perhaps not anymore) enable multipass to get all the optimizations, but with multipass, prefixIds is prefixing twice, which is really an un-optimization.
Related: https://github.com/svg/svgo/issues/595, https://github.com/svg/svgo/issues/674, https://github.com/svg/svgo/issues/766, https://github.com/svg/svgo/issues/834
Example Input SVG:
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 48.1 (47250) - http://www.bohemiancoding.com/sketch -->
    <title>icon/UI 24px/Star (ratings, reviews)</title>
    <desc>Created with Sketch.</desc>
    <defs>
        <polygon id="path-1" points="10.5 16.5835921 4.3196601 20 5.5 12.763932 0.5 7.63932023 7.4098301 6.58359214 10.5 0 13.5901699 6.58359214 20.5 7.63932023 15.5 12.763932 16.6803399 20"></polygon>
    </defs>
    <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="icon/UI-24px/Star-(ratings,-reviews)">
            <g id="Fill" transform="translate(1.500000, 2.000000)">
                <mask id="mask-2" fill="white">
                    <use xlink:href="#path-1"></use>
                </mask>
                <use id="Shape" fill="#000000" fill-rule="nonzero" xlink:href="#path-1"></use>
                <g id="color/primary/black-100" transform="translate(-1.500000, -2.000000)" fill="#3E3939">
                    <rect id="black-100" x="0" y="0" width="24" height="24"></rect>
                </g>
            </g>
        </g>
    </g>
</svg>

Example Output SVG without prefixIds:
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" pointer-events="none" viewBox="0 0 24 24">
  <defs>
    <path id="a" d="M10.5 16.584L4.32 20l1.18-7.236-5-5.125 6.91-1.055L10.5 0l3.09 6.584 6.91 1.055-5 5.125L16.68 20z"/>
  </defs>
  <g fill="currentColor" fill-rule="evenodd" transform="translate(1.5 2)">
    <use fill-rule="nonzero" xlink:href="#a"/>
    <path d="M-1.5-2h24v24h-24z"/>
  </g>
</svg>

Example Output SVG with prefixIds and multipass:
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" pointer-events="none" viewBox="0 0 24 24">
  <g fill="currentColor" fill-rule="evenodd" transform="translate(1.5 2)">
    <use fill-rule="nonzero" xlink:href="#svg2017__svg2012__path-1"/>
    <path d="M-1.5-2h24v24h-24z"/>
  </g>
</svg>

Example Output SVG with prefixIds and single pass:
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24" pointer-events="none">
  <g fill="currentColor" fill-rule="evenodd" transform="translate(1.5 2)">
    <use fill-rule="nonzero" xlink:href="#svg1318__path-1"/>
    <path d="M-1.5-2h24v24h-24z"/>
  </g>
</svg>

Configuration:
let count = 0;

module.exports = {
  full: true,
  multipass: true,
  precision: 3,
  // order of plugins is important to correct functionality
  plugins: [
    { removeDoctype: true },
    { removeXMLProcInst: true },
    { removeComments: true },
    { removeMetadata: true },
    { removeXMLNS: true },
    { removeEditorsNSData: true },
    { cleanupAttrs: true },
    { inlineStyles: true },
    { minifyStyles: true },
    { convertStyleToAttrs: true },
    {
      prefixIds: {
        prefix: function () {
          const prefix = `svg${count}`;
          count++;
          return prefix;
        }
      }
    },
    { cleanupIds: true },
    { removeRasterImages: true },
    { removeUselessDefs: true },
    { cleanupNumericValues: true },
    { cleanupListOfValues: true },
    { convertColors: { currentColor: true } },
    { removeUnknownsAndDefaults: true },
    { removeNonInheritableGroupAttrs: true },
    { removeUselessStrokeAndFill: true },
    { removeViewBox: false },
    { cleanupEnableBackground: true },
    { removeHiddenElems: true },
    { removeEmptyText: true },
    { convertShapeToPath: true },
    { moveElemsAttrsToGroup: true },
    { moveGroupAttrsToElems: true },
    { collapseGroups: true },
    { convertPathData: true },
    { convertTransform: true },
    { removeEmptyAttrs: true },
    { removeEmptyContainers: true },
    { mergePaths: true },
    { removeUnusedNS: true },
    { sortAttrs: true },
    { removeTitle: true },
    { removeDesc: true },
    { removeDimensions: false },
    { removeAttrs: false },
    { removeElementsByAttr: false },
    { addClassesToSVGElement: false },
    { removeStyleElement: true },
    { removeScriptElement: true },
    {
      addAttributesToSVGElement: {
        attributes: [ { 'pointer-events': 'none' } ]
      }
    }
  ],
  js2svg: {
    pretty: true,
    indent: '  '
  }
};

(This part is mostly rhetorical . Specific examples of some of the other things I didn't expect: why is the def/use kept, when the polygon could easily be substituted as it's only used once? Why is the translate transform not being flattened? I'd've sworn I remembered SVGO having that feature, although I see an open issues https://github.com/svg/svgo/issues/594, https://github.com/svg/svgo/issues/624.)

@CH-RhyMoore: Apparently the prefixIds plugin is run before another
plugin further changes the SVG (like changing the <def>/<use>).
So the prefixIds plugin either has to be moved further down to run after the other optimizations.

@strarsis Given that the order of plugins in the configuration matters, but that there is no explicit documentation of the correct order, I have been patterning my order off of files in the repo, like this:
https://github.com/svg/svgo/blob/master/.svgo.yml#L30-L32
Perhaps the order in the README is preferable? If so, where should prefixIds be in that list? I'm configuring all the plugins at once, as you can see, so any recommendation given to me would be generically useful, not unique to me. I am not keen on moving it down one by one until I find the "right" place.

@strarsis To test, I moved it down to the bottom and while the defs are not removed, the IDs don't match.
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24" pointer-events="none">
  <defs>
    <path id="svg400__a" d="M10.5 16.584L4.32 20l1.18-7.236-5-5.125 6.91-1.055L10.5 0l3.09 6.584 6.91 1.055-5 5.125L16.68 20z"/>
  </defs>
  <g fill="currentColor" fill-rule="evenodd" transform="translate(1.5 2)">
    <use fill-rule="nonzero" xlink:href="#svg402__a"/>
    <path d="M-1.5-2h24v24h-24z"/>
  </g>
</svg>

This results in the following result:

I observed that the prefixIds prefix function runs per element, which to me seems like it would of course generate a different prefix for IDs that are supposed to match on different elements.

There's another glitch in the original export that is coming from a technique used in Sketch, so while I still visually have a black box, I've arrived at an approach that fixes the ID issues.
I didn't really need to move prefixIds. I just needed the prefixed IDs to match throughout a file. However, the prefix function gets called once for every element in a file and I needed a way to return the same prefix for every element in a file.
Unfortunately, what's passed to the prefix function by default is information about the current element; there's no other context available. But there's an optional second argument info to svg.optimize and whatever you pass in is also passed as the second argument of the prefix function. So I passed the file path, then hashed it.
function optimize ({ contents, path }) {
  return svgo.optimize(contents, path)
    .then(function ({ data, info }) {
      return {
        path: symbol.path,
        contents: data,
        info
      };
    });
}

const hash = require('string-hash');
...
prefixIds: {
  prefix: function (element, filepath) {
    return `svg${hash(filepath)}`;
  }
}

This keeps the references between use and the polygon intact, so the used defs don't get removed.

@CH-RhyMoore: Would you recommend extra parameters passed to prefixID callback function so this is easier in the future?

I think so, yes. If it's possible. The reason I think it'd be a good idea is that, from the issues, I got the impression one of the use cases you wrote it for is being able to get unique IDs that don't collide between files. But the first few obvious choices for using it (some of which were inspired by tests/issues discussion/PR) can lead you in the wrong direction. You don't want to make IDs that are supposed to be the same in the same file different from each other. Once you follow all the bread crumbs, it's not hard code to write, but it did take a while to find some of the crumbs.

@strarsis One specific idea that could help is passing the default prefix in. You derive that from the filename, so whether someone wants to customize on top of the filename, do something like I did, or needs to do something really unusual, it'll provide the context essential to keeping references intact.

@CH-RhyMoore: Indeed, the prefixIds plugin should offer an additional option for appending or prepending to the filename as prefix instead just using it as the prefix (which would be the same for different input SVG files).
prefix callback is called with parameters node and extra.
If no prefix callback was passed, the filename is extracted from the path to input SVG file.
This path is available in extra.path:
var filename = path.basename(extra.path);
prefix = filename;

For prefixing the filename by passing a custom prefix function:
prefixIds: {
  prefix: function (element, extra) {
    var filename = path.basename(extra.path);
    ...
    return ...;
  }
}

A first good step is proposed in my PR #907 and it lets you use it like this:
plugins: [
          {convertPathData: false},
          {prefixIds: {
            prefix: node => {
              const elementName = node && node.elem
              if(!elementName || elementName === 'svg' || elementName === 'use'){
                return false
              }

              return 'some-prefix'
            }
          }}
        ]

or like this
plugins: [
          {convertPathData: false},
          {prefixIds: {prefix: false}}
        ]

i might do it in the next iteration

for now, i'd really like this feature

maybe we should add a plugin by the name "transformId" instead of "prefixId" and let the user transform the Id to whatever he likes:
plugins: [
          {convertPathData: false},
          {transformIds: (id, element, extra) => {
             const filename = path.basename(extra.path)
             const hash = `#${uuid()}`
             return `something_${Numner(id) + 2}_${filename}_${hash}`
          }
        ]

If anyone is looking to generate unique ID while using svg-react-loader, I have a fix here : https://github.com/SilverFox70/svg-react-loader


Provide Maven repository zip without dependencies

Add another new profile here for creating Maven repository zip without dependencies.
Acceptance criteria:

Maven repository zip project contains new profile for building zip file with only BAMOE artifacts.

PR was closed. Closing this.


Rerun transcribing for earlier episodes

Some of the earlier episodes are missing punctuation.

I changed the style of the transcriptions. I also generated json files that have the right transcription and more data.


Feature/#18221 ips sensor policies

I don't like how rule version is inside signature policies. It can be a ne chaptare apart before getting into signature policies, but at the same time, you only need rule versions to configure only signature policies, not reputation policies


Clarify maxConcurrency example

Closes #912.

Holding off this merge, per @dcroote , pending a typo fix.

Thanks @wkande - good to go now


Flume 1.7

No
发自我的 iPhone

在 2016年10月17日，15:30，爪云<EMAIL_ADDRESS>写道：
You can view, comment on, or merge this pull request online at:
https://github.com/apache/flume/pull/73
Commit Summary
FLUME-1666. Oops, forgot new test in previous commit
FLUME-2210. UnresolvedAddressException when using multiple hostNames in Elasticsearch sink configuration
FLUME-2192. AbstractSinkProcessor stop incorrectly calls start
FLUME-1851. Fix grammatical error in Flume User Guide.
FLUME-2206. ElasticSearchSink ttl field modification to mimic Elasticsearch way of specifying TTL
FLUME-2229. Backoff period gets reset too often in OrderSelector
FLUME-2065. Regex Extractor Interceptor config agent name inconsistent with rest of docs
FLUME-2233. MemoryChannel lock contention on every put due to bytesRemaining Semaphore
FLUME-2231. Add details in Flume Ganglia config in User Guide
FLUME-2235. idleFuture should be cancelled at the start of append
FLUME-2255. Correctly handle ChannelExceptions in SpoolingDirectorySource
FLUME-2262. Log4j Appender should use timeStamp field not getTimestamp, which was not available in older log4j versions.
FLUME-2238. Provide option to configure worker threads in NettyAvroRpcClient
FLUME-2209. AsyncHBaseSink will never recover if the column family does not exists for the first start.
FLUME-2217. Add option to preserve all Syslog headers in syslog sources
FLUME-2266. Update Morphline Sink to kite-0.10.0.
FLUME-2155. Index the Flume Event Queue during replay to improve replay time.
FLUME-1679. Add dependency on Guava to flume-ng-elasticsearch-sink POM
FLUME-2264. Log4j Appender + Avro Reflection on string results in an invalid avro schema
FLUME-2239. Clarify File Channel's dataDirs setting in User Guide
FLUME-2267. Increase default transactionCapacity for FileChannel from 1000 to 10000
FLUME-2056. Allow SpoolDir to pass just the filename that is the source of an event
FLUME-2270. Fix Twitter Source documentation.
FLUME-2278. Incorrect documentation for write-timeout of File Channel
FLUME-2265. Closed bucket writers should be removed from sfwriters map
FLUME-2275. Improve scalability of MorphlineInterceptor under contention
FLUME-2289. Disable maxUnderReplication test which is extremely flakey
FLUME-2292. Upgrade mapdb to 0.9.8
FLUME-2259. Transaction closure not happening for all the scenario in HBaseSink.
FLUME-2301. Update HBaseSink tests to reflect sink returning backoff only on empty batches
FLUME-2294. Add a sink for Kite Datasets.
FLUME-2303. HBaseSink tests can fail based on order of execution
FLUME-2302. TestHDFS Sink fails with Can't get Kerberos realm'
FLUME-2304. DatasetSink test fails unexpectedly.
FLUME-1892. Fix NullPointerException in IRC Sink.
FLUME-2305. BucketWriter#close must cancel idleFuture
FLUME-2312. Add utility for adorning HTTP contexts in Jetty
FLUME-2311 - Use standard way of finding queue/topic (Hugo Lassiège via Brock Noland)
FLUME-2130. Handle larger payloads via SyslogUDPSource
FLUME-2314. Upgrade to Mapdb 0.9.9
FLUME-2307. Remove Log writetimeout
FLUME-2319. Fix Ganglia documentation error
FLUME-2325. Bucketwriter must be permanently closed only on idle and roll timeouts.
FLUME-2320. Fixed Deadlock in DatasetSink
FLUME-1227. Introduce Spillable Channel.
FLUME-2334: Upgrade Asynchbase to 1.5.0 as this include hbase 0.96.x support
FLUME-2328: FileChannel Dual Checkpoint Backup Thread not released on Application stop
FLUME-2323: Morphline sink must increment eventDrainAttemptCount when it takes event from channel
FLUME-2283: Spool Dir source must check interrupt flag before writing to channel
FLUME-2329: Add an alias for the Morphline Solr Sink
FLUME-2324: Support writing to multiple HBase clusters using HBaseSink
FLUME-2335: TestHBaseSink#testWithoutConfigurationObject() must delete the table at the end of the test
FLUME-2336: HBase tests that pass in ZK configs must use a new context object
FLUME-2338. Support coalescing increments in HBaseSink.
Revert "FLUME-2338. Support coalescing increments in HBaseSink."
FLUME-2338. Support coalescing increments in HBaseSink.
FLUME-2243. Avro Source should name threads instead of using generic names.
FLUME-2252. Add null check before closing table in HbaseSink
FLUME-2343. Add Kerberos and user impersonation support to Dataset Sink.
FLUME-2151. Windows: Update TestExecSource to use native commands on Windows
FLUME-2263. Bump Hadoop 2 version to 2.3.0
FLUME-2345. Update to Kite 0.12.0 dependency
FLUME-2225. Elasticsearch Sink for ES HTTP API
FLUME-2347: Add FLUME_JAVA_OPTS which allows users to inject java properties from cmd line
FLUME-2309. Spooling directory should not always consume the oldest file first.
FLUME-2350. Consume Order tests need to space out file creation.
FLUME-2357. HDFS sink should retry closing files that previously had close errors
FLUME-2181 - Optionally disable File Channel fsyncs (Hari via Brock)
FLUME-2381: Upgrade Hadoop version in Hadoop 2 profile to 2.4.0
FLUME-2368. Update CHANGELOG for 1.5 release
FLUME-2366. Update LICENSE
FLUME-2366: Removing -SNAPSHOT from 1.5 branch
Adding default version for thrift
FLUME-2368. Update CHANGELOG.
FLUME-2366. Update RELEASE NOTES for Flume 1.5
FLUME-2366. Updating Versions in 1.6 branch
Restore correct Asynchbase version
FLUME-2245. Pre-close flush failure can cause HDFS Sinks to not process events.
FLUME-2273 - Add handling for header substitution in ElasticSearchSink
FLUME-2397: HBase-98 compatibility
FLUME-2389. Spillable Memory Channel Example is incorrect
Updating RELEASE-NOTES for Flume <IP_ADDRESS>
FLUME-2399. Update CHANGELOG for Flume <IP_ADDRESS>
FLUME-2400. Dataset Sink is not built in hbase-98 profile
FLUME-2359. Update CHANGELOG to include FLUME-2400
FLUME-2399. Minor update to Release notes.
FLUME-2365. Add DOAP file for Flume.
FLUME-2024. Add ExecSource flush timeout to Flume User Guide
FLUME-2408. Remove FLUME-1899 from CHANGELOG.
FLUME-2416: Use CodecPool in compressed stream to prevent leak of direct buffers
FLUME-2404. Make ScribeSource read buffer and max frame size configurable
FLUME-2401. Optionally compress backup checkpoint.
FLUME-1793. Unit test TestElasticSearchLogStashEventSerializer fails with IBM JDK
FLUME-2431. Add simple regex search-and-replace interceptor
FLUME-2432. Update Kite dependency to 0.15.0.
FLUME-2441. HTTP Source Unit tests fail on IBM JDK 7
FLUME-1920. Remove Hadoop dependency from integration tests
FLUME-2439. Upgrade Dataset sink to use Kite 1.5.0
FLUME-2438. Make Syslog source message body configurable
FLUME-2425 - FileChannel should trim data and checkpoint directories (Johny Rufus via Brock Noland)
FLUME-2450 - Improve replay index insertion speed. (Hari via Brock)
FLUME-2420. HDFS Bucketwriter must access sfWriters map only within synchronized blocks.
FLUME-2426. Support interceptors in the Embedded Agent
FLUME-1491. Support fetching configuration from Zookeeper.
FLUME-2337. export JAVA_HOME in flume-env.sh.template and increase heap size
FLUME-2462. Remove use of deprecated methods in DatasetSink
FLUME-2251. Kafka Sink.
FLUME-2250. Kafka Source.
FLUME-2455. Kafka Sink Documentation.
FLUME-2470. Kafka Sink and Source must use camel case for all configs.
FLUME-2470. Kafka Sink and Source config updates. Missed a couple files in the last commit, adding them.
FLUME-2469. DatasetSink should load dataset when needed, not at startup.
FLUME-2463. Add Hive and HBase dataset support in DatasetSink.
FLUME-1501. Flume Scribe Source needs unit tests.
FLUME-2481. TestFileChannelEncryption fails with System locale other than en_US
FLUME-2492. Flume's Kafka Source doesn't account time correctly
FLUME-2479. Kafka property auto.commit.enable is incorrect for KafkaSource.
FLUME-2479. Adding new test files.
FLUME-2495. Kafka Source may miss events when channel is not available
FLUME-2466. Embedded agent name cannot contain spaces
FLUME-2346. idLogFileMap in Log can lose track of file ids.
FLUME-2472. SyslogUtils fails when system locale is not English
FLUME-2489. Upgrade Apache Curator to 2.6.0
FLUME-2475. toLowerCase/toUpperCase must specify Locale.
FLUME-2237. Example config in User Guide to use same notation for Agent name
FLUME-2126. Problem in elasticsearch sink when the event body is a complex field
FLUME-1710. JSONEvent.getBody should not return null
FLUME-2482. File Channel tests must disable scheduled checkpoint to avoid a race condition with forced checkpoint.
FLUME-2502. Improve Spool Directory Source's performance by not listing files each time.
FLUME-2499. Include Kafka Message Key in Event Headers.
FLUME-2486. TestExecSource fails on some environments
FLUME-2511. Allow configuration of enabled protocols in Avro source and RpcClient.
FLUME-2517. Cache SimpleDataFormat objects in bucketwriter for better performance.
FLUME-2520: HTTP Source should be able to block a prefixed set of protocols.
FLUME-2500: Add a channel that uses Kafka
FLUME-2523. Document Kafka channel
FLUME-2533: HTTPS tests fail on Java 6
FLUME-2525. Handle a zero byte .flumespool-main.meta file for the spooldir source.
Updating CHANGELOG for 1.5.1 release
Preparing for Flume-1.5.1 Release
FLUME-2505: Test added in FLUME-2502 is flaky
FLUME-2497. Support fractional seconds in Syslog timestamps
FLUME-2385. Remove incorrect log message at INFO level in Spool Directory Source.
FLUME-2548: Enable SSLv2Hello for Avro Source and NettyAvroRpcClient
FLUME-2549: Enable SSLv2Hello for HttpSource
FLUME-2551. Add dev-support directory to source tarball.
Update RELEASE-NOTES for 1.5.2
Update CHANGELOG for 1.5.2
FLUME-2538. TestResettableFileInputStream fails on JDK 8.
FLUME-2509. Add description for properties in Failover Sink Processor
FLUME-1594. Document JMX options
FLUME-1521. Document the StressSource
FLUME-2487. SyslogParser has rounding errors in timestamp parsing
FLUME-2480. Typo in file channel exception: "Usable space exhaused"
FLUME-2246. Make event data size configurable for logger sinker
FLUME-2560. Add Kafka Channel to dist tarballs.
FLUME-2557. Make DatasetSink work with Kerberos
FLUME-2488: TestElasticSearchRestClient fails on Oracle JDK 8
FLUME-2558. Update javadoc for StressSource
FLUME-2373. Support TBinaryProtocol in Thrift RPC.
FLUME-2556. BucketWriter DateFormat test fails intermittently.
FLUME-2578. Kafka source throws NPE if Kafka record has null key
FLUME-2562. Add metrics for Kafka Source, Kafka Sink and Kafka Channel.
FLUME-2568. Additional fix for TestReliableSpoolingFileEventReader
FLUME-2594: Close Async HBase Client if there are large number of consecutive timeouts
FLUME-2586. HDFS Sink must try to rename files even if close fails.
FLUME-2591. DatasetSink 2.0
FLUME-1334. Windows startup scripts.
FLUME-2443: org.apache.hadoop.fs.FSDataOutputStream.sync() is deprecated in hadoop 2.4
FLUME-1734. Add a Hive Sink based on Hive Streaming support.
FLUME-2592. Fix help message in File Channel Integrity Tool.
FLUME-2574. SSL support for Thrift RPC.
FLUME-2214. File Channel Integrity Toll documentation.
FLUME-2633: Update Kite dependency to 1.0.0
FLUME-2570. Add option to not pad date fields.
FLUME-2631. End to End authentication in Flume
FLUME-2639. SecureThriftRpcClient client privileged calls throw IllegalAccessError
FLUME-2642. Limit the number of calls to UGI.checkTGTAndRelogin method.
FLUME-2626. Remove trustmanager-type from Thrift RPC client and Thrift Source.
FLUME-2630: Update documentation for Thrift SRc/Sink SSL support
FLUME-2624 : Improve Hive Sink performance
FLUME-2657: Upgrade to Hive 1.0
FLUME-1934. Spooling Directory Source dies on encountering zero-byte files.
FLUME-2654. Clarify error message in MemoryChannel when byte capacity is reached.
FLUME-2613. Add support in FileChannelIntegrityTool to remove invalid events from the channel.
FLUME-2649. Elasticsearch sink doesn't handle JSON fields correctly
FLUME-2664. Site profile fails due to dependency issues
FLUME-2635. Documentation for zookeeper dynamic configuration in flume
FLUME-2645. ipFilter.rules property name is wrong
FLUME-2595. Add option to checkpoint on file channel shutdown
FLUME-2668. Document SecureThriftRpcClient/SecureRpcClientFactory in Flume Developer Guide
FLUME-2148. Windows : Add flume-env.ps1
FLUME-2665. Update documentation for hdfs.closeTries based on FLUME-2586
FLUME-2670. Modify dependencies to not pull hadoop/hive related jars
FLUME-2673. Remove unused import in TestLog
FLUME-2658. Upgrade to Hbase 1.0
FLUME-2675. Update pom.xml version in trunk and 1.7 branch
FLUME-2676. Update flume docs and release notes to 1.7-SNAPSHOT in trunk and 1.7 branch
FLUME-2652. Documented transaction handling semantics incorrect in developer guide.
FLUME-2678. Refactor Hive dependencies.
FLUME-2679. Make hbase-1 the default profile
FLUME-2683. Update License file for 1.6 release
FLUME-2649. Elasticsearch sink doesn't handle JSON fields correctly
FLUME-2690. Update ChangeLog for 1.6 Release
FLUME-2690. Update ChangeLog for 1.6 Release
FLUME-2215. ResettableFileInputStream can't support ucs-4 character
FLUME-2575. FLUME-2548 brings SSLv2Hello back for Avro Sink, but UG says it is one of the protocols to exclude
FLUME-2729. Allow pollableSource backoff times to be configurable
Patch for FLUME-2713
FLUME-2732. Make maximum tolerated failures before shutting down and recreating client in AsyncHbaseSink configurable
FLUME-2738. Fix file descriptor leak in AsyncHBaseSink when HBase cluster goes down.
FLUME-2737: Documentation for Pollable Source config parameters introduced in FLUME-2729
FLUME-2628. Add an optional parameter to specify the expected input text encoding for the netcat source
FLUME-2660. Add documentation for EventValidator
FLUME-2749. Fix kerberos configuration error when using short names in multiple HDFS Sinks
FLUME-2660. Add documentation for EventValidator. Fixed doc formatting issue
FLUME-2485. Thrift Source tests fail on Oracle JDK 8
FLUME-2753 Error when specifying empty replace string in Search and Replace Interceptor
FLUME-2498. Implement Taildir Source
FLUME-2763. flume_env script should handle jvm parameters like -javaagent -agentpath -agentlib
FLUME-2754 - Hive Sink skipping first transaction in each Batch of Hive Transactions
FLUME-2672. NPE in KafkaSourceCounter
FLUME-2095. JMS source with TIBCO
FLUME-2804. Hive sink - abort remaining transactions on shutdown
FLUME-2751: Upgrade Derby version to <IP_ADDRESS>
FLUME-2734: Kafka Channel timeout property is overridden by default value
FLUME-2798. Malformed Syslog messages can lead to OutOfMemoryException
FLUME-2781. Kafka Channel with parseAsFlumeEvent=true should write data as is, not as flume events.
FLUME-2632: High CPU on KafkaSink
FLUME-2593. ResettableFileInputStream returns negate values from read() method
FLUME-2712. Optional channel errors slows down the Source to Main channel event rate
FLUME-2835. Hive Sink tests need to create table with transactional property set
FLUME-2841: Upgrade commons-collections to 3.2.2
FLUME-2801. Performance improvement on TailDir source
FLUME-2806. flume-ng.ps1 Error running script to start an agent on Windows
FLUME-2718: HTTP Source to support generic Stream Handler
FLUME-2704. Configurable poll delay for spooling directory source
FLUME-2875. Allow RollingFileSink to specify a file prefix and a file extension.
FLUME-2881. Windows Launch Script fails in plugins dir code
FLUME-2886: Optional Channels can cause OOMs
FLUME-2889. Fixes to DateTime computations
FLUME-2891: Revert FLUME-2712 and FLUME-2886
FLUME-2897: AsyncHBase sink NPE when Channel.getTransaction() fails
FLUME-2821: Flume-Kafka Source with new Consumer
FLUME-2822: Flume-Kafka-Sink with new Producer
FLUME-2823: Flume-Kafka-Channel with new APIs
FLUME-2852: Kafka Source/Sink should optionally read/write Flume records
FLUME-2889: Fixes to DateTime computations
FLUME-2908: NetcatSource - SocketChannel not closed when session is broken
Merge remote-tracking branch 'upstream/flume-1.7' into flume-1.7
File Changes
M LICENSE (2)
M flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannel.java (7)
M flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/LogFileV3.java (1)
M flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Serialization.java (137)
M flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestFlumeEventQueue.java (23)
M flume-ng-core/src/main/java/org/apache/flume/client/avro/ReliableSpoolingFileEventReader.java (4)
M flume-ng-core/src/main/java/org/apache/flume/formatter/output/BucketPath.java (1)
M flume-ng-core/src/main/java/org/apache/flume/source/AbstractPollableSource.java (3)
M flume-ng-core/src/main/java/org/apache/flume/source/SpoolDirectorySource.java (5)
M flume-ng-core/src/test/java/org/apache/flume/source/TestSpoolDirectorySource.java (2)
M flume-ng-core/src/test/java/org/apache/flume/source/TestSyslogUtils.java (61)
M flume-ng-core/src/test/java/org/apache/flume/source/http/TestHTTPSource.java (6)
M flume-ng-sdk/src/main/java/org/apache/flume/api/ThriftRpcClient.java (8)
M flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/HDFSTestSeqWriter.java (5)
M flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java (1)
M flume-ng-sinks/flume-ng-elasticsearch-sink/src/test/java/org/apache/flume/sink/elasticsearch/TestElasticSearchIndexRequestBuilderFactory.java (21)
M flume-ng-sinks/flume-ng-elasticsearch-sink/src/test/java/org/apache/flume/sink/elasticsearch/TestElasticSearchSink.java (1)
M flume-ng-sinks/flume-ng-hbase-sink/src/main/java/org/apache/flume/sink/hbase/HBaseSink.java (54)
M flume-ng-sources/flume-jms-source/src/main/java/org/apache/flume/source/jms/JMSMessageConsumer.java (7)
M flume-ng-tests/src/test/java/org/apache/flume/test/util/StagedInstall.java     (1)
M pom.xml (6)
Patch Links:
https://github.com/apache/flume/pull/73.patch
https://github.com/apache/flume/pull/73.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Keyboard shortcuts support for WebKit

Is your feature request related to a problem? Please describe.
WebKit does not allow refreshing using Ctrl+R or F5 nor opening DevTools using Ctrl+Shift+I or F12.
Describe the solution you'd like
Implementing those shortcuts.
Describe alternatives you've considered
None
Would you assign yourself to implement this feature?

[ ] Yes
[x] No

Additional context
None

Thanks

Refresh can be done with javascript or a menu item.
Devtools please refer to this issue
https://github.com/tauri-apps/wry/issues/287

Yes, but in my case, refreshing is only useful during development, end users would never use that feature.
Adding addEventListener statements on every project only for development purposes seem overkill.
Additionally, this is a Linux-only issue : Webview2 on Windows does support those shortcuts.
Thanks


remove dead code

motivation: we dont need dead code around
changes: remove SwiftTool::sandboxProfile which is not in use

@swift-ci please smoke test


Utilizing custom panes

Is there support for using panes in the 1.0dev branch with Chart Layers?
Specifying it in options like this:
{ pane:'fore', layerOptions: {...},chartOptions:{...}}

This should work if you stick the pane option under layerOptions like so:
{
     layerOptions: {
          pane: 'fore'
     }
}

Shucks, that worked! Thank you!


[BUG] bpftool failed on ubuntu 23.10 and llvm 19.0.0git

Describe the bug
When I try to build bpftime using:
pegasus@pegasus:~/Documents/bpftime$ make release JOBS=$(nproc) # Build and install the runtime

On my local machine I find the following erros.
<!--A clear and concise description of what the bug is.-->
/home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.cpp:246:26:   required from here
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ADT/DenseMap.h:577:5: error: no matching function for call to ‘llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef(llvm::JITEvaluatedSymbol&)’
  577 |     ::new (&TheBucket->getSecond()) ValueT(std::forward<ValueArgs>(Values)...);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.cpp:156:58: error: ‘CGFT_ObjectFile’ was not declared in this scope
  156 |                                     pass, *BOS, nullptr, CGFT_ObjectFile)) {

My PC configs:
pegasus@pegasus:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 23.10"
NAME="Ubuntu"
VERSION_ID="23.10"
VERSION="23.10 (Mantic Minotaur)"
VERSION_CODENAME=mantic
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=mantic
LOGO=ubuntu-logo
pegasus@pegasus:~$ uname -a
Linux pegasus 6.4.0-060400-generic #202306271339 SMP PREEMPT_DYNAMIC Tue Jun 27 14:26:34 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

I've built LLVM clang from latest repo.
pegasus@pegasus:~$ clang --version
clang version 19.0.0git (https://github.com/llvm/llvm-project.git 815644b4dd882ade2e5649d4f97c3dd6f7aea200)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/pegasus/Documents/llvm-project/build/bin

To reproduce the error, you just need my config and type make release JOBS=$(nproc) # Build and install the runtime
The log:
pegasus@pegasus:~/Documents/bpftime$ make release JOBS=$(nproc) # Build and install the runtime
cmake -Bbuild  -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
			   -DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_INFO -DBPFTIME_LLVM_JIT=1
cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)
-- Started CMake for bpftime v0.1.0...

-- copying compiler.h;err.h;filter.h;kernel.h;list.h;overflow.h;ring_buffer.h;types.h from /home/pegasus/Documents/bpftime/third_party/libbpf//include/linux to /home/pegasus/Documents/bpftime/build/libbpf//linux
-- copying linux/bpf.h;linux/bpf_common.h;linux/btf.h;linux/fcntl.h;linux/if_link.h;linux/if_xdp.h;linux/netdev.h;linux/netlink.h;linux/openat2.h;linux/perf_event.h;linux/pkt_cls.h;linux/pkt_sched.h from /home/pegasus/Documents/bpftime/third_party/libbpf//include/uapi/ to /home/pegasus/Documents/bpftime/build/libbpf//uapi
-- copying bpf.h;bpf_common.h;btf.h;fcntl.h;if_link.h;if_xdp.h;netdev.h;netlink.h;openat2.h;perf_event.h;pkt_cls.h;pkt_sched.h from /home/pegasus/Documents/bpftime/third_party/libbpf//include/uapi/linux to /home/pegasus/Documents/bpftime/build/libbpf//linux
-- All headers to copy: /home/pegasus/Documents/bpftime/build/libbpf//linux/compiler.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/err.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/filter.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/kernel.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/list.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/overflow.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/ring_buffer.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/types.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/bpf.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/bpf_common.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/btf.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/fcntl.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/if_link.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/if_xdp.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/netdev.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/netlink.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/openat2.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/perf_event.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/pkt_cls.h;/home/pegasus/Documents/bpftime/build/libbpf//uapi/linux/pkt_sched.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/bpf.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/bpf_common.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/btf.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/fcntl.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/if_link.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/if_xdp.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/netdev.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/netlink.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/openat2.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/perf_event.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/pkt_cls.h;/home/pegasus/Documents/bpftime/build/libbpf//linux/pkt_sched.h
-- System Name: Linux
-- System Version: 6.4.0-060400-generic
-- System Processor: x86_64
-- Using frida: arch=linux-x86_64, version=16.1.2
-- Frida Core Devkit already downloaded
-- Frida GUM Devkit already downloaded
-- Downloading FridaCore from /home/pegasus/Documents/bpftime/third_party/frida/frida-core-devkit-16.1.2-linux-x86_64.tar.xz
-- Downloading FridaGum from /home/pegasus/Documents/bpftime/third_party/frida/frida-gum-devkit-16.1.2-linux-x86_64.tar.xz
-- Skipping ebpf verifier
-- Build spdlog: 1.12.0
-- Build type: RelWithDebInfo
-- Started CMake for vm-bpf v0.1.0...

-- Using llvm-jit
-- LLVM_LIBS=LLVMCore;LLVMOrcJIT;LLVMSupport;LLVMX86CodeGen;LLVMX86Desc;LLVMX86Info
-- Added all header and implementation files.

-- Finished setting up include directories.
-- Started CMake for runtime v0.1.0...

-- Building for architecture:
INFO Headers: include/
INFO Found the following sources: src/attach/bpf_attach_ctx.cpp;src/handler/handler_manager.cpp;src/handler/map_handler.cpp;src/handler/perf_event_handler.cpp;src/handler/prog_handler.cpp;src/handler/epoll_handler.cpp;src/bpftime_shm.cpp;src/bpftime_shm_internal.cpp;src/bpftime_shm_json.cpp;src/bpftime_prog.cpp;src/ufunc.cpp;src/bpf_helper.cpp;src/bpf_map/userspace/array_map.cpp;src/bpf_map/userspace/hash_map.cpp;src/bpf_map/userspace/ringbuf_map.cpp;src/bpf_map/userspace/perf_event_array_map.cpp;src/bpf_map/userspace/per_cpu_array_map.cpp;src/bpf_map/userspace/per_cpu_hash_map.cpp;src/bpf_map/userspace/prog_array.cpp;extension/extension_helper.cpp;src/bpf_map/shared/array_map_kernel_user.cpp;src/bpf_map/shared/hash_map_kernel_user.cpp;src/bpf_map/shared/percpu_array_map_kernel_user.cpp;src/bpf_map/shared/perf_event_array_kernel_user.cpp
-- Added all header and implementation files.

-- Using llvm-jit
-- Configuring done (0.2s)
-- Generating done (0.1s)
-- Build files have been written to: /home/pegasus/Documents/bpftime/build
cmake --build build --config RelWithDebInfo --target install  -j16
cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)
gmake[1]: Entering directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
gmake[2]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[  6%] Built target libbpf
[  6%] Built target FridaCore
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
[  8%] Built target bpftime_syscall_trace_syscall_id_table
[ 10%] Built target bpftool
[ 13%] Built target FridaGum
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 14%] Built target embedfile
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
[ 17%] Built target spdlog
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 18%] Copying headers
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Copying relo_core.h
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 19%] Built target bpftime-cli-cpp
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 20%] Built target bpftime_text_segment_transformer
Copying hashmap.h
[ 21%] Built target bpftime_syscall_trace_attach_impl
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 23%] Built target bpftime_frida_uprobe_attach_impl
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 23%] Building CXX object vm/llvm-jit/CMakeFiles/vm-bpf.dir/src/llvm/compiler.cpp.o
[ 23%] Building CXX object vm/llvm-jit/CMakeFiles/vm-bpf.dir/src/llvm/llvm_jit_context.cpp.o
Copying nlattr.h
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Copying libbpf_internal.h
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 34%] Built target copy_headers
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 34%] Built target bpftime_daemon_ebpf_target
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
[ 34%] Built target bpftime-object
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 37%] Built target bpftime_daemon_ebpf_skel
[ 73%] Built target Catch2
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 74%] Built target Catch2WithMain
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Entering directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 75%] Built target bpftime_syscall_trace_attach_tests
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 78%] Built target bpftime_frida_uprobe_attach_tests
In file included from /home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.hpp:9,
                 from /home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/compiler.cpp:7:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Core.h: In constructor ‘llvm::orc::SymbolLookupSet::SymbolLookupSet(std::initializer_list<llvm::orc::SymbolStringPtr>, llvm::orc::SymbolLookupFlags)’:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Core.h:204:20: warning: redundant move in initialization [-Wredundant-move]
  204 |       add(std::move(Name), Flags);
      |           ~~~~~~~~~^~~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Core.h:204:20: note: remove ‘std::move’ call
In file included from /home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.hpp:9,
                 from /home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.cpp:7:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Core.h: In constructor ‘llvm::orc::SymbolLookupSet::SymbolLookupSet(std::initializer_list<llvm::orc::SymbolStringPtr>, llvm::orc::SymbolLookupFlags)’:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Core.h:204:20: warning: redundant move in initialization [-Wredundant-move]
  204 |       add(std::move(Name), Flags);
      |           ~~~~~~~~~^~~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Core.h:204:20: note: remove ‘std::move’ call
In file included from /home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h:21,
                 from /home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:16,
                 from /home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.hpp:13:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h: In member function ‘llvm::Expected<llvm::orc::ExecutorAddr> llvm::orc::TrampolinePool::getTrampoline()’:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h:80:25: warning: redundant move in return statement [-Wredundant-move]
   80 |         return std::move(Err);
      |                ~~~~~~~~~^~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h:80:25: note: remove ‘std::move’ call
In file included from /home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h:21,
                 from /home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:16,
                 from /home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.hpp:13:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h: In member function ‘llvm::Expected<llvm::orc::ExecutorAddr> llvm::orc::TrampolinePool::getTrampoline()’:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h:80:25: warning: redundant move in return statement [-Wredundant-move]
   80 |         return std::move(Err);
      |                ~~~~~~~~~^~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h:80:25: note: remove ‘std::move’ call
/home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/compiler.cpp: In member function ‘llvm::Expected<llvm::orc::ThreadSafeModule> llvm_bpf_jit_context::generateModule(const std::vector<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >&, const std::vector<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >&)’:
/home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/compiler.cpp:163:43: error: ‘getInt8PtrTy’ is not a member of ‘llvm::Type’
  163 |                                   { Type::getInt8PtrTy(*context),
      |                                           ^~~~~~~~~~~~
/home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/compiler.cpp:162:34: error: no matching function for call to ‘llvm::FunctionType::get(llvm::IntegerType*, <brace-enclosed initializer list>, bool)’
  162 |                 FunctionType::get(Type::getInt64Ty(*context),
      |                 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  163 |                                   { Type::getInt8PtrTy(*context),
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  164 |                                     Type::getInt64Ty(*context) },
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  165 |                                   false),
      |                                   ~~~~~~
In file included from /home/pegasus/Documents/llvm-project/llvm/include/llvm/IR/DataLayout.h:27,
                 from /home/pegasus/Documents/llvm-project/llvm/include/llvm/IR/Module.h:24,
                 from /home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.hpp:11:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/IR/DerivedTypes.h:111:24: note: candidate: ‘static llvm::FunctionType* llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)’
  111 |   static FunctionType *get(Type *Result,
      |                        ^~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/IR/DerivedTypes.h:112:44: note:   no known conversion for argument 2 from ‘<brace-enclosed initializer list>’ to ‘llvm::ArrayRef<llvm::Type*>’
  112 |                            ArrayRef<Type*> Params, bool isVarArg);
      |                            ~~~~~~~~~~~~~~~~^~~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/IR/DerivedTypes.h:115:24: note: candidate: ‘static llvm::FunctionType* llvm::FunctionType::get(llvm::Type*, bool)’
  115 |   static FunctionType *get(Type *Result, bool isVarArg);
      |                        ^~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/IR/DerivedTypes.h:115:24: note:   candidate expects 2 arguments, 3 provided
/home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.cpp: In lambda function:
/home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.cpp:156:58: error: ‘CGFT_ObjectFile’ was not declared in this scope
  156 |                                     pass, *BOS, nullptr, CGFT_ObjectFile)) {
      |                                                          ^~~~~~~~~~~~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h: In instantiation of ‘llvm::Expected<std::unique_ptr<_Tp> > llvm::orc::LLJITBuilderSetters< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::create() [with JITType = llvm::orc::LLJIT; SetterImpl = llvm::orc::LLJITBuilder; State = llvm::orc::LLJITBuilderState]’:
/home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.cpp:232:44:   required from here
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:476:27: warning: redundant move in return statement [-Wredundant-move]
  476 |       return std::move(Err);
      |                           ^
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:476:27: note: remove ‘std::move’ call
In file included from /home/pegasus/Documents/llvm-project/llvm/include/llvm/ADT/DenseSet.h:17,
                 from /home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Core.h:17:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ADT/DenseMap.h: In instantiation of ‘BucketT* llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT>::InsertIntoBucket(BucketT*, KeyArg&&, ValueArgs&& ...) [with KeyArg = const llvm::orc::SymbolStringPtr&; ValueArgs = {llvm::JITEvaluatedSymbol&}; DerivedT = llvm::DenseMap<llvm::orc::SymbolStringPtr, llvm::orc::ExecutorSymbolDef>; KeyT = llvm::orc::SymbolStringPtr; ValueT = llvm::orc::ExecutorSymbolDef; KeyInfoT = llvm::DenseMapInfo<llvm::orc::SymbolStringPtr>; BucketT = llvm::detail::DenseMapPair<llvm::orc::SymbolStringPtr, llvm::orc::ExecutorSymbolDef>]’:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ADT/DenseMap.h:271:33:   required from ‘std::pair<llvm::DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT>, bool> llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT>::try_emplace(const KeyT&, Ts&& ...) [with Ts = {llvm::JITEvaluatedSymbol&}; DerivedT = llvm::DenseMap<llvm::orc::SymbolStringPtr, llvm::orc::ExecutorSymbolDef>; KeyT = llvm::orc::SymbolStringPtr; ValueT = llvm::orc::ExecutorSymbolDef; KeyInfoT = llvm::DenseMapInfo<llvm::orc::SymbolStringPtr>; BucketT = llvm::detail::DenseMapPair<llvm::orc::SymbolStringPtr, llvm::orc::ExecutorSymbolDef>]’
/home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.cpp:246:26:   required from here
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ADT/DenseMap.h:577:5: error: no matching function for call to ‘llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef(llvm::JITEvaluatedSymbol&)’
  577 |     ::new (&TheBucket->getSecond()) ValueT(std::forward<ValueArgs>(Values)...);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h:22,
                 from /home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h:19,
                 from /home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Core.h:22:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:27:3: note: candidate: ‘llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef(llvm::orc::ExecutorAddr, llvm::JITSymbolFlags)’
   27 |   ExecutorSymbolDef(ExecutorAddr Addr, JITSymbolFlags Flags)
      |   ^~~~~~~~~~~~~~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:27:3: note:   candidate expects 2 arguments, 1 provided
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:26:3: note: candidate: ‘constexpr llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef()’
   26 |   ExecutorSymbolDef() = default;
      |   ^~~~~~~~~~~~~~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:26:3: note:   candidate expects 0 arguments, 1 provided
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:24:7: note: candidate: ‘constexpr llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef(const llvm::orc::ExecutorSymbolDef&)’
   24 | class ExecutorSymbolDef {
      |       ^~~~~~~~~~~~~~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:24:7: note:   no known conversion for argument 1 from ‘llvm::JITEvaluatedSymbol’ to ‘const llvm::orc::ExecutorSymbolDef&’
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:24:7: note: candidate: ‘constexpr llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef(llvm::orc::ExecutorSymbolDef&&)’
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:24:7: note:   no known conversion for argument 1 from ‘llvm::JITEvaluatedSymbol’ to ‘llvm::orc::ExecutorSymbolDef&&’
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ADT/DenseMap.h: In instantiation of ‘BucketT* llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT>::InsertIntoBucket(BucketT*, KeyArg&&, ValueArgs&& ...) [with KeyArg = llvm::orc::SymbolStringPtr; ValueArgs = {llvm::JITEvaluatedSymbol&}; DerivedT = llvm::DenseMap<llvm::orc::SymbolStringPtr, llvm::orc::ExecutorSymbolDef>; KeyT = llvm::orc::SymbolStringPtr; ValueT = llvm::orc::ExecutorSymbolDef; KeyInfoT = llvm::DenseMapInfo<llvm::orc::SymbolStringPtr>; BucketT = llvm::detail::DenseMapPair<llvm::orc::SymbolStringPtr, llvm::orc::ExecutorSymbolDef>]’:
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ADT/DenseMap.h:247:25:   required from ‘std::pair<llvm::DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT>, bool> llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT>::try_emplace(KeyT&&, Ts&& ...) [with Ts = {llvm::JITEvaluatedSymbol&}; DerivedT = llvm::DenseMap<llvm::orc::SymbolStringPtr, llvm::orc::ExecutorSymbolDef>; KeyT = llvm::orc::SymbolStringPtr; ValueT = llvm::orc::ExecutorSymbolDef; KeyInfoT = llvm::DenseMapInfo<llvm::orc::SymbolStringPtr>; BucketT = llvm::detail::DenseMapPair<llvm::orc::SymbolStringPtr, llvm::orc::ExecutorSymbolDef>]’
/home/pegasus/Documents/bpftime/vm/llvm-jit/src/llvm/llvm_jit_context.cpp:267:24:   required from here
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ADT/DenseMap.h:577:5: error: no matching function for call to ‘llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef(llvm::JITEvaluatedSymbol&)’
  577 |     ::new (&TheBucket->getSecond()) ValueT(std::forward<ValueArgs>(Values)...);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:27:3: note: candidate: ‘llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef(llvm::orc::ExecutorAddr, llvm::JITSymbolFlags)’
   27 |   ExecutorSymbolDef(ExecutorAddr Addr, JITSymbolFlags Flags)
      |   ^~~~~~~~~~~~~~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:27:3: note:   candidate expects 2 arguments, 1 provided
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:26:3: note: candidate: ‘constexpr llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef()’
   26 |   ExecutorSymbolDef() = default;
      |   ^~~~~~~~~~~~~~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:26:3: note:   candidate expects 0 arguments, 1 provided
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:24:7: note: candidate: ‘constexpr llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef(const llvm::orc::ExecutorSymbolDef&)’
   24 | class ExecutorSymbolDef {
      |       ^~~~~~~~~~~~~~~~~
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:24:7: note:   no known conversion for argument 1 from ‘llvm::JITEvaluatedSymbol’ to ‘const llvm::orc::ExecutorSymbolDef&’
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:24:7: note: candidate: ‘constexpr llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef(llvm::orc::ExecutorSymbolDef&&)’
/home/pegasus/Documents/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h:24:7: note:   no known conversion for argument 1 from ‘llvm::JITEvaluatedSymbol’ to ‘llvm::orc::ExecutorSymbolDef&&’
gmake[3]: *** [vm/llvm-jit/CMakeFiles/vm-bpf.dir/build.make:104: vm/llvm-jit/CMakeFiles/vm-bpf.dir/src/llvm/compiler.cpp.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: *** [vm/llvm-jit/CMakeFiles/vm-bpf.dir/build.make:90: vm/llvm-jit/CMakeFiles/vm-bpf.dir/src/llvm/llvm_jit_context.cpp.o] Error 1
gmake[3]: Leaving directory '/home/pegasus/Documents/bpftime/build'
gmake[2]: *** [CMakeFiles/Makefile2:748: vm/llvm-jit/CMakeFiles/vm-bpf.dir/all] Error 2
gmake[2]: Leaving directory '/home/pegasus/Documents/bpftime/build'
gmake[1]: *** [Makefile:156: all] Error 2
gmake[1]: Leaving directory '/home/pegasus/Documents/bpftime/build'
make: *** [Makefile:60: release] Error 2

Expected behavior
It should build the bpftime tool normally.
Screenshots

How to build the tool without any error?

did u try without llvm @NobinPegasus ?

We same to have some bugs on LLVM greater than 17. You may try LLVM 15 or 16

Done by https://github.com/eunomia-bpf/bpftime/pull/276


test: Remove ginkgo linux dependency

Remove ginkgo test source dependency on pkg/iptables, as that only
compiles on Linux. This allows running ginkgo from OSX against GKE,
for example.
Fixes: #12006
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>

test-me-please

Coverage decreased (-0.02%) to 37.05% when pulling 983b2476eb8e50262a4ccf79ab93f7a230af4b0e on pr/jrajahalme/test-do-not-depend-on-linux into 17b597ded8362cd597201d1e372a96e5cdb34c3e on master.

test-me-please