Kern Sibbald wrote:
> On Thursday 15 January 2009 04:32:29 Dan Langille wrote:
>> Kern Sibbald wrote:
>>> Hello Dan,
>>>
>>> I see two possiblities:
>>>
>>> 1. You somehow have mixed 2.5.28 source code into the 2.4.4 code.  In
>>> particular the Makefile being used in the src/dird directory is broken
>>> (from 2.5.28).  There should be no reference to -rpath in that file in
>>> 2.4.4.
>> I'm doing this from within the FreeBSD port infrastructure.  It fetches
>> the 2.4.4b2 tarball.  Nothing manual.  A checksum ensures it gets the
>> right tarball.
> 
> Still, the following in the link in src/dird:
> 
>  "/usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath
>  -Wl,/usr/local/lib"  
> 
> is not something that I would expect in the link, and should not be part of 
> our code.  Where did it come from?

I don't know, and don't know what to search for.  Does this help?  I see 
nothing in the FreeBSD port, just Bacula code:

# grep -r libintl *
work/bacula-2.4.4-b2/src/baconfig.h:   #include <libintl.h>
work/bacula-2.4.4-b2/src/win32/README.vc8:  sed (sed.exe) Depends on 
libintl, libiconv
work/bacula-2.4.4-b2/src/win32/README.vc8:  tee (tee.exe) Depends on 
libintl, libiconv
work/bacula-2.4.4-b2/src/win32/README.vc8:  wget (wget.exe) Depends on 
libintl, libiconv, openssl
work/bacula-2.4.4-b2/src/win32/README.vc8:  libintl (libintl3.dll) 
Dependency of sed, tee, wget
work/bacula-2.4.4-b2/src/win32/README.vc8: 
http://prdownloads.sourceforge.net/gnuwin32/libintl-0.14.4-bin.zip?download
work/bacula-2.4.4-b2/src/win32/installer/winbacula.nsi:    File 
"${SRC_DIR}\libintl-2.dll"
work/bacula-2.4.4-b2/src/win32/installer/winbacula.nsi:    File 
"${SRC_DIR}\libintl-2.dll"

[many more lines not included]

> 
> Kern
> 
>> # cat distinfo
>> MD5 (bacula-2.4.4-b2.tar.gz) = 4726a2ebb9a0a28696fb822063d5f814
>> SHA256 (bacula-2.4.4-b2.tar.gz) =
>> 8857ba355ee1eaef068a84b4e279044f459ff7ef6c52824e1f5b3a32aaba781f
>> SIZE (bacula-2.4.4-b2.tar.gz) = 3145178
>>
>> # ls -l /usr/ports/distfiles/bacula-2.4.4-b2.tar.gz
>> -rw-r--r--  1 root  wheel  3145178 Dec 24 09:19
>> /usr/ports/distfiles/bacula-2.4.4-b2.tar.gz
>>
>> # md5 /usr/ports/distfiles/bacula-2.4.4-b2.tar.gz
>> MD5 (/usr/ports/distfiles/bacula-2.4.4-b2.tar.gz) =
>> 4726a2ebb9a0a28696fb822063d5f814
>>
>> That all matches up.
>>
>> It's very odd.  I'm not overly concerned: it is a beta.  And the daily
>> regression builds are going fine.
>>
>>> 2. Less probabable than the above, something has changed with the FreeBSD
>>> internationalization tools that is causing a problem.
>> This is the same server I've been working on for a while, no updates, etc.
>>
>>> Regards,
>>>
>>> Kern
>>>
>>> On Thursday 15 January 2009 01:56:35 Dan Langille wrote:
>>>> When I first tried 2.4.4.b1, it built.  That's part of my normal testing
>>>> routine when releasing a new version to the FreeBSD ports tree.  I know
>>>> the tarball has not changed so I don't know why this problem has come
>>>> up.
>>>>
>>>> However, a user has found a problem, which I can now replicate.  I have
>>>> no idea what is causing this.
>>>>
>>>>
>>>> ==>Entering directory
>>>> /usr/home/dan/src/bacula-server-devel/work/bacula-2.4.4-b2/manpages
>>>>
>>>> Configuration on Wed Jan 14 19:16:09 EST 2009:
>>>>
>>>>    Host:                       i386-portbld-freebsd6.3 -- freebsd
>>>> 6.3-STABLE Bacula version:             2.4.4-b2 (24 December 2008)
>>>>    Source code location:       .
>>>>    Install binaries:           /usr/local/sbin
>>>>    Install config files:       /usr/local/etc
>>>>    Scripts directory:          /usr/local/share/bacula
>>>>    Archive directory:
>>>>    Working directory:          /var/db/bacula
>>>>    PID directory:              /var/run
>>>>    Subsys directory:           /var/run/subsys
>>>>    Man directory:              /usr/local/man
>>>>    Data directory:             ${prefix}/share
>>>>    C Compiler:                 cc 3.4.6
>>>>    C++ Compiler:               /usr/bin/c++ 3.4.6
>>>>    Compiler flags:              -O2 -fno-strict-aliasing -pipe
>>>>    Linker flags:                 -L/usr/local/lib
>>>>    Libraries:                  -lpthread  -lintl
>>>>    Statically Linked Tools:    no
>>>>    Statically Linked FD:       no
>>>>    Statically Linked SD:       no
>>>>    Statically Linked DIR:      no
>>>>    Statically Linked CONS:     no
>>>>    Database type:              PostgreSQL
>>>>    Database lib:               -L/usr/local/lib -lpq -lcrypt
>>>>    Database name:              bacula
>>>>    Database user:              bacula
>>>>
>>>>    Job Output Email:           r...@localhost
>>>>    Traceback Email:            r...@localhost
>>>>    SMTP Host Address:          localhost
>>>>
>>>>    Director Port:              9101
>>>>    File daemon Port:           9102
>>>>    Storage daemon Port:        9103
>>>>
>>>>    Director User:              bacula
>>>>    Director Group:             bacula
>>>>    Storage Daemon User:        bacula
>>>>    Storage DaemonGroup:        operator
>>>>    File Daemon User:
>>>>    File Daemon Group:
>>>>
>>>>    SQL binaries Directory      /usr/local/bin
>>>>
>>>>    Large file support:         yes
>>>>    Bacula conio support:       no -lreadline -lhistory -ltermcap
>>>>    readline support:           yes
>>>>    TCP Wrappers support:       yes -lwrap
>>>>    TLS support:                yes
>>>>    Encryption support:         yes
>>>>    ZLIB support:               yes
>>>>    enable-smartalloc:          yes
>>>>    bat support:                no
>>>>    enable-gnome:               no
>>>>    enable-bwx-console:         no
>>>>    enable-tray-monitor:
>>>>    client-only:                no
>>>>    build-dird:                 yes
>>>>    build-stored:               yes
>>>>    ACL support:                yes
>>>>    Python support:             no
>>>>    Batch insert enabled:       yes
>>>>
>>>>
>>>> ===>  Building for bacula-server-devel-2.4.4.b2
>>>> ==>Entering directory
>>>> /usr/home/dan/src/bacula-server-devel/work/bacula-2.4.4-b2/src
>>>> ==>Entering directory
>>>> /usr/home/dan/src/bacula-server-devel/work/bacula-2.4.4-b2/scripts
>>>> ==>Entering directory
>>>> /usr/home/dan/src/bacula-server-devel/work/bacula-2.4.4-b2/src/lib
>>>> Compiling attr.c
>>>> Compiling base64.c
>>>> Compiling berrno.c
>>>> Compiling bsys.c
>>>> Compiling bget_msg.c
>>>> Compiling bnet.c
>>>> Compiling bnet_server.c
>>>> Compiling runscript.c
>>>> Compiling bsock.c
>>>> Compiling bpipe.c
>>>> Compiling bsnprintf.c
>>>> Compiling btime.c
>>>> Compiling cram-md5.c
>>>> Compiling crc32.c
>>>> Compiling crypto.c
>>>> Compiling daemon.c
>>>> Compiling edit.c
>>>> Compiling enh_fnmatch.c
>>>> Compiling fnmatch.c
>>>> Compiling guid_to_name.c
>>>> Compiling hmac.c
>>>> Compiling jcr.c
>>>> Compiling lex.c
>>>> Compiling alist.c
>>>> Compiling dlist.c
>>>> Compiling md5.c
>>>> Compiling message.c
>>>> Compiling mem_pool.c
>>>> Compiling openssl.c
>>>> Compiling parse_conf.c
>>>> Compiling queue.c
>>>> Compiling bregex.c
>>>> Compiling res.c
>>>> Compiling rwlock.c
>>>> Compiling scan.c
>>>> Compiling serial.c
>>>> Compiling sha1.c
>>>> Compiling signal.c
>>>> Compiling smartall.c
>>>> Compiling rblist.c
>>>> Compiling tls.c
>>>> Compiling tree.c
>>>> Compiling util.c
>>>> Compiling var.c
>>>> Compiling watchdog.c
>>>> Compiling workq.c
>>>> Compiling btimers.c
>>>> Compiling address_conf.c
>>>> Compiling pythonlib.c
>>>> Compiling breg.c
>>>> Making libbac.a ...
>>>> /usr/bin/ar rc  libbac.a attr.o base64.o berrno.o bsys.o bget_msg.o
>>>> bnet.o bnet_server.o runscript.o  bsock.o bpipe.o bsnprintf.o btime.o
>>>> cram-md5.o crc32.o crypto.o daemon.o edit.o  enh_fnmatch.o fnmatch.o
>>>> guid_to_name.o hmac.o jcr.o lex.o alist.o dlist.o  md5.o message.o
>>>> mem_pool.o openssl.o parse_conf.o  queue.o bregex.o  res.o rwlock.o
>>>> scan.o serial.o sha1.o  signal.o smartall.o rblist.o tls.o tree.o
>>>> util.o var.o watchdog.o workq.o btimers.o  address_conf.o pythonlib.o
>>>> breg.o ranlib libbac.a
>>>> ==== Make of lib is good ====
>>>>
>>>> ==>Entering directory
>>>> /usr/home/dan/src/bacula-server-devel/work/bacula-2.4.4-b2/src/findlib
>>>> Compiling find.c
>>>> Compiling match.c
>>>> Compiling find_one.c
>>>> Compiling attribs.c
>>>> Compiling create_file.c
>>>> Compiling bfile.c
>>>> Compiling drivetype.c
>>>> Compiling enable_priv.c
>>>> Compiling fstype.c
>>>> Compiling makepath.c
>>>> Compiling save-cwd.c
>>>> Making libfind.a ...
>>>> /usr/bin/ar cr libfind.a find.o match.o find_one.o attribs.o
>>>> create_file.o  bfile.o drivetype.o enable_priv.o fstype.o makepath.o
>>>> save-cwd.o
>>>> ranlib libfind.a
>>>> ==== Make of findlib is good ====
>>>>
>>>> ==>Entering directory
>>>> /usr/home/dan/src/bacula-server-devel/work/bacula-2.4.4-b2/src/cats
>>>> Compiling mysql.c
>>>> Compiling bdb.c
>>>> Compiling bdb_create.c
>>>> Compiling bdb_get.c
>>>> Compiling bdb_update.c
>>>> Compiling bdb_delete.c
>>>> Compiling bdb_find.c
>>>> Compiling bdb_list.c
>>>> Compiling sql.c
>>>> Compiling sql_cmds.c
>>>> Compiling sql_create.c
>>>> Compiling sql_delete.c
>>>> Compiling sql_find.c
>>>> Compiling sql_get.c
>>>> Compiling sql_list.c
>>>> Compiling sql_update.c
>>>> Compiling sqlite.c
>>>> Compiling postgresql.c
>>>> Making libsql.a ...
>>>> /usr/bin/ar rc  libsql.a mysql.o bdb.o bdb_create.o bdb_get.o
>>>> bdb_update.o  bdb_delete.o bdb_find.o bdb_list.o  sql.o sql_cmds.o
>>>> sql_create.o sql_delete.o sql_find.o  sql_get.o sql_list.o sql_update.o
>>>> sqlite.o  postgresql.o
>>>> ranlib libsql.a
>>>> ==== Make of cats is good ====
>>>>
>>>> ==>Entering directory
>>>> /usr/home/dan/src/bacula-server-devel/work/bacula-2.4.4-b2/src/dird
>>>> Compiling dird.c
>>>> Compiling admin.c
>>>> Compiling authenticate.c
>>>> Compiling autoprune.c
>>>> Compiling backup.c
>>>> Compiling bsr.c
>>>> Compiling catreq.c
>>>> Compiling dird_conf.c
>>>> Compiling expand.c
>>>> Compiling fd_cmds.c
>>>> Compiling getmsg.c
>>>> Compiling inc_conf.c
>>>> Compiling job.c
>>>> Compiling jobq.c
>>>> Compiling migrate.c
>>>> Compiling mountreq.c
>>>> Compiling msgchan.c
>>>> Compiling next_vol.c
>>>> Compiling newvol.c
>>>> Compiling pythondir.c
>>>> Compiling recycle.c
>>>> Compiling restore.c
>>>> Compiling run_conf.c
>>>> Compiling scheduler.c
>>>> Compiling ua_acl.c
>>>> Compiling ua_cmds.c
>>>> Compiling ua_dotcmds.c
>>>> Compiling ua_query.c
>>>> Compiling ua_input.c
>>>> Compiling ua_label.c
>>>> Compiling ua_output.c
>>>> Compiling ua_prune.c
>>>> Compiling ua_purge.c
>>>> Compiling ua_restore.c
>>>> Compiling ua_run.c
>>>> Compiling ua_select.c
>>>> Compiling ua_server.c
>>>> Compiling ua_status.c
>>>> Compiling ua_tree.c
>>>> Compiling ua_update.c
>>>> Compiling verify.c
>>>> Linking bacula-dir ...
>>>> /usr/bin/c++  -L/usr/local/lib -L../lib -L../cats -L../findlib -o
>>>> bacula-dir dird.o admin.o authenticate.o  autoprune.o backup.o bsr.o
>>>> catreq.o dird_conf.o expand.o  fd_cmds.o getmsg.o inc_conf.o job.o
>>>> jobq.o migrate.o  mountreq.o msgchan.o next_vol.o newvol.o  pythondir.o
>>>>   recycle.o restore.o run_conf.o  scheduler.o  ua_acl.o ua_cmds.o
>>>> ua_dotcmds.o  ua_query.o  ua_input.o ua_label.o ua_output.o ua_prune.o
>>>> ua_purge.o ua_restore.o ua_run.o  ua_select.o ua_server.o  ua_status.o
>>>> ua_tree.o ua_update.o verify.o  -lsql -lfind -lbac -lm
>>>> -L/usr/local/lib -lpq -lcrypt -lpthread  -lintl  -lwrap
>>>> /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath
>>>> -Wl,/usr/local/lib -lssl -lcrypto
>>>>
>>>> dird.o(.text+0x7b): In function `terminate_dird(int)':
>>>> : undefined reference to `bmicrosleep(int, long)'
>>>>
>>>> dird.o(.text+0xac): In function `terminate_dird(int)':
>>>> : undefined reference to `generate_daemon_event(JCR*, char const*)'
>>>>
>>>> dird.o(.text+0x121): In function `terminate_dird(int)':
>>>> : undefined reference to `free_config_resources()'
>>>>
>>>> dird.o(.text+0x277): In function `reload_job_end_cb(JCR*, void*)':
>>>> : undefined reference to `b_LockRes(char const*, int)'
>>>>
>>>> dird.o(.text+0x29f): In function `reload_job_end_cb(JCR*, void*)':
>>>> : undefined reference to `b_UnlockRes(char const*, int)'
>>>>
>>>> dird.o(.text+0x2f1): In function `reload_job_end_cb(JCR*, void*)':
>>>> : undefined reference to `b_UnlockRes(char const*, int)'
>>>>
>>>> dird.o(.text+0x340): In function `check_resources()':
>>>> : undefined reference to `b_LockRes(char const*, int)'
>>>>
>>>> dird.o(.text+0x34e): In function `check_resources()':
>>>> : undefined reference to `GetNextRes(int, RES*)'
>>>>
>>>> dird.o(.text+0x35e): In function `check_resources()':
>>>> : undefined reference to `GetNextRes(int, RES*)'
>>>>
>>>> etc
> 
> 


-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to