Announcement

Collapse
No announcement yet.

tiobench install failed

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • tiobench install failed

    hi,
    when trying to install pts/tiobench the installation fails

    i cant upload the logfile as attachment, so heres the file as quote

    tiobench-0.3.3/crc32.c
    tiobench-0.3.3/tiotest.c
    tiobench-0.3.3/crc32.h
    tiobench-0.3.3/tiotest.h
    tiobench-0.3.3/Makefile
    tiobench-0.3.3/COPYING
    tiobench-0.3.3/README
    tiobench-0.3.3/TODO
    tiobench-0.3.3/ChangeLog
    tiobench-0.3.3/BUGS
    tiobench-0.3.3/tiobench.pl
    tiobench-0.3.3/tiosum.pl
    tiobench-0.3.3/scripts/
    tiobench-0.3.3/scripts/CVS/
    tiobench-0.3.3/scripts/CVS/Root
    tiobench-0.3.3/scripts/CVS/Repository
    tiobench-0.3.3/scripts/CVS/Entries
    tiobench-0.3.3/scripts/bigbench.sh
    tiobench-0.3.3/scripts/README
    tiobench-0.3.3/scripts/makeimages.pl
    patching file tiotest.c
    Hunk #3 succeeded at 281 with fuzz 1.
    gcc -c -O2 -Wall tiotest.c -o tiotest.o
    gcc -c -O2 -Wall crc32.c -o crc32.o
    crc32.c:83:28: warning: 'crctab' is static but used in inline function 'crc32' which is not static
    crc = (crc << 8) ^ crctab[((crc >> 24) ^ *(cp++)) & 0xFF];
    ^
    tiotest.c: In function 'checkIntZero':
    tiotest.c:94:3: warning: format not a string literal and no format arguments [-Wformat-security]
    printf(mess);
    ^
    tiotest.c: In function 'checkLong':
    tiotest.c:104:3: warning: format not a string literal and no format arguments [-Wformat-security]
    printf(mess);
    ^
    tiotest.c: In function 'cleanup_test':
    tiotest.c:386:18: warning: pointer targets in passing argument 1 of 'faligned_free' differ in signedness [-Wpointer-sign]
    faligned_free( d->threads[i].buffer, d->threads[i].blockSize );
    ^
    tiotest.c:44:12: note: expected 'caddr_t {aka char *}' but argument is of type 'unsigned char *'
    static int faligned_free(caddr_t a, ssize_t size)
    ^
    tiotest.c: In function 'do_test':
    tiotest.c:555:4: warning: format not a string literal and no format arguments [-Wformat-security]
    fprintf(stderr, debugMessage);
    ^
    tiotest.c: In function 'report_random_write_error':
    tiotest.c:888:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t {aka long int}' [-Wformat=]
    "Error in randomwrite, off=%ld, read=%d, seeks=%ld : ",
    ^
    tiotest.c: In function 'report_read_error':
    tiotest.c:902:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t {aka long int}' [-Wformat=]
    "Error in seek/read, off=%ld, read=%d, seeks=%ld : ",
    ^
    tiotest.c: In function 'do_write_test':
    tiotest.c:912:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    char *buf = d->buffer;
    ^
    tiotest.c: In function 'do_random_write_test':
    tiotest.c:1018:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    char *buf = d->buffer;
    ^
    tiotest.c: In function 'do_read_test':
    tiotest.c:1111:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    char *buf = d->buffer;
    ^
    tiotest.c: In function 'do_random_read_test':
    tiotest.c:1218:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    char *buf = d->buffer;
    ^
    In file included from tiotest.c:24:0:
    tiotest.c: At top level:
    crc32.h:22:15: warning: inline function 'crc32' declared but never defined
    unsigned long crc32( const void* const buffer,
    ^
    gcc -o tiotest tiotest.o crc32.o -lpthread
    tiotest.o: In function `initialize_test':
    tiotest.c.text+0x27e): undefined reference to `crc32'
    tiotest.o: In function `do_read_test':
    tiotest.c.text+0x2fae): undefined reference to `crc32'
    tiotest.o: In function `do_random_read_test':
    tiotest.c.text+0x3345): undefined reference to `crc32'
    collect2: error: ld returned 1 exit status
    Makefile:37: recipe for target 'tiotest' failed
    make: *** [tiotest] Error 1
    i hope this is enough info, so i can be fixed.
    if not, please tell me how to provide more info...
    thanks
    misc11



    Hardware:
    Processor: Intel Pentium 4 3.00GHz @ 2.99GHz (2 Cores), Motherboard: IBM, Chipset: Intel 82945G/GZ/P/PL + ICH7, Memory: 1024MB, Disk: 40GB Seagate ST3402112AS, Graphics: Intel 82945G/GZ IGP 256MB, Audio: Analog Devices AD1981, Monitor: S24B350, Network: Intel 82573E Gigabit

    Software:
    OS: LinuxMint 18.1, Kernel: 4.8.0-34-generic (x86_64), Desktop: Xfce 4.12, Display Server: X Server 1.18.4, Display Driver: intel 2.99.917, OpenGL: 2.1 Mesa 17.1.0-devel- padoka PPA Gallium 0.4, Vulkan: 1.0.3, Compiler: GCC 5.4.0 20160609, File-System: ext4, Screen Resolution: 1920x1080

  • #2
    i tried installing old versions (1.1.1 & 1.1.0). they also fail to install. is anybody experiencing the same issue? can i do sth to help solving this?

    Comment


    • #3
      since the quotes are not happy with white space, here with code tags again:

      Code:
      tiobench-0.3.3/crc32.c
      tiobench-0.3.3/tiotest.c
      tiobench-0.3.3/crc32.h
      tiobench-0.3.3/tiotest.h
      tiobench-0.3.3/Makefile
      tiobench-0.3.3/COPYING
      tiobench-0.3.3/README
      tiobench-0.3.3/TODO
      tiobench-0.3.3/ChangeLog
      tiobench-0.3.3/BUGS
      tiobench-0.3.3/tiobench.pl
      tiobench-0.3.3/tiosum.pl
      tiobench-0.3.3/scripts/
      tiobench-0.3.3/scripts/CVS/
      tiobench-0.3.3/scripts/CVS/Root
      tiobench-0.3.3/scripts/CVS/Repository
      tiobench-0.3.3/scripts/CVS/Entries
      tiobench-0.3.3/scripts/bigbench.sh
      tiobench-0.3.3/scripts/README
      tiobench-0.3.3/scripts/makeimages.pl
      patching file tiotest.c
      Hunk #3 succeeded at 281 with fuzz 1.
      gcc -c -O2 -Wall  tiotest.c -o tiotest.o
      gcc -c -O2 -Wall  crc32.c -o crc32.o
      crc32.c:83:28: warning: 'crctab' is static but used in inline function 'crc32' which is not static
               crc = (crc << 8) ^ crctab[((crc >> 24) ^ *(cp++)) & 0xFF];
                                  ^
      tiotest.c: In function 'checkIntZero':
      tiotest.c:94:3: warning: format not a string literal and no format arguments [-Wformat-security]
         printf(mess);
         ^
      tiotest.c: In function 'checkLong':
      tiotest.c:104:3: warning: format not a string literal and no format arguments [-Wformat-security]
         printf(mess);
         ^
      tiotest.c: In function 'cleanup_test':
      tiotest.c:386:18: warning: pointer targets in passing argument 1 of 'faligned_free' differ in signedness [-Wpointer-sign]
         faligned_free( d->threads[i].buffer, d->threads[i].blockSize );
                        ^
      tiotest.c:44:12: note: expected 'caddr_t {aka char *}' but argument is of type 'unsigned char *'
       static int faligned_free(caddr_t a, ssize_t size)
                  ^
      tiotest.c: In function 'do_test':
      tiotest.c:555:4: warning: format not a string literal and no format arguments [-Wformat-security]
          fprintf(stderr, debugMessage);
          ^
      tiotest.c: In function 'report_random_write_error':
      tiotest.c:888:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t {aka long int}' [-Wformat=]
         "Error in randomwrite, off=%ld, read=%d, seeks=%ld : ",
         ^
      tiotest.c: In function 'report_read_error':
      tiotest.c:902:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t {aka long int}' [-Wformat=]
         "Error in seek/read, off=%ld, read=%d, seeks=%ld : ",
         ^
      tiotest.c: In function 'do_write_test':
      tiotest.c:912:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
        char    *buf = d->buffer;
                       ^
      tiotest.c: In function 'do_random_write_test':
      tiotest.c:1018:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
        char     *buf = d->buffer;
                        ^
      tiotest.c: In function 'do_read_test':
      tiotest.c:1111:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
        char    *buf = d->buffer;
                       ^
      tiotest.c: In function 'do_random_read_test':
      tiotest.c:1218:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
        char     *buf = d->buffer;
                        ^
      In file included from tiotest.c:24:0:
      tiotest.c: At top level:
      crc32.h:22:15: warning: inline function 'crc32' declared but never defined
       unsigned long crc32( const void* const buffer,
                     ^
      gcc -o tiotest tiotest.o crc32.o -lpthread
      tiotest.o: In function `initialize_test':
      tiotest.c:(.text+0x27e): undefined reference to `crc32'
      tiotest.o: In function `do_read_test':
      tiotest.c:(.text+0x2fae): undefined reference to `crc32'
      tiotest.o: In function `do_random_read_test':
      tiotest.c:(.text+0x3345): undefined reference to `crc32'
      collect2: error: ld returned 1 exit status
      Makefile:37: recipe for target 'tiotest' failed
      make: *** [tiotest] Error 1
      i installed pts about 1 year ago on an older linux mint version on a modern pc. tiobench worked there in the same version. im confused since this fails at install. hardware incompatibilities shouldnt cause it to fail at install, right?




      Comment


      • #4
        OK, I figured I would give it a stab. Installed it and sofar so good. I ran the following command:
        <code>./phoronix-test-suite benchmark tiobench</code>

        My installation is from the tarball, so the binary is potentially in another spot w/regards to yours.

        Ill post the link if you would like to the results when the whole gamut of tests finish.

        Comment


        • #5
          @schottywell, thanks for trying to help me
          but if you managed to install tiobench:
          Code:
          phoronix-test-suite install pts/tiobench
          than you already accomplished what i couldnt do...
          also thank for pointing out the installation... i also used the tarball
          ill also try to run
          Code:
          phoronix-test-suite benchmark pts/tiobench
          right away.... dont think that changes anything but ill see.
          but, really, you dont need to run the actual benchmark (can take days!)

          Comment


          • #6
            Originally posted by misc11 View Post
            @schottywell, thanks for trying to help me
            but if you managed to install tiobench:
            Code:
            phoronix-test-suite install pts/tiobench
            than you already accomplished what i couldnt do...
            also thank for pointing out the installation... i also used the tarball
            ill also try to run
            Code:
            phoronix-test-suite benchmark pts/tiobench
            right away.... dont think that changes anything but ill see.
            but, really, you dont need to run the actual benchmark (can take days!)
            Lol, actually took about 8hrs to do the whole thing. I actually forgot it was running while working on my fresh Emby server. Since it was all over ssh or web gui I hadn't noticed until I started closing crap down.

            But, yes, I just did the PTS install (if you want to call it that, I snagged the tarball) a few weeks back. Not much was done yet. So this can be considered as close to a virgin install as one can I suppose. I got things to work by just doing the aforementioned command.

            Now out of curiousity, do you have a missing devel-package or something? I don't run Debian or Mint, but on Red Hat family distros, you have packagename and packagename-devel for the development side of things. So in my case if I need .... png support in an app, I would need libpng-devel in order to COMPILE, but libpng to run.

            Also, since I am at it, I do see that I have several repos that provide pts for me, but they are not the current release branch (quite old last I looked) which is why I went with the tarball. Perhaps you can try a different source for your pts suite and see if your luck improves. Not saying anything about your source, but I have seen some truly shitty packagers out there. May be something that simple. This is actually what got me into packaging years ago, a crap RHL 7.0 package that I needed for 7.3. Ahh GNOME 1.4. The good ole days....

            Comment


            • #7
              schotty

              Lol, actually took about 8hrs to do the whole thing.
              you have an ssd then

              its a standard mint linux 64bit xfce install. i updated the kernel und use a ppa for the latest mesa. the tarball is from the pts homepage. the .deb on the homepage gives me an error. the version in the mint repos is horribly old. i also tries different versions of pts. it is a clean install only for testing with pts... i have run tens of other benchmarks most without problems. only 1 or 2 other tests fail to install. and yes i have seen the python-numpy and also libtiff being the problem in some cases, but they are installed... for some reason pts tries to install them but fails. not the issue with tiobench though.

              ill post the complete terminal output of the failed installation. maybe there more info in there....

              also: do you think old hardware could be a problem at installation? its ~10yo hw and the hdd uses SATA2. i would think that this should only be a problem when running the test, but what do i know.

              Comment


              • #8
                Originally posted by misc11 View Post
                schotty
                you have an ssd then
                My OS is, but the test ran on my WD black /home partition. I would like to have run it on all my disks, but I didn't dive in deep enough to figure that much out. I actually gave up trying PTS out a few years back (shortly after RHEL7 dropped) due to the php bug that I had no idea was easy to fix (one line in the offending php file must be added to allow infinite memory consumtion). Just came back a week or so ago (account creation date).

                If its simple to modify the drive(s) being scanned I would love to know how. When I get more spare time, I will dig into that. I have an m2 ssd for my /boot, /root ; a WD Black with swap and /home, and a few spare WD Black drives thats hooked up for if I need to take alot of data with me somewhere that are in an lvm group.

                also: do you think old hardware could be a problem at installation? its ~10yo hw and the hdd uses SATA2. i would think that this should only be a problem when running the test, but what do i know.
                No it shouldnt. If you would like, I have an ancient netbook (ASUS EeePC1000H) that I could run it on with RHEL 6 Desktop 32bit, or a Gen1 Intel Macbook also running RHEL 6 Desktop 32 bit. But I doubt thats the issue. I would love to see what the hell is the actual issue here. Posting that terminal output would help alot. These are both 10+ years old. Think they are both from 2007. The only device I have with non RHEL is my Pi's. I actually have a Pi running Ubuntu Mate RPI Edition, not sure if I can get PTS working on that, although it would be interesting ... Dammit now I have to find out lol!

                Comment


                • #9
                  Posting that terminal output would help alot.
                  hmm, unfortunately the output doesnt give any hints....

                  Code:
                  misc11@M52 ~ $ phoronix-test-suite install pts/tiobench
                  
                  Phoronix Test Suite v7.0.0m4
                  
                      To Install: pts/tiobench-1.2.0
                  
                      Determining File Requirements ..........................................
                      Searching Download Caches ..............................................
                  
                      1 Test To Install
                          1MB Of Disk Space Is Needed
                  
                      pts/tiobench-1.2.0:
                          Test Installation 1 of 1
                          1 File Needed [0.03 MB / 1 Minute]
                          File Found: tiobench-0.3.3.tar.gz                           [0.03MB]
                          Installation Size: 0.2 MB
                          Installing Test @ 23:15:26
                              The installer exited with a non-zero exit status.
                              ERROR: collect2: error: ld returned 1 exit status
                              LOG: ~/.phoronix-test-suite/installed-tests/pts/tiobench-1.2.0/install-failed.log

                  Comment


                  • #10
                    Originally posted by misc11 View Post

                    hmm, unfortunately the output doesnt give any hints....

                    Code:
                    misc11@M52 ~ $ phoronix-test-suite install pts/tiobench
                    
                    Phoronix Test Suite v7.0.0m4
                    
                    To Install: pts/tiobench-1.2.0
                    
                    Determining File Requirements ..........................................
                    Searching Download Caches ..............................................
                    
                    1 Test To Install
                    1MB Of Disk Space Is Needed
                    
                    pts/tiobench-1.2.0:
                    Test Installation 1 of 1
                    1 File Needed [0.03 MB / 1 Minute]
                    File Found: tiobench-0.3.3.tar.gz [0.03MB]
                    Installation Size: 0.2 MB
                    Installing Test @ 23:15:26
                    The installer exited with a non-zero exit status.
                    ERROR: collect2: error: ld returned 1 exit status
                    LOG: ~/.phoronix-test-suite/installed-tests/pts/tiobench-1.2.0/install-failed.log
                    What does the log say?

                    Comment

                    Working...
                    X