[Solved] Recompile Software with debugging symbols?

Has anyone an idea how to compile darktable with debugging symbols? I've grabbed the sources from the arch package and added the strings
export CFLAGS="$CFLAGS -O0 -fbuiltin -g"
export CXXFLAGS="$CXXFLAGS -O0 -fbuiltin -g"
to the PKGBUILD as the arch wiki described in the "Step by step debugging guide", but it don't seems to work proberly. I can't obtain a proper backtrace.
"gdb darktable" only gives me the message:
Reading symbols from /usr/bin/darktable...(no debugging symbols found)
What's my fault?
Last edited by Thorsten Reinbold (2013-12-29 14:40:22)

Sorry, that was really stupid. Thanks for the hints, I was able to compile now. But the next problem is knocking on the door: when I try to get a backtrace, I get a "No stack."-message from gdb. Google wasn't helpful with this and those are my first steps in debugging. Maybe some has an Idea? I only need a full backtrace for an upstream bugreport.
Edit: got it. There was a gdb Zombie in the background.
Solved!
Last edited by Thorsten Reinbold (2013-12-29 14:40:04)

Similar Messages

  • [solved]How to compile a software with debug symbol from aur?

    How does auch developers compile their project? Seems that archlinux user always trying to avoid build software from git/svn directly. But after searching a lot  I sill haven't found how to compile with debug symbol while using PKGBUILD.
    Anyone help?
    Last edited by ranjiao (2009-08-27 14:28:09)

    ranjiao wrote:PKGBUILD calls autogen.sh before calling make, and gnome-autogen.sh is called in autogen.sh
    I have tried to add --enable-debug while calling autogen.sh and gnome-autogen.sh, but it doesn't work.
    Isn't PKGBUILD just a script? It calls what you make it calls by adding commands...

  • Trying, failing to build qt5 with debugging symbols

    As per this article, I modified my PKGBUILD like so (-developer-build):
    build() {
    cd ${_pkgfqn}
    export QTDIR="${srcdir}"/${_pkgfqn}
    export LD_LIBRARY_PATH="${QTDIR}"/qtbase/lib:"${QTDIR}"/qttools/lib:"${LD_LIBRARY_PATH}"
    export QT_PLUGIN_PATH="${QTDIR}"/qtbase/plugins
    export PATH="${srcdir}/python2-path:$PATH"
    [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
    PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -developer-build \
    Don't know if I put the option in the wrong place, though, or if that information is outdated for qt5 - but it's not building for me. Here's where makepkg stops:
    ln -s libQt5Widgets.so.5.4.0 libQt5Widgets.so
    ln -s libQt5Widgets.so.5.4.0 libQt5Widgets.so.5
    ln -s libQt5Widgets.so.5.4.0 libQt5Widgets.so.5.4
    rm -f ../../lib/libQt5Widgets.so.5.4.0
    mv -f libQt5Widgets.so.5.4.0 ../../lib/
    rm -f ../../lib/libQt5Widgets.so
    rm -f ../../lib/libQt5Widgets.so.5
    rm -f ../../lib/libQt5Widgets.so.5.4
    mv -f libQt5Widgets.so ../../lib/
    mv -f libQt5Widgets.so.5 ../../lib/
    mv -f libQt5Widgets.so.5.4 ../../lib/
    make[3]: Leaving directory '/home/chris/Software/qt5/src/qt-everywhere-opensource-src-5.4.0/qtbase/src/widgets'
    make[2]: Leaving directory '/home/chris/Software/qt5/src/qt-everywhere-opensource-src-5.4.0/qtbase/src'
    Makefile:45: recipe for target 'sub-src-make_first' failed
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory '/home/chris/Software/qt5/src/qt-everywhere-opensource-src-5.4.0/qtbase'
    Makefile:70: recipe for target 'module-qtbase-make_first' failed
    make: *** [module-qtbase-make_first] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    Not sure what happened. How do I get more information?
    I need qt5-base with debugging symbols so I can get helpful traces for plasma-desktop crashes. So I should also ask: is it possible to modify the PKGBUILD to just compile qt5-base (and perhaps qt5-webkit and qt5-webengine)? qt5 is huge...
    EDIT: and yes I had qtwebkit uninstalled at the time
    Last edited by YAOMTC (2015-01-03 06:12:49)

    I hate it when the only result for a problem is an unanswered question...
    Anyway, invoking make manually uncovers what is the problem - there's a bunch of errors similar to this:
    ../gui/text/qfontengine_ft.cpp:1146:39: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
    for (int x = 0; x < slot->bitmap.width; x++) {
    ^
    cc1plus: all warnings being treated as errors
    So the -Werror is the culprit. Looking at the ./configure -help output it turns out that the -developer-build enables -Werror. But there's -no-warnings-are-errors. So yeah, passing -no-warnings-are-errors in addition to -developer-build should fix the compilation.
    I have updated the wiki accordingly.
    EDIT: the compilation gets a bit further, but it now fails because of tests.
    EDIT2: it pays off to read configure rather than rely on some random suggestion from the wiki. There's a "-debug" option, which should just enable debugging. It hasn't finished compiling here yet, but it got a lot further than before.
    Last edited by 6xx (2015-02-03 21:13:49)

  • Cannot compile code with debug symbols

    I have a source code file that will not compile with debug symbols. I get an assertion failed in file ../src/regman/regman_local.cc at line 5224. The compile command and output are below.
    /opt/SUNWspro/bin/cc -g -xarch=v9b -xopenmp=noopt -xc99=all -c -o output/spirecon.o spirecon.c
    cg: assertion failed in file ../src/regman/regman_local.cc at line 5224
    cg: Out of range
    cg: 1 errors
    cc: cg failed for spirecon.c
    However without the debug options and using the default -fast switch, i.e.
    /opt/SUNWspro/bin/cc -fast -xarch=v9b -xopenmp=noopt -xc99=all -c -o output/spirecon.o spirecon.c
    it compiles without any problems.
    I was hoping someone might have a suggestion as to how what might cause this type of error.

    I have been told this is bugid: 4420630
    It only happens when you try to use the optimizing
    backend code generator without any optimization.
    (That's what -xopenmp=noopt does)
    If you add an -xO1 flag the assertion should go away, but you
    will also lose some (but not all) of your debuggability.
    --chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Hi i have updated the 8.1 in my i phone 4s . then i got in my home screen i tunes and charging symbol only . its not getting on . can you help me out to solve the issue with my phone ?? thanks.

    hi i have updated the 8.1 in my i phone 4s . then i got in my home screen i tunes and charging symbol only . its not getting on . can you help me out to solve the issue with my phone ?? thanks.

    Hi vijayanandhtkp,
    It sounds like you are getting the Connect to iTunes screen as discussed in this article.
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
    If so, please check out this article as linked from there.
    Use iTunes to restore your iOS device to factory settings - Apple Support
    Thank you for using Apple Support Communities.
    Nubz

  • [Solved]Compiling audit with staticlibs options

    Hi everyone, I wanted e4rat to boost my boot time on my laptop, but recent updates requires me to recompile audit with static libs:
    Index» Newbie Corner» [Solved] e4rat-preload cannot work
    I made a copy of the audit PKGBUILD from the repositories and altered the options as indicated
    depends=(krb5 libcap-ng)
    makedepends=(libldap swig linux-headers python2)
    license=(GPL)
    options=(emptydirs staticlibs)
    but when I run makepkg, the compile message tells me that:
    libtool: link: ranlib .libs/libauparse.a
    /usr/bin/sed: can't read Packages/audit/src/audit-2.3.2/lib/libaudit.la: No such file or directory
    libtool: link: `Packages/audit/src/audit-2.3.2/lib/libaudit.la' is not a valid libtool archive
    Makefile:895: recipe for target 'libauparse.la' failed
    ==> ERROR: A failure occurred in build().
    Aborting...
    but when I nagivate to the audit-2.3.2/lib/ directory, libaudit.la exists there. Am I missing out on something?
    Last edited by enochnotsocool (2013-12-15 01:56:36)

    Here is my entire /etc/makepkg.conf is it helps at all:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync --no-motd -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/wget
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    #CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    #CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    CPPFLAGS="-D_FORTIFY_SOURCE=2"
    CFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
    CXXFLAGS="${CFLAGS}"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
    DEBUG_CFLAGS="-g -fvar-tracking-assignments"
    DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j5"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    #-- sign: Generate PGP signature file
    BUILDENV=(fakeroot !distcc color !ccache check !sign)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    #-- Specify a directory for package building.
    #BUILDDIR=/tmp/makepkg
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- staticlibs: Leave static library (.a) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    #-- upx: Compress binary executable files using UPX
    #-- debug: Add debugging flags as specified in DEBUG_* variables
    OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Log files: specify a fixed directory where all log files will be placed
    #LOGDEST=/home/makepkglogs
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    #-- Specify a key to use for package signing
    #GPGKEY=""
    # COMPRESSION DEFAULTS
    COMPRESSGZ=(gzip -c -f -n)
    COMPRESSBZ2=(bzip2 -c -f)
    COMPRESSXZ=(xz -c -z -)
    COMPRESSLRZ=(lrzip -q)
    COMPRESSLZO=(lzop -q)
    COMPRESSZ=(compress -c -f)
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    #PKGEXT='.pkg.tar.xz'
    PKGEXT='.tar'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Those were the options I used to build. I installed the depends and then built in my home directory after making the change to the PKGBUILD (adding staticlibs to options array) as you specified. My cpu is i7 sandybridge. Aside from that I'm not sure how much help I can be.

  • Support for debugging symbols

    Hi,
    I'm using Kde but kwin crashes very often. I have submitted the bug to bugs.kde (http://bugs.kde.org/show_bug.cgi?id=150130) but I cannot manage to install debug symbols.
    I have read the wiki (http://wiki.archlinux.org/index.php/Deb … ing_Traces), and after recompiling glibc all is the same.
    This is the trace:
    (no debugging symbols found)
    Using host libthread_db library "/lib/libthread_db.so.1".
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    [Thread debugging using libthread_db enabled]
    [New Thread -1231751456 (LWP 2910)]
    [KCrash handler]
    #6  0xb774d637 in NETWinInfo::windowType () from /opt/kde/lib/libkdecore.so.4
    #7  0xb670e186 in KWinInternal::Client::windowType ()
        from /opt/kde/lib/libkdeinit_kwin.so
    #8  0xb670ea91 in KWinInternal::Client::isDesktop ()
        from /opt/kde/lib/libkdeinit_kwin.so
    #9  0xb670f2b2 in KWinInternal::Client::isSpecialWindow ()
        from /opt/kde/lib/libkdeinit_kwin.so
    #10 0xb67577fd in KWinInternal::findClientInList<KWinInternal::FetchNameInternalPredicate> () from /opt/kde/lib/libkdeinit_kwin.so
    #11 0xb6732ace in KWinInternal::Client::setCaption ()
        from /opt/kde/lib/libkdeinit_kwin.so
    #12 0xb674c7b0 in KWinInternal::Client::manage ()
        from /opt/kde/lib/libkdeinit_kwin.so
    #13 0xb674e676 in KWinInternal::Workspace::createClient ()
        from /opt/kde/lib/libkdeinit_kwin.so
    #14 0xb6751ccd in KWinInternal::Workspace::workspaceEvent ()
        from /opt/kde/lib/libkdeinit_kwin.so
    #15 0xb6751dce in KWinInternal::Application::x11EventFilter ()
        from /opt/kde/lib/libkdeinit_kwin.so
    #16 0xb70b0575 in ?? () from /opt/qt/lib/libqt-mt.so.3
    #17 0xbffba0b0 in ?? ()
    #18 0xbffb9f88 in ?? ()
    #19 0x00100000 in ?? ()
    #20 0xb75c7dd0 in ?? () from /opt/qt/lib/libqt-mt.so.3
    #21 0xb75c7dd0 in ?? () from /opt/qt/lib/libqt-mt.so.3
    #22 0x0000000c in ?? ()
    #23 0xbffb9e98 in ?? ()
    #24 0xb70bf548 in QApplication::x11ProcessEvent ()
        from /opt/qt/lib/libqt-mt.so.3
    Backtrace stopped: frame did not save the PC
    Any suggestions?
    Thanks.

    This error is still occurring for the latest HP-UX JDK 1.5.0_05. I created a simple servlet that performed the following functions:
    1) Write output to PrintWriter from HttpServletResponse
    2) Overrirde the init() method for the servlet
    3) Set a System Property
    4) Open a client socket to a DMI Listener Port
    It appears that items 1-3 completed properly, but the server crashed when opening a client socket from within a servlet container. This is now a highly visible issue that is preventing some of my company's customers from utilizing SunOne as a web server platform for our web interface. I am going to open a support issue with Sun support and see where things go from there. If anyone has any updated information, please post soon. Thanks,
    Morgan Monger
    Senior Software Developer
    Datatel, Inc.

  • Difference between VS2013 and GCC debug symbols

    Hi guys,
    I am writing you today as I am having trouble with my software. it has a Windows and a Linux version, each of them respectively using a static library (C++).
    I notice that, if I build my Windows static library as RELEASE without any debug info : /O2, and Debug Information Format -> None and manually removed.pdb, the .lib file size about 40mb.
    On the contrary, regarding the Linux library, I use GCC in order to build it as RELEASE as well: -O2 and -g0.
    Once compiled, my .a file's size is about 12mb.
    Well, those compilers are completely different, and the library's size doesn't really matter.
    Of course, my application, which needs the library, has debug symbols generated (whether I am on Windows or Linux).
    While debugging, I can have access to all of the members/classes of my application (and also the ones from my Windows library), using Microsoft Visual Studio 2013.
    And now, while debugging with the Linux lib (within Eclipse), I have access to my class members, except the one from the library.
    I was wondering what's happening in the background:
    _ Why does it seem like the Windows version of my library contains more symbols/data, which allows me to debug my program using the library ?
    _ Why can't I debug the objects from my Linux library ? (this one is about four times smaller than the Window's one)
    If I try to access to some classes from my library, Eclipse/GDB says <incomplete type> in the Debug view.
    I am lost on this point. Does anyone know about that ?
    Thank you very much for your help !

    Hi ddocteur,
    Appreciate your patience and sharing detailed information. 
    It does need to cost some time to to involve someone familiar with this topic to further look at this issue. Your detailed information will be quite helpful, and there might be some time delay.
    Thanks for your sharing and understanding.
    Best Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to reset the BIOS to solve a problem with DVD burner on Satellite P100

    Hi
    I am trying to reset my cmos to solve a problem with my dvd burner.
    I was trying to run an old game that I own that was protected by starforce and ran starforce nightmare with has made the device completly inoperable.
    After much searching I have heard to reset cmos.
    I have treid through debug and nothing happend. I don't really want to open up the laptop and pull the cmos battery out or leave it for a month until the cmos battery runs out.
    Is there any advice on what I should do.

    Hi
    What you want to do is simply not possible you said that you had some problems with PCs and you fixed it.
    That's great. But a PC is simply different and cannot be compared with the notebook
    > I was trying to run an old game that I own that was protected by starforce and ran starforce nightmare with has made the device completely inoperable.
    According to your statement above you CD/DVD drive issue could be related to the installed starforce nightmare. I dont know this but I presume this software/application has changed or destroyed the CD/DVD drives firmware.
    Sorry but I see only one way to get it working again You have to contact the ASP in your country. Maybe a technician would be able to rescue the drive
    PS: your Satellite P100 PSPA6A series seems to be a Australian series therefore you should use the Toshiba Australian page if you need some drivers or BIOS
    Bye

  • I just updated my latest java but the update is causing problems with some externale devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device

    i just updated my latest java but the update is causing problems with some external devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device.
    Is this possible and how do i do that?
    Anyone who responds thanks for that!
    Juko
    I am running
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro1,1
      Processor Name:          Dual-Core Intel Xeon
      Processor Speed:          2,66 GHz
      Number of Processors:          2
      Total Number of Cores:          4
      L2 Cache (per Processor):          4 MB
      Memory:          6 GB
      Bus Speed:          1,33 GHz
      Boot ROM Version:          MP11.005D.B00
      SMC Version (system):          1.7f10
      Serial Number (system):          CK7XXXXXXGP
      Hardware UUID:          00000000-0000-1000-8000-0017F20F82F0
    System Software Overview:
      System Version:          Mac OS X 10.7.5 (11G63)
      Kernel Version:          Darwin 11.4.2
      Boot Volume:          Macintosh HD(2)
      Boot Mode:          Normal
      Computer Name:          Mac Pro van Juko de Vries
      User Name:          Juko de Vries (jukodevries)
      Secure Virtual Memory:          Enabled
      64-bit Kernel and Extensions:          No
      Time since boot:          11 days 20:39
    Message was edited by Host

    Java 6 you can't as Apple maintains it, and Java 7 you could if you uninstall it and Oracle provides the earlier version which they likely won't his last update fixed 37 remote exploits.
    Java broken some software here and there, all you'll have to do is wait for a update from the other parties.

  • TS1567 i have uninstalled then reinstalled itunes to solve a problem with apple mobile device, but i get this message during the install. Service  Apple Mobile Device  failed to start. Verify that you have sufficent priveleges to start system services.

    I Have reinstalled itunes to solve a problem with Apple mobile support, but during install i get this message. Service 'Apple Mobile, ( Apple Mobile Device ) failed to start. Verify that you have sufficent privileges to start system services. I'd appreciate any help on this.
    Thanks bluebanana 66

    Hi bluebanana 66,
    Thanks for visiting Apple Support Communities.
    There are a few reasons why you might receive this message after installing iTunes. You may need to verify that iTunes has been completely removed before trying to install again. See this article for the steps to completely remove and reinstall iTunes:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/ht1923
    If the error message persists, see the "Additional troubleshooting" section of this article for some steps that can help solve it:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Best,
    Jeremy

  • [solved] findutils - problem with file permissions

    Hey,
    I tried running makepkg -c for an updated PKGBUILD of a package I maintain in the AUR (gretl), and it seemed fine but then hit:
    ==> Tidying install...
    -> Purging other files...
    -> Compressing man and info pages...
    -> Stripping debugging symbols from binaries and libraries...
    -> Removing libtool .la files...
    -> Removing empty directories...
    find: invalid predicate `-delete'
    I'd had some other strange errors with find over the past few weeks or so (my last -Syu was after this month's catalyst driver came out with support for the current kernel) but had shrugged them off. This error made me decide to try reinstalling findutils, and it gave the error:
    error: cannot remove file 'usr/bin/find': Operation not permitted
    a bit stupidly, I tried pacman -Rd then -S findutils, and now I get
    error: failed to commit transaction (conflicting files)
    findutils: /usr/bin/find exists in filesystem
    Errors occurred, no packages were upgraded.
    missing dependency for ca-certificates : findutils
    missing dependency for initscripts : findutils
    missing dependency for mkinitcpio : findutils
    missing dependency for texinfo : findutils
    ls -als /usr/bin | grep find     gives:
    12 -rwxr-xr-x 1 root root 10636 Mar 25 16:24 deepfind
    64 -rwxr-xr-x 1 root root 59200 May 9 01:58 efinder
    64 -rwxr-xr-x 1 500 500 59536 Jun 16 14:49 find
    and rm, mv, chmod, chown etc on /usr/bin/find as root, and from livecd, all also come back with "Operation not permitted".
    find seems to work fine for a few simple uses I've just tried.. but the last time I ran makepkg -c without the error was before the last system upgrade, so I'm guessing find didn't upgrade properly then due to whatever is wrong with the permissions, leading to the other errors.
    Anyway, I guess the question is, can I do anything to get rid of /usr/bin/find and reinstall findutils? don't mind so much about missing dependencies as I tend not to upgrade that often, but find not doing what it should is a bit of a pain.
    Last edited by manehi (2009-08-30 08:52:20)

    mm I tried all that, and no luck. though trying adduser 500 did give me a helpful reminder that usernames can't start with numbers...
    anyway, it's not a huge deal atm, and I can always clean reinstall the / partition if things really break. Thanks all the same.
    PS:
    huh, just had a thought - I remember how I used to get annoyed how mounting partitions using ext2ifs in windows didn't respect permissions properly. and now I almost wish I had a windows partition / that this wasn't a laptop hard drive...
    Last edited by manehi (2009-08-30 00:31:13)

  • Iphone stuck with apple symbol and wont start up

    i updated my iphone and when it finished and went to reboot it just stays stuck on the apple symbol it constantly reboots and will never connect to my laptop i dont know what to do if anyone can help please do

    Hi,
    Luca224 & Ingo2711. Thanks for bringing this topic. on 29th Nov. I faced the same problem on my iPhone 3GS 32GB Firmware 3.1.2, iPhone stuck with apple symbol and wont start up. I have tried with 10 Seconds Sleep/wake-up button + home button to reset. But didn't work. Did google about an hour with many blogs. Finally I made a call to 3 iPhone care and spent 30 minutes and explained whatever I have done; iPhone customer care asked me to go to nearby iPhone service center in Sydney. BUT BY LUCK CLICKED ON iTUNE AND GOT THE OPTION FOR ONLINE FORUM FOR APPLE iPHONE. Many many thanks to Ingo2711 who has given the solution link and also thanks to Luca224 , who raised the issue. I feel, this is a common problem with iPhones those who using iPhone 3GS 3.1.2...... but try the link http://support.apple.com/kb/HT1808 and thanks to Luca224 & Ingo2711. PLEASE FOLLOW THE INSTRUCTION CAREFULY:
    1. Verify you have iTunes 7.5 or later. Apple recommends using the latest version of iTunes.
    2. Disconnect the USB cable from the iPhone or iPod touch, but leave the other end of the cable connected to your computer's USB port.
    3. Power off the device (Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the the iPhone or iPod touch to turn off. _+(in my case - red slider didn't appear, but i pressed the Sleep/Wake button until the iPhone went off, finally it was just off... i was frustrated... tried 3 times with more patience )+_
    4. Press and hold the Home button while reconnecting the USB cable to iPhone. When you reconnect the USB to iPhone, the device should then power on. +_( Do exactly as it says)_+
    Note: If you see the message "Charging... Please Wait" or you see the screen pictured below, let the device charge for at least 10 minutes to ensure the battery has some charge and then start with step 2 again. +_(True ... for me it happened 3 times)_+
    5. Continue holding the Home button while iPhone starts up. While starting up, you will see the Apple logo. +_( I was nearly frustrated at my 3rd attempet; my thumb was hurting as I was holding the home button for few minutes..... but finally it worked yahooooooooooooooooo...... suddenly changed my decision.... about going to 3/Apple service center)_+
    6. When you see "Connect to iTunes" on the screen, you can release the Home button and iTunes will display the recovery mode message:
    If you don't see the "Connect to iTunes" screen, then disconnect the USB cable from iPhone and repeat steps 3-6.
    Because you must restore iPhone or iPod touch, iTunes will not recover data from the device, but if it was previously synced on the same computer and the same user account, it should restore a backup (if available). See document HT1414, "Updating and Restoring iPhone Software."
    If you are still unable to restore the iPhone using this method, check Apple support for further troubleshooting and/or service options.
    Note: If you sync both an iPhone and an iPod touch to the same computer, make sure you select the correct backup to restore your settings from (don't select an iPhone backup if you have an iPod touch and don't select an iPod touch backup if you have an iPhone).
    **** ( BACKUP FROM YOUR iTUNES : MAC/PC; AS I GOT MY 95% DATA FROM THERE.... GOOD LUCK)******* IF IT WORKS PLEASE POST YOUR EXPERIENCE....*
    THANKS

  • Compiling with debug info

    Hi!
    I get a question about PL/SQl, How can I compile a Block PL/SQL with debug information, in SQL*Plus?
    Thanks in Advance
    - Pablo

    From the symptoms you describe, it is possible that the shared library contains a bug, but it is more likely that the problem is in your code, passing bad data to the shared library.
    The problem might be a compiler bug, but I think an error in your code is more likely.
    For example, your code as written might have undefined behavior that works by accident when compiling without optimizing, but fails when the compiler improves the runtime code.
    Some examples:
    1. A classic MT programming error is failing to declare a variable volatile when it is shared by more than one thread. In each thread, the compiler assumes it can remember the value of the variable and not reload it between references.
    2. "x = ++x + b;" Modifying a variable twice in an expression withtout sequence points has undefined behavior -- compiler optimization can affect the result.
    3." foo(x, x+=3);" the order of evaluation of function arguments is unspecified, so the actual values passed to foo could depend on optimization.
    With C++ 5.5, you get some warnings from system headers that you can't do anything about, which I suspect is why you have disabled some warnings. Unfortunately, you might be disabling warnings that you need to see. That is, some of the disabled warnings could point to invalid code that results in the program crash.
    I suggest using w instead of w2 (to avoid uninteresting warnings), and fix your code to eliminate the warnings you get.
    In the current compiler, C++ 5.7 in Sun Studio 10, we have made some adjustments to warnings to make w and w2 more useful. You should consider upgrading.You can get a 60-day free trial version here:
    http://www.sun.com/software/products/studio/index.xml
    Also get the current patches for it here:
    http://developers.sun.com/prodtech/cc/downloads/patches/index.html

  • HT201210 I tried to restore my iPhone 4s through iTunes and received error message that Restore could not be completed due to error 2003. Phone now not recognized in iTunes, with prompt to restore, phone w/screen with iTunes symbol and can't use.

    I tried to restore my iPhone 4s through iTunes and received error message that Restore could not be completed due to error 2003. Phone now not recognized in iTunes, with repeated prompts to restore phone. Now phone w/screen with iTunes symbol and USB cord can't use. It appears the phone has been restored, but I cannot activate it.
    I disabled my anti-software, iTunes and computer software (microsoft vista) are both up to date, I restarted the computer several times. My usb ports are working properly. I followed the troubleshooting suggestions from apple.

    yes did you buy it of somebody or a well known company such as apple or carphone warehouse?
    and i mean the phone would have been activated in the first place with the sim card you get given when you first get the phone.
    trying to activate the phone with another sim card that you did not get when you brought the phone may result in you not being able to activate it
    no worries

Maybe you are looking for

  • Opening a file in a Java application

    Hi everybody, I've written a simple text editor, and this editor saves files with a particular extension. It can both open and save files. I've put the text editor program in a JAR. What I'd like to do, if possible, is associate the file extension wi

  • Un installing Concers with itunes

    I have a lot of problems with Itunes Crashing and not responding. Specifically when I add movie content to the Library. I want to uninstall & reinstall the itunes software, but I have a concern that this will this affect - -My paired Ipod -My Apple T

  • How is website data stored

    I have searched for an answer but can't seem to find the information I need, It's pretty simple..I hope someone can help.  I am viewing stored website data on my ipod touch under the advanced settings for safari, I need to know how the data is listed

  • The creative cloud is not opening on my computer, what do I do

    I had to uninstall then re install the creative cloud software, after doing so It worked well, but now it is not opening at all, what do I do

  • Iphone 4-iOS 7.0.4 doesn't work with Philips DS1150 Docking Station

    Hi all, as said, I have an ipod touch 2nd generation and an iphone 4 already updated to iOS7.0.4 4 days ago I bought a docking station Philips DS1150 and while the ipod touch works perfectly, my iphone cames out with a popup message saying that the d