Results 1 to 7 of 7

Thread: OBS: /.build/build-vm: line 427: echo: write error: No space left on device

  1. #1
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    134

    Default OBS: /.build/build-vm: line 427: echo: write error: No space left on device

    Hello,

    I am trying to build netcdf-c
    https://github.com/Unidata/netcdf-c/
    https://build.opensuse.org/package/s...great/netcdf-c

    But it cause both my PC and OBS to run out of space.

    Code:
    [  477s] /.build/build-vm: line 427: echo: write error: No space left on device
    It seems to be a bug in netcdf that create very big files?

    Thanks.

  2. #2
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    134

    Default Re: OBS: /.build/build-vm: line 427: echo: write error: No space left on device

    Huhhh, it is fix now, I make change below, maybe I wrongly use -disable-dap flag.
    Code:
     2 %build
     3 %configure
     4 
     5-%cmake  -DCMAKE_C_FLAGS:STRING="%{optflags} -disable-dap" \
     6-        -DCMAKE_CXX_FLAGS:STRING="%{optflags} -disable-dap" \
     7-        -DCMAKE_INSTALL_PREFIX:PATH=/usr \
     8-        -DCMAKE_INSTALL_LIBDIR:PATH=lib \
     9+%cmake  -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
    10+        -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
    11         -DCMAKE_BUILD_TYPE:STRING=Release \
    12         -DENABLE_CDF5:BOOL=ON \
    13         -DENABLE_DAP_LONG_TESTS:BOOL=ON \

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,833
    Blog Entries
    15

    Default Re: OBS: /.build/build-vm: line 427: echo: write error: No space left on device

    Quote Originally Posted by andythe_great View Post
    Hello,

    I am trying to build netcdf-c
    https://github.com/Unidata/netcdf-c/
    https://build.opensuse.org/package/s...great/netcdf-c

    But it cause both my PC and OBS to run out of space.

    Code:
    [  477s] /.build/build-vm: line 427: echo: write error: No space left on device
    It seems to be a bug in netcdf that create very big files?

    Thanks.
    Hi
    Use a _constraints file.... eg;

    Code:
    <constraints>
      <hardware>
        <disk>
          <size unit="G">8</size>
        </disk>
        <memory>
          <size unit="G">8</size>
        </memory>
      </hardware>
    </constraints>
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    134

    Default Re: OBS: /.build/build-vm: line 427: echo: write error: No space left on device

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Use a _constraints file.... eg;

    Code:
    <constraints>
      <hardware>
        <disk>
          <size unit="G">8</size>
        </disk>
        <memory>
          <size unit="G">8</size>
        </memory>
      </hardware>
    </constraints>
    Thanks, I fix it somehow.

  5. #5
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    134

    Default Re: OBS: /.build/build-vm: line 427: echo: write error: No space left on device

    I tried adding back the flag -disable-dap-remote-tests to see if it will fix failed test.
    I increase the _constraints to 25 GiB of disk space, but still not enough, so I make it 35 GiB. This is getting suspicious.


    Code:
    %cmake  -DCMAKE_C_FLAGS:STRING="%{optflags} -disable-dap-remote-tests" \
            -DCMAKE_CXX_FLAGS:STRING="%{optflags} -disable-dap-remote-tests" \
            -DCMAKE_BUILD_TYPE:STRING=Release \
            -DENABLE_CDF5:BOOL=ON \
            -DENABLE_DAP_LONG_TESTS:BOOL=ON \
            -DENABLE_EXAMPLE_TESTS:BOOL=ON \
            -DENABLE_EXTRA_TESTS:BOOL=ON \
            -DENABLE_FAILING_TESTS:BOOL=ON \
            -DENABLE_FILTER_TESTING:BOOL=ON \
            -DENABLE_LARGE_FILE_TESTS:BOOL=ON
    
    %cmake_build

  6. #6
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    134

    Default Re: OBS: /.build/build-vm: line 427: echo: write error: No space left on device

    35 GiB disk space is not enough, something is wrong.

  7. #7
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    134

    Default Re: OBS: /.build/build-vm: line 427: echo: write error: No space left on device

    Never mind, other package exist.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •