/srv/irclogs.ubuntu.com/2014/08/30/#launchpad.txt

=== 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/+packages04:24
teward_pd_, do you even have access to the archive?04:25
_pd_oh no04:25
_pd_im not uploading to that ppa though04:25
teward_pd_, you need to include the .orig.tar.gz when you do your dput04:26
_pd_oh i thought there was a way to like reference the file that already exists on launchpad04:26
tewardthere's an argument for it, i think it's -sa04:27
teward_pd_, no, for each PPA you need each .orig.tar.gz04:27
tewardits own .orig.tar.gz04:27
_pd_i was going off this doc https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage#Options_when_building04: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-testing04:28
_pd_hmm ok04: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 passed04:28
_pd_alright cool let me try that04:33
_pd_blammy there we go04:35
_pd_thx04:35
cjwatsonFWIW putting -sa in ~/.devscripts is generally a pretty bad idea04:37
cjwatsonJust use it when you need a new upstream version; otherwise you're wasting bandwidth04:38
tewardcjwatson, true statement04:38
tewardcjwatson, except PPAs require it uploaded04:38
tewardat least the last i checked they did04:38
tewarddid 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
cjwatsonnot if it's already in the PPA, or if it's available in the primary archive04:39
tewardcjwatson, 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 ;P04:39
cjwatsonNthis isn't a change - I think you must just have inferred the rules incorrectly04:39
tewardcjwatson, previously when i was starting out and uploading packages to PPAs it always errored04:39
tewardsaying missing .orig.tar.gz04:39
cjwatsonthe reason it didn't work for _pd_ is that Ubuntu never had 1.6.004:39
cjwatsonsure, if it's a new upstream, not in general04:39
_pd_now im confused04:39
teward_pd_, i wasn't answering your questions, i was talking to cjwatson on something04:40
teward_pd_, pass the -sa argument when you build the package for the first upload that'll include the tarball04: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
tewardas for the individual releases, you have to build each source package separately (I think?) for each release04:40
_pd_ok04:41
teward_pd_, nginx 1.6.0 isn't in the repositories04:41
cjwatsonteward: an excellent example of when -sa is unnecessary :)  you only need it for the first upload of the orig04:41
tewardthat's what he was talking about04:41
_pd_ahhh04:41
cjwatsonso if you're building for multiple releases, you only need it for one of the uploads04:41
_pd_so it looks for it in the ppa, not across all launchpad04:41
cjwatsonin the PPA and in the Ubuntu primary archive04:41
teward_pd_, correct. as i said each PPA needs its own orig tarball04:42
tewardif it's not in the primary archive04:42
_pd_https://launchpad.net/~nginx/+archive/ubuntu/stable this is not the ubuntu primary archive?04:42
cjwatsonbut Ubuntu jumped from 1.4.6 to 1.6.104:42
teward_pd_, no...04:42
cjwatsonerr, no!04:42
teward_pd_, that's still a PPA04:42
teward_pd_, the archive is what is in /etc/apt/sources.list by default (for example)04:42
cjwatsonhttps://launchpad.net/ubuntu/+source/nginx/+publishinghistory is the history of nginx in Ubuntu04:42
tewardan official archive mirror04:42
tewardcjwatson, debian freeze04:42
tewardthat's what caused that jump04:42
tewarddebian wouldn't push the version updates04:43
cjwatsonsure, I don't care about the reason04:43
cjwatsonsuch things are common04:43
* teward was grumbling at Trusty release time about that too :P04:43
_pd_so would using ubuntu's packages be considered less risky?04:45
_pd_oh wait that nginx launchpad isnt even official04:47
_pd_i'll answer my own question04:47
teward_pd_, it's the nginx team's ppa04:47
_pd_oh ok04: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 backported04: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
Ghost1227How 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
Ghost1227W: Failed to fetch http://ppa.launchpad.net/dgriffiths/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found20:57
Ghost1227W: Failed to fetch http://ppa.launchpad.net/dgriffiths/ppa/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found20:57
cjwatsonGhost1227: Architecture-independent packages only build on one architecture (currently i386), but are published for all architectures.21:12
cjwatsonGhost1227: The PPA is dgriffiths/xampp-controller, not dgriffiths/ppa.21:13
cjwatsonSo 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!