jdk8u-dev icon indicating copy to clipboard operation
jdk8u-dev copied to clipboard

8328999: Update GIFlib to 5.2.2

Open gnu-andrew opened this issue 1 year ago • 29 comments

This updates the in-tree giflib to 5.2.2. The actual code changes are a clean backport, but the license file changes needed adapting from the giflib.md file in 11u and later to the THIRD_PARTY_README file in 8u (now only one copy following JDK-8338144)

8u is also missing JDK-8225487 which I've included as part of this patch. This updates the license to credit openbsd-reallocarray.c and is updated further by 8238999. I also included changes made by the 5.2.1 update which were missed because 8225487 was missing.

In gif_lib.h, I have restored the workaround for a missing stdbool.h on Windows only. This is needed to build on Visual Studio 2010.

The giflib.md changes include some odd changes, replacing the giflib VCS URL with just tree/README. I've raised 8339271 to correct this and will look at backporting that as a follow-up.


Progress

  • [ ] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • [ ] JDK-8225487 needs maintainer approval
  • [x] Change must not contain extraneous whitespace
  • [x] Commit message must refer to an issue
  • [ ] JDK-8328999 needs maintainer approval

Issues

  • JDK-8328999: Update GIFlib to 5.2.2 (Bug - P3)
  • JDK-8225487: giflib legal file is missing attribution for openbsd-reallocarray.c. (Bug - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/571/head:pull/571
$ git checkout pull/571

Update a local copy of the PR:
$ git checkout pull/571
$ git pull https://git.openjdk.org/jdk8u-dev.git pull/571/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 571

View PR using the GUI difftool:
$ git pr show -t 571

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/571.diff

Using Webrev

Link to Webrev Comment

gnu-andrew avatar Aug 29 '24 17:08 gnu-andrew

:wave: Welcome back andrew! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

bridgekeeper[bot] avatar Aug 29 '24 17:08 bridgekeeper[bot]

❗ This change is not yet ready to be integrated. See the Progress checklist in the description for automated requirements.

openjdk[bot] avatar Aug 29 '24 17:08 openjdk[bot]

This backport pull request has now been updated with issue from the original commit.

openjdk[bot] avatar Aug 29 '24 17:08 openjdk[bot]

@gnu-andrew This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Sep 26 '24 19:09 bridgekeeper[bot]

/issue add JDK-8225487

gnu-andrew avatar Oct 10 '24 21:10 gnu-andrew

@gnu-andrew Adding additional issue to issue list: 8225487: giflib legal file is missing attribution for openbsd-reallocarray.c..

openjdk[bot] avatar Oct 10 '24 21:10 openjdk[bot]

I've restored the workaround for stdbool.h which was present in gif_lib.h but removed in this patch on later JDK versions. This is still needed on Windows with VS2010.

gnu-andrew avatar Oct 10 '24 21:10 gnu-andrew

I've restored the workaround for stdbool.h which was present in gif_lib.h but removed in this patch on later JDK versions. This is still needed on Windows with VS2010.

And now, of course, it fails to download VS2010.

gnu-andrew avatar Oct 10 '24 22:10 gnu-andrew

I've restored the workaround for stdbool.h which was present in gif_lib.h but removed in this patch on later JDK versions. This is still needed on Windows with VS2010.

And now, of course, it fails to download VS2010.

There was an attack on archive.org, causing outage. Seems VS2010 download is now working again.

zzambers avatar Oct 22 '24 16:10 zzambers

⚠️ @gnu-andrew This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

openjdk[bot] avatar Oct 24 '24 16:10 openjdk[bot]

I've restored the workaround for stdbool.h which was present in gif_lib.h but removed in this patch on later JDK versions. This is still needed on Windows with VS2010.

And now, of course, it fails to download VS2010.

There was an attack on archive.org, causing outage. Seems VS2010 download is now working again.

Yes, thanks, I was watching their Twitter feed on this. I'll merge with latest and see if we can get a VS2010 build now.

gnu-andrew avatar Oct 28 '24 17:10 gnu-andrew

@gnu-andrew This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Nov 26 '24 02:11 bridgekeeper[bot]

Ugh, still seeing VS2010 build errors. Will take a look tomorrow.

gnu-andrew avatar Nov 29 '24 00:11 gnu-andrew

@gnu-andrew This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Dec 27 '24 03:12 bridgekeeper[bot]

Keep open. Will look after the 8u442 release.

gnu-andrew avatar Jan 07 '25 01:01 gnu-andrew

@gnu-andrew This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Feb 04 '25 01:02 bridgekeeper[bot]

@gnu-andrew This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the /open pull request command.

bridgekeeper[bot] avatar Mar 04 '25 05:03 bridgekeeper[bot]

/open

gnu-andrew avatar Mar 04 '25 12:03 gnu-andrew

@gnu-andrew This pull request is now open

openjdk[bot] avatar Mar 04 '25 12:03 openjdk[bot]

Could you merge latest master, please?

jerboaa avatar Mar 05 '25 11:03 jerboaa

Hi. I would be happy if this PR verification goes forward. Thanks.

kurashige23 avatar Mar 27 '25 10:03 kurashige23

@gnu-andrew This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Apr 24 '25 16:04 bridgekeeper[bot]

@gnu-andrew This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the /open pull request command.

bridgekeeper[bot] avatar May 22 '25 21:05 bridgekeeper[bot]

@gnu-andrew Could you move this PR forward, please?

jerboaa avatar Jun 02 '25 15:06 jerboaa

/open

gnu-andrew avatar Aug 29 '25 21:08 gnu-andrew

@gnu-andrew This pull request is now open

openjdk[bot] avatar Aug 29 '25 21:08 openjdk[bot]

@gnu-andrew Remaining jdk_security_infra tests should be "fixed" with https://github.com/openjdk/jdk8u-dev/pull/695

jerboaa avatar Sep 09 '25 15:09 jerboaa

@gnu-andrew Remaining jdk_security_infra tests should be "fixed" with #695

Thanks. I'll merge once those are both in.

Also want to propose the last fix upstream as seems to be broken there too.

gnu-andrew avatar Sep 17 '25 20:09 gnu-andrew

@gnu-andrew This pull request has been inactive for more than 8 weeks and will be automatically closed if another 8 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Nov 13 '25 07:11 bridgekeeper[bot]