Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
User avatar
Soul Singin'
Posts: 1605
Joined: 2008-12-21 07:02

Re: Trying to build deb -> upstream tar error

#16 Post by Soul Singin' »

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.

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Trying to build deb -> upstream tar error

#17 Post by Chrisdb »

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...

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Trying to build deb -> upstream tar error

#18 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Trying to build deb -> upstream tar error

#19 Post by Head_on_a_Stick »

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

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Trying to build deb -> upstream tar error

#20 Post by Chrisdb »

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?)

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Trying to build deb -> upstream tar error

#21 Post by Head_on_a_Stick »

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

User avatar
Soul Singin'
Posts: 1605
Joined: 2008-12-21 07:02

Re: Trying to build deb -> upstream tar error

#22 Post by Soul Singin' »

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.

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Trying to build deb -> upstream tar error

#23 Post by Chrisdb »

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?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Trying to build deb -> upstream tar error

#24 Post by Head_on_a_Stick »

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.
deadbang

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Trying to build deb -> upstream tar error

#25 Post by Chrisdb »

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!

Post Reply