NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.2k stars 14.2k forks source link

oracle-xe install error #47383

Closed clojurians-org closed 1 year ago

clojurians-org commented 6 years ago

i need oracle sqlldr to load data, so i install oracle-xe-11.2.0. but some error occur.

Issue description

warning: there are multiple derivations named 'oracle-xe-11.2.0'; using the first one
installing 'oracle-xe-11.2.0'
these derivations will be built:
  /nix/store/r6h4llbr8a2bh8j075hbffqgf1m9nbri-oracle-xe-11.2.0.drv
building '/nix/store/r6h4llbr8a2bh8j075hbffqgf1m9nbri-oracle-xe-11.2.0.drv'...
unpacking sources
unpacking source archive /nix/store/d3xwq11rwy1w0nvi01k4rhf9hmd0kr21-oracle-xe-11.2.0-1.0.x86_64.rpm
./etc/init.d/oracle-xe
./u01/app/oracle/product/11.2.0/xe/apex
./u01/app/oracle/product/11.2.0/xe/apex/apxchpwd.sql
./u01/app/oracle/product/11.2.0/xe/apex/apxconf.sql
./u01/app/oracle/product/11.2.0/xe/xdk/mesg/lsxzhs.msb
./usr/share/applications/oraclexe-backup.desktop
...
./usr/share/pixmaps/oraclexe-stopdatabase.png
1156280 blocks
source root is oracle-xe-11.2.0
/nix/store/15kgcm8hnd99p7plqzx7p4lcr2jni4df-set-source-date-epoch-to-latest.sh: line 13: [: : integer expression expected
patching sources
configuring
no configure script, doing nothing
building
u01/app/oracle/product/11.2.0/xe/rdbms/install/rdbms/obsprm.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/rdbms/install/rdbms/verf_grp.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/rdbms/install/rdbms/shutdown.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/odbc/utl/odbc_update_ini.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/network/install/sqlnet/setowner.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/bin/loadpsp
u01/app/oracle/product/11.2.0/xe/bin/ctxload
u01/app/oracle/product/11.2.0/xe/bin/dbfsize
u01/app/oracle/product/11.2.0/xe/bin/tnslsnr
u01/app/oracle/product/11.2.0/xe/bin/extproc
u01/app/oracle/product/11.2.0/xe/bin/dbhome
not an ELF executable
u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/bin/expdp
u01/app/oracle/product/11.2.0/xe/bin/unzip
u01/app/oracle/product/11.2.0/xe/bin/trcroute
u01/app/oracle/product/11.2.0/xe/bin/rman
u01/app/oracle/product/11.2.0/xe/bin/zip
u01/app/oracle/product/11.2.0/xe/bin/oracle
u01/app/oracle/product/11.2.0/xe/bin/ott
not an ELF executable
u01/app/oracle/product/11.2.0/xe/bin/nls_lang.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/bin/dgmgrl
u01/app/oracle/product/11.2.0/xe/bin/adapters
not an ELF executable
u01/app/oracle/product/11.2.0/xe/bin/oraenv
not an ELF executable
u01/app/oracle/product/11.2.0/xe/bin/lsnrctl
u01/app/oracle/product/11.2.0/xe/bin/cursize
u01/app/oracle/product/11.2.0/xe/bin/sysresv
u01/app/oracle/product/11.2.0/xe/bin/createdb.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/bin/oracle_env.csh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/bin/impdp
u01/app/oracle/product/11.2.0/xe/bin/ctxlc
u01/app/oracle/product/11.2.0/xe/bin/osh
u01/app/oracle/product/11.2.0/xe/bin/dbfs_client
u01/app/oracle/product/11.2.0/xe/bin/dumpsga
u01/app/oracle/product/11.2.0/xe/bin/wrap
u01/app/oracle/product/11.2.0/xe/bin/maxmem
u01/app/oracle/product/11.2.0/xe/bin/sqlldr
u01/app/oracle/product/11.2.0/xe/bin/sqlplus
u01/app/oracle/product/11.2.0/xe/bin/extjobo
u01/app/oracle/product/11.2.0/xe/bin/orapwd
u01/app/oracle/product/11.2.0/xe/bin/mapsga
u01/app/oracle/product/11.2.0/xe/bin/imp
u01/app/oracle/product/11.2.0/xe/bin/tnsping
u01/app/oracle/product/11.2.0/xe/bin/kgmgr
u01/app/oracle/product/11.2.0/xe/bin/osdbagrp
u01/app/oracle/product/11.2.0/xe/bin/nid
u01/app/oracle/product/11.2.0/xe/bin/dbv
u01/app/oracle/product/11.2.0/xe/bin/dg4odbc
u01/app/oracle/product/11.2.0/xe/bin/extjob
u01/app/oracle/product/11.2.0/xe/bin/oradism
u01/app/oracle/product/11.2.0/xe/bin/lxchknlb
u01/app/oracle/product/11.2.0/xe/bin/exp
u01/app/oracle/product/11.2.0/xe/bin/ctxkbtc
u01/app/oracle/product/11.2.0/xe/bin/tkprof
u01/app/oracle/product/11.2.0/xe/config/scripts/sqlplus.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/restoredatabase.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/stopdb.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/backupdatabase.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/readdocumentation.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/XE.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/gotoonlineforum.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/gettingstarted.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/restore.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/backup.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/runsqlplus.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/stopall.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/startdb.sh
not an ELF executable
u01/app/oracle/product/11.2.0/xe/config/scripts/registerforonlineforum.sh
not an ELF executable
installing

Builder called die: Cannot wrap '/nix/store/gj3azgqsj4v3maday3nkgbz182z6yw78-oracle-xe-11.2.0/libexec/oracle/bin/oracle_env.csh' because it is not an executable file
Backtrace:
7 assertExecutable /nix/store/6ra6yavm6jdll4744i7w9nwfqrcm1bmn-hook/nix-support/setup-hook
36 makeWrapper /nix/store/6ra6yavm6jdll4744i7w9nwfqrcm1bmn-hook/nix-support/setup-hook
1225 genericBuild /nix/store/3ch9lc8by88b2xx16cnyx5lrdl9lfxc2-stdenv/setup
2 main /nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh

builder for '/nix/store/r6h4llbr8a2bh8j075hbffqgf1m9nbri-oracle-xe-11.2.0.drv' failed with exit code 1
error: build of '/nix/store/r6h4llbr8a2bh8j075hbffqgf1m9nbri-oracle-xe-11.2.0.drv' failed

Steps to reproduce

nix-env -i oracle-xe-11.2.0

Technical details

vitalieb commented 5 years ago

I have the same issue

stale[bot] commented 4 years ago

Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse. 3. Ask on the #nixos channel on irc.freenode.net.
Artturin commented 1 year ago

package not in nixpkgs anymore