Unable to compile SVN

Bug #687852 reported by Bugs-valaide
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
valide
Fix Released
Medium
Nicolas Joseph

Bug Description

Sorry! SVN doesn't compile: http://paste.pocoo.org/show/119945/

Revision history for this message
Nicolas Joseph (gege2061) wrote :

Before compiling, you needs apply the patch for the vapi file.

See the FAQ

Revision history for this message
Nicolas Joseph (gege2061) wrote :
Revision history for this message
Bugs-valaide (bugs-valaide) wrote :
Download full text (17.1 KiB)

Ahh. Yes. but I am missing some file:

vadi@ubuntu-laptop:~/Programs/valide-read-only$ ./apply_patches.sh
./apply_patches.sh: 8: [[: not found
patching file vapi/gtk+-2.0.vapi
Hunk #1 succeeded at 4730 (offset 3 lines).
Hunk #2 succeeded at 5768 (offset 3 lines).
patch: **** Can't rename file vapi/gtk+-2.0.vapi to vapi/gtk+-2.0.vapi.orig :
Permission denied
vadi@ubuntu-laptop:~/Programs/valide-read-only$ sh apply_patches.sh
apply_patches.sh: 8: [[: not found
patching file vapi/gtk+-2.0.vapi
Hunk #1 succeeded at 4730 (offset 3 lines).
Hunk #2 succeeded at 5768 (offset 3 lines).
patch: **** Can't rename file vapi/gtk+-2.0.vapi to vapi/gtk+-2.0.vapi.orig :
Permission denied
vadi@ubuntu-laptop:~/Programs/valide-read-only$ sudo sh apply_patches.sh
[sudo] password for vadi:
apply_patches.sh: 8: [[: not found
patching file vapi/gtk+-2.0.vapi
Hunk #1 succeeded at 4730 (offset 3 lines).
Hunk #2 succeeded at 5768 (offset 3 lines).
patching file vapi/sqlite3.vapi
vadi@ubuntu-laptop:~/Programs/valide-read-only$ ./waf
Waf: Entering directory `/home/vadi/Programs/valide-read-only/_build_'
[ 1/114] valac: libvalide/aboutdialog.vala libvalide/abstract-config-manager.vala
libvalide/abstract-text-document.vala libvalide/compiler.vala
libvalide/config-manager.vala libvalide/document-close-dialog.vala
libvalide/document-manager.vala libvalide/document-message.vala
libvalide/document.vala libvalide/encoding.vala libvalide/executable-manager.vala
libvalide/executable.vala libvalide/goto-dialog.vala libvalide/idocument.vala
libvalide/markup.vala libvalide/panel.vala libvalide/plugin-manager.vala
libvalide/plugin-preferences.vala libvalide/plugin-registrar.vala
libvalide/plugin.vala libvalide/preferences-dialog.vala
libvalide/project-dialog-options.vala libvalide/project-dialog-remove.vala
libvalide/project-dialog.vala libvalide/project-manager.vala libvalide/project.vala
libvalide/recent-manager-ui.vala libvalide/searching.vala libvalide/source-view.vala
libvalide/split-source-view.vala libvalide/start-page.vala libvalide/statusbar.vala
libvalide/template-manager.vala libvalide/template.vala libvalide/uimanager.vala
libvalide/utils.vala libvalide/valac.vala libvalide/window.vala
libvalide/completion/calltips.vala libvalide/completion/manager.vala
libvalide/completion/popup.vala libvalide/completion/proposal.vala
libvalide/completion/provider.vala libvalide/completion/tree.vala
libvalide/completion/trigger.vala libvalide/symbols/access.vala
libvalide/symbols/cache.vala libvalide/symbols/engine.vala
libvalide/symbols/file.vala libvalide/symbols/heritage.vala
libvalide/symbols/implementation.vala libvalide/symbols/kind.vala
libvalide/symbols/language.vala libvalide/symbols/object.vala
libvalide/symbols/parser.vala libvalide/symbols/symbol.vala
libvalide/ui/abstract-close-dialog.vala libvalide/ui/abstract-preferences-dialog.vala
libvalide/ui/abstract-project-dialog-options.vala
libvalide/ui/abstract-project-dialog-remove.vala
libvalide/ui/abstract-project-dialog.vala -> _build_/default/libvalide/aboutdialog.c
_build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.gir _build_/default/libvalide/valide-0.0.de...

Revision history for this message
Nicolas Joseph (gege2061) wrote :

It's maybe a problem due to valac 0.7.3, I don't have this problem with valac 0.7.2

I will test this later.

Revision history for this message
Nicolas Joseph (gege2061) wrote :

I have updated the build system, normaly the problem is fixed.

Revision history for this message
Bugs-valaide (bugs-valaide) wrote :

Sorry, something different now, even after re-applying the patches:

http://paste.pocoo.org/show/120280/

Revision history for this message
Nicolas Joseph (gege2061) wrote :

Can you retry with a new working copy? There have been many changes, it looks like a
problem with cache.

Revision history for this message
Bugs-valaide (bugs-valaide) wrote :

It built! But does not run:

http://paste.pocoo.org/show/120331/

Revision history for this message
Nicolas Joseph (gege2061) wrote :

Your system doesn't found libvalide, you must add the /usr/local/lib directory to the
LD_LIBRARY_PATH environment variable.

You can try:

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib; valide

Revision history for this message
Bugs-valaide (bugs-valaide) wrote :

Thanks, that got it going.

Revision history for this message
Nicolas Joseph (gege2061) wrote :

Great!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.