Razvan Crainea
4216c5f061
/var/log/cgrates directory is no longer created and used
...
Since the directory is no longer created, the postinstall script fails
and the package cannot be installed.
A temporary fix is to manually create the directory, but it is no longer
used anyway in the config file.
2016-10-05 11:34:54 +03:00
afone-lboue
872293b203
Missing spooldir directories in RPM build script
...
Hello,
I am getting an error with rpmbuild because spooldir directories are missing. Can you fix this with this patch?
```
[admin@server cgr_build]$ rpmbuild -bb --define "_topdir $HOME/cgr_build" SPECS/cgrates.spec
Exécution_de(%prep) : /bin/sh -e /var/tmp/rpm-tmp.oxMhbk
+ umask 022
+ cd /home/admin/cgr_build/BUILD
+ cd /home/admin/cgr_build/BUILD
+ rm -rf cgrates-0.9.1rc7.87e12f6
+ /usr/bin/mkdir -p cgrates-0.9.1rc7.87e12f6
+ cd cgrates-0.9.1rc7.87e12f6
+ /usr/bin/gzip -dc /home/admin/cgr_build/SOURCES/87e12f6ea4cc7656baca4002baa6af48fca0c6d4.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ mkdir -p src/github.com/cgrates
+ ln -sf ../../../cgrates-87e12f6ea4cc7656baca4002baa6af48fca0c6d4 src/github.com/cgrates/cgrates
+ exit 0
Exécution_de(%build) : /bin/sh -e /var/tmp/rpm-tmp.cT34vu
+ umask 022
+ cd /home/admin/cgr_build/BUILD
+ cd cgrates-0.9.1rc7.87e12f6
+ export GO15VENDOREXPERIMENT=1
+ GO15VENDOREXPERIMENT=1
+ export GOPATH=/home/admin/cgr_build/BUILD/cgrates-0.9.1rc7.87e12f6
+ GOPATH=/home/admin/cgr_build/BUILD/cgrates-0.9.1rc7.87e12f6
+ cd /home/admin/cgr_build/BUILD/cgrates-0.9.1rc7.87e12f6/src/github.com/cgrates/cgrates
+ go get -v github.com/Masterminds/glide
github.com/Masterminds/glide (download)
github.com/Masterminds/glide/vendor/github.com/Masterminds/vcs
github.com/Masterminds/glide/msg
github.com/Masterminds/glide/godep/strip
github.com/Masterminds/glide/path
github.com/Masterminds/glide/vendor/github.com/Masterminds/semver
github.com/Masterminds/glide/cache
github.com/Masterminds/glide/vendor/gopkg.in/yaml.v2
github.com/Masterminds/glide/mirrors
github.com/Masterminds/glide/util
github.com/Masterminds/glide/cfg
github.com/Masterminds/glide/dependency
github.com/Masterminds/glide/gb
github.com/Masterminds/glide/godep
github.com/Masterminds/glide/gom
github.com/Masterminds/glide/gpm
github.com/Masterminds/glide/importer
github.com/Masterminds/glide/vendor/github.com/codegangsta/cli
github.com/Masterminds/glide/repo
github.com/Masterminds/glide/tree
github.com/Masterminds/glide/action
github.com/Masterminds/glide
+ /home/admin/cgr_build/BUILD/cgrates-0.9.1rc7.87e12f6/bin/glide install
[WARN] The name listed in the config file () does not match the current location (github.com/cgrates/cgrates)
[INFO] Downloading dependencies. Please wait...
[INFO] --> Found desired version locally github.com/cenk/hub 11382a9960d39b0ecda16fd01c424c11ff765a34!
[INFO] --> Found desired version locally github.com/cenkalti/rpc2 7ab76d2e88c77ca1a715756036d8264b2886acd2!
[INFO] --> Found desired version locally github.com/cgrates/fsock a8ffdbdfc8440016df008ba91e6f05f806d7a69f!
[INFO] --> Found desired version locally github.com/cgrates/kamevapi a376b1f937ba959857929fa3e111c0f3243278c0!
[INFO] --> Found desired version locally github.com/cgrates/osipsdagram 3d6beed663452471dec3ca194137a30d379d9e8f!
[INFO] --> Found desired version locally github.com/cgrates/rpcclient 1d54b34b6a5531e1124728b489c44ec6a8ac231e!
[INFO] --> Found desired version locally github.com/ChrisTrenkamp/goxpath 4aad8d0161aae7d17df4755d2c1e86cd1fcaaab6!
[INFO] --> Found desired version locally github.com/DisposaBoy/JsonConfigReader 33a99fdf1d5ee1f79b5077e9c06f955ad356d5f4!
[INFO] --> Found desired version locally github.com/fiorix/go-diameter 9ada6bfd077a36dc892676633a2c9ca42d884202!
[INFO] --> Found desired version locally github.com/go-sql-driver/mysql 3654d25ec346ee8ce71a68431025458d52a38ac0!
[INFO] --> Found desired version locally github.com/gorhill/cronexpr f0984319b44273e83de132089ae42b1810f4933b!
[INFO] --> Found desired version locally github.com/hashicorp/golang-lru 0a025b7e63adc15a622f29b0b2c4c3848243bbf6!
[INFO] --> Found desired version locally github.com/jinzhu/gorm 3324ab20633e8c7ec6d6b1f7a714a1a6e06fec08!
[INFO] --> Found desired version locally github.com/jinzhu/inflection 8f4d3a0d04ce0b7c0cf3126fb98524246d00d102!
[INFO] --> Found desired version locally github.com/kr/pty a6bad5ee6fc60cad43d219214dd2449bf077f3f5!
[INFO] --> Found desired version locally github.com/lib/pq 4dd446efc17690bc53e154025146f73203b18309!
[INFO] --> Found desired version locally github.com/mediocregopher/radix.v2 ae04b3eb3731f94789205d1268e0759371166605!
[INFO] --> Found desired version locally github.com/mitchellh/mapstructure d2dd0262208475919e1a362f675cfc0e7c10e905!
[INFO] --> Found desired version locally github.com/peterh/liner 8975875355a81d612fafb9f5a6037bdcc2d9b073!
[INFO] --> Found desired version locally github.com/ugorji/go b94837a2404ab90efe9289e77a70694c355739cb!
[INFO] --> Found desired version locally golang.org/x/net b400c2eff1badec7022a8c8f5bea058b6315eed7!
[INFO] --> Found desired version locally golang.org/x/sys a408501be4d17ee978c04a618e7a1b22af058c0e!
[INFO] --> Found desired version locally golang.org/x/text ce78b075c2fbd48520f4995b173eb9fe18b56ef3!
[INFO] --> Found desired version locally gopkg.in/fsnotify.v1 a8a77c9133d2d6fd8334f3260d06f60e8d80a5fb!
[INFO] --> Found desired version locally gopkg.in/mgo.v2 29cc868a5ca65f401ff318143f9408d02f4799cc!
[INFO] Setting references.
[INFO] --> Setting version for github.com/cenk/hub to 11382a9960d39b0ecda16fd01c424c11ff765a34.
[INFO] --> Setting version for github.com/cenkalti/rpc2 to 7ab76d2e88c77ca1a715756036d8264b2886acd2.
[INFO] --> Setting version for github.com/cgrates/fsock to a8ffdbdfc8440016df008ba91e6f05f806d7a69f.
[INFO] --> Setting version for github.com/cgrates/kamevapi to a376b1f937ba959857929fa3e111c0f3243278c0.
[INFO] --> Setting version for github.com/cgrates/osipsdagram to 3d6beed663452471dec3ca194137a30d379d9e8f.
[INFO] --> Setting version for github.com/cgrates/rpcclient to 1d54b34b6a5531e1124728b489c44ec6a8ac231e.
[INFO] --> Setting version for github.com/ChrisTrenkamp/goxpath to 4aad8d0161aae7d17df4755d2c1e86cd1fcaaab6.
[INFO] --> Setting version for github.com/DisposaBoy/JsonConfigReader to 33a99fdf1d5ee1f79b5077e9c06f955ad356d5f4.
[INFO] --> Setting version for github.com/fiorix/go-diameter to 9ada6bfd077a36dc892676633a2c9ca42d884202.
[INFO] --> Setting version for github.com/go-sql-driver/mysql to 3654d25ec346ee8ce71a68431025458d52a38ac0.
[INFO] --> Setting version for github.com/gorhill/cronexpr to f0984319b44273e83de132089ae42b1810f4933b.
[INFO] --> Setting version for github.com/hashicorp/golang-lru to 0a025b7e63adc15a622f29b0b2c4c3848243bbf6.
[INFO] --> Setting version for github.com/jinzhu/gorm to 3324ab20633e8c7ec6d6b1f7a714a1a6e06fec08.
[INFO] --> Setting version for github.com/jinzhu/inflection to 8f4d3a0d04ce0b7c0cf3126fb98524246d00d102.
[INFO] --> Setting version for github.com/kr/pty to a6bad5ee6fc60cad43d219214dd2449bf077f3f5.
[INFO] --> Setting version for github.com/lib/pq to 4dd446efc17690bc53e154025146f73203b18309.
[INFO] --> Setting version for github.com/mediocregopher/radix.v2 to ae04b3eb3731f94789205d1268e0759371166605.
[INFO] --> Setting version for github.com/mitchellh/mapstructure to d2dd0262208475919e1a362f675cfc0e7c10e905.
[INFO] --> Setting version for github.com/peterh/liner to 8975875355a81d612fafb9f5a6037bdcc2d9b073.
[INFO] --> Setting version for github.com/ugorji/go to b94837a2404ab90efe9289e77a70694c355739cb.
[INFO] --> Setting version for golang.org/x/net to b400c2eff1badec7022a8c8f5bea058b6315eed7.
[INFO] --> Setting version for golang.org/x/sys to a408501be4d17ee978c04a618e7a1b22af058c0e.
[INFO] --> Setting version for golang.org/x/text to ce78b075c2fbd48520f4995b173eb9fe18b56ef3.
[INFO] --> Setting version for gopkg.in/fsnotify.v1 to a8a77c9133d2d6fd8334f3260d06f60e8d80a5fb.
[INFO] --> Setting version for gopkg.in/mgo.v2 to 29cc868a5ca65f401ff318143f9408d02f4799cc.
[INFO] Exporting resolved dependencies...
[INFO] --> Exporting github.com/cenk/hub
[INFO] --> Exporting github.com/cenkalti/rpc2
[INFO] --> Exporting github.com/cgrates/fsock
[INFO] --> Exporting github.com/cgrates/kamevapi
[INFO] --> Exporting github.com/cgrates/osipsdagram
[INFO] --> Exporting github.com/cgrates/rpcclient
[INFO] --> Exporting github.com/ChrisTrenkamp/goxpath
[INFO] --> Exporting github.com/DisposaBoy/JsonConfigReader
[INFO] --> Exporting github.com/fiorix/go-diameter
[INFO] --> Exporting github.com/go-sql-driver/mysql
[INFO] --> Exporting github.com/gorhill/cronexpr
[INFO] --> Exporting github.com/jinzhu/gorm
[INFO] --> Exporting github.com/jinzhu/inflection
[INFO] --> Exporting github.com/kr/pty
[INFO] --> Exporting github.com/lib/pq
[INFO] --> Exporting github.com/mediocregopher/radix.v2
[INFO] --> Exporting github.com/mitchellh/mapstructure
[INFO] --> Exporting github.com/peterh/liner
[INFO] --> Exporting github.com/ugorji/go
[INFO] --> Exporting github.com/hashicorp/golang-lru
[INFO] --> Exporting golang.org/x/net
[INFO] --> Exporting golang.org/x/text
[INFO] --> Exporting golang.org/x/sys
[INFO] --> Exporting gopkg.in/fsnotify.v1
[INFO] --> Exporting gopkg.in/mgo.v2
[INFO] Replacing existing vendor dependencies
+ ./build.sh
Building CGRateS...
+ exit 0
Exécution_de(%install) : /bin/sh -e /var/tmp/rpm-tmp.qyBMTt
+ umask 022
+ cd /home/admin/cgr_build/BUILD
+ '[' /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64 '!=' / ']'
+ rm -rf /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64
++ dirname /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64
+ mkdir -p /home/admin/cgr_build/BUILDROOT
+ mkdir /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64
+ cd cgrates-0.9.1rc7.87e12f6
+ rm -rf /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64
+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/share/cgrates
+ cp -rpf src/github.com/cgrates/cgrates/data/conf src/github.com/cgrates/cgrates/data/daemontools src/github.com/cgrates/cgrates/data/diameter src/github.com/cgrates/cgrates/data/docker src/github.com/cgrates/cgrates/data/freeswitch src/github.com/cgrates/cgrates/data/kamailio src/github.com/cgrates/cgrates/data/monit src/github.com/cgrates/cgrates/data/scripts src/github.com/cgrates/cgrates/data/storage src/github.com/cgrates/cgrates/data/tariffplans src/github.com/cgrates/cgrates/data/tester src/github.com/cgrates/cgrates/data/tutorials src/github.com/cgrates/cgrates/data/vagrant /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/share/cgrates
+ install -D -m 0644 -p src/github.com/cgrates/cgrates/data/conf/cgrates/cgrates.json /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/etc/cgrates/cgrates.json
+ install -D -m 0755 -p bin/cgr-console /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/bin/cgr-console
+ install -D -m 0755 -p bin/cgr-engine /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/bin/cgr-engine
+ install -D -m 0755 -p bin/cgr-loader /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/bin/cgr-loader
+ install -D -m 0755 -p bin/cgr-tester /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/bin/cgr-tester
+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/log/cgrates/cdrc/in
+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/log/cgrates/cdrc/out
+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/log/cgrates/cdre/csv
+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/log/cgrates/cdre/fwv
+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/lib/cgrates/history
+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/lib/cgrates/cache_dump
+ install -D -m 0644 -p src/github.com/cgrates/cgrates/packages/redhat_fedora/cgrates.options /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/etc/sysconfig/cgrates
+ install -D -m 0644 -p src/github.com/cgrates/cgrates/packages/redhat_fedora/cgrates.service /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/lib/systemd/system/cgrates.service
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Traitement des fichiers : cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64
erreur : Fichier non trouvé par la substitution : /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/spool/cgrates/*
Erreur de construction de RPM :
Fichier non trouvé par la substitution : /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/spool/cgrates/*
```
2016-08-24 12:33:20 +02:00
Radu Ioan Fericean
9c15a02017
create spool and lib dirs in package scripts
2016-06-14 20:37:00 +03:00
Radu Ioan Fericean
a9352129d6
glide install force
2016-04-04 13:37:05 +03:00
Radu Ioan Fericean
8bdfc8803e
update glide on get
2016-04-04 12:48:19 +03:00
rinor
d627f0e240
packages: glide - "glide up" to "glide install"
2015-12-21 12:35:47 +01:00
DanB
782e134ecf
Fix version for debian squeeze packaging
2015-12-04 12:25:48 +01:00
DanB
2e61fcf5bb
HttpPoster implementation in CDR replication and actions with call_url, new configuration parameters added: http_failed_dir, replication attempts, fixes #201 , Rated bug fix in CDRC, Cost imported via CDRC in templates now
2015-10-02 18:13:29 +02:00
Dan Christian Bogos
75dd37f90d
Merge pull request #224 from foehn/master
...
Packages: Fix debian squeeze build
2015-10-01 16:36:00 +02:00
Eloy Coto
e04bb11655
Packages: Fix debian squeeze build
2015-10-01 15:33:47 +01:00
DanB
4ecce29965
Debian/jessie and older go back to package folder since we use symlinks to create debian via makefile
2015-09-29 19:19:17 +02:00
Nick Altmann
f248f32b8a
Spec files for Redhat (Centos/Oracle Linux/Scientific Linux), Fedora
2015-09-28 21:17:17 +03:00
Nick Altmann
56fbbed8a4
Move debian packages to its own folder
2015-09-28 20:52:18 +03:00
DanB
2cdfbd9bb9
Merge branch 'master' of git://github.com/foehn/cgrates into foehn-master
2015-09-27 16:28:24 +02:00
DanB
9724199bfe
Another small fix in the debian changelog
2015-09-27 16:22:22 +02:00
DanB
06af467c4c
Fix debian changelog
2015-09-27 16:03:25 +02:00
DanB
526c480b85
Chaging package version to rc8
2015-09-27 15:45:15 +02:00
Eloy Coto
9448c40407
Add jessie systemd supoort
...
Added `make squeeze` for old debian distributions
2015-09-25 07:56:01 +00:00
DanB
6ec74c44ba
Fix package building using glide, removing glide_enable/disable scripts
2015-09-21 09:43:07 +02:00
DanB
023c6406cc
Make sure glide path is dynamic so we can use it in debian/rules, fixes #182
2015-09-20 16:54:13 +02:00
DanB
3e4e6ab0c9
Fix debian package build, rename glide_up.sh into glide_enable.sh and adding glide_disable.sh
2015-09-19 14:21:11 +02:00
DanB
2eade17397
Fix debian package build using build.sh
2015-09-01 17:11:08 +02:00
DanB
30857b1fa8
Version changed to rc7
2015-08-03 21:20:40 +02:00
Eloy Coto
b559a14882
Debian Packages: Cleanup on finish
2015-03-24 15:18:58 +00:00
Eloy Coto
9a25fca06d
Debian packages: Initial work to compile current project
2015-03-23 20:36:58 +00:00