[Shotwell] Ubuntu packaging bug 0.3.2, /usr/usr/share/applications

Nate Homier shotwell at universal-mechanism.org
Tue Dec 22 08:41:39 UTC 2009


On Tue, 2009-12-22 at 00:47 -0700, Nate Homier wrote:
> On Mon, 2009-12-21 at 19:25 -0800, Jim Nelson wrote:
> >         The Ubuntu PPA by Yorba has a packaging bug.
> >         /usr/usr/share/applications
> >         Version 0.3.2 from the PPA.
> > 
> > I looked through our install process and can't see how this would
> > happen.  Can you be more specific, that is, what error message you're
> > seeing, and when/where you're seeing it?
> >  
> >         It would be nice if the PPA had nightly snapshots.  I don't
> >         build from
> >         src anymore.
> > 
> > That's a good idea -- I've ticketed it:
> > http://trac.yorba.org/ticket/1220
> > 
> > Cheers,
> > 
> > -- Jim
> 
> I only discovered it by accident and so I used "dpkg -S" to see what
> owned the stray directories.  Shotwell was returned as the answer.  I
> use Ubuntu 9.10 64 bit.
> 
> I retrieved the deb from "/var/cache/apt/archives" and extracted the
> deb.  I get "/home/nate/Downloads/shotwell_0.3.2-1~karmic1_amd64/usr".
> $ls
> "bin share usr"
> Looks to me a stray extra empty usr dir.
> 
> Exact PPA
> https://launchpad.net/~yorba/+archive/ppa
> I used this method to add the repository.
> ppa:yorba/ppa
> 
> Exact command and answer.
> nate at universal-mechanism:~$ dpkg -S /usr/usr
> shotwell: /usr/usr
> 
> Nate

Just to add more info.
The PPA build log clearly shows /usr/usr.
http://launchpadlibrarian.net/35553788/buildlog_ubuntu-karmic-amd64.shotwell_0.3.2-1~karmic1_FULLYBUILT.txt.gz
In Firefox Ctrl-f and search term /usr/usr.
In the file "shotwell_0.3.2-1~karmic1.tar.gz" there is:
"/home/nate/Downloads/shotwell-0.3.2/debian"
And this contains the file dirs and this file contains /usr.

Also in this "shotwell_0.3.2-1~karmic1.tar.gz" file, it contains the
make file and in here on line 22 it looks suspicious:
"mkdir -p $(DESTDIR)$(PREFIX)/usr/share/applications".

Nate



More information about the Shotwell-list mailing list