Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2024 10:13:24 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Charlie Li <vishwin@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: 4b135fdd29a6 - main - Revert "java/intellij: Move man pages to share/man"
Message-ID:  <CAFDf7UKYeyP2z3W0xaggpJ0hBeFMN0OsEcRv5nzFo=fDxEsfqA@mail.gmail.com>
In-Reply-To: <CAFDf7UL1c6A9V5JGNH%2BJ65VTJ-TyJvdCZ_ZQVQ=w_LahJFMzcA@mail.gmail.com>
References:  <202403101001.42AA1ASo040815@gitrepo.freebsd.org> <CAFDf7UKfqLQEMiQQ5BGtJG-c5Hx-SwGmCuZ-aHg5=dwx3xmtXw@mail.gmail.com> <CAFDf7UL1c6A9V5JGNH%2BJ65VTJ-TyJvdCZ_ZQVQ=w_LahJFMzcA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
(...)

The error from my commit is that I messed with %%PYTHON_VER%% and 3.9
plist values from make makeplist.

Nuno Teixeira <eduardo@freebsd.org> escreveu (domingo, 10/03/2024 =C3=A0(s)=
 10:11):
>
> (...)
>
> =3D=3D=3D=3D> Compressing man pages (compress-man)
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D> Running Q/A tests (stage-qa)
> Warning: Installing man files in /usr/local/man is no longer
> supported. Consider installing these files in /usr/local/share/man
> instead.
> 138445 -r--r--r--  1 nobody wheel 285 Mar 10 10:10:18 2024
> /wrkdirs/usr/ports/java/intellij/work/stage/usr/local/man/man1/idea.1.gz
> =3D=3D=3D=3D> Checking for pkg-plist issues (check-plist)
> =3D=3D=3D> Parsing plist
> =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist
> Error: Orphaned: %%DATADIR%%/lib/jnaerator-runtime-0.12.jar
> Error: Orphaned: %%DATADIR%%/lib/jstun-0.7.5.20200723.jar
> Error: Orphaned: %%DATADIR%%/lib/quiche-jna-stubs-15.jar
> Error: Orphaned: %%DATADIR%%/lib/tls-channel-0.3.2.jar
> =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR
> =3D=3D=3D> Error: Plist issues found.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/java/intellij
>
> Nuno Teixeira <eduardo@freebsd.org> escreveu (domingo, 10/03/2024 =C3=A0(=
s) 10:11):
> >
> > Hello Charlie,
> >
> > With this revert I get:
> >
> > Charlie Li <vishwin@freebsd.org> escreveu (domingo, 10/03/2024 =C3=A0(s=
) 10:01):
> > >
> > > The branch main has been updated by vishwin:
> > >
> > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3D4b135fdd29a63e612472=
af300454bf80a646a228
> > >
> > > commit 4b135fdd29a63e612472af300454bf80a646a228
> > > Author:     Charlie Li <vishwin@FreeBSD.org>
> > > AuthorDate: 2024-03-10 09:55:34 +0000
> > > Commit:     Charlie Li <vishwin@FreeBSD.org>
> > > CommitDate: 2024-03-10 10:00:46 +0000
> > >
> > >     Revert "java/intellij: Move man pages to share/man"
> > >
> > >     Apart from the share/man move, the plist fix was not correct:
> > >
> > >     pkg-static: Unable to access file /wrkdirs/usr/ports/java/intelli=
j/work/stage/usr/local/share/intellij/lib/commons-lang3-3.11.jar:No such fi=
le or directory
> > >
> > >     The above listed file has nothing to do with Python. Additional
> > >     files added were also incorrect. Packaging fails as a result.
> > >
> > >     The share/man move will be restored in a later commit after getti=
ng
> > >     some sleep.
> > >
> > >     This reverts commit e71303202ab8b168f9bc05e204d60261c99c56b1.
> > > ---
> > >  java/intellij/Makefile  | 4 ++--
> > >  java/intellij/pkg-plist | 8 ++------
> > >  2 files changed, 4 insertions(+), 8 deletions(-)
> > >
> > > diff --git a/java/intellij/Makefile b/java/intellij/Makefile
> > > index 162d83bb8bcf..b4dc881d4936 100644
> > > --- a/java/intellij/Makefile
> > > +++ b/java/intellij/Makefile
> > > @@ -3,7 +3,7 @@
> > >
> > >  PORTNAME=3D      intellij
> > >  PORTVERSION=3D   2020.2.3
> > > -PORTREVISION=3D  1
> > > +PORTREVISION=3D  2
> > >  CATEGORIES=3D    java devel
> > >  MASTER_SITES=3D  https://download-cf.jetbrains.com/idea/
> > >  DISTNAME=3D      ideaIC-${PORTVERSION}-no-jbr
> > > @@ -57,7 +57,7 @@ do-install:
> > >         ${INSTALL_LIB} ${WRKSRC}/plugins/maven/lib/maven3/lib/jansi-n=
ative/freebsd64/libjansi.so \
> > >                 ${STAGEDIR}${DATADIR}/plugins/maven/lib/maven3/lib/ja=
nsi-native/freebsd64/
> > >         ${INSTALL_SCRIPT} ${WRKDIR}/idea ${STAGEDIR}${PREFIX}/bin/ide=
a
> > > -       ${INSTALL_MAN} ${FILESDIR}/idea.1 ${STAGEDIR}${PREFIX}/share/=
man/man1
> > > +       ${INSTALL_MAN} ${FILESDIR}/idea.1 ${STAGEDIR}${PREFIX}/man/ma=
n1
> > >         ${INSTALL_DATA} ${WRKDIR}/idea.desktop ${STAGEDIR}${PREFIX}/s=
hare/applications/
> > >  # Use fsnotifier replacement provided by java/intellij-fsnotifier
> > >         ${ECHO} "idea.filewatcher.executable.path=3D${PREFIX}/intelli=
j/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
> > > diff --git a/java/intellij/pkg-plist b/java/intellij/pkg-plist
> > > index 82e0da6e2fd2..adfa7deab855 100644
> > > --- a/java/intellij/pkg-plist
> > > +++ b/java/intellij/pkg-plist
> > > @@ -1,4 +1,5 @@
> > >  bin/idea
> > > +man/man1/idea.1.gz
> > >  share/applications/idea.desktop
> > >  %%DATADIR%%/Install-Linux-tar.txt
> > >  %%DATADIR%%/LICENSE.txt
> > > @@ -122,7 +123,7 @@ share/applications/idea.desktop
> > >  %%DATADIR%%/lib/commons-imaging-1.0-RC-1.jar
> > >  %%DATADIR%%/lib/commons-io-2.6.jar
> > >  %%DATADIR%%/lib/commons-lang-2.4.jar
> > > -%%DATADIR%%/lib/commons-lang3-%%PYTHON_VER%%.jar
> > > +%%DATADIR%%/lib/commons-lang3-3.9.jar
> > >  %%DATADIR%%/lib/commons-logging-1.2.jar
> > >  %%DATADIR%%/lib/commons-net-3.6.jar
> > >  %%DATADIR%%/lib/configuration-store-impl.jar
> > > @@ -196,7 +197,6 @@ share/applications/idea.desktop
> > >  %%DATADIR%%/lib/jing-20030619.jar
> > >  %%DATADIR%%/lib/jna-platform.jar
> > >  %%DATADIR%%/lib/jna.jar
> > > -%%DATADIR%%/lib/jnaerator-runtime-0.12.jar
> > >  %%DATADIR%%/lib/jnr-a64asm-1.0.0.jar
> > >  %%DATADIR%%/lib/jnr-constants-0.9.12.jar
> > >  %%DATADIR%%/lib/jnr-enxio-0.21.jar
> > > @@ -212,7 +212,6 @@ share/applications/idea.desktop
> > >  %%DATADIR%%/lib/jsoup-1.12.1.jar
> > >  %%DATADIR%%/lib/jsp-base-openapi.jar
> > >  %%DATADIR%%/lib/jsr305.jar
> > > -%%DATADIR%%/lib/jstun-0.7.5.20200723.jar
> > >  %%DATADIR%%/lib/junit-4.12.jar
> > >  %%DATADIR%%/lib/junit.jar
> > >  %%DATADIR%%/lib/kotlin-gradle-plugin-model-1.3.70.jar
> > > @@ -290,7 +289,6 @@ share/applications/idea.desktop
> > >  %%DATADIR%%/lib/pty4j-0.9.6.jar
> > >  %%DATADIR%%/lib/purejavacomm-0.0.11.1.jar
> > >  %%DATADIR%%/lib/qdox-2.0-M10.jar
> > > -%%DATADIR%%/lib/quiche-jna-stubs-15.jar
> > >  %%DATADIR%%/lib/rd-core-0.202.100.jar
> > >  %%DATADIR%%/lib/rd-framework-0.202.100.jar
> > >  %%DATADIR%%/lib/rd-swing-0.202.100.jar
> > > @@ -315,7 +313,6 @@ share/applications/idea.desktop
> > >  %%DATADIR%%/lib/testFramework.jar
> > >  %%DATADIR%%/lib/tests_bootstrap.jar
> > >  %%DATADIR%%/lib/tips-intellij-idea-community-202.13.jar
> > > -%%DATADIR%%/lib/tls-channel-0.3.2.jar
> > >  %%DATADIR%%/lib/trang-core.jar
> > >  %%DATADIR%%/lib/trove4j.jar
> > >  %%DATADIR%%/lib/txw2-2.3.1.jar
> > > @@ -2275,7 +2272,6 @@ share/applications/idea.desktop
> > >  %%DATADIR%%/plugins/yaml/lib/yaml.jar
> > >  %%DATADIR%%/product-info.json
> > >  %%DATADIR%%/redist/annotations-java8.jar
> > > -share/man/man1/idea.1.gz
> > >  @dir %%DATADIR%%/plugins/webp/lib/libwebp/linux
> > >  @dir %%DATADIR%%/plugins/webp/lib/libwebp/mac
> > >  @dir %%DATADIR%%/plugins/webp/lib/libwebp/win
> >
> >
> >
> > --
> > Nuno Teixeira
> > FreeBSD Committer (ports)
>
>
>
> --
> Nuno Teixeira
> FreeBSD Committer (ports)



--=20
Nuno Teixeira
FreeBSD Committer (ports)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UKYeyP2z3W0xaggpJ0hBeFMN0OsEcRv5nzFo=fDxEsfqA>