launchpad-users team mailing list archive
-
launchpad-users team
-
Mailing list archive
-
Message #06618
Re: FW: [PPA chris-good-rwall-ppa] netkit-rwall_0.17-8ubuntu2_amd64.changes rejected
Hi Chris
what about using
dpkg-buildpackage -S -sa
instead?
otherwise you can use changestool to remove binaries from the source upload.
and you shouldn't upload an *amd64.changes, but an *source.changes file
Bye!
Just my 0.02 $
Gianfranco
Il Venerdì 18 Aprile 2014 10:58, Chris Good <chris.good@xxxxxxxxxxxxxx> ha scritto:
Hi,
>
>Can some-one please help.
>
>I'm getting this error:
>
><-----Original Message-----
><From: bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] On Behalf Of Launchpad PPA
><Sent: Friday, 18 April 2014 6:12 PM
><To: Chris Good
><Subject: [PPA chris-good-rwall-ppa] netkit-rwall_0.17-8ubuntu2_amd64.changes rejected
><
><Rejected:
><Source/binary (i.e. mixed) uploads are not allowed.
><===
>I<f you don't understand why your files were rejected please send an email to launchpad-users@xxxxxxxxxxxxxxxxxxx for help (requires <membership).
><--
><https://launchpad.net/~chris-good/+archive/rwall-ppa
><You are receiving this email because you are the uploader of the above PPA package.
>
>I've tried rebuilding the source package but it still seems to contain binaries.
>
>cgood@goodi7:/home/cgood/netkit-rwall/netkit-rwall.dev
>$ bzr builddeb –S
>Building using working tree
>Building package in normal mode
>Looking for a way to retrieve the upstream tarball
>Upstream tarball already exists in build directory, using that
>Building the package in /home/cgood/netkit-rwall/build-area/netkit-rwall-0.17, using debuild
>dpkg-buildpackage -rfakeroot -D -us -uc
>dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
>dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
>dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
>dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
>dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
>dpkg-buildpackage: source package netkit-rwall
>dpkg-buildpackage: source version 0.17-8ubuntu2
>dpkg-buildpackage: source changed by Chris Good <chris.good@xxxxxxxxxxxxxx>
>dpkg-source --before-build netkit-rwall-0.17
>dpkg-buildpackage: host architecture amd64
>fakeroot debian/rules clean
>dh_testdir
>dh_testroot
>[ ! -f MCONFIG ] || /usr/bin/make distclean
>dh_clean
>dpkg-source -b netkit-rwall-0.17
>dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
>dpkg-source: info: using source format `1.0'
>dpkg-source: info: building netkit-rwall using existing netkit-rwall_0.17.orig.tar.gz
>dpkg-source: info: building netkit-rwall in netkit-rwall_0.17-8ubuntu2.diff.gz
>dpkg-source: warning: the diff modifies the following upstream files:
> rpc.rwalld/Makefile
>rpc.rwalld/rwalld.c
>rwall/rwall.1
>rwall/rwall.c
>dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
>dpkg-source: info: building netkit-rwall in netkit-rwall_0.17-8ubuntu2.dsc
>debian/rules build
>dh_testdir
>if [ ! -f MCONFIG ]; then \
> ./configure; \
> sed -e 's/^CFLAGS=\(.*\)$/CFLAGS= -g \1/' MCONFIG \
> > MCONFIG.new; \
> mv MCONFIG.new MCONFIG; \
> fi
>Directories: /usr/bin /usr/sbin /usr/man
>Looking for a C compiler... gcc
>Checking if gcc accepts gcc warnings... yes
>Checking if gcc accepts -O2... yes
>Checking for BSD signal semantics... yes
>Checking for socklen_t... yes
>Generating MCONFIG...
>/usr/bin/make
>make[1]: Entering directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17'
>(cd rpc.rwalld && /usr/bin/make)
>make[2]: Entering directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17/rpc.rwalld'
>rpcgen -h -o rwall.h ../include/rpcsvc/rwall.x
>gcc -g -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rwalld.c -c
>rwalld.c: In function ‘possess’:
>rwalld.c:164:8: warning: ignoring return value of ‘daemon’, declared with attribute warn_unused_result [-Wunused-result]
>gcc rwalld.o -o rwalld
>make[2]: Leaving directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17/rpc.rwalld'
>(cd rwall && /usr/bin/make)
>make[2]: Entering directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17/rwall'
>rpcgen -h -o rwall.h ../include/rpcsvc/rwall.x
>gcc -g -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rwall.c -c
>gcc rwall.o -o rwall
>make[2]: Leaving directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17/rwall'
>make[1]: Leaving directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17'
>fakeroot debian/rules binary
>dh_testdir
>if [ ! -f MCONFIG ]; then \
> ./configure; \
> sed -e 's/^CFLAGS=\(.*\)$/CFLAGS= -g \1/' MCONFIG \
> > MCONFIG.new; \
> mv MCONFIG.new MCONFIG; \
> fi
>/usr/bin/make
>make[1]: Entering directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17'
>(cd rpc.rwalld && /usr/bin/make)
>make[2]: Entering directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17/rpc.rwalld'
>make[2]: Nothing to be done for `all'.
>make[2]: Leaving directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17/rpc.rwalld'
>(cd rwall && /usr/bin/make)
>make[2]: Entering directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17/rwall'
>make[2]: Nothing to be done for `all'.
>make[2]: Leaving directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17/rwall'
>make[1]: Leaving directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17'
>dh_testdir
>dh_testroot
>dh_prep
>dh_installdirs
>install rwall/rwall debian/rwall/usr/bin
>install rpc.rwalld/rwalld debian/rwalld/usr/sbin/rpc.rwalld
>cp rwall/rwall.1 debian/rwall/usr/share/man/man1
>cp rpc.rwalld/rpc.rwalld.8 debian/rwalld/usr/share/man/man8
>/usr/bin/make -f debian/rules DH_OPTIONS=-a binary-common
>make[1]: Entering directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17'
>dh_testdir
>dh_testroot
>dh_installdocs
>dh_installexamples
>dh_installmenu
>dh_installcron
>dh_installinfo
>dh_installchangelogs ChangeLog
>dh_link
>dh_strip
>dh_compress
>dh_fixperms
>dh_installdeb
>dh_shlibdeps
>dh_gencontrol
>dh_md5sums
>dh_builddeb
>dpkg-deb: warning: 'debian/rwalld/DEBIAN/control' contains user-defined field 'Original-Maintainer'
>dpkg-deb: warning: ignoring 1 warning about the control file(s)
>
>dpkg-deb: building package `rwalld' in `../rwalld_0.17-8ubuntu2_amd64.deb'.
>dpkg-deb: warning: 'debian/rwall/DEBIAN/control' contains user-defined field 'Original-Maintainer'
>dpkg-deb: warning: ignoring 1 warning about the control file(s)
>
>dpkg-deb: building package `rwall' in `../rwall_0.17-8ubuntu2_amd64.deb'.
>make[1]: Leaving directory `/home/cgood/netkit-rwall/build-area/netkit-rwall-0.17'
>dpkg-genchanges >../netkit-rwall_0.17-8ubuntu2_amd64.changes
>dpkg-genchanges: not including original source code in upload
>dpkg-source --after-build netkit-rwall-0.17
>dpkg-buildpackage: binary and diff upload (original source NOT included)
>Now running lintian...
>W: netkit-rwall source: debian-rules-missing-recommended-target build-arch
>W: netkit-rwall source: debian-rules-missing-recommended-target build-indep
>W: netkit-rwall source: ancient-standards-version 3.8.3 (current is 3.9.3)
>W: rwalld: copyright-refers-to-deprecated-bsd-license-file
>W: rwall: copyright-refers-to-deprecated-bsd-license-file
>Finished running lintian.
>Now signing changes and any dsc files...
>signfile netkit-rwall_0.17-8ubuntu2.dsc Chris Good <chris.good@xxxxxxxxxxxxxx>
>
>You need a passphrase to unlock the secret key for
>user: "Chris Good <chris.good@xxxxxxxxxxxxxx>"
>4096-bit RSA key, ID 70DAAFB0, created 2014-04-05
>
>signfile netkit-rwall_0.17-8ubuntu2_amd64.changes Chris Good <chris.good@xxxxxxxxxxxxxx>
>
>You need a passphrase to unlock the secret key for
>user: "Chris Good <chris.good@xxxxxxxxxxxxxx>"
>4096-bit RSA key, ID 70DAAFB0, created 2014-04-05
>
>Successfully signed dsc and changes files
>Cleaning build dir: /home/cgood/netkit-rwall/build-area/netkit-rwall-0.17
>
>cd
>cgood@goodi7:/home/cgood
>$ find . -name '*.changes' -ls 2>/dev/null
>4982028 4 -rw-rw-r-- 1 cgood cgood 1712 Apr 5 17:48 ./pbuilder/trusty_result/netkit-rwall_0.17-8ubuntu2_amd64.changes
>274973 4 -rw------- 1 cgood cgood 2622 Apr 5 15:22 ./netkit-rwall/netkit-rwall_0.17-8ubuntu1_amd64.changes
>274971 4 -rw-r--r-- 1 cgood cgood 2622 Apr 5 15:22 ./netkit-rwall/build-area/netkit-rwall_0.17-8ubuntu1_amd64.changes
>266517 4 -rw-r--r-- 1 cgood cgood 2602 Apr 18 10:52 ./netkit-rwall/build-area/netkit-rwall_0.17-8ubuntu2_amd64.changes
>266518 4 -rw------- 1 cgood cgood 2602 Apr 18 10:52 ./netkit-rwall/netkit-rwall_0.17-8ubuntu2_amd64.changes
>
>$ cat ./netkit-rwall/netkit-rwall_0.17-8ubuntu2_amd64.changes
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Format: 1.8
>Date: Sat, 04 Apr 2014 17:05:01 +1100
>Source: netkit-rwall
>Binary: rwalld rwall
>Architecture: source amd64
>Version: 0.17-8ubuntu2
>Distribution: precise
>Urgency: low
>Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
>Changed-By: Chris Good <chris.good@xxxxxxxxxxxxxx>
>Description:
> rwall - Send a message to users logged on a host
>rwalld - Write messages to users currently logged in server
>Changes:
> netkit-rwall (0.17-8ubuntu2) precise; urgency=low
>.
> * Update maintainer + XSBC-Original-Maintainer
>Checksums-Sha1:
> f6c4426fcff9b4d1b5a618139d4e7fa504775dfa 1791 netkit-rwall_0.17-8ubuntu2.dsc
>c676b7bca327c2d106a1e3bb9d507ad00d8990bc 4035 netkit-rwall_0.17-8ubuntu2.diff.gz
>4143d1528c2746c53c6b9f38c6c9c0cccccbd4a4 9498 rwalld_0.17-8ubuntu2_amd64.deb
>d24c246a8188bfd07e85556f391cd1608d433bc3 10898 rwall_0.17-8ubuntu2_amd64.deb
>Checksums-Sha256:
> 9b3e9b2c6dd5af2598a54a573c6561bcfcfd107de44f6ed29a084902f11bb8a1 1791 netkit-rwall_0.17-8ubuntu2.dsc
>43aefbb27494a4c80ccc911a6b4df3a601ad01977aa5a3786521a25d387fc1c3 4035 netkit-rwall_0.17-8ubuntu2.diff.gz
>d1c927ff4c59f8afdcdcc342990cce23c74bc7ece7a3ef70f5f96123cc91154a 9498 rwalld_0.17-8ubuntu2_amd64.deb
>7281da9fdec596c7e7a58a09dc56b4ee1ee8b9b219eaaaa6f39f3f3dc1082932 10898 rwall_0.17-8ubuntu2_amd64.deb
>Files:
> 547035d39a4f463fe26b2328ed9c8024 1791 net optional netkit-rwall_0.17-8ubuntu2.dsc
>cc62d3127b8159e04692ce5e5809cd71 4035 net optional netkit-rwall_0.17-8ubuntu2.diff.gz
>d1a5a3de1da86bfd8b4498ffebc4f8d9 9498 net optional rwalld_0.17-8ubuntu2_amd64.deb
>22a39af047de9a7f16cef06f2616bbaa 10898 net optional rwall_0.17-8ubuntu2_amd64.deb
>Original-Maintainer: Alberto Gonzalez Iniesta <agi@xxxxxxxxxxx>
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.11 (GNU/Linux)
>
>iQIcBAEBAgAGBQJTUHcxAAoJEFep3zdw2q+w0QsP/1VtgBJrw4xvDt46MD4Z4urK
>eiihE9dtkWqE6KYOWQWvsfzlGzvbY3rZomRxLMOYMdloMwk8bABoq/C8EGeuA/mR
>HWUFVlUuJs5elvuIftZoA2Ieczdinmoy1oaqrM4tavn5kUSADdc4IfWY0jXevBPO
>C+lu6rf0md/8APwxjm3E3+hzip+FfZaEWw7x7/URTaX7Cv7qxzopUS39OOhPFQq9
>eiicZNPOr0h0aq0S6bE6zXmHvlictedyM7sU+Ibume0y1HIeQdkh6cv6ag0uiQVH
>UBZX1ANKFQZXPxpmaZR0l1p2iHJBiFAgTf1HFmviiDkZ5hJ+uE1OAoJS8Tn5lnsK
>M9CL/Dv9cneUL7jbu5fZ000yfDDjagoUqWm3+HsOz6e42rTFtzmguJJ9BrtAJVYH
>Gl4q7v1lS8a2IVlE8BT7oqxwxU0fvUcMGuAUtvhRa8EQpUYm7A2EqGhrMDHBfkZu
>VcMt29K8QQfkk/GvekehVsiiMsAFUConMmuT8mYC3UvLcQ1tPm6pCt+ecnQBvA2j
>cLkyrBf8oPwo4kBFtUHWGiRq+u8ZMCoJCXAZatHhFpqCJ2kgG60hxUtrQYICWhfT
>lRDJ7VOLdd/uhCLptkixNrvZnv7F7caxc5ImT0hIjEzrDqk7VSoDtHg1RwaRmO55
>1v51SylhcmkmbsPkUOJ9
>=NPiR
>-----END PGP SIGNATURE-----
>
>Is the problem that my changes file contains .deb ?
>What am I doing wrong for this to happen?
>Shouldn't bzr builddeb –S cause just a source package to be built?
>
>Any help much appreciated.
>
>Regards,
>
>Chris Good
>_______________________________________________
>Mailing list: https://launchpad.net/~launchpad-users
>Post to : launchpad-users@xxxxxxxxxxxxxxxxxxx
>Unsubscribe : https://launchpad.net/~launchpad-users
>More help : https://help.launchpad.net/ListHelp
>
>
>
References