Bug#761548: javamail: FTBFS: Manifest com.sun.mail:javax.mail:jar:1.5.2 : null, for cmd: range, arguments; [range, [==,+)]

David Suárez david.sephirot at gmail.com
Sun Sep 14 15:25:38 UTC 2014


Source: javamail
Version: 1.5.2-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140913 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh /«PKGBUILDDIR»/debian
> mh_patchpoms -plibmail-java --debian-build --keep-pom-version --maven-repo=/«PKGBUILDDIR»/debian/maven-repo 
> touch debian/stamp-poms-patched
> # before-build target may be used to unpatch the pom files, so we need to check if
> # patching the pom files is needed here, normally not
> if [ ! -f pom.xml.save ]; then \
> 	/usr/bin/make -f debian/rules patch-poms; \
> fi
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/«PKGBUILDDIR»/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo  install
> [INFO] 
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
> 
> [INFO] Scanning for projects...
> [INFO] Reactor build order: 
> [INFO]   JavaMail API distribution
> [INFO]   JavaMail API
> [INFO]   JavaMail API (no providers)
> [INFO]   JavaMail API jar
> [INFO]   JavaMail API smtp provider
> [INFO]   JavaMail API imap provider
> [INFO]   JavaMail API Gmail IMAP provider
> [INFO]   JavaMail API pop3 provider
> [INFO]   JavaMail API dsn support
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JavaMail API distribution
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [build-helper:add-source {execution: add-source}]
> [INFO] Source directory: /«PKGBUILDDIR»/target/sources added.
> [INFO] Source directory: /«PKGBUILDDIR»/target/classes added.
> [INFO] [bundle:manifest {execution: osgi-manifest}]
> [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [source:jar-no-fork {execution: attach-sources}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/pom.xml to /«PKGBUILDDIR»/debian/maven-repo/com/sun/mail/all/1.5.2/all-1.5.2.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JavaMail API
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [build-helper:add-source {execution: add-source}]
> [INFO] Source directory: /«PKGBUILDDIR»/mail/target/sources added.
> [INFO] Source directory: /«PKGBUILDDIR»/mail/target/classes added.
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 8 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 227 source files to /«PKGBUILDDIR»/mail/target/classes
> [INFO] [bundle:manifest {execution: osgi-manifest}]
> [WARNING] Manifest com.sun.mail:javax.mail:jar:1.5.2 : No translation found for macro: range;[==,+)
> [ERROR] Manifest com.sun.mail:javax.mail:jar:1.5.2 : null, for cmd: range, arguments; [range, [==,+)]
> [ERROR] Manifest com.sun.mail:javax.mail:jar:1.5.2 : No version specified for ${version} or ${range} and no implicit version ${@} either, mask===
> [ERROR] Manifest com.sun.mail:javax.mail:jar:1.5.2 : No version specified for ${version} or ${range} and no implicit version ${@} either, mask=+
> [ERROR] Error(s) found in manifest configuration
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error(s) found in manifest configuration
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 12 seconds
> [INFO] Finished at: Sat Sep 13 22:25:56 UTC 2014
> [INFO] Final Memory: 23M/473M
> [INFO] ------------------------------------------------------------------------
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/09/13/javamail_1.5.2-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list