Bug 255059 - lang/gjs fails to patch
Summary: lang/gjs fails to patch
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-14 17:29 UTC by tech-lists
Modified: 2021-04-14 20:06 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tech-lists 2021-04-14 17:29:41 UTC
Hi,

context: 
poudriere-devel-3.3.99.20210303_1
poudriere testport -j jailname -J1 lang/gjs

[...]

[00:00:17] => SHA256 Checksum OK for gnome/gjs-1.68.0.tar.xz.
[00:00:17] ===========================================================================
[00:00:17] =======================<phase: patch-depends  >============================
[00:00:17] ===========================================================================
[00:00:17] =======================<phase: patch          >============================
[00:00:17] ===>  Patching for gjs-1.68.0
[00:00:17] ===>  Applying FreeBSD patches for gjs-1.68.0 from /usr/ports/lang/gjs/files
[00:00:17] No such line 76 in input file, ignoring
[00:00:17] 1 out of 1 hunks failed--saving rejects to gjs/jsapi-class.h.rej
[00:00:17] ===>  FAILED Applying FreeBSD patch-gjs_jsapi-class.h
[00:00:17] ===> FAILED to apply cleanly FreeBSD patch(es)  patch-gjs_jsapi-class.h
[00:00:17] *** Error code 1
[00:00:17] 
[00:00:17] Stop.
[00:00:17] make: stopped in /usr/ports/lang/gjs
[00:00:17] build of lang/gjs | gjs-1.68.0 ended at Wed Apr 14 18:24:06 BST 2021
[00:00:17] build time: 00:00:02
[00:00:17] !!! build failure encountered !!!
[00:00:17] Error: Build failed in phase: patch
[...]
Comment 1 Neel Chauhan freebsd_committer freebsd_triage 2021-04-14 20:05:56 UTC
Fixed the issue.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-04-14 20:06:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9d98a223e32ea4610361316c15ef89de8b103358

commit 9d98a223e32ea4610361316c15ef89de8b103358
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2021-04-14 20:05:03 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2021-04-14 20:05:03 +0000

    lang/gjs: Fix patching erorrs

    PR:     255059

 lang/gjs/files/patch-gjs_jsapi-class.h (gone)     | 16 ----------------
 lang/gjs/files/patch-gjs_jsapi-util-args.h (gone) | 11 -----------
 2 files changed, 27 deletions(-)