=== NikitaKonovalov2 is now known as NikitaKonovalov | ||
_pd_ | hey guys, im having a problem with uploading a modified version of nginx. when i try to upload i get an email — Unable to find nginx_1.6.0.orig.tar.gz in upload or distribution. | 04:24 |
---|---|---|
_pd_ | but i see the file https://launchpad.net/~nginx/+archive/ubuntu/stable/+packages | 04:24 |
teward | _pd_, do you even have access to the archive? | 04:25 |
_pd_ | oh no | 04:25 |
_pd_ | im not uploading to that ppa though | 04:25 |
teward | _pd_, you need to include the .orig.tar.gz when you do your dput | 04:26 |
_pd_ | oh i thought there was a way to like reference the file that already exists on launchpad | 04:26 |
teward | there's an argument for it, i think it's -sa | 04:27 |
teward | _pd_, no, for each PPA you need each .orig.tar.gz | 04:27 |
teward | its own .orig.tar.gz | 04:27 |
_pd_ | i was going off this doc https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage#Options_when_building | 04:27 |
teward | _pd_, you'll notice this in my staging PPA for the nginx stable archive as well https://launchpad.net/~teward/+archive/ubuntu/nginx-stable-testing | 04:28 |
_pd_ | hmm ok | 04:28 |
teward | _pd_, it's the -sa option, I believe, that you use when you run debuild. I don't know if you run it with debuild or elsewhere, I have it in my ~/.devscripts file which specifically forces -sa to be passed | 04:28 |
_pd_ | alright cool let me try that | 04:33 |
_pd_ | blammy there we go | 04:35 |
_pd_ | thx | 04:35 |
cjwatson | FWIW putting -sa in ~/.devscripts is generally a pretty bad idea | 04:37 |
cjwatson | Just use it when you need a new upstream version; otherwise you're wasting bandwidth | 04:38 |
teward | cjwatson, true statement | 04:38 |
teward | cjwatson, except PPAs require it uploaded | 04:38 |
teward | at least the last i checked they did | 04:38 |
teward | did the requirements for uploads change? | 04:38 |
_pd_ | maybe i should ask you this question too since you maintain the nginx package. if i want to have to build in an extra module for nginx, and have it work across different ubuntu releases, should i just fork each package here https://launchpad.net/~nginx/+archive/ubuntu/stable and add it to each rules file? | 04:39 |
cjwatson | not if it's already in the PPA, or if it's available in the primary archive | 04:39 |
teward | cjwatson, and in the case of nginx, i only EVER upload new upstream revisions, and it's only done from within the VM i have for nginx ppa building ;P | 04:39 |
cjwatson | Nthis isn't a change - I think you must just have inferred the rules incorrectly | 04:39 |
teward | cjwatson, previously when i was starting out and uploading packages to PPAs it always errored | 04:39 |
teward | saying missing .orig.tar.gz | 04:39 |
cjwatson | the reason it didn't work for _pd_ is that Ubuntu never had 1.6.0 | 04:39 |
cjwatson | sure, if it's a new upstream, not in general | 04:39 |
_pd_ | now im confused | 04:39 |
teward | _pd_, i wasn't answering your questions, i was talking to cjwatson on something | 04:40 |
teward | _pd_, pass the -sa argument when you build the package for the first upload that'll include the tarball | 04:40 |
_pd_ | oh yeah, i meant in reply to "<cjwatson> the reason it didn't work for _pd_ is that Ubuntu never had 1.6.0" | 04:40 |
teward | as for the individual releases, you have to build each source package separately (I think?) for each release | 04:40 |
_pd_ | ok | 04:41 |
teward | _pd_, nginx 1.6.0 isn't in the repositories | 04:41 |
cjwatson | teward: an excellent example of when -sa is unnecessary :) you only need it for the first upload of the orig | 04:41 |
teward | that's what he was talking about | 04:41 |
_pd_ | ahhh | 04:41 |
cjwatson | so if you're building for multiple releases, you only need it for one of the uploads | 04:41 |
_pd_ | so it looks for it in the ppa, not across all launchpad | 04:41 |
cjwatson | in the PPA and in the Ubuntu primary archive | 04:41 |
teward | _pd_, correct. as i said each PPA needs its own orig tarball | 04:42 |
teward | if it's not in the primary archive | 04:42 |
_pd_ | https://launchpad.net/~nginx/+archive/ubuntu/stable this is not the ubuntu primary archive? | 04:42 |
cjwatson | but Ubuntu jumped from 1.4.6 to 1.6.1 | 04:42 |
teward | _pd_, no... | 04:42 |
cjwatson | err, no! | 04:42 |
teward | _pd_, that's still a PPA | 04:42 |
teward | _pd_, the archive is what is in /etc/apt/sources.list by default (for example) | 04:42 |
cjwatson | https://launchpad.net/ubuntu/+source/nginx/+publishinghistory is the history of nginx in Ubuntu | 04:42 |
teward | an official archive mirror | 04:42 |
teward | cjwatson, debian freeze | 04:42 |
teward | that's what caused that jump | 04:42 |
teward | debian wouldn't push the version updates | 04:43 |
cjwatson | sure, I don't care about the reason | 04:43 |
cjwatson | such things are common | 04:43 |
* teward was grumbling at Trusty release time about that too :P | 04:43 | |
_pd_ | so would using ubuntu's packages be considered less risky? | 04:45 |
_pd_ | oh wait that nginx launchpad isnt even official | 04:47 |
_pd_ | i'll answer my own question | 04:47 |
teward | _pd_, it's the nginx team's ppa | 04:47 |
_pd_ | oh ok | 04:47 |
teward | _pd_, i maintain it for the nginx team, it's actually the "Official NGINX PPA" but it's really just the Debian package backported | 04:48 |
_pd_ | cool well you guys saved me hours of frustration thx. adios. | 04:53 |
=== DarkPlayer_ is now known as DarkPlayer | ||
=== karni is now known as Guest27128 | ||
=== fabo_ is now known as fabo | ||
=== semiosis_ is now known as semiosis | ||
=== jgeboski- is now known as jgeboski | ||
=== karni is now known as Guest35996 | ||
=== Nigel_ is now known as G | ||
=== zoktar_ is now known as zoktar | ||
=== dch_ is now known as Guest32617 | ||
=== vidplace7_ is now known as vidplace7 | ||
=== ctracey_ is now known as ctracey | ||
=== zoktar_ is now known as zoktar | ||
=== Pici` is now known as Pici | ||
=== stgraber_ is now known as stgraber | ||
Ghost1227 | How come I built a package for all architectures but it only built for i386? Also, I'm getting an annoying error when I run apt-get update after adding my ppa: | 20:57 |
Ghost1227 | W: Failed to fetch http://ppa.launchpad.net/dgriffiths/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found | 20:57 |
Ghost1227 | W: Failed to fetch http://ppa.launchpad.net/dgriffiths/ppa/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found | 20:57 |
cjwatson | Ghost1227: Architecture-independent packages only build on one architecture (currently i386), but are published for all architectures. | 21:12 |
cjwatson | Ghost1227: The PPA is dgriffiths/xampp-controller, not dgriffiths/ppa. | 21:13 |
cjwatson | So you need to fix your add-apt-repository call accordingly, and remove the incorrect file from under /etc/apt/sources.list.d/. | 21:14 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!