freecad-daily builds: Ubuntu: Broken since 201907080347

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
User avatar
bgoodr
Posts: 132
Joined: Sat Jun 14, 2014 9:40 pm

freecad-daily builds: Ubuntu: Broken since 201907080347

Postby bgoodr » Tue Jul 23, 2019 3:08 pm

(Crossposting to the packaging forum from my initial post when I thought it was user error. See freecad-daily fails to update more recently than build 20190708 )

The freecad-daily builds have been broken starting with freecad-daily - 0.19~pre1~201907080347~ubuntu19.04.1 through freecad-daily - 0.19~pre1~201907122339~ubuntu19.04.1, inclusive. See Packages in “FreeCAD Daily Builds” for the list of builds.

I'm posting this on 20190723 so it seems as if there are no subsequent builds after 20190712?

Looking at the errors, I found the following:

amd64 build of freecad-daily 0.19~pre1~201907080347~ubuntu19.04.1 in ubuntu disco RELEASE has this error in the build log:

Code: Select all

make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p debian/build-{py2,py3}
cp -r .git debian/build-py2
cp: cannot stat '.git': No such file or directory
make[1]: *** [debian/rules:31: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

More recently, amd64 build of freecad-daily 0.19~pre1~201907122339~ubuntu19.04.1 in ubuntu disco RELEASE has this error in the build log:

Code: Select all

make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p debian/build-{py2,py3}
cp -r ../../.git debian/build-py2
cp: cannot stat '../../.git': No such file or directory
make[1]: *** [debian/rules:31: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Notice the change in the paths of the "No such file or directory" error. Seems the error message has changed so perhaps someone is trying things to repair it?

Thanks,
-bg
User avatar
kkremitzki
Posts: 1789
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: freecad-daily builds: Ubuntu: Broken since 201907080347

Postby kkremitzki » Tue Jul 23, 2019 5:49 pm

Sorry, I broke it and then annoyed Normand enough with broken build emails that he turned it off. I've reverted my commits that caused the breakage and re-enabled the builds.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
bgoodr
Posts: 132
Joined: Sat Jun 14, 2014 9:40 pm

Re: freecad-daily builds: Ubuntu: Broken since 201907080347

Postby bgoodr » Wed Jul 24, 2019 1:27 pm

kkremitzki wrote:
Tue Jul 23, 2019 5:49 pm
Sorry, I broke it and then annoyed Normand enough with broken build emails that he turned it off. I've reverted my commits that caused the breakage and re-enabled the builds.
Thanks for attending to this. I redid my updates to pull in the new freecad-daily and saw:

Image

And in text form:

Code: Select all

$ dpkg --list '*freecad*' | grep -v '^un\b'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version                                   Architecture Description
+++-=============================-=========================================-============-===========================================================
ii  freecad                       2:0.18.3+dfsg1~201907190308~ubuntu19.04.1 all          Extensible Open Source CAx program
ii  freecad-common                2:0.18.3+dfsg1~201907190308~ubuntu19.04.1 all          Extensible Open Source CAx program - common files
ii  freecad-daily                 0.19~pre1~201907231810~ubuntu19.04.1      all          Extensible Open Source CAx program
ii  freecad-daily-common          0.19~pre1~201907231810~ubuntu19.04.1      all          Extensible Open Source CAx program - common files
ii  freecad-daily-python3         0.19~pre1~201907231810~ubuntu19.04.1      amd64        Extensible Open Source CAx program - Python 3 binaries
ii  freecad-daily-runtime         0.19~pre1~201907231810~ubuntu19.04.1      all          Extensible Open Source CAx program - runtime files
ii  freecad-python3               2:0.18.3+dfsg1~201907190308~ubuntu19.04.1 amd64        Extensible Open Source CAx program - Python 3 binaries
ii  freecad-runtime               2:0.18.3+dfsg1~201907190308~ubuntu19.04.1 all          Extensible Open Source CAx program - runtime files
ii  libfreecad-daily-python3-0.19 0.19~pre1~201907231810~ubuntu19.04.1      amd64        Extensible Open Source CAx program - Python 3 library files
ii  libfreecad-python3-0.18       2:0.18.3+dfsg1~201907190308~ubuntu19.04.1 amd64        Extensible Open Source CAx program - Python 3 library files
Looks like the ones highlighted in pink did get updated, but the ones highlighted in yellow seemed to get updated as well, but for an older date than the ones in pink. Not sure if that is expected ... I would have thought all packages would have been refreshed such that their build dates in the version column would be the same date/time stamp? Oops the ones highlighted in yellow were for the freecad stable build not the daily build, so this is working as expected.
openBrain
Posts: 2342
Joined: Fri Nov 09, 2018 5:38 pm

Re: freecad-daily builds: Ubuntu: Broken since 201907080347

Postby openBrain » Mon Sep 09, 2019 4:08 pm

Bump this subject because there hasn't been any new build on FC daily PPA since 201908202352.
Is something broken ?
vocx
Posts: 1848
Joined: Thu Oct 18, 2018 9:18 pm

Re: freecad-daily builds: Ubuntu: Broken since 201907080347

Postby vocx » Mon Sep 09, 2019 4:26 pm

openBrain wrote:
Mon Sep 09, 2019 4:08 pm
Bump this subject because there hasn't been any new build on FC daily PPA since 201908202352.
Is something broken ?
Yesterday Kkremitzki triggered a build, so today there is one.

He was on holidays, so he turned them off.
openBrain
Posts: 2342
Joined: Fri Nov 09, 2018 5:38 pm

Re: freecad-daily builds: Ubuntu: Broken since 201907080347

Postby openBrain » Mon Sep 09, 2019 4:28 pm

vocx wrote:
Mon Sep 09, 2019 4:26 pm
Yesterday Kkremitzki triggered a build, so today there is one.

He was on holidays, so he turned them off.
Wise decision. :) Thx for info.
User avatar
kkremitzki
Posts: 1789
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: freecad-daily builds: Ubuntu: Broken since 201907080347

Postby kkremitzki » Mon Sep 09, 2019 6:10 pm

Yep, and it looks like the build went through successfully this time, so I've switched them back to being built automatically each day if there is new code.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
openBrain
Posts: 2342
Joined: Fri Nov 09, 2018 5:38 pm

Re: freecad-daily builds: Ubuntu: Broken since 201907080347

Postby openBrain » Thu Oct 24, 2019 8:23 pm

Guys, no update since 2019/10/08. Is something broken again ?
User avatar
sgrogan
Posts: 5453
Joined: Wed Oct 22, 2014 5:02 pm

Re: freecad-daily builds: Ubuntu: Broken since 201907080347

Postby sgrogan » Thu Oct 24, 2019 9:02 pm

openBrain wrote:
Thu Oct 24, 2019 8:23 pm
Guys, no update since 2019/10/08. Is something broken again ?
Yup, refactoring in femexamles.
https://launchpadlibrarian.net/44608873 ... ING.txt.gz
https://salsa.debian.org/science-team/f ... stall#L278
vocx
Posts: 1848
Joined: Thu Oct 18, 2018 9:18 pm

Re: freecad-daily builds: Ubuntu: Broken since 201907080347

Postby vocx » Thu Oct 24, 2019 9:13 pm

openBrain wrote:
Thu Oct 24, 2019 8:23 pm
Guys, no update since 2019/10/08. Is something broken again ?
I think since the package was broken for a long time, Kremitzki just fixed it so that it would build correctly once. But once this worked, he didn't update it further. As I remember he disabled producing the package daily, and set it to build manually.

My impression is that there are many things to check so it builds correctly, and Kremitzki hasn't had the time to look into it.