"Bernhard R. Link" <brl...@debian.org> writes:

>> If I upload sources of an "all" package, it's not listed for the
>> different architectures reprepro manages.
>
> Could you be a bit more specific?

Making a source package, some python code with "Archictecture: all":

#+begin_src sh
buildd@build:~$ dpkg-source -b .
buildd@build:~$ debsign ../*.dsc
buildd@build:~$ dpkg-genchanges -S > ../my-pkg-sources.changes
buildd@build:~$ debsign ../*.changes
buildd@build:~$ dput myrepo ../my-pkg-sources.changes
#+end_src

Uploading to my repository:

#+begin_src sh
buildd@build:~$ ssh ftp@repository 'reprepro -v -b ${HOME}/reprepro 
processincoming unstable'
[...]
Exporting indices...
#+end_src

Now, my packages sources are installed in the repository, the command
"apt-cache showsrc my-package" shows my source package.

Then, I try:

#+begin_src sh
buildd@build:~$ ssh ftp@repository 'reprepro -v -b ${HOME}/reprepro 
build-needing unstable any'
Error: Architecture 'any' is not known!
There have been errors!

buildd@build:~$ ssh ftp@repository 'reprepro -v -b ${HOME}/reprepro 
build-needing unstable all'
Error: Architecture 'all' makes no sense for build-needing!
There have been errors!

buildd@build:~$ ssh ftp@repository 'reprepro -v -b ${HOME}/reprepro 
build-needing unstable amd64'
buildd@build:~$
#+end_src

If I put "Architecture: any" in my debian/control for the binary
package, it is listed when doing "build-needing unstable amd64".

I think that architecture should be reported in the output of
"build-needing" if wildcards are added, or if any/all are going to work.

One per line, like:

#+begin_src
<PACKAGE> <VERSION> <DSC FILE> <ARCH>
#+end_src

Regards.

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgpHf67G7wk46.pgp
Description: PGP signature

Reply via email to