Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468066 - dev-java/slf4j-nop-1.6.6 builds an empty jar
Summary: dev-java/slf4j-nop-1.6.6 builds an empty jar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-04-30 21:28 UTC by Mike Lundy
Modified: 2015-08-14 00:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
easy fix (fix-slf4j-nop.diff,639 bytes, patch)
2013-04-30 21:29 UTC, Mike Lundy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lundy 2013-04-30 21:28:41 UTC
For some reason, files/1.6.6-build.xml (which the 1.6.6 ebuild uses) excludes the impl, and so the jar ends up empty except for a manifest.

Reproducible: Always

Steps to Reproduce:
mike@rous:~> sudo emerge slf4j-nop                                                                         
Password: 
Calculating dependencies              ... done!                 
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-java/slf4j-nop-1.6.6
>>> Installing (1 of 1) dev-java/slf4j-nop-1.6.6
>>> Jobs: 1 of 1 complete                           Load avg: 1.08, 0.44, 0.32
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

mike@rous:~> unzip -l /usr/share/slf4j-nop/lib/slf4j-nop.jar
Archive:  /usr/share/slf4j-nop/lib/slf4j-nop.jar
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  04-30-2013 14:20   META-INF/
      103  04-30-2013 14:20   META-INF/MANIFEST.MF
        0  04-30-2013 14:20   org/
        0  04-30-2013 14:20   org/slf4j/
---------                     -------
      103                     4 files
Comment 1 Mike Lundy 2013-04-30 21:29:16 UTC
Created attachment 347010 [details, diff]
easy fix
Comment 2 Patrice Clement gentoo-dev 2015-08-14 00:47:44 UTC
Ebuild treecleaned.