Re: Problems with debug packages on ubuntu 9.10 karmic

2010-02-11 Thread Jason Crain
Quoting Thomas Mittelstaedt :
> I have problems producing bug reports containing backtraces with all
> debug symbols. Even though I do have the dbg packages installed, gdb 7
> doesn't pick them up automatically, neither for an installed app like
> rhythmbox nor for a custom build of gnome evolution.
> The non-stripped libraries get installed under /usr/lib/debug and I
> tried to use add-symbol-file, to load the symbols. And this procedure
> would only be partly successful, i.e. in the backtrace, some function
> calls of a library would show nicely while others would be just the
> usual '???'.
>
> See https://bugzilla.gnome.org/show_bug.cgi?id=606881 and
> https://bugzilla.gnome.org/page.cgi?id=trace.html&trace_id=220468.


It looks like mostly libraries are left.  You can try installing the  
following debug packages.

libc6-dbg
gstreamer0.10-plugins-base-dbg
gstreamer0.10-plugins-good-dbg
libgstreamer0.10-0-dbg
libglib2.0-0-dbg
libpulse0-dbg
libpulse-browse0-dbg
libpulse-mainloop-glib0-dbg

And this is why it's easer to send bugs to launchpad.  They can use  
apport-retracer to get the debugging symbols themselves.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: cdrtools vs cdrkit: flogging the dead horse

2009-01-14 Thread Jason Crain
On Wed, January 14, 2009 7:21 am, Jason Crain wrote:
> On Wed, January 14, 2009 7:08 am, Odysseus Flappington wrote:
>>> The reason it's not in non-free (i.e. multiverse, in Ubuntu), is that
>>> distributing it is currently believed to be a contravention of the
>>> copyright interests of the owners of the elements licensed under the
>>> GPL. When we believe that something is a violation of civil law to
>>
>> I'm not really taking sides here since I don't have enough
>> information, but out of curiosity, what do you mean when you say
>> "contravention of the copyright interests of the owners of the
>> elements licensed under the GPL."?
>
> It means that Schilling is a disagreeable person and does not approve of
> the ways cdrecord has been modified.  He eventually changed the licensing
> to prevent certain modifications, so there was a fork.

Sorry, I should really read the entire thread.  cdrecord requires a CDDL
licensed build system, which is incompatible with the GPL licensed code. 
With the license incompatibilities it cannot be redistributed at all, not
even in non-free.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: cdrtools vs cdrkit: flogging the dead horse

2009-01-14 Thread Jason Crain
On Wed, January 14, 2009 7:08 am, Odysseus Flappington wrote:
>> The reason it's not in non-free (i.e. multiverse, in Ubuntu), is that
>> distributing it is currently believed to be a contravention of the
>> copyright interests of the owners of the elements licensed under the
>> GPL. When we believe that something is a violation of civil law to
>
> I'm not really taking sides here since I don't have enough
> information, but out of curiosity, what do you mean when you say
> "contravention of the copyright interests of the owners of the
> elements licensed under the GPL."?
>
> Do you  mean that the actual code which has been released under the
> GPL contravenes the interests of the copyright holders? Perhaps the
> copyright to some technology re DVD structures is stopping it from
> being distributed? Similar to what libdvdcss2 provides to play
> encrypted dvds and for the same reason isn't in the repos but need to
> be installed using an awkward script?
>
> Or, do you mean that there is an issue how the GPL'd code is being
> distributed, or who owns it?
>
> How come other applications can implement the technology to burn dvds
> without legal issues, like k3b or brasero, but cdrtools can't?

It means that Schilling is a disagreeable person and does not approve of
the ways cdrecord has been modified.  He eventually changed the licensing
to prevent certain modifications, so there was a fork.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: ISO Testing, before 1700 UTC Thursday

2008-09-17 Thread Jason Crain
Nergar wrote:
> On Thu, 2008-09-18 at 12:23 +1000, Sarah Hobbs wrote:
>   
>> The standard warnings about how it might kill your hard drive,
>> etc, might apply - but no one's found them this far.
>> 
>
> Might kill my hard dirve??? In what sense? I'm not touching them!
>   

Might be referring to this: 
http://hardware.slashdot.org/article.pl?sid=07/10/30/1742258

Some default settings from certain hard-drive manufacturers may cause 
drives to wear out faster.  But you get these kinds of warnings all the 
time.  Some badly made CRTs could blow out if bad sync rates are set,  
backup because it could overwrite all of your data with ASCII pr0n, 
etc.  Basically, it is for testing.  We don't know what might go wrong, 
so don't get mad if something breaks.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Cloned virtual test machines

2008-07-07 Thread Jason Crain
On Mon, July 7, 2008 9:59 am, Felix Miata wrote:
> I'm well past my 15 partition limit in most of my machines. How to you do
> it? Only 2-3 distros per machine? 8 disks per machine? Something else?

There is LVM.  It has a high learning curve, though.
http://tldp.org/HOWTO/LVM-HOWTO/

> User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US;
>  rv:1.8.1.15) Gecko/20080622 SeaMonkey/1.1.10 (PmW)

Really? Someone is still using OS2? :-)

-- 
Jason Crain

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Compiling subversion 1.5.0

2008-06-27 Thread Jason Crain
It first compiles the .java files using javac, then creates header files 
using javah.  It skips several header files, including
org_tigris_subversion_javahl_ConflictDescriptor_Action.h, probably 
because it is an inner class of ConflictDescriptor.  The $ used to mark 
inner classes may be confusing it?

You can create the files manually using javah:
javah -d subversion/bindings/javahl/include -classpath \
subversion/bindings/javahl/classes \
'org.tigris.subversion.javahl.ConflictDescriptor$Action'

And then rename it to what it expects:
mv 
subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictDescriptor\$Action.h
 
subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictDescriptor_Action.h

But there are about 20 files that it will complain about, so you may 
want to script it.

I'm not sure how to modify the makefile to work properly.


Benno Korn wrote:
> Ok. Thank you.
>
> I asked in subversion IRC channels and mailing lists, but no one had a 
> clue where the problem is.
>
> Then I decided that when someone knows how to compile it then these 
> people who compiled the package
> in the repositories.
> And now I am asking here ;-)
>
> Jason Crain schrieb:
>> Sorry, missed the problem with all of the extra long lines :)
>>
>> It looks like the problem is it is missing the file
>> org_tigris_subversion_javahl_ConflictDescriptor_Action.h, probably 
>> because
>> something went wrong building javahl.  I'm compiling it now to see if I
>> can figure out why...
>>
>> On Fri, June 27, 2008 2:15 pm, Benno Korn wrote:
>>  
>>> I tried with the -W option.
>>>
>>> But the same error occured again.
>>>
>>> Jason Crain schrieb:
>>>
>>>> Those look like fairly benign warnings that could be ignored.  I'm not
>>>> too
>>>> familiar with debuild, but you could try running it with the -W 
>>>> option.
>>>> That might set it to ignore warnings.
>>>>
>>>>
>>>> On Fri, June 27, 2008 1:33 pm, Benno Korn wrote:
>>>>
>>>>  
>>>>> Hello,
>>>>> I am using Ubuntu 8.04 32 bit.
>>>>> I try to package subversion 1.5.0 with JavaHL support.
>>>>>
>>>>> Therefore I use these debian experimental sources:
>>>>> http://packages.debian.org/experimental/subversion
>>>>>
>>>>> When I build the package using:
>>>>> tar xzf subversion_1.5.0dfsg1.orig.tar.gz
>>>>> cd subversion-1.5.0dfsg1
>>>>> zcat ../subversion_1.5.0dfsg1-1.diff.gz | patch -p1
>>>>> debuild -us -uc
>>>>> ... the packages are successfully created but the libsvn-java package
>>>>> is
>>>>> missing.
>>>>>
>>>>> So I have to compile using:
>>>>> DEB_BUILD_OPTIONS="with-javahl" debuild -us -uc
>>>>>
>>>>> But then I run into this error:
>>>>> http://ubuntuusers.de/paste/373157/
>>>>>
>>>>> How is the Ubuntu package in the repositories (version 1.4.6) being
>>>>> built?
>>>>> Or how else do I fix this problem?
>>>>>
>>>>> -- 
>>>>> Ubuntu-devel-discuss mailing list
>>>>> Ubuntu-devel-discuss@lists.ubuntu.com
>>>>> Modify settings or unsubscribe at:
>>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>>>>>
>>>>>
>>>>> 
>>>>
>>>>   
>>
>>
>>   


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Compiling subversion 1.5.0

2008-06-27 Thread Jason Crain
Sorry, missed the problem with all of the extra long lines :)

It looks like the problem is it is missing the file
org_tigris_subversion_javahl_ConflictDescriptor_Action.h, probably because
something went wrong building javahl.  I'm compiling it now to see if I
can figure out why...

On Fri, June 27, 2008 2:15 pm, Benno Korn wrote:
> I tried with the -W option.
>
> But the same error occured again.
>
> Jason Crain schrieb:
>> Those look like fairly benign warnings that could be ignored.  I'm not
>> too
>> familiar with debuild, but you could try running it with the -W option.
>> That might set it to ignore warnings.
>>
>>
>> On Fri, June 27, 2008 1:33 pm, Benno Korn wrote:
>>
>>> Hello,
>>> I am using Ubuntu 8.04 32 bit.
>>> I try to package subversion 1.5.0 with JavaHL support.
>>>
>>> Therefore I use these debian experimental sources:
>>> http://packages.debian.org/experimental/subversion
>>>
>>> When I build the package using:
>>> tar xzf subversion_1.5.0dfsg1.orig.tar.gz
>>> cd subversion-1.5.0dfsg1
>>> zcat ../subversion_1.5.0dfsg1-1.diff.gz | patch -p1
>>> debuild -us -uc
>>> ... the packages are successfully created but the libsvn-java package
>>> is
>>> missing.
>>>
>>> So I have to compile using:
>>> DEB_BUILD_OPTIONS="with-javahl" debuild -us -uc
>>>
>>> But then I run into this error:
>>> http://ubuntuusers.de/paste/373157/
>>>
>>> How is the Ubuntu package in the repositories (version 1.4.6) being
>>> built?
>>> Or how else do I fix this problem?
>>>
>>> --
>>> Ubuntu-devel-discuss mailing list
>>> Ubuntu-devel-discuss@lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>>>
>>>
>>
>>
>>
>


-- 
Jason Crain

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Compiling subversion 1.5.0

2008-06-27 Thread Jason Crain
Those look like fairly benign warnings that could be ignored.  I'm not too
familiar with debuild, but you could try running it with the -W option. 
That might set it to ignore warnings.


On Fri, June 27, 2008 1:33 pm, Benno Korn wrote:
> Hello,
> I am using Ubuntu 8.04 32 bit.
> I try to package subversion 1.5.0 with JavaHL support.
>
> Therefore I use these debian experimental sources:
> http://packages.debian.org/experimental/subversion
>
> When I build the package using:
> tar xzf subversion_1.5.0dfsg1.orig.tar.gz
> cd subversion-1.5.0dfsg1
> zcat ../subversion_1.5.0dfsg1-1.diff.gz | patch -p1
> debuild -us -uc
> ... the packages are successfully created but the libsvn-java package is
> missing.
>
> So I have to compile using:
> DEB_BUILD_OPTIONS="with-javahl" debuild -us -uc
>
> But then I run into this error:
> http://ubuntuusers.de/paste/373157/
>
> How is the Ubuntu package in the repositories (version 1.4.6) being built?
> Or how else do I fix this problem?
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>


-- 
Jason Crain

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Hardy Alpha-4 synaptic error

2008-02-03 Thread Jason Crain




Richard Mancusi wrote:

  -- Forwarded message --
From: Richard Mancusi <[EMAIL PROTECTED]>
Date: Feb 3, 2008 9:46 AM
Subject: Re: Hardy Alpha-4 synaptic error
To: Jason Crain <[EMAIL PROTECTED]>


On Feb 3, 2008 9:35 AM, Jason Crain <[EMAIL PROTECTED]> wrote:
  
  
Could you run this and tell us what it shows:

sudo -H bash -c 'echo $HOME'

  
  
/home/root
  

That's pretty strange.  Try running sudo usermod -d /root root
to set root's home dir.  If that doesn't work, you may have to look at
root's .bash* or .profile files to see if $HOME is being set anywhere.



-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Hardy Alpha-4 synaptic error

2008-02-03 Thread Jason Crain
Richard Mancusi wrote:
> On Feb 3, 2008 9:13 AM, Lars Wirzenius <[EMAIL PROTECTED]> wrote:
>   
>> On su, 2008-02-03 at 09:05 -0600, Richard Mancusi wrote:
>> 
>>> [EMAIL PROTECTED]:~$ gksu update-manager
>>> warning: could not initiate dbus
>>>   
>> You don't need to run update-manager as root. It will switch to root
>> (and ask for username then) when it needs it. This should at least fix
>> the dbus initialization problem. (I don't know about the other problems,
>> which may be unrelated.)
>> 
> That fixed the dbus problem.  The password works, gui comes up
> showing the available updates, then back to a window with my initial
> error:
>
> --
> An error occured
> The following details are provided:
> E:ERROR: could not create configuration directory
> /home/root/.synaptic - mkdir (2 No such file or directory)
> --
>
> Terminal output = current dist not found in meta-release file
>   
Could you run this and tell us what it shows:

sudo -H bash -c 'echo $HOME'

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Easy "Add/Remove Porgrams" for non-sudoers with local PREFIX?

2007-12-21 Thread Jason Crain
Mackenzie Morgan wrote:
> You'd have to have special packages for local and for system-wide.  
> ./configure is during compile, not during installation, so you'd have 
> to compile twice for each package to have one that goes in ~
>
> On Dec 20, 2007 11:24 AM, Carsten Agger <[EMAIL PROTECTED] 
> > wrote:
>
> Like in many packages, you can say
>
> ./configure PREFIX=~/bin
>
> you'll install the package locally and don't need to be superuser. Are
> there any plans to integrate this functionality with
> synaptic/Add-Remove
> for non-sudoers, or am I missing something?
> 
>

The problem seems to be that programs will look for their files in /etc 
and /usr/share.  You could do something similar to what fakeroot does.  
Load a library that wraps open and stat system calls.  You could then 
check for files in ~/.user_root before looking in the real root.  Then 
programs wouldn't have to be recompiled.  Though, it would take a 
miracle to keep this from breaking some programs...

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss