You are not logged in.

#1 2006-05-26 09:49:55

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

eJourn from AUR doesn't want to build

Here's the output I get from makepkg:

==> Entering fakeroot environment
==> Making package: ejourn 0.4.1-1 (Fri May 26 10:47:40 BST 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Found ejourn-0.4.1.tar.bz2 in build dir
==> Validating source files with MD5sums
    ejourn-0.4.1.tar.bz2 ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf ejourn-0.4.1.tar.bz2
==> Removing existing pkg/ directory...
==> Starting build()...
Setting prefix to /usr
make: Circular src/objs.d <- src/objs.d dependency dropped.
cd src && make
make[1]: Entering directory `/var/abs/local/ejourn/src/eJourn/src'
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c prefix.c -DENABLE_BINRELOC -lpthread
gcc: -lpthread: linker input file unused because linking not done
gcc -g -O2  -DENABLE_BINRELOC  -shared -Wl,-soname,libejourn.so.1 -o libejourn.so xml.o io.o simple.o callbacks.o clipboard.o crypt.o error.o gui_al.o gui_io.o journal.o listen.o talk.o months.o threads.o settings.o search.o meta_functions.o undo.o images.o interface.o prefDialogue.o support.o time.o plugins.o journ_wzrd.o prefix.o about.o export.o login.o structure.o tabs.o calendar.o search_tab.o edit.o cryptography.o srch_pane.o second.o  
gcc -g -O2  -DENABLE_BINRELOC  -o ejourn-gui -L. -lejourn `pkg-config gtk+-2.0 --libs` `pkg-config gthread-2.0 --libs`  `libgcrypt-config --libs` main.o
main.o: In function `__lock':
/var/abs/local/ejourn/src/eJourn/src/main.c:43: undefined reference to `elog_glob_lock'
main.o: In function `__unlock':
/var/abs/local/ejourn/src/eJourn/src/main.c:44: undefined reference to `elog_glob_unlock'
main.o: In function `main':
/var/abs/local/ejourn/src/eJourn/src/main.c:49: undefined reference to `elog_thrd_initialize'
./libejourn.so: undefined reference to `elog_glob_reg_scnd_thread'
collect2: ld returned 1 exit status
make[1]: *** [ejourn-gui] Error 1
make[1]: Leaving directory `/var/abs/local/ejourn/src/eJourn/src'
make: *** [src/objs.d] Error 2
==> ERROR: Build Failed.  Aborting...

.oO Komodo Dave Oo.

Offline

#2 2006-05-26 14:08:32

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: eJourn from AUR doesn't want to build

Did you modify your /etc/makepkg.conf ?

Offline

#3 2006-05-27 05:29:06

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: eJourn from AUR doesn't want to build

sebcactus wrote:

Did you modify your /etc/makepkg.conf ?

Not intentionally / not that I'm aware of smile


.oO Komodo Dave Oo.

Offline

#4 2006-05-27 06:16:03

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: eJourn from AUR doesn't want to build

Builds fine here (apart from a broken symlink, see my comment in AUR). Do you have pkgconfig installed?

Offline

#5 2006-05-27 08:02:07

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: eJourn from AUR doesn't want to build

Snowman wrote:

Builds fine here (apart from a broken symlink, see my comment in AUR). Do you have pkgconfig installed?

Yep, sure do.

I actually have it running now, because I found a prebuilt pkg online. I'd still like to be able to build it myself though, obviously, since not knowing what the problem is will only bottle up trouble for the future.


.oO Komodo Dave Oo.

Offline

#6 2006-05-27 17:57:42

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: eJourn from AUR doesn't want to build

Try deleting the $startdir/src directory and run makepkg again. Here's the output I get:

==> Entering fakeroot environment
==> Making package: ejourn 0.4.1-1 (Sat May 27 13:54:29 EDT 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Found ejourn-0.4.1.tar.bz2 in build dir
==> Validating source files with MD5sums
    ejourn-0.4.1.tar.bz2 ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf ejourn-0.4.1.tar.bz2
==> Starting build()...
Setting prefix to /usr
make: Circular src/objs.d <- src/objs.d dependency dropped.
cd src && make
make[1]: Entering directory `/tmp/src/eJourn/src'
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c xml.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c io.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c simple.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c callbacks.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include  `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c clipboard.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include   -c -o crypt.o crypt.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include  `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c error.c 
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c gui_al.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags`-c gui_io.c
gui_io.c: In function 'elog_gui_io_dispLocation':
gui_io.c:599: warning: implicit declaration of function 'elog_cal_highlightEntry'
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c journal.c `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags`
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c listen.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c talk.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c months.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c threads.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c settings.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c search.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c meta_functions.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags`  -c undo.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c images.c
images.c: In function '_load_img_set':
images.c:69: warning: passing argument 2 of 'elog_sp_resizeArrayInt' makes pointer from integer without a cast
images.c:83: warning: pointer targets in assignment differ in signedness
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c interface.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c prefDialogue.c
prefDialogue.c: In function 'on_pass_btn_pressed':
prefDialogue.c:777: warning: pointer targets in passing argument 2 of 'elog_io_readRestofFile' differ in signedness
prefDialogue.c:812: warning: implicit declaration of function 'elog_wrn_print'
prefDialogue.c: In function 'on_close_btn_pressed':
prefDialogue.c:830: warning: pointer targets in passing argument 1 of 'encryptText' differ in signedness
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c support.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c time.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c plugins.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c journ_wzrd.c `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags`
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c prefix.c -DENABLE_BINRELOC -lpthread
gcc: -lpthread: linker input file unused because linking not done
gcc: -lpthread: linker input file unused because linking not done
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c about.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c export.c
export.c: In function '__exp_html_latex':
export.c:31: warning: pointer targets in initialization differ in signedness
export.c:33: warning: pointer targets in passing argument 1 of 'decryptText' differ in signedness
export.c: In function 'elog_exp_html':
export.c:223: warning: pointer targets in passing argument 2 of 'elog_io_readRestofFile' differ in signedness
export.c:223: warning: pointer targets in assignment differ in signedness
export.c:250: warning: pointer targets in passing argument 2 of 'elog_io_readRestofFile' differ in signedness
export.c:250: warning: pointer targets in assignment differ in signedness
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c login.c
login.c: In function 'lgn_on_select_journ':
login.c:267: warning: pointer targets in passing argument 2 of 'elog_io_readRestofFile' differ in signedness
login.c:267: warning: pointer targets in assignment differ in signedness
login.c:280: warning: implicit declaration of function 'elog_set_set_str'
login.c: In function 'create_login_window':
login.c:685: warning: implicit declaration of function 'elog_set_get_str'
login.c:685: warning: initialization makes pointer from integer without a cast
login.c: In function 'lgn_on_select_journ':
login.c:265: warning: 'content' may be used uninitialized in this function
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c structure.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c tabs.c `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` 
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c calendar.c 
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c search_tab.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c edit.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c cryptography.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c srch_pane.c
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -c second.c
gcc -g -O2  -DENABLE_BINRELOC  -shared -Wl,-soname,libejourn.so.1 -o libejourn.so xml.o io.o simple.o callbacks.o clipboard.o crypt.o error.o gui_al.o gui_io.o journal.o listen.o talk.o months.o threads.o settings.o search.o meta_functions.o undo.o images.o interface.o prefDialogue.o support.o time.o plugins.o journ_wzrd.o prefix.o about.o export.o login.o structure.o tabs.o calendar.o search_tab.o edit.o cryptography.o srch_pane.o second.o  
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c main.c
gcc -g -O2  -DENABLE_BINRELOC  -o ejourn-gui -L. -lejourn `pkg-config gtk+-2.0 --libs` `pkg-config gthread-2.0 --libs`  `libgcrypt-config --libs` main.o
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include `pkg-config gtk+-2.0 --cflags` `pkg-config gthread-2.0 --cflags` -c cli_main.c
gcc -g -O2  -DENABLE_BINRELOC  `pkg-config gtk+-2.0 --libs` `pkg-config gthread-2.0 --libs` `libgcrypt-config --libs` -o ejourn -L. -lejourn cli_main.o
make[1]: Leaving directory `/tmp/src/eJourn/src'
cp src/ejourn .
cp src/ejourn-gui .
cp src/libejourn.so .
touch all
make: Circular src/modules/mods.d <- src/modules/mods.d dependency dropped.
cd src/modules && make
make[1]: Entering directory `/tmp/src/eJourn/src/modules'
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -shared -o cli_integration.so -L../ -lejourn cli_integration.c `pkg-config gtk+-2.0 --libs --cflags` `pkg-config gthread-2.0 --libs --cflags`
cli_integration.c: In function '___init':
cli_integration.c:44: warning: passing argument 1 of 'elog_thrd_launch' from incompatible pointer type
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -shared -o mult_journ.so -L../ -lejourn mult_journ.c `pkg-config gtk+-2.0 --libs --cflags` `pkg-config gthread-2.0 --libs --cflags`
gcc -g -O2  -Wall -fPIC -DENABLE_BINRELOC -I`pwd`/include -shared -o toolbar.so -L../ -lejourn toolbar.c `pkg-config gtk+-2.0 --libs --cflags` `pkg-config gthread-2.0 --libs --cflags`
make[1]: Circular lst_plugin/list.d <lst_plugin> /tmp/pkg/usr/share/ejourn/dict/verbs.dict
sort dict/nouns.dict > /tmp/pkg/usr/share/ejourn/dict/nouns.dict
sort dict/pronoun.dict > /tmp/pkg/usr/share/ejourn/dict/pronoun.dict
cp img/* /tmp/pkg/usr/share/ejourn/img/
cp page/* /tmp/pkg/usr/share/ejourn/page/
cp -r doc/out/* /tmp/pkg/usr/share/ejourn/doc
cp ejourn-gui /tmp/pkg/usr/bin/
cp ejourn /tmp/pkg/usr/bin/
cp libejourn.so* /tmp/pkg/usr/lib/
cp modules/*.so /tmp/pkg/usr/share/ejourn/modules/
ln -f -s /tmp/pkg/usr/lib/libejourn.so /tmp/pkg/usr/lib/libejourn.so.1
==> Removing info/doc files...
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
==> Compressing package...
==> Finished making: ejourn  (Sat May 27 13:54:39 EDT 2006)

Offline

#7 2006-05-27 19:46:39

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: eJourn from AUR doesn't want to build

huh, well it worked this time!

Why would deleting the src directory make a difference snowman?


.oO Komodo Dave Oo.

Offline

#8 2006-05-27 20:30:45

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: eJourn from AUR doesn't want to build

Maybe there was some problem when you first build it. And there was some object files or others temporary files  interfering with the build process when you were trying to rebuild it.  When building/working on a PKGBUILD, I usually remove the src and pkg directories. That way, I'm sure that I'm doing a clean build.

Offline

#9 2006-05-27 21:09:16

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: eJourn from AUR doesn't want to build

Hokey cokey wink  I'll bear that in mind next time big_smile


.oO Komodo Dave Oo.

Offline

Board footer

Powered by FluxBB