Modify

Opened 11 years ago

Closed 10 years ago

Last modified 4 years ago

#1820 closed defect (worksforme)

openssl didn't compile with ccache enabled

Reported by: janee DOT issklar AT gmx DOT net Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: base system Version:
Keywords: Cc:

Description

openssl didn't compile with ccache enabled.

...
make[5]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e/crypto/pqueue'
if [ -n "libcrypto.so.0.9.8 libssl.so.0.9.8" ]; then \
                (cd ..; make libcrypto.so.0.9.8); \
        fi
make[5]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[6]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[7]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
ccache: error while loading shared libraries: libc.so.0: cannot open shared object file: No such file or directory
make[7]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[7]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[7]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[6]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[5]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[4]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e/crypto'
making all in ssl...
make[4]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e/ssl'
if [ -n "libcrypto.so.0.9.8 libssl.so.0.9.8" ]; then \
                (cd ..; make libssl.so.0.9.8); \
        fi
make[5]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[6]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[7]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
ccache: error while loading shared libraries: libc.so.0: cannot open shared object file: No such file or directory
make[7]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[7]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[7]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[6]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[6]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[7]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
ccache: error while loading shared libraries: libc.so.0: cannot open shared object file: No such file or directory
make[7]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[7]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[7]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[6]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[5]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[4]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e/ssl'
making all in apps...
make[4]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e/apps'
rm -f openssl
shlib_target=; if [ -n "libcrypto.so.0.9.8 libssl.so.0.9.8" ]; then \
                shlib_target="linux-shared"; \
        fi; \
        if [ "${shlib_target}" = "darwin-shared" ] ; then \
          LIBRARIES="../libssl.a  ../libcrypto.a" ; \
        else \
          LIBRARIES="-L.. -lssl  -L.. -lcrypto" ; \
        fi; \
        make -f ../Makefile.shared -e \
                APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o" \
                LIBDEPS=" $LIBRARIES -L/home/grml/openwrt/trunk/staging_dir_i386/usr/lib -ldl -ldl" \
                link_app.${shlib_target}
make[5]: Entering directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e/apps'
ccache: error while loading shared libraries: libc.so.0: cannot open shared object file: No such file or directory
make[5]: *** [link_app.gnu] Error 127
make[5]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e/apps'
make[4]: *** [openssl] Error 2
make[4]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e/apps'
make[3]: *** [build_apps] Error 1
make[3]: Leaving directory `/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e'
make[2]: *** [/home/grml/openwrt/trunk/build_i386/openssl-0.9.8e/.built] Error 2
make[2]: Leaving directory `/home/grml/openwrt/trunk/package/openssl'
make[1]: *** [openssl-compile] Error 2
make[1]: Leaving directory `/home/grml/openwrt/trunk/package'
make: *** [package/openssl-compile] Fehler 2
make package/openssl-compile V=99  20,20s user 29,83s system 98% cpu 50,641 total

Attachments (1)

log.openssl.ccache (7.0 KB) - added by loswillios 11 years ago.
buildlog of openssl with ccache

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by olli

  • Resolution set to worksforme
  • Status changed from new to closed

comment:2 Changed 11 years ago by olli

Tested with Ubuntu 7.04 amd64 and CONFIG_CCACHE=y. No problems.

comment:3 Changed 11 years ago by loswillios

  • Resolution worksforme deleted
  • Status changed from closed to reopened

I can confirm this with latest trunk (r8192). Compiles fine without ccache but with ccache enabled it fails with the above error. This is Debian Lenny/Sid x86_32. Tried it with gcc-4.1.2 and 4.2.0.

The error is slightly different to the above though. See attached buildlog.

I wonder why I didn't ran in this before. Been building my images with ccache for half a year now.

Changed 11 years ago by loswillios

buildlog of openssl with ccache

comment:4 Changed 11 years ago by loswillios

hm, after a fresh checkout it works again. weird. please close this ticket.

comment:5 Changed 10 years ago by nico

  • Resolution set to worksforme
  • Status changed from reopened to closed

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.