Bruno Cornec said on Sun, Mar 29, 2009 at 02:19:18PM +0200:

> Also I found that other variables do not seem to be handled correctly:
> -DBSAMLIC='"/var/local/lib/fossology/agents/License.bsam"'
> (I try to understand that one, but it seems to be defined as:
> PROJECTSTATEDIR=$(LOCALSTATEDIR)/lib/$(PROJECT) and I redefine
> LOCALSTATEDIR myself as %{_var} so it should work :-()

Seems this is the same issue, and that LOCALSTATEDIR needs to be defined
at make time !

So now, some progress:

ash-3.2# yum update
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * rpmforge: fr2.rpmfind.net
 * base: distrib-coffee.ipsl.jussieu.fr
 * updates: distrib-coffee.ipsl.jussieu.fr
 * addons: distrib-coffee.ipsl.jussieu.fr
 * fossology: ftp.project-builder.org
 * extras: distrib-coffee.ipsl.jussieu.fr
fossology                 100% |=========================|  951 B
00:00
primary.xml.gz            100% |=========================| 4.4 kB
00:00
fossology : ################################################## 29/29
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package fossology.x86_64 0:trunk-0.20090329143640.centos5 set to be
updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository
Size
=============================================================================
Updating:
 fossology               x86_64     trunk-0.20090329143640.centos5
fossology         1.3 M

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       1 Package(s)
Remove       0 Package(s)

Total download size: 1.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): fossology-trunk-0. 100% |=========================| 1.3 MB
00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : fossology                    #########################
[1/2]
Arrêt du service postgresql:[  OK  ]
Démarrage du service postgresql:[  OK  ]
*** Running postinstall for everything ***
*** Setting up the FOSSology database ***
NOTE: fossology database already exists, not creating
*** Checking for plpgsql support ***
NOTE: plpgsql already exists in fossology database, good
*** Creating user and group ***
NOTE: group 'fossy' already exists, good.
NOTE: user 'fossy' already exists, good.
*** Making sure needed dirs exist with right ownership/permissions ***
NOTE: Repository already exists at /srv/fossology/repository
NOTE: /srv/fossology/repository/localhost directory already exists
*** Checking database connectivity ***
NOTE: Connect succeeded, database is working.
*** Initializing database tables ***
PHP Notice:  Undefined index:  updcache in
/usr/share/fossology/www/plugins/ui-license.php on line 114
PHP Notice:  Undefined offset:  1 in
/usr/share/fossology/www/common/common-parm.php on line 98
PHP Notice:  Undefined variable: PageHex in
/usr/share/fossology/www/plugins/ui-view.php on line 92
PHP Notice:  Undefined variable: PageText in
/usr/share/fossology/www/plugins/ui-view.php on line 93
PHP Notice:  Undefined variable: PageText in
/usr/share/fossology/www/plugins/ui-view.php on line 94
Applying database schema
  Applying database functions
  Migrating database records
  Removing obsolete views
  Removing obsolete columns
  Committing changes...
  Purging cached results
  Initializing new tables and columns
  Initializing plugins
PHP Notice:  Undefined variable: Verbose in
/usr/share/fossology/www/plugins/core-schema.php on line 827
  Initializing agents.
  Initializing data files.  This may take a few minutes.
    Processing 359 license templates.
    ..................................................50
    ..................................................100
    ..................................................150
    ..................................................200
    ..................................................250
    ..................................................300
    ..................................................350
    .........!
New schema applied and initialization completed.
Initialization completed successfully.
*** Setting up scheduler ***
*** Checking Scheduler.conf ***
WARNING: /etc/fossology/Scheduler.conf already exists,
  consider checking it or recreating with mkschedconf.
*** Setting up the web interface ***
FOSSology postinstall complete, but sure to complete the remaining
  steps in the INSTALL instructions.
Rechargement de httpd :[ÉCHOUÉ]
ERROR: Unable to open file for mmap
(/var/local/lib/fossology/agents/License.bsam)
ERROR: Unable to open file for mmap
(/var/local/lib/fossology/agents/License.bsam)
error: %post(fossology-trunk-0.20090329143640.centos5.x86_64) scriptlet
failed, exit status 255

Updated: fossology.x86_64 0:trunk-0.20090329143640.centos5
Complete!


So remains to find out:
1/ If the various warnings are normal or not (PHP Notice: ...)
2/ Why it still references /var/local/lib/fossology/agents/License.bsam
3/ Is there something else to have the web server restart correctly.

Bruno.
-- 
Linux Profession Lead EMEA  / Open Source Ambassador \   EMEA CME Sol. Center
http://www.mondorescue.org / HP/Intel Solution Center \  http://hpintelco.net
Des infos sur Linux?  http://www.HyPer-Linux.org      http://www.hp.com/linux
La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to