Manually compile and install debugging symbols for the recoll package?Where are the debug symbols for plasmashell (Kubuntu 19.04)?OpenJDK - Installing JDK Debug Symbols manuallyHow do you force apt-get source to get the package you ask forHow to install debug symbols for installed packages?What's the official method for checking integrity of a source package?How to keep terminal for installation of debugging symbols of apport's local investigation alive?How do I install the debug symbols for gcov?g++ and gdb problem: debug symbols for shared libraries not found

Listing files that end in ".txt" from directories with the word "SALARIO" in its name without using pipes

1 kHz clock over long wire

Why does the single dot entry exist in file systems?

Can i solo with C blue minor scale in a C major Chord progression backing track?

Can Oko's Elk ability stop nonbasics from being affected by Magus of the Moon?

How to enable Double-Tap to Drag in Mac OS X Catalina?

Why are reference frames able to see themselves moving through time but not through space?

Isn't LaTeX a complete software for producing books?

Could echolocated images be used for a language?

Why is Carbon Dioxide a Greenhouse Gas whereas Ammonia is not?

Did Catherine the Great really call for the abolition of serfdom?

Why does spin recovery involve cutting the throttle?

Players who play fast in longer time control games

How to evaluate theta function's derivative numerically?

The correct capital G and J in cursive

Can Elves move when they Trance?

When is the best time to visit the Australian outback?

What were the prevailing real-life cultural connotations of "clones" in 1975 (Star Wars' 3rd draft)?

Why do we worry about overfitting even if "all models are wrong"?

CircuitiTikZ: How to change the node options of labels and annotations?

Does Amoxicillin (as trihydrate) degrade in stomach acid?

Genitive case vs. von, when "a noun stands by itself or is used with a word which does not decline"

I have been accused of copying two lab reports from the previous year even though I had done everything by myself

Drying clothes: windy but cold outside vs warm(ish) inside?



Manually compile and install debugging symbols for the recoll package?


Where are the debug symbols for plasmashell (Kubuntu 19.04)?OpenJDK - Installing JDK Debug Symbols manuallyHow do you force apt-get source to get the package you ask forHow to install debug symbols for installed packages?What's the official method for checking integrity of a source package?How to keep terminal for installation of debugging symbols of apport's local investigation alive?How do I install the debug symbols for gcov?g++ and gdb problem: debug symbols for shared libraries not found






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









2

















I've got some crash files for recoll
from which I would like to extract a symbolic stack trace.
Unfortunately,
there are no debug symbols
available for this package,
so my stack traces are mostly unhelpful.



The crash files are generated by apport for /usr/bin/recoll,
so I want to use symbols from an external file
rather than compiling from source with debugging symbols
(because then I'd have to reproduce the crash).
Based on the build ID, I'd expect them to go under
/usr/lib/debug/.build-id/7e/83e15f5cfae88cef2850e4a510f4d4849ae6b9.debug:



$ file /usr/bin/recoll
/usr/bin/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=7e83e15f5cfae88cef2850e4a510f4d4849ae6b9, stripped
$ gdb
(gdb) show debug-file-directory
The directory where separate debug symbols are searched for is "/usr/lib/debug".


I know I could add to the debug-file-directory, something like this:



(gdb) set debug-file-directory /usr/lib/debug:/home/nathaniel/mysymbols


but I still need to compile the object file,
and I'm having trouble finding sufficient documentation
on how to do this with apt/dpkg.
Sure, I can use apt-get source -b recoll to download and build it,
but the build ID isn't the same and the final executable is still stripped.
I'm guessing this is because -fdebug-prefix-map isn't the same.



$ sudo apt-get build-dep recoll
$ apt-get source -b recoll
<snip>
./configure CFLAGS="-g -O2 -fdebug-prefix-map=/home/nathaniel/apt-get-source/recoll/recoll-1.23.7=.
<snip>
$ file recoll-1.23.7/qtgui/recoll
recoll-1.23.7/qtgui/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=be2479236c840a60c71848f9d8257b68856f28f5, not stripped
$ file recoll-1.23.7/debian/recoll/usr/bin/recoll
recoll-1.23.7/debian/recoll/usr/bin/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=be2479236c840a60c71848f9d8257b68856f28f5, stripped


so my question is:



How can I manually compile and install the debugging symbols
for the recoll package on Ubuntu 18.04?



Related:



  • Where are the debug symbols for plasmashell (Kubuntu 19.04)?

  • OpenJDK - Installing JDK Debug Symbols manually

  • https://randomascii.wordpress.com/2013/02/20/symbols-on-linux-part-three-linux-versus-windows/

  • https://stackoverflow.com/questions/14473506/gdb-core-dump-find-executable-by-build-id

  • https://stackoverflow.com/questions/28787534/debug-information-file-conventions-for-debian-ubuntu









share|improve this question


































    2

















    I've got some crash files for recoll
    from which I would like to extract a symbolic stack trace.
    Unfortunately,
    there are no debug symbols
    available for this package,
    so my stack traces are mostly unhelpful.



    The crash files are generated by apport for /usr/bin/recoll,
    so I want to use symbols from an external file
    rather than compiling from source with debugging symbols
    (because then I'd have to reproduce the crash).
    Based on the build ID, I'd expect them to go under
    /usr/lib/debug/.build-id/7e/83e15f5cfae88cef2850e4a510f4d4849ae6b9.debug:



    $ file /usr/bin/recoll
    /usr/bin/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=7e83e15f5cfae88cef2850e4a510f4d4849ae6b9, stripped
    $ gdb
    (gdb) show debug-file-directory
    The directory where separate debug symbols are searched for is "/usr/lib/debug".


    I know I could add to the debug-file-directory, something like this:



    (gdb) set debug-file-directory /usr/lib/debug:/home/nathaniel/mysymbols


    but I still need to compile the object file,
    and I'm having trouble finding sufficient documentation
    on how to do this with apt/dpkg.
    Sure, I can use apt-get source -b recoll to download and build it,
    but the build ID isn't the same and the final executable is still stripped.
    I'm guessing this is because -fdebug-prefix-map isn't the same.



    $ sudo apt-get build-dep recoll
    $ apt-get source -b recoll
    <snip>
    ./configure CFLAGS="-g -O2 -fdebug-prefix-map=/home/nathaniel/apt-get-source/recoll/recoll-1.23.7=.
    <snip>
    $ file recoll-1.23.7/qtgui/recoll
    recoll-1.23.7/qtgui/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=be2479236c840a60c71848f9d8257b68856f28f5, not stripped
    $ file recoll-1.23.7/debian/recoll/usr/bin/recoll
    recoll-1.23.7/debian/recoll/usr/bin/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=be2479236c840a60c71848f9d8257b68856f28f5, stripped


    so my question is:



    How can I manually compile and install the debugging symbols
    for the recoll package on Ubuntu 18.04?



    Related:



    • Where are the debug symbols for plasmashell (Kubuntu 19.04)?

    • OpenJDK - Installing JDK Debug Symbols manually

    • https://randomascii.wordpress.com/2013/02/20/symbols-on-linux-part-three-linux-versus-windows/

    • https://stackoverflow.com/questions/14473506/gdb-core-dump-find-executable-by-build-id

    • https://stackoverflow.com/questions/28787534/debug-information-file-conventions-for-debian-ubuntu









    share|improve this question






























      2












      2








      2








      I've got some crash files for recoll
      from which I would like to extract a symbolic stack trace.
      Unfortunately,
      there are no debug symbols
      available for this package,
      so my stack traces are mostly unhelpful.



      The crash files are generated by apport for /usr/bin/recoll,
      so I want to use symbols from an external file
      rather than compiling from source with debugging symbols
      (because then I'd have to reproduce the crash).
      Based on the build ID, I'd expect them to go under
      /usr/lib/debug/.build-id/7e/83e15f5cfae88cef2850e4a510f4d4849ae6b9.debug:



      $ file /usr/bin/recoll
      /usr/bin/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=7e83e15f5cfae88cef2850e4a510f4d4849ae6b9, stripped
      $ gdb
      (gdb) show debug-file-directory
      The directory where separate debug symbols are searched for is "/usr/lib/debug".


      I know I could add to the debug-file-directory, something like this:



      (gdb) set debug-file-directory /usr/lib/debug:/home/nathaniel/mysymbols


      but I still need to compile the object file,
      and I'm having trouble finding sufficient documentation
      on how to do this with apt/dpkg.
      Sure, I can use apt-get source -b recoll to download and build it,
      but the build ID isn't the same and the final executable is still stripped.
      I'm guessing this is because -fdebug-prefix-map isn't the same.



      $ sudo apt-get build-dep recoll
      $ apt-get source -b recoll
      <snip>
      ./configure CFLAGS="-g -O2 -fdebug-prefix-map=/home/nathaniel/apt-get-source/recoll/recoll-1.23.7=.
      <snip>
      $ file recoll-1.23.7/qtgui/recoll
      recoll-1.23.7/qtgui/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=be2479236c840a60c71848f9d8257b68856f28f5, not stripped
      $ file recoll-1.23.7/debian/recoll/usr/bin/recoll
      recoll-1.23.7/debian/recoll/usr/bin/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=be2479236c840a60c71848f9d8257b68856f28f5, stripped


      so my question is:



      How can I manually compile and install the debugging symbols
      for the recoll package on Ubuntu 18.04?



      Related:



      • Where are the debug symbols for plasmashell (Kubuntu 19.04)?

      • OpenJDK - Installing JDK Debug Symbols manually

      • https://randomascii.wordpress.com/2013/02/20/symbols-on-linux-part-three-linux-versus-windows/

      • https://stackoverflow.com/questions/14473506/gdb-core-dump-find-executable-by-build-id

      • https://stackoverflow.com/questions/28787534/debug-information-file-conventions-for-debian-ubuntu









      share|improve this question

















      I've got some crash files for recoll
      from which I would like to extract a symbolic stack trace.
      Unfortunately,
      there are no debug symbols
      available for this package,
      so my stack traces are mostly unhelpful.



      The crash files are generated by apport for /usr/bin/recoll,
      so I want to use symbols from an external file
      rather than compiling from source with debugging symbols
      (because then I'd have to reproduce the crash).
      Based on the build ID, I'd expect them to go under
      /usr/lib/debug/.build-id/7e/83e15f5cfae88cef2850e4a510f4d4849ae6b9.debug:



      $ file /usr/bin/recoll
      /usr/bin/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=7e83e15f5cfae88cef2850e4a510f4d4849ae6b9, stripped
      $ gdb
      (gdb) show debug-file-directory
      The directory where separate debug symbols are searched for is "/usr/lib/debug".


      I know I could add to the debug-file-directory, something like this:



      (gdb) set debug-file-directory /usr/lib/debug:/home/nathaniel/mysymbols


      but I still need to compile the object file,
      and I'm having trouble finding sufficient documentation
      on how to do this with apt/dpkg.
      Sure, I can use apt-get source -b recoll to download and build it,
      but the build ID isn't the same and the final executable is still stripped.
      I'm guessing this is because -fdebug-prefix-map isn't the same.



      $ sudo apt-get build-dep recoll
      $ apt-get source -b recoll
      <snip>
      ./configure CFLAGS="-g -O2 -fdebug-prefix-map=/home/nathaniel/apt-get-source/recoll/recoll-1.23.7=.
      <snip>
      $ file recoll-1.23.7/qtgui/recoll
      recoll-1.23.7/qtgui/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=be2479236c840a60c71848f9d8257b68856f28f5, not stripped
      $ file recoll-1.23.7/debian/recoll/usr/bin/recoll
      recoll-1.23.7/debian/recoll/usr/bin/recoll: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=be2479236c840a60c71848f9d8257b68856f28f5, stripped


      so my question is:



      How can I manually compile and install the debugging symbols
      for the recoll package on Ubuntu 18.04?



      Related:



      • Where are the debug symbols for plasmashell (Kubuntu 19.04)?

      • OpenJDK - Installing JDK Debug Symbols manually

      • https://randomascii.wordpress.com/2013/02/20/symbols-on-linux-part-three-linux-versus-windows/

      • https://stackoverflow.com/questions/14473506/gdb-core-dump-find-executable-by-build-id

      • https://stackoverflow.com/questions/28787534/debug-information-file-conventions-for-debian-ubuntu






      debugging apport source-packages gdb






      share|improve this question
















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 16 at 16:35







      Nathaniel M. Beaver

















      asked Jul 13 at 13:55









      Nathaniel M. BeaverNathaniel M. Beaver

      4403 silver badges13 bronze badges




      4403 silver badges13 bronze badges























          0






          active

          oldest

          votes













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158047%2fmanually-compile-and-install-debugging-symbols-for-the-recoll-package%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown


























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158047%2fmanually-compile-and-install-debugging-symbols-for-the-recoll-package%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown









          Popular posts from this blog

          Tamil (spriik) Luke uk diar | Nawigatjuun

          Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

          Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?