Mismatch between openvswitch-source, apt-get source and debcheckout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openvswitch (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
1) Ubuntu 22.04.1 LTS
2) openvswitch-source 2.17.2-
3) I expect minimal differences between the openvswitch-source deb package, the `apt-get source` and `debcheckout jammy branch`. They should all match the upstream built packages, no?
4) They all differ significantly:
```
# Retrieve and install openvswitch-source
apt-get install openvswitch-source
tar vfax /usr/src/
mv ./openvswitch/ ./openvswitch-
# Retrieve apt-get source
apt-get source openvswitch
mv openvswitch-2.17.2/ openvswitch-
# Retrieve debcheckout source
debcheckout openvswitch
mv ./openvswitch/ ./openvswitch-
pushd ./openvswitch-
git checkout remotes/
popd
# Compare and expect minimal diffs
diff ./openvswitch-
20468
diff ./openvswitch-
20703
diff ./openvswitch-
277
```
openvswitch-source doesn't even build:
```
cp -r /usr/src/
cd ./openvswitch-
DEB_BUILD_
...
patch -f --no-backup-
patch: **** Can't open patch file /home/docker/
make[1]: *** [debian/rules:12: override_
make[1]: Leaving directory '/home/
make: *** [debian/rules:6: build] Error 2
...
From what I can see, the missing `ltmain-
I may have misunderstood something, but my impressions is that these sources should be equal and match the compiled *openvswitch* debs? Let me know if there is anything I can do to contribute in resolving this issue.
```
The purpose of the `openvswitch- source` package is to provide an artifact of the upstream OVS source repository for reproducible builds of other packages that depend on the OVS library code, such as the OVN package.
The debian source part of the `openvswitch- source` package is not meant to be used for package builds.