Bug#910843: jaxb: Rebuilding from source gives broken dependencies

2018-10-12 Thread Emmanuel Bourg
Le 12/10/2018 à 18:49, Daniel Schepler a écrit :

> Unfortunately, I didn't save logs of the manual builds I did in the
> pbuilder login session.  I could probably repeat the process later
> today and send you the logs then - along with possibly the rebuilt
> packages from dtd-parser and jaxb for comparison with the current
> versions in the Debian archive, if that would be useful.

I get it, that's because you rebuilt dtd-parser with a more recent
version of maven-debian-helper than originally. Before
maven-debian-helper/2.2 a bug rendered the --has-package-version option
ineffective.



Bug#910843: jaxb: Rebuilding from source gives broken dependencies

2018-10-12 Thread Daniel Schepler
On Fri, Oct 12, 2018 at 6:38 AM Emmanuel Bourg  wrote:
>
> I'm unable to reproduce the issue. libjaxb-java doesn't get a versioned
> dependency on libdtd-parser-java. Do you still have the full pbuilder
> log please?

Unfortunately, I didn't save logs of the manual builds I did in the
pbuilder login session.  I could probably repeat the process later
today and send you the logs then - along with possibly the rebuilt
packages from dtd-parser and jaxb for comparison with the current
versions in the Debian archive, if that would be useful.

I think maybe, I vaguely remember that the pom files installed into
/usr/share/maven-repo in the rebuilt libdtd-parser-java package
contain  tags or something along those lines
which aren't there in the archive's version of the package.  I'm not
sure about that, though.
-- 
Daniel



Bug#910843: jaxb: Rebuilding from source gives broken dependencies

2018-10-12 Thread Emmanuel Bourg
I'm unable to reproduce the issue. libjaxb-java doesn't get a versioned
dependency on libdtd-parser-java. Do you still have the full pbuilder
log please?

Emmanuel Bourg



Bug#910843: jaxb: Rebuilding from source gives broken dependencies

2018-10-12 Thread Emmanuel Bourg
Le 12/10/2018 à 04:21, Daniel Schepler a écrit :

> With which I get the error:
> 
> The following packages have unmet dependencies:
> libjaxb-java : Depends: libdtd-parser-java (>= 1.2-SNAPSHOT) but
> 1.2~svn20110404-1 is to be installed
> E: Unable to correct problems, you have held broken packages.
> 
> (I don't really know anything about how the dependency generation
> works, so I don't really have any idea if this is a bug in src:jaxb,
> src:dtd-parser, or maybe even in one of the build tools.)

Thank you for spotting this issue Daniel. libdtd-parser-java declares
that its Maven pom has the same version as the package, which is wrong.
The --has-package-version flag in
src:dtd-parser:debian/libdtd-parser-java.poms should be removed.



Bug#910843: jaxb: Rebuilding from source gives broken dependencies

2018-10-11 Thread Daniel Schepler
Source: jaxb
Version: 2.3.0.1-5
Severity: important

To reproduce the error I'm seeing, run this in a pbuilder login session:

adduser pbuildd
echo 'deb-src http://deb.debian.org/debian sid main' >
/etc/apt/source.list.d/debian-src.list
apt update
apt install eatmydata fakeroot
cd /build
mkdir dtd-parser
cd dtd-parser
eatmydata apt build-dep dtd-parser
chown -R pbuildd:pbuildd .
su pbuildd -c "apt source -b dtd-parser"
eatmydata apt install ./*.deb
cd ..
mkdir jaxb
cd jaxb
eatmydata apt build-dep jaxb
chown -R pbuildd:pbuildd .
su pbuildd -c "apt source -b jaxb"
eatmydata apt install ./*.deb

With which I get the error:

The following packages have unmet dependencies:
libjaxb-java : Depends: libdtd-parser-java (>= 1.2-SNAPSHOT) but
1.2~svn20110404-1 is to be installed
E: Unable to correct problems, you have held broken packages.

(I don't really know anything about how the dependency generation
works, so I don't really have any idea if this is a bug in src:jaxb,
src:dtd-parser, or maybe even in one of the build tools.)
-- 
Daniel Schepler