[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1120310: Re gxml



Seyed,

On Saturday, November 15, 2025 1:11:48 AM Mountain Standard Time Seyed Mohamad 
Amin Modaresi wrote:
> Hi Soren
> Could you please sponsor my packages libgxml and inspector?
> 
> I think those are very near to uploading edge.
> Of course I'm not sure about libgxml d/copyright

I receive the following error when attempting to build libgxml:

$ gbp buildpackage
gbp:info: Performing the build
I: consider moving your ~/.sbuildrc to /home/soren/.config/sbuild/config.pl
dpkg-buildpackage: info: source package libgxml-0.20
dpkg-buildpackage: info: source version 0.20.4-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Seyed Mohamad Amin Modaresi 
<modaresisofthard@proton.me>
 debian/rules clean
dh clean --buildsystem=meson
   dh_auto_clean -O--buildsystem=meson
   dh_autoreconf_clean -O--buildsystem=meson
   dh_clean -O--buildsystem=meson
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building libgxml-0.20 using existing ./
libgxml-0.20_0.20.4.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: local changes detected, the modified files are:
 gxml/gxml/gxml.pc.in
 gxml/meson.build
dpkg-source: hint: make sure the version in debian/changelog matches the 
unpacked source tree
dpkg-source: hint: you can integrate the local changes with dpkg-source --
commit
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/
libgxml-0.20_0.20.4-1.diff.y3RvLL

This is because there are differences between the upstream tar file and the 
files in your master branch.  To build correctly, these need to be the same 
(except for the contents of the debian directory).

The two files that have differences are:

gxml/gxml.pc.in
meson.build

These look like minor differences probably introduced accidentally during some 
commit to master.

You can replicate this problems by running the following commands in an empty 
directory (with a parent directory that is also basically empty, as the 
orig.tar.gz will be created in the parent directory):

$ gbp clone https://salsa.debian.org/amin_modaresi/gxml.git
$ gbp buildpackage

This will produce the error message above.  There will be a file created in /
tmp/ with a randomized file extension (libgxml-0.20_0.20.4-1.diff.y3RvLL 
above) showing the specific changes in the files.

-- 
Soren Stoutner
soren@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: