Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762754 - sys-devel/ucpp-1.3.4: source not found
Summary: sys-devel/ucpp-1.3.4: source not found
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-12-31 09:01 UTC by Hans F. Nordhaug
Modified: 2020-12-31 09:30 UTC (History)
2 users (show)

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


Attachments
Patch fixing source URI for ucpp 1.3.4 (and 1.3.5) (ucpp-src-uri.patch,4.70 KB, patch)
2020-12-31 09:02 UTC, Hans F. Nordhaug
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hans F. Nordhaug 2020-12-31 09:01:47 UTC
I discovered that the source for ucpp 1.3.4 was missing when I by mistake tried to install app-office/libreoffice instead of app-office/libreoffice-bin. Since I fixed the issue, I'm submitting this report but I have no interest in the ucpp package.

The attached patch is changing the source URI to fetch from Gitlab. Since the autogenerated tarball doesn't contain the configure script I also had to slightly modify src_configure. I made the same change to 1.3.5 to be consistent.

Reproducible: Always
Comment 1 Hans F. Nordhaug 2020-12-31 09:02:24 UTC
Created attachment 680389 [details, diff]
Patch fixing source URI for ucpp 1.3.4 (and 1.3.5)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-31 09:06:55 UTC
Few notes:
1) Use thin-manifests in your local overlay to get correct diffs (git takes care of the EBUILD and MISC files for us)

2) We use eautoreconf, not ./autoconf.sh and friends - this ensures we call all the necessary tools to regenerate (and respect prefix and all the other cross-platform tweaks needed)

3) It's interesting you even hit this. Have you got broken mirrors defined / none at all?
Comment 3 Hans F. Nordhaug 2020-12-31 09:30:16 UTC
I wasn't planning to spend any more time on this, but since the reply was so quick :-)

1) I was just using a temporary Git repo to generate the patch. What is the recommended way when to generate a patch when you normally use rsync to sync the Gentoo repo?
2) Ok, I'll remember eautoreconf for the next time.
3) Yes, I had broken mirrors. (Generated along time ago probably.) Thx!

Feel free to close this issue if it's not relevant.