[SOLVED] Trying to build deb -> upstream tar error

New to Debian (Or Linux in general)? Ask your questions here!

Re: Trying to build deb -> upstream tar error

Postby Soul Singin' » 2020-01-04 21:39

Chrisdb wrote:Speaking about tests, during the build process, several tests failed, should I be worried?

I do not know enough about PHP to answer that question. What I can advise you to do -- if you still have the build log -- is to post the relevant section here, so that someone knowledgeable can examine it for you.

In the meantime, if you remember which tests failed, conduct your own tests with those features.
User avatar
Soul Singin'
 
Posts: 1607
Joined: 2008-12-21 07:02

Re: Trying to build deb -> upstream tar error

Postby Chrisdb » 2020-01-06 21:35

Soul Singin' wrote:
Chrisdb wrote:Speaking about tests, during the build process, several tests failed, should I be worried?

I do not know enough about PHP to answer that question. What I can advise you to do -- if you still have the build log -- is to post the relevant section here, so that someone knowledgeable can examine it for you.

In the meantime, if you remember which tests failed, conduct your own tests with those features.


Is there a way to rerun the tests, without rebuilding the package?

Another question, tests run from debuild, are they executed in a fakeroot environment? I'm asking because 1 of the tests complained about a missing package (php-cgi), but I installed it, then performed a rebuild of the package and it still gave me the error...
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

Re: Trying to build deb -> upstream tar error

Postby stevepusser » 2020-01-06 21:54

I wouldn't worry too much about the tests, myself. Debian packagers have to disable some or all of them for certain packages, since they fail in the standard chroot or schroot build environments that they use.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kodi 18.6, Blender 2.8.2, 5.5 kernels, Chromium with va-api, Telegram-desktop 1.9.21, Clipgrab 3.8.11
User avatar
stevepusser
 
Posts: 11550
Joined: 2009-10-06 05:53

Re: Trying to build deb -> upstream tar error

Postby Head_on_a_Stick » 2020-01-07 16:31

Make a sid chroot and see if the tests also fail when building the official Debian package.
User avatar
Head_on_a_Stick
 
Posts: 11503
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Trying to build deb -> upstream tar error

Postby Chrisdb » 2020-01-07 16:41

Head_on_a_Stick wrote:Make a sid chroot and see if the tests also fail when building the official Debian package.


You mean the stable package (php7.3 in this case?)
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

Re: Trying to build deb -> upstream tar error

Postby Head_on_a_Stick » 2020-01-07 16:44

No, try to build the official sid package in a sid system (chroot), if you still see the failures then all is good.
User avatar
Head_on_a_Stick
 
Posts: 11503
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Trying to build deb -> upstream tar error

Postby Soul Singin' » 2020-01-07 18:27

Head_on_a_Stick wrote:No, try to build the official sid package in a sid system (chroot), if you still see the failures then all is good.

That's a good suggestion. But it might be easier to just look at Debian's own build logs for PHP 7.3 and PHP 7.4. It will provide the information that HoaS suggests in a fraction of the time.
User avatar
Soul Singin'
 
Posts: 1607
Joined: 2008-12-21 07:02

Re: Trying to build deb -> upstream tar error

Postby Chrisdb » 2020-01-08 07:29

Soul Singin' wrote:It will provide the information that HoaS suggests in a fraction of the time.

Indeed thank you!!

Head_on_a_Stick wrote:No, try to build the official sid package in a sid system (chroot), if you still see the failures then all is good.

The errors indeed match. What do you mean exactly with 'if you still see the failures then all is good' :D :D

Now I'm building from source, I'm a bit confused with the concept of 'sid', 'testing' and 'experimental'. What's the difference between debianized source on stable vs debianized source on sid/testing/experimental? Or is this only relevant from a binary perspective?
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

Re: Trying to build deb -> upstream tar error

Postby Head_on_a_Stick » 2020-01-09 05:29

If you see the errors for the sid build then it must be okay because the Debian developers saw fit to release it in that state. Check the Makefile, the upstream instructions and debian/rules to find out how to run the tests independently if you're that worried.

Chrisdb wrote:What's the difference between debianized source on stable vs debianized source on sid/testing/experimental?

Usually none at all.
User avatar
Head_on_a_Stick
 
Posts: 11503
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Trying to build deb -> upstream tar error

Postby Chrisdb » 2020-01-09 09:54

Head_on_a_Stick wrote:Check the Makefile, the upstream instructions and debian/rules to find out how to run the tests independently if you're that worried.

Nope not worried, the sentence 'if you still see the failures then all is good.' confused me ;), but now it's clear thx!
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

Previous

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable