DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: phidias 0.3.7+ds-1

Package Information

Descriptionjavax.tools file manager for compiling inside OSGi bundles

Phidias lets the javax.tools compiler run inside an OSGi framework. Its BundleJavaManager is a JavaFileManager that lists classes from the wiring of a bundle and of the bundles it is wired to, so code compiled at run time sees the same packages as the bundle. A ClassLoaderJavaManager does the same for a plain class loader, StringJavaFileObject holds source code in memory, and a ResourceResolver interface lets the caller change how resources are found.

Ghidra uses it to compile user scripts in its OSGi bundle host.

MaintainerDebian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Sponsortsimonq2@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/java-team/phidias.git (browse)
Closes#1155082
Trackerhttps://tracker.debian.org/pkg/phidias
Uploaded1 hour ago

New Package Report

.changes◂
Distributionunstable
DateMon, 23 Nov 2026 02:00:00 +0000
Sourcephidias
Version0.3.7+ds-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource all
Changelog◂
phidias (0.3.7+ds-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1155082)
.dsc◂
Sectionjava
Priorityoptional
Componentmain
Package-Listlibphidias-java deb java optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: phidias
Upstream-Contact: Raymond Augé <rotty3000@gmail.com>
Source: https://github.com/rotty3000/phidias
Files-Excluded:
 gradle
 gradlew
 gradlew.bat
Comment: The Gradle wrapper is a prebuilt jar and is not used by the build.

Files: *
Copyright: 2012 Liferay Inc.
 2012-2015 Raymond Augé <rotty3000@gmail.com>
License: Apache-2.0

Files: debian/*
Copyright: 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: Apache-2.0

Files: debian/pom.xml
Copyright: 2012 Liferay Inc.
 2012-2015 Raymond Augé <rotty3000@gmail.com>
License: Apache-2.0
Comment: The POM upstream published on Maven Central with the 0.3.7 release,
 generated by its Gradle build.

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache License, Version 2.0
 can be found in "/usr/share/common-licenses/Apache-2.0".

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 0 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 0 hours ago.

Report◂

DFSG NEW review for phidias version 0.3.7+ds-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 0 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

debian/copyright is machine-readable DEP-5 with the current Format URL and covers the whole tree: Files: * (Apache-2.0, Liferay Inc. 2012 and Raymond Augé 2012-2015), debian/* (2026 Juan Manuel Méndez Rey) and debian/pom.xml (the upstream POM copied from Maven Central). Every one of the nine Java sources carries 'Copyright 2012 Liferay Inc.' and the Apache-2.0 short notice; src/main/resources/LICENSE.txt is the full Apache-2.0 text; no other licence or holder appears anywhere. Apache-2.0 is DFSG-free and the licence text is properly referenced at /usr/share/common-licenses/Apache-2.0.

Packaging

Control, rules, changelog and the Java helper files are consistent and follow current practice: debhelper-compat (= 14), Standards-Version 4.7.4 (Policy here is 4.7.4.1), one Architecture: all Multi-Arch: foreign package libphidias-java with the javahelper and maven-repo-helper dh sequences that build the OSGi bundle and install the jar and POM. All build dependencies exist in the archive; the package needs no patches, maintainer scripts or autopkgtests, and the repacked orig tarball matches the declared Files-Excluded entries.

Issues

None.

Verified ◂
  • Read all 15 upstream files: .gitignore, README.md, bnd.bnd, build.gradle, the nine .java sources, src/main/resources/LICENSE.txt and src/main/resources/org/phidias/compile/packageinfo; the only copyright/licence text is the 'Copyright 2012 Liferay Inc.' plus Apache-2.0 short notice in each Java file and the full Apache-2.0 text in LICENSE.txt.
  • The pre-review author scan listed no file to account for: it found every holder it saw already named. The tree's only copyright notices are Liferay Inc. (2012) and Raymond Augé, and the Debian packaging holder (2026 Juan Manuel Méndez Rey); debian/copyright names all three.
  • debian/copyright uses the current DEP-5 Format URL; the later Files stanzas override the earlier ones correctly (Files: * then debian/* then debian/pom.xml), and the Apache-2.0 short text points to /usr/share/common-licenses/Apache-2.0.
  • Files-Excluded names gradle, gradlew and gradlew.bat, none of which is present in the tree or the +ds orig tarball; the repack is consistent with the comment about the prebuilt Gradle wrapper.
  • Build-Depends names resolve in the reviewing system's archive: bnd 7.5.0, libosgi-core-java 8.0.0, javahelper 0.82 provides dh-sequence-javahelper, maven-repo-helper 1.14 provides dh-sequence-maven-repo-helper, and default-jdk-headless and debhelper-compat are available.
  • debhelper compat 14 is the recommended level (debhelper 14.5); debian/rules uses jh_build with --no-javadoc and bnd wrap, and debian/clean removes both generated jars. There are no patches, maintainer scripts or autopkgtests; the changelog is a valid initial unstable release closing #1155082.
  • debian/control is well formed: Architecture: all with Multi-Arch: foreign, ${java:Depends} and ${misc:Depends}, correct Homepage and Vcs-* fields; the trailing comma after libosgi-core-java is accepted because Dpkg::Deps splits the list and drops the trailing empty element.
  • uscan found the packaged version as the newest upstream release (upstream 0.3.7, packaged 0.3.7+ds).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • No build or install could be run: the layout of the jar produced by bnd wrap (whether the classes stay at the top level or phidias-plain.jar is embedded as a nested jar) and how mh_installpoms handles --has-package-version with the +ds version in debian/libphidias-java.poms could not be exercised, since bnd, javahelper and maven-repo-helper are not installed on the reviewing system.
Proposed changes ◂

None.

Review Information

accepted — allocated to awm 0 hours ago, started 0 hours ago, completed 0 hours ago.

Final Comment

Back to Dashboard | View all reviews for this package