Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (6)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (2697)

  • FFmpeg Generate Thumbnail Efficiently

    24 juin 2020, par user1086010

    I am using FFmpeg for generating timeline thumbnail preview (image preview when your hover over seekbar in video player , like youtube player)

    



    I need generating thumbnail for every 20s .
Here is code i use :

    



    ffmpeg -i vide.mp4 -vf "fps=4/60 ,scale=260:150,tile=10*10" -qscale:v 10  thumbnail_%d.jpg

    



    Code Work's Fine , only problem i have it's slow , for a movie with 3 hour long it's take more than 6 minute to generate thumbnail.

    



    My System spec : Max os x 10.12 , Core i5 6600 , 16GB Ram.

    



    I want's know there's a better way to do this ?

    


  • Need help about noise in my video audio after decoding with ffmpeg in c++ (Tutorial from http://dranger.com/ffmpeg/)

    13 février 2019, par Abe Jahwin

    I just read and implemented a tutorial about ffmpeg on (http://dranger.com/ffmpeg).

    Then after implementing the tutorial 03 and 04 about playing sound, the program was running nice but the output of sound is bad (there is too much noise with the real audio). I do not know where the problem is.

    But I tried to change the audio format but still the same.

      #include <iostream>
      #include <vector>


    // FFmpeg
    extern "C" {
    #include
    #include
    #include
    #undef main
    #include
    #include <libavformat></libavformat>avformat.h>
    #include <libavcodec></libavcodec>avcodec.h>
    #include <libavutil></libavutil>avutil.h>
    #include <libavutil></libavutil>pixdesc.h>
    #include <libswscale></libswscale>swscale.h>
    }


    // compatibility with newer API
    #if LIBAVCODEC_VERSION_INT &lt; AV_VERSION_INT(55,28,1)
    #define av_frame_alloc avcodec_alloc_frame
    #define av_frame_free avcodec_free_frame
    #endif

    #define SDL_AUDIO_BUFFER_SIZE 1024
    #define MAX_AUDIO_FRAME_SIZE 192000

    #define MAX_AUDIOQ_SIZE (5 * 16 * 1024)
    #define MAX_VIDEOQ_SIZE (5 * 256 * 1024)

    #define FF_REFRESH_EVENT (SDL_USEREVENT)
    #define FF_QUIT_EVENT (SDL_USEREVENT + 1)

    #define VIDEO_PICTURE_QUEUE_SIZE 1



    typedef struct PacketQueue {
       AVPacketList *first_pkt, *last_pkt;
       int nb_packets;
       int size;
       SDL_mutex *mutex;
       SDL_cond *cond;
    } PacketQueue;

    typedef struct VideoPicture {
       SDL_Overlay *bmp;
       int width, height; /* source height &amp; width */
       int allocated;
    } VideoPicture;

    typedef struct VideoState {

       AVFormatContext *pFormatCtx = nullptr;
       int             videoStream, audioStream;
       AVStream        *audio_st;
       AVCodecContext  *audio_ctx;
       PacketQueue     audioq;
       uint8_t         audio_buf[(MAX_AUDIO_FRAME_SIZE * 3) / 2];
       unsigned int    audio_buf_size;
       unsigned int    audio_buf_index;
       AVFrame         audio_frame;
       AVPacket        audio_pkt;
       uint8_t         *audio_pkt_data;
       int             audio_pkt_size;
       AVStream        *video_st;
       AVCodecContext  *video_ctx = nullptr;
       PacketQueue     videoq;
       struct SwsContext *sws_ctx;

       VideoPicture    pictq[VIDEO_PICTURE_QUEUE_SIZE];
       int             pictq_size, pictq_rindex, pictq_windex;
       SDL_mutex       *pictq_mutex;
       SDL_cond        *pictq_cond;

       SDL_Thread      *parse_tid;
       SDL_Thread      *video_tid;

       char            filename[1024];
       int             quit;
    } VideoState;

    SDL_Surface     *screen;
    SDL_mutex       *screen_mutex;

    VideoState *global_video_state;


    void packet_queue_init(PacketQueue *q) {
       memset(q, 0, sizeof(PacketQueue));
       q->mutex = SDL_CreateMutex();
       q->cond = SDL_CreateCond();
    }


    int packet_queue_put(PacketQueue *q, AVPacket *pkt) {

       AVPacketList *pkt1;
       if (av_dup_packet(pkt) &lt; 0) {
           return -1;
       }
       pkt1 = (AVPacketList *)av_malloc(sizeof(AVPacketList));
       if (!pkt1)
           return -1;
       pkt1->pkt = *pkt;
       pkt1->next = NULL;

       SDL_LockMutex(q->mutex);

       if (!q->last_pkt)
           q->first_pkt = pkt1;
       else
           q->last_pkt->next = pkt1;
       q->last_pkt = pkt1;
       q->nb_packets++;
       q->size += pkt1->pkt.size;
       SDL_CondSignal(q->cond);

       SDL_UnlockMutex(q->mutex);
       return 0;
    }


    static int packet_queue_get(PacketQueue *q, AVPacket *pkt, int block)
    {
       AVPacketList *pkt1;
       int ret;

       SDL_LockMutex(q->mutex);

       for (;;) {

           if (global_video_state->quit) {
               ret = -1;
               break;
           }

           pkt1 = q->first_pkt;
           if (pkt1) {
               q->first_pkt = pkt1->next;
               if (!q->first_pkt)
                   q->last_pkt = NULL;
               q->nb_packets--;
               q->size -= pkt1->pkt.size;
               *pkt = pkt1->pkt;
               av_free(pkt1);
               ret = 1;
               break;
           }
           else if (!block) {
               ret = 0;
               break;
           }
           else {
               SDL_CondWait(q->cond, q->mutex);
           }
       }
       SDL_UnlockMutex(q->mutex);
       return ret;
    }
    int audio_decode_frame(VideoState *is, uint8_t *audio_buf, int buf_size) {

       int len1, data_size = 0;
       AVPacket *pkt = &amp;is->audio_pkt;

       for (;;) {
           while (is->audio_pkt_size > 0) {
               int got_frame = 0;
               len1 = avcodec_decode_audio4(is->audio_ctx, &amp;is->audio_frame, &amp;got_frame, pkt);
               if (len1 &lt; 0) {
                   /* if error, skip frame */
                   is->audio_pkt_size = 0;
                   break;
               }
               data_size = 0;
               if (got_frame) {
                   data_size = av_samples_get_buffer_size(NULL,
                       is->audio_ctx->channels,
                       is->audio_frame.nb_samples,
                       is->audio_ctx->sample_fmt,
                       1);
                   assert(data_size &lt;= buf_size);
                   memcpy(audio_buf, is->audio_frame.data[0], data_size);
               }
               is->audio_pkt_data += len1;
               is->audio_pkt_size -= len1;
               if (data_size &lt;= 0) {
                   /* No data yet, get more frames */
                   continue;
               }
               /* We have data, return it and come back for more later */
               return data_size;
           }
           if (pkt->data)
               av_free_packet(pkt);

           if (is->quit) {
               return -1;
           }
           /* next packet */
           if (packet_queue_get(&amp;is->audioq, pkt, 1) &lt; 0) {
               return -1;
           }
           is->audio_pkt_data = pkt->data;
           is->audio_pkt_size = pkt->size;
       }
    }



    void audio_callback(void *userdata, Uint8 *stream, int len) {

       VideoState *is = (VideoState *)userdata;
       int len1, audio_size;

       while (len > 0) {
           if (is->audio_buf_index >= is->audio_buf_size) {
               /* We have already sent all our data; get more */
               audio_size = audio_decode_frame(is, is->audio_buf, sizeof(is->audio_buf));
               if (audio_size &lt; 0) {
                   /* If error, output silence */
                   is->audio_buf_size = 1024;
                   memset(is->audio_buf, 0, is->audio_buf_size);
               }
               else {
                   is->audio_buf_size = audio_size;
               }
               is->audio_buf_index = 0;
           }
           len1 = is->audio_buf_size - is->audio_buf_index;
           if (len1 > len)
               len1 = len;
           memcpy(stream, (uint8_t *)is->audio_buf + is->audio_buf_index, len1);
           len -= len1;
           stream += len1;
           is->audio_buf_index += len1;
       }
    }


    int decode_interrupt_cb(void) {
       return (global_video_state &amp;&amp; global_video_state->quit);
    }

    void alloc_picture(void *userdata) {

       VideoState *is = (VideoState *)userdata;
       VideoPicture *vp;

       vp = &amp;is->pictq[is->pictq_windex];
       if (vp->bmp) {
           // we already have one make another, bigger/smaller
           SDL_FreeYUVOverlay(vp->bmp);
       }
       // Allocate a place to put our YUV image on that screen
       SDL_LockMutex(screen_mutex);
       vp->bmp = SDL_CreateYUVOverlay(is->video_st->codec->width,
           is->video_st->codec->height,
           SDL_YV12_OVERLAY,
           screen);
       SDL_UnlockMutex(screen_mutex);
       vp->width = is->video_st->codec->width;
       vp->height = is->video_st->codec->height;
       vp->allocated = 1;
    }

    int queue_picture(VideoState *is, AVFrame *pFrame) {

       VideoPicture *vp;
       int dst_pix_fmt;
       AVPicture pict;

       /* wait until we have space for a new pic */
       SDL_LockMutex(is->pictq_mutex);
       while (is->pictq_size >= VIDEO_PICTURE_QUEUE_SIZE &amp;&amp;
           !is->quit) {
           SDL_CondWait(is->pictq_cond, is->pictq_mutex);
       }
       SDL_UnlockMutex(is->pictq_mutex);

       if (is->quit)
           return -1;

       // windex is set to 0 initially
       vp = &amp;is->pictq[is->pictq_windex];

       /* allocate or resize the buffer! */
       if (!vp->bmp ||
           vp->width != is->video_st->codec->width ||
           vp->height != is->video_st->codec->height) {
           SDL_Event event;

           vp->allocated = 0;
           alloc_picture(is);
           if (is->quit) {
               return -1;
           }
       }

       if (vp->bmp) {

           SDL_LockYUVOverlay(vp->bmp);

           dst_pix_fmt = AV_PIX_FMT_YUV420P;
           /* point pict at the queue */

           pict.data[0] = vp->bmp->pixels[0];
           pict.data[1] = vp->bmp->pixels[2];
           pict.data[2] = vp->bmp->pixels[1];

           pict.linesize[0] = vp->bmp->pitches[0];
           pict.linesize[1] = vp->bmp->pitches[2];
           pict.linesize[2] = vp->bmp->pitches[1];

           // Convert the image into YUV format that SDL uses
           sws_scale(is->sws_ctx, (uint8_t const * const *)pFrame->data,
               pFrame->linesize, 0, is->video_st->codec->height,
               pict.data, pict.linesize);

           SDL_UnlockYUVOverlay(vp->bmp);
           /* now we inform our display thread that we have a pic ready */
           if (+Š>pictq_windex == VIDEO_PICTURE_QUEUE_SIZE) {
               is->pictq_windex = 0;
           }
           SDL_LockMutex(is->pictq_mutex);
           is->pictq_size++;
           SDL_UnlockMutex(is->pictq_mutex);
       }
       return 0;

    }

    int video_thread(void *arg) {
       VideoState *is = (VideoState *)arg;
       AVPacket pkt1, packet;
       int frameFinished;
       AVFrame *pFrame = av_frame_alloc();

       for (;;) {
           if (packet_queue_get(&amp;is->videoq, &amp;packet, 1) &lt; 0) {
               // means we quit getting packets
               break;
           }

           // Decode video frame
           avcodec_decode_video2(is->video_ctx, pFrame, &amp;frameFinished, &amp;packet);

           // Did we get a video frame?
           if (frameFinished) {
               if (queue_picture(is, pFrame) &lt; 0) {
                   break;
               }
           }
           av_free_packet(&amp;packet);
       }
       av_free(pFrame);
       return 0;
    }

    int stream_component_open(VideoState *is, int stream_index) {

       AVFormatContext *pFormatCtx = is->pFormatCtx;
       AVCodecContext *codecCtx = nullptr;
       AVCodec *codec = nullptr;
       SDL_AudioSpec wanted_spec, spec;
       AVCodecParameters *CodecParameters = NULL;

       if (stream_index &lt; 0 || stream_index >= pFormatCtx->nb_streams) {
           return -1;
       }

       CodecParameters = pFormatCtx->streams[stream_index]->codecpar;
       codecCtx = pFormatCtx->streams[stream_index]->codec;
       codec = avcodec_find_decoder(codecCtx->codec_id);
       if (!codec) {
           fprintf(stderr, "Unsupported codec!\n");
           return -1;
       }

       codecCtx = avcodec_alloc_context3(codec);

       if (avcodec_parameters_to_context(codecCtx, CodecParameters) &lt; 0)
       {
           fprintf(stderr, "Couldn't copy codec context");
           return -1;
       }


       if (codecCtx->codec_type == AVMEDIA_TYPE_AUDIO) {
           // Set audio settings from codec info
           wanted_spec.freq = codecCtx->sample_rate;
           wanted_spec.format = AUDIO_S16SYS;
           wanted_spec.channels = codecCtx->channels;
           wanted_spec.silence = 0;
           wanted_spec.samples = SDL_AUDIO_BUFFER_SIZE;
           wanted_spec.callback = audio_callback;
           wanted_spec.userdata = is;

           if (SDL_OpenAudio(&amp;wanted_spec, &amp;spec) &lt; 0) {
               fprintf(stderr, "SDL_OpenAudio: %s\n", SDL_GetError());
               return -1;
           }
       }


       if (avcodec_open2(codecCtx, codec, NULL) &lt; 0) {
           fprintf(stderr, "Unsupported codec!\n");
           return -1;
       }

       switch (codecCtx->codec_type) {
       case AVMEDIA_TYPE_AUDIO:
           is->audioStream = stream_index;
           is->audio_st = pFormatCtx->streams[stream_index];
           is->audio_ctx = codecCtx;
           is->audio_buf_size = 0;
           is->audio_buf_index = 0;
           memset(&amp;is->audio_pkt, 0, sizeof(is->audio_pkt));
           packet_queue_init(&amp;is->audioq);
           SDL_PauseAudio(0);
           break;
       case AVMEDIA_TYPE_VIDEO:
           is->videoStream = stream_index;
           is->video_st = pFormatCtx->streams[stream_index];
           is->video_ctx = codecCtx;

           packet_queue_init(&amp;is->videoq);

           is->video_tid = SDL_CreateThread(video_thread, is);
           is->sws_ctx = sws_getContext(is->video_st->codec->width, is->video_st->codec->height,
               is->video_st->codec->pix_fmt, is->video_st->codec->width,
               is->video_st->codec->height, AV_PIX_FMT_YUV420P,
               SWS_BILINEAR, NULL, NULL, NULL
           );
           break;
       default:
           break;
       }
    }



    static Uint32 sdl_refresh_timer_cb(Uint32 interval, void *opaque) {
       SDL_Event event;
       event.type = FF_REFRESH_EVENT;
       event.user.data1 = opaque;
       SDL_PushEvent(&amp;event);
       return 0; /* 0 means stop timer */
    }

    /* schedule a video refresh in 'delay' ms */
    static void schedule_refresh(VideoState *is, int delay) {
       SDL_AddTimer(delay, sdl_refresh_timer_cb, is);
    }


    void video_display(VideoState *is) {

       SDL_Rect rect;
       VideoPicture *vp;
       float aspect_ratio;
       int w, h, x, y;
       int i;

       vp = &amp;is->pictq[is->pictq_rindex];
       if (vp->bmp) {
           if (is->video_st->codec->sample_aspect_ratio.num == 0) {
               aspect_ratio = 0;
           }
           else {
               aspect_ratio = av_q2d(is->video_st->codec->sample_aspect_ratio) *
                   is->video_st->codec->width / is->video_st->codec->height;
           }
           if (aspect_ratio &lt;= 0.0) {
               aspect_ratio = (float)is->video_st->codec->width /
                   (float)is->video_st->codec->height;
           }
           h = screen->h;
           w = ((int)rint(h * aspect_ratio)) &amp; -3;
           if (w > screen->w) {
               w = screen->w;
               h = ((int)rint(w / aspect_ratio)) &amp; -3;
           }
           x = (screen->w - w) / 2;
           y = (screen->h - h) / 2;

           rect.x = x;
           rect.y = y;
           rect.w = w;
           rect.h = h;
           SDL_LockMutex(screen_mutex);
           SDL_DisplayYUVOverlay(vp->bmp, &amp;rect);
           SDL_UnlockMutex(screen_mutex);
       }
    }

    void video_refresh_timer(void *userdata) {

       VideoState *is = (VideoState *)userdata;
       VideoPicture *vp;

       if (is->video_st) {
           if (is->pictq_size == 0) {
               schedule_refresh(is, 1);
           }
           else {
               vp = &amp;is->pictq[is->pictq_rindex];
               /* Timing code goes here */

               schedule_refresh(is, 80);

               /* show the picture! */
               video_display(is);

               /* update queue for next picture! */
               if (+Š>pictq_rindex == VIDEO_PICTURE_QUEUE_SIZE) {
                   is->pictq_rindex = 0;
               }
               SDL_LockMutex(is->pictq_mutex);
               is->pictq_size--;
               SDL_CondSignal(is->pictq_cond);
               SDL_UnlockMutex(is->pictq_mutex);
           }
       }
       else {
           schedule_refresh(is, 100);
       }
    }


    int decode_thread(void *arg) {

       VideoState *is = (VideoState *)arg;
       AVFormatContext* pFormatCtx = avformat_alloc_context();
       AVPacket pkt1, *packet = &amp;pkt1;

       int video_index = -1;
       int audio_index = -1;
       int i;
       int ret;

       is->videoStream = -1;
       is->audioStream = -1;

       global_video_state = is;

       ret = avformat_open_input(&amp;pFormatCtx, is->filename, nullptr, nullptr);

       // Open video file
       if (ret != 0)
           printf("Failed to open the file");
           //return -1; // Couldn't open file

       is->pFormatCtx = pFormatCtx;

       // Retrieve stream information
       if (avformat_find_stream_info(pFormatCtx, NULL)&lt;0)
           return -1; // Couldn't find stream information

                      // Dump information about file onto standard error
       av_dump_format(pFormatCtx, 0, is->filename, 0);

       // Find the first video stream

       for (i = 0; inb_streams; i++) {
           if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO &amp;&amp;
               video_index &lt; 0) {
               video_index = i;
           }
           if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO &amp;&amp;
               audio_index &lt; 0) {
               audio_index = i;
           }
       }

       if (video_index >= 0) {
           stream_component_open(is, video_index);
       }

       if (audio_index >= 0) {
           stream_component_open(is, audio_index);
       }



       if (is->videoStream &lt; 0) {
           fprintf(stderr, "%s: could not open Video codecs\n", is->filename);
           system("pause");
           goto fail;
       }

       if (is->audioStream &lt; 0) {
           fprintf(stderr, "%s: could not open Audio codecs\n", is->filename);
           system("pause");
           goto fail;
       }

       // main decode loop

       for (;;) {
           if (is->quit) {
               break;
           }
           // seek stuff goes here
           if (is->audioq.size > MAX_AUDIOQ_SIZE ||
               is->videoq.size > MAX_VIDEOQ_SIZE) {
               SDL_Delay(10);
               continue;
           }
           if (av_read_frame(is->pFormatCtx, packet) &lt; 0) {
               if (is->pFormatCtx->pb->error == 0) {
                   SDL_Delay(100); /* no error; wait for user input */
                   continue;
               }
               else {
                   break;
               }
           }
           // Is this a packet from the video stream?
           if (packet->stream_index == is->videoStream) {
               packet_queue_put(&amp;is->videoq, packet);
           }
           else if (packet->stream_index == is->audioStream) {
               packet_queue_put(&amp;is->audioq, packet);
           }
           else {
               av_free_packet(packet);
           }
       }
       /* all done - wait for it */
       while (!is->quit) {
           SDL_Delay(100);
       }

    fail:
       if (1) {
           SDL_Event event;
           event.type = FF_QUIT_EVENT;
           event.user.data1 = is;
           SDL_PushEvent(&amp;event);
       }
       return 0;
    }


    int main() {

       SDL_Event       event;

       VideoState      *is;

       is = (VideoState *)av_mallocz(sizeof(VideoState));

       // Register all formats and codecs
       av_register_all();

       if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)) {
           fprintf(stderr, "Could not initialize SDL - %s\n", SDL_GetError());
           exit(1);
       }

       // Make a screen to put our video
    #ifndef __DARWIN__
       screen = SDL_SetVideoMode(640, 480, 0, 0);
    #else
       screen = SDL_SetVideoMode(640, 480, 24, 0);
    #endif
       if (!screen) {
           fprintf(stderr, "SDL: could not set video mode - exiting\n");
           exit(1);
       }

       screen_mutex = SDL_CreateMutex();

       strncpy(is->filename, "C:/vidoefile.mp4", sizeof(is->filename));

       is->pictq_mutex = SDL_CreateMutex();
       is->pictq_cond = SDL_CreateCond();

       schedule_refresh(is, 40);

       is->parse_tid = SDL_CreateThread(decode_thread, is);
       if (!is->parse_tid) {
           av_free(is);
           return -1;
       }

       for (;;) {

           SDL_WaitEvent(&amp;event);
           switch (event.type) {
           case FF_QUIT_EVENT:
           case SDL_QUIT:
               is->quit = 1;
               SDL_Quit();
               return 0;
               break;
           case FF_REFRESH_EVENT:
               video_refresh_timer(event.user.data1);
               break;
           default:
               break;
           }
       }

       printf("Done playing video\n");
       system("pause");
       return 0;

    }
    </vector></iostream>

    I just need the sound to be played in normal way without noise.

  • build ffmpeg on ubuntu : build nasm fails

    6 février 2019, par Rakka Rage

    trying to build ffmpeg on ubuntu 18.10

    https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    first install dependencies

    sudo apt-get update -qq &amp;&amp; sudo apt-get -y install \
    autoconf \
    automake \
    build-essential \
    cmake \
    git-core \
    libass-dev \
    libfreetype6-dev \
    libsdl2-dev \
    libtool \
    libva-dev \
    libvdpau-dev \
    libvorbis-dev \
    libxcb1-dev \
    libxcb-shm0-dev \
    libxcb-xfixes0-dev \
    pkg-config \
    texinfo \
    wget \
    zlib1g-dev

    then make dirs

    mkdir -p ~/ffmpeg_sources ~/bin

    then build nasm

    cd ~/ffmpeg_sources &amp;&amp; \
    wget https://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.bz2 &amp;&amp; \
    tar xjvf nasm-2.13.03.tar.bz2 &amp;&amp; \
    cd nasm-2.13.03 &amp;&amp; \
    ./autogen.sh &amp;&amp; \
    PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" &amp;&amp; \
    make &amp;&amp; \
    make install

    then error

    --2019-02-04 17:45:17--  https://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.bz2
    Resolving www.nasm.us (www.nasm.us)... 2607:7c80:54:e::136, 198.137.202.136
    Connecting to www.nasm.us (www.nasm.us)|2607:7c80:54:e::136|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 974491 (952K) [application/x-bzip2]
    Saving to: ‘nasm-2.13.03.tar.bz2’

    nasm-2.13.03.tar.bz2          100%[=================================================>] 951.65K  1.51MB/s    in 0.6s    

    2019-02-04 17:45:18 (1.51 MB/s) - ‘nasm-2.13.03.tar.bz2’ saved [974491/974491]

    nasm-2.13.03/
    nasm-2.13.03/AUTHORS
    nasm-2.13.03/TODO
    nasm-2.13.03/headers/
    nasm-2.13.03/headers/c
    nasm-2.13.03/headers/mac
    nasm-2.13.03/headers/perl
    nasm-2.13.03/headers/doc
    nasm-2.13.03/test/
    nasm-2.13.03/test/objtest.asm
    nasm-2.13.03/test/float8.asm
    nasm-2.13.03/test/avx512cd.asm
    nasm-2.13.03/test/br890790_i.asm
    nasm-2.13.03/test/avx.asm
    nasm-2.13.03/test/pushseg.asm
    nasm-2.13.03/test/br3074517.asm
    nasm-2.13.03/test/inc2.asm
    nasm-2.13.03/test/elfso.asm
    nasm-2.13.03/test/br2222615.asm
    nasm-2.13.03/test/local.asm
    nasm-2.13.03/test/time.asm
    nasm-2.13.03/test/smartalign64.asm
    nasm-2.13.03/test/movimm.asm
    nasm-2.13.03/test/elif.asm
    nasm-2.13.03/test/absolute.asm
    nasm-2.13.03/test/nullfile.asm
    nasm-2.13.03/test/test67.asm
    nasm-2.13.03/test/reldef.asm
    nasm-2.13.03/test/jmp64.asm
    nasm-2.13.03/test/addr64x.asm
    nasm-2.13.03/test/weirdpaste.asm
    nasm-2.13.03/test/newrdwr.asm
    nasm-2.13.03/test/gas2nasm.py
    nasm-2.13.03/test/br3104312.asm
    nasm-2.13.03/test/br3041451.asm
    nasm-2.13.03/test/xchg.asm
    nasm-2.13.03/test/movnti.asm
    nasm-2.13.03/test/br3385573.asm
    nasm-2.13.03/test/testdos.asm
    nasm-2.13.03/test/br3005117.asm
    nasm-2.13.03/test/pcrel.asm
    nasm-2.13.03/test/objexe.asm
    nasm-2.13.03/test/immwarn.asm
    nasm-2.13.03/test/smartalign16.asm
    nasm-2.13.03/test/floatx.asm
    nasm-2.13.03/test/pinsr64.asm
    nasm-2.13.03/test/radix.asm
    nasm-2.13.03/test/gotoff64.asm
    nasm-2.13.03/test/elf64so.asm
    nasm-2.13.03/test/smartalign32.asm
    nasm-2.13.03/test/floatize.asm
    nasm-2.13.03/test/lnxhello.asm
    nasm-2.13.03/test/bisect.sh
    nasm-2.13.03/test/fpu.asm
    nasm-2.13.03/test/ptr.asm
    nasm-2.13.03/test/br2496848.asm
    nasm-2.13.03/test/binexe.asm
    nasm-2.13.03/test/gather.asm
    nasm-2.13.03/test/nop.asm
    nasm-2.13.03/test/br560575.asm
    nasm-2.13.03/test/uscore.asm
    nasm-2.13.03/test/struc.asm
    nasm-2.13.03/test/br3026808.asm
    nasm-2.13.03/test/zerobyte.asm
    nasm-2.13.03/test/avx005.asm
    nasm-2.13.03/test/riprel.pl
    nasm-2.13.03/test/iftoken.asm
    nasm-2.13.03/test/times.asm
    nasm-2.13.03/test/ifmacro.asm
    nasm-2.13.03/test/br3392411.asm
    nasm-2.13.03/test/br3392418.asm
    nasm-2.13.03/test/riprel.asm
    nasm-2.13.03/test/align13.asm
    nasm-2.13.03/test/rdpid.asm
    nasm-2.13.03/test/utf.asm
    nasm-2.13.03/test/br3187743.asm
    nasm-2.13.03/test/movd.asm
    nasm-2.13.03/test/floatb.asm
    nasm-2.13.03/test/inc1.asm
    nasm-2.13.03/test/ilog2.asm
    nasm-2.13.03/test/crc32.asm
    nasm-2.13.03/test/org.asm
    nasm-2.13.03/test/popcnt.asm
    nasm-2.13.03/test/ifelse.asm
    nasm-2.13.03/test/andbyte.asm
    nasm-2.13.03/test/bintest.asm
    nasm-2.13.03/test/imm64.asm
    nasm-2.13.03/test/pinsr16.asm
    nasm-2.13.03/test/ppindirect.asm
    nasm-2.13.03/test/Makefile
    nasm-2.13.03/test/br3392252.asm
    nasm-2.13.03/test/elftest64.c
    nasm-2.13.03/test/hexfp.asm
    nasm-2.13.03/test/alonesym-obj.asm
    nasm-2.13.03/test/br3092924.asm
    nasm-2.13.03/test/br3392442.asm
    nasm-2.13.03/test/loopoffs.asm
    nasm-2.13.03/test/vex.asm
    nasm-2.13.03/test/bcd.asm
    nasm-2.13.03/test/iftoken.pl
    nasm-2.13.03/test/br3189064.asm
    nasm-2.13.03/test/br3392439.asm
    nasm-2.13.03/test/cofftest.c
    nasm-2.13.03/test/floatexp.asm
    nasm-2.13.03/test/mpx-64.asm
    nasm-2.13.03/test/elftest.asm
    nasm-2.13.03/test/avx512pf.asm
    nasm-2.13.03/test/xmm0.asm
    nasm-2.13.03/test/br3392396.asm
    nasm-2.13.03/test/ifenv.asm
    nasm-2.13.03/test/insnlbl.asm
    nasm-2.13.03/test/imm.asm
    nasm-2.13.03/test/performtest.pl
    nasm-2.13.03/test/br2148476.asm
    nasm-2.13.03/test/imul.asm
    nasm-2.13.03/test/br890790.asm
    nasm-2.13.03/test/perf/
    nasm-2.13.03/test/perf/macro.pl
    nasm-2.13.03/test/perf/label.pl
    nasm-2.13.03/test/perf/token.pl
    nasm-2.13.03/test/br3392259.asm
    nasm-2.13.03/test/br3392363.asm
    nasm-2.13.03/test/macroerr.asm
    nasm-2.13.03/test/br560873.asm
    nasm-2.13.03/test/sreg.asm
    nasm-2.13.03/test/br3200749.asm
    nasm-2.13.03/test/xcrypt.asm
    nasm-2.13.03/test/br3109604.asm
    nasm-2.13.03/test/pragma.asm
    nasm-2.13.03/test/objlink.c
    nasm-2.13.03/test/vaesenc.asm
    nasm-2.13.03/test/align13s.asm
    nasm-2.13.03/test/br2030823.asm
    nasm-2.13.03/test/imacro.asm
    nasm-2.13.03/test/timesneg.asm
    nasm-2.13.03/test/macroerr.inc
    nasm-2.13.03/test/vgather.asm
    nasm-2.13.03/test/elftest.c
    nasm-2.13.03/test/floattest.asm
    nasm-2.13.03/test/lar_lsl.asm
    nasm-2.13.03/test/expimp.asm
    nasm-2.13.03/test/testnos3.asm
    nasm-2.13.03/test/r13.asm
    nasm-2.13.03/test/splitea.asm
    nasm-2.13.03/test/mpx.asm
    nasm-2.13.03/test/sha.asm
    nasm-2.13.03/test/fwdopt.asm
    nasm-2.13.03/test/strlen.asm
    nasm-2.13.03/test/a32offs.asm
    nasm-2.13.03/test/vmread.asm
    nasm-2.13.03/test/cv8struc.asm
    nasm-2.13.03/test/aoutso.asm
    nasm-2.13.03/test/relocs.asm
    nasm-2.13.03/test/_version.asm
    nasm-2.13.03/test/br1879590.asm
    nasm-2.13.03/test/tmap.nas
    nasm-2.13.03/test/hle.asm
    nasm-2.13.03/test/br2003451.asm
    nasm-2.13.03/test/float.asm
    nasm-2.13.03/test/mmxsize.asm
    nasm-2.13.03/test/far64.asm
    nasm-2.13.03/test/new
    nasm-2.13.03/test/movd64.asm
    nasm-2.13.03/test/incbin.asm
    nasm-2.13.03/test/inctest.asm
    nasm-2.13.03/test/cofftest.asm
    nasm-2.13.03/test/avx512f.asm
    nasm-2.13.03/test/nasmformat.asm
    nasm-2.13.03/test/prefix66.asm
    nasm-2.13.03/test/paste.asm
    nasm-2.13.03/test/br978756.asm
    nasm-2.13.03/test/br3028880.asm
    nasm-2.13.03/test/optimization.asm
    nasm-2.13.03/test/aouttest.asm
    nasm-2.13.03/test/macro-defaults.asm
    nasm-2.13.03/test/pinsr32.asm
    nasm-2.13.03/test/br3066383.asm
    nasm-2.13.03/test/_file_.asm
    nasm-2.13.03/test/invlpga.asm
    nasm-2.13.03/test/incbin.data
    nasm-2.13.03/test/sha-64.asm
    nasm-2.13.03/test/multisection.asm
    nasm-2.13.03/test/avx2.asm
    nasm-2.13.03/test/avx512er.asm
    nasm-2.13.03/test/dtbcd.asm
    nasm-2.13.03/test/pextrw.asm
    nasm-2.13.03/test/lwp.asm
    nasm-2.13.03/test/br3174983.asm
    nasm-2.13.03/test/changed.asm
    nasm-2.13.03/test/larlsl.asm
    nasm-2.13.03/test/riprel2.asm
    nasm-2.13.03/test/fwdoptpp.asm
    nasm-2.13.03/test/br3058845.asm
    nasm-2.13.03/test/aouttest.c
    nasm-2.13.03/test/br3392392.asm
    nasm-2.13.03/Makefile.in
    nasm-2.13.03/README
    nasm-2.13.03/common/
    nasm-2.13.03/common/common.c
    nasm-2.13.03/autogen.sh
    nasm-2.13.03/version.sed
    nasm-2.13.03/version.pl
    nasm-2.13.03/include/
    nasm-2.13.03/include/insns.h
    nasm-2.13.03/include/hashtbl.h
    nasm-2.13.03/include/error.h
    nasm-2.13.03/include/perfhash.h
    nasm-2.13.03/include/rdoff.h
    nasm-2.13.03/include/nasm.h
    nasm-2.13.03/include/nasmint.h
    nasm-2.13.03/include/ver.h
    nasm-2.13.03/include/raa.h
    nasm-2.13.03/include/md5.h
    nasm-2.13.03/include/opflags.h
    nasm-2.13.03/include/iflag.h
    nasm-2.13.03/include/tables.h
    nasm-2.13.03/include/disp8.h
    nasm-2.13.03/include/rbtree.h
    nasm-2.13.03/include/labels.h
    nasm-2.13.03/include/compiler.h
    nasm-2.13.03/include/strlist.h
    nasm-2.13.03/include/nasmlib.h
    nasm-2.13.03/include/saa.h
    nasm-2.13.03/contrib/
    nasm-2.13.03/contrib/VSrules/
    nasm-2.13.03/contrib/VSrules/nasm.README
    nasm-2.13.03/contrib/VSrules/nasm.rules
    nasm-2.13.03/contrib/MSVC6.txt
    nasm-2.13.03/SubmittingPatches
    nasm-2.13.03/stdlib/
    nasm-2.13.03/stdlib/strlcpy.c
    nasm-2.13.03/stdlib/vsnprintf.c
    nasm-2.13.03/stdlib/snprintf.c
    nasm-2.13.03/stdlib/strnlen.c
    nasm-2.13.03/disasm/
    nasm-2.13.03/disasm/sync.c
    nasm-2.13.03/disasm/disasm.h
    nasm-2.13.03/disasm/ndisasm.c
    nasm-2.13.03/disasm/sync.h
    nasm-2.13.03/disasm/disasm.c
    nasm-2.13.03/nasmlib/
    nasm-2.13.03/nasmlib/md5c.c
    nasm-2.13.03/nasmlib/rbtree.c
    nasm-2.13.03/nasmlib/badenum.c
    nasm-2.13.03/nasmlib/srcfile.c
    nasm-2.13.03/nasmlib/mmap.c
    nasm-2.13.03/nasmlib/zerobuf.c
    nasm-2.13.03/nasmlib/crc64.c
    nasm-2.13.03/nasmlib/saa.c
    nasm-2.13.03/nasmlib/raa.c
    nasm-2.13.03/nasmlib/bsi.c
    nasm-2.13.03/nasmlib/ver.c
    nasm-2.13.03/nasmlib/perfhash.c
    nasm-2.13.03/nasmlib/strlist.c
    nasm-2.13.03/nasmlib/hashtbl.c
    nasm-2.13.03/nasmlib/filename.c
    nasm-2.13.03/nasmlib/file.c
    nasm-2.13.03/nasmlib/path.c
    nasm-2.13.03/nasmlib/file.h
    nasm-2.13.03/nasmlib/realpath.c
    nasm-2.13.03/nasmlib/string.c
    nasm-2.13.03/nasmlib/readnum.c
    nasm-2.13.03/nasmlib/perfhash.pl
    nasm-2.13.03/nasmlib/ilog2.c
    nasm-2.13.03/nasmlib/malloc.c
    nasm-2.13.03/LICENSE
    nasm-2.13.03/ndisasm.txt
    nasm-2.13.03/misc/
    nasm-2.13.03/misc/c16.mac
    nasm-2.13.03/misc/README
    nasm-2.13.03/misc/proc32.ash
    nasm-2.13.03/misc/nasmstab
    nasm-2.13.03/misc/c32.mac
    nasm-2.13.03/misc/Nindent
    nasm-2.13.03/misc/exebin.mac
    nasm-2.13.03/misc/Doxyfile
    nasm-2.13.03/misc/exebin2.mac
    nasm-2.13.03/misc/magic
    nasm-2.13.03/misc/omfdump.c
    nasm-2.13.03/misc/nasm.sl
    nasm-2.13.03/misc/hints.txt
    nasm-2.13.03/misc/scitech.mac
    nasm-2.13.03/misc/crcgen.c
    nasm-2.13.03/misc/myC32.mac
    nasm-2.13.03/misc/genfma.pl
    nasm-2.13.03/misc/xcrcgen.c
    nasm-2.13.03/misc/fmtinsns.pl
    nasm-2.13.03/misc/pmw.bat
    nasm-2.13.03/CHANGES
    nasm-2.13.03/configure
    nasm-2.13.03/ndisasm.1
    nasm-2.13.03/tools/
    nasm-2.13.03/tools/tag-release
    nasm-2.13.03/tools/syncfiles.pl
    nasm-2.13.03/tools/cleanpatch
    nasm-2.13.03/tools/cleanfile
    nasm-2.13.03/tools/release
    nasm-2.13.03/tools/mkdep.pl
    nasm-2.13.03/INSTALL
    nasm-2.13.03/install-sh
    nasm-2.13.03/Mkfiles/
    nasm-2.13.03/Mkfiles/README
    nasm-2.13.03/Mkfiles/openwcom.mak
    nasm-2.13.03/Mkfiles/msvc.mak
    nasm-2.13.03/version
    nasm-2.13.03/nasm.txt
    nasm-2.13.03/nsis/
    nasm-2.13.03/nsis/version.nsh
    nasm-2.13.03/nsis/nasm-un.ico
    nasm-2.13.03/nsis/NASMMultiUser.nsh
    nasm-2.13.03/nsis/getpearch.pl
    nasm-2.13.03/nsis/nasm.nsi
    nasm-2.13.03/nsis/nasm.ico
    nasm-2.13.03/macros/
    nasm-2.13.03/macros/macros.pl
    nasm-2.13.03/macros/standard.mac
    nasm-2.13.03/macros/ifunc.mac
    nasm-2.13.03/macros/altreg.mac
    nasm-2.13.03/macros/macros.c
    nasm-2.13.03/macros/smartalign.mac
    nasm-2.13.03/macros/fp.mac
    nasm-2.13.03/config/
    nasm-2.13.03/config/watcom.h
    nasm-2.13.03/config/msvc.h
    nasm-2.13.03/config/config.h.in
    nasm-2.13.03/config/unknown.h
    nasm-2.13.03/nasm.1
    nasm-2.13.03/asm/
    nasm-2.13.03/asm/preproc.h
    nasm-2.13.03/asm/preproc-nop.c
    nasm-2.13.03/asm/tokens.h
    nasm-2.13.03/asm/pptok.h
    nasm-2.13.03/asm/stdscan.c
    nasm-2.13.03/asm/nasm.c
    nasm-2.13.03/asm/pragma.c
    nasm-2.13.03/asm/pptok.dat
    nasm-2.13.03/asm/float.h
    nasm-2.13.03/asm/pptok.pl
    nasm-2.13.03/asm/directiv.dat
    nasm-2.13.03/asm/error.c
    nasm-2.13.03/asm/labels.c
    nasm-2.13.03/asm/eval.h
    nasm-2.13.03/asm/directiv.h
    nasm-2.13.03/asm/assemble.h
    nasm-2.13.03/asm/parser.h
    nasm-2.13.03/asm/assemble.c
    nasm-2.13.03/asm/listing.c
    nasm-2.13.03/asm/tokhash.c
    nasm-2.13.03/asm/preproc.c
    nasm-2.13.03/asm/exprdump.c
    nasm-2.13.03/asm/pptok.c
    nasm-2.13.03/asm/parser.c
    nasm-2.13.03/asm/quote.h
    nasm-2.13.03/asm/quote.c
    nasm-2.13.03/asm/segalloc.c
    nasm-2.13.03/asm/tokens.dat
    nasm-2.13.03/asm/float.c
    nasm-2.13.03/asm/exprlib.c
    nasm-2.13.03/asm/phash.pl
    nasm-2.13.03/asm/directiv.c
    nasm-2.13.03/asm/listing.h
    nasm-2.13.03/asm/directbl.c
    nasm-2.13.03/asm/stdscan.h
    nasm-2.13.03/asm/rdstrnum.c
    nasm-2.13.03/asm/pptok.ph
    nasm-2.13.03/asm/tokhash.pl
    nasm-2.13.03/asm/strfunc.c
    nasm-2.13.03/asm/eval.c
    nasm-2.13.03/rdoff/
    nasm-2.13.03/rdoff/rdf2bin.1
    nasm-2.13.03/rdoff/segtab.c
    nasm-2.13.03/rdoff/rdf2srec.1
    nasm-2.13.03/rdoff/rdf2ihx.1
    nasm-2.13.03/rdoff/rdlib.h
    nasm-2.13.03/rdoff/test/
    nasm-2.13.03/rdoff/test/rdftest1.asm
    nasm-2.13.03/rdoff/test/rdtlib.asm
    nasm-2.13.03/rdoff/test/makelib.sh
    nasm-2.13.03/rdoff/test/rdftest2.asm
    nasm-2.13.03/rdoff/test/Makefile
    nasm-2.13.03/rdoff/test/rdfseg.asm
    nasm-2.13.03/rdoff/test/testlib.asm
    nasm-2.13.03/rdoff/test/rdfseg2.asm
    nasm-2.13.03/rdoff/test/rdtmain.asm
    nasm-2.13.03/rdoff/rdf2ith.1
    nasm-2.13.03/rdoff/rdlib.c
    nasm-2.13.03/rdoff/README
    nasm-2.13.03/rdoff/symtab.c
    nasm-2.13.03/rdoff/segtab.h
    nasm-2.13.03/rdoff/hash.c
    nasm-2.13.03/rdoff/ldrdf.1
    nasm-2.13.03/rdoff/rdfutils.h
    nasm-2.13.03/rdoff/rdflib.1
    nasm-2.13.03/rdoff/rdf2com.1
    nasm-2.13.03/rdoff/rdoff.c
    nasm-2.13.03/rdoff/ldsegs.h
    nasm-2.13.03/rdoff/rdfdump.1
    nasm-2.13.03/rdoff/rdlar.c
    nasm-2.13.03/rdoff/rdf2bin.c
    nasm-2.13.03/rdoff/symtab.h
    nasm-2.13.03/rdoff/collectn.c
    nasm-2.13.03/rdoff/rdfload.h
    nasm-2.13.03/rdoff/rdflib.c
    nasm-2.13.03/rdoff/rdfload.c
    nasm-2.13.03/rdoff/ldrdf.c
    nasm-2.13.03/rdoff/rdx.1
    nasm-2.13.03/rdoff/rdx.c
    nasm-2.13.03/rdoff/collectn.h
    nasm-2.13.03/rdoff/rdlar.h
    nasm-2.13.03/rdoff/hash.h
    nasm-2.13.03/rdoff/rdfdump.c
    nasm-2.13.03/rdoff/doc/
    nasm-2.13.03/rdoff/doc/Makefile
    nasm-2.13.03/rdoff/doc/v1-v2.txt
    nasm-2.13.03/rdoff/doc/rdoff.texi
    nasm-2.13.03/version.mac
    nasm-2.13.03/output/
    nasm-2.13.03/output/legacy.c
    nasm-2.13.03/output/elf.h
    nasm-2.13.03/output/outbin.mac
    nasm-2.13.03/output/nulldbg.c
    nasm-2.13.03/output/outform.h
    nasm-2.13.03/output/stabs.h
    nasm-2.13.03/output/outobj.c
    nasm-2.13.03/output/codeview.c
    nasm-2.13.03/output/outform.c
    nasm-2.13.03/output/outlib.c
    nasm-2.13.03/output/outbin.c
    nasm-2.13.03/output/outieee.c
    nasm-2.13.03/output/outas86.mac
    nasm-2.13.03/output/outmacho.mac
    nasm-2.13.03/output/outaout.c
    nasm-2.13.03/output/outaout.mac
    nasm-2.13.03/output/outdbg.c
    nasm-2.13.03/output/outmacho.c
    nasm-2.13.03/output/outrdf2.c
    nasm-2.13.03/output/nullout.c
    nasm-2.13.03/output/outlib.h
    nasm-2.13.03/output/outobj.mac
    nasm-2.13.03/output/outcoff.c
    nasm-2.13.03/output/outcoff.mac
    nasm-2.13.03/output/outrdf2.mac
    nasm-2.13.03/output/outelf.h
    nasm-2.13.03/output/pecoff.h
    nasm-2.13.03/output/outrdf.mac
    nasm-2.13.03/output/dwarf.h
    nasm-2.13.03/output/outelf.c
    nasm-2.13.03/output/outas86.c
    nasm-2.13.03/output/outelf.mac
    nasm-2.13.03/perllib/
    nasm-2.13.03/perllib/random_sv_vectors.ph
    nasm-2.13.03/perllib/gensv.pl
    nasm-2.13.03/perllib/phash.ph
    nasm-2.13.03/perllib/crc64.ph
    nasm-2.13.03/configure.ac
    nasm-2.13.03/aclocal.m4
    nasm-2.13.03/ChangeLog
    nasm-2.13.03/nasm.spec.in
    nasm-2.13.03/x86/
    nasm-2.13.03/x86/insnsi.h
    nasm-2.13.03/x86/regvals.c
    nasm-2.13.03/x86/insnsa.c
    nasm-2.13.03/x86/insns.pl
    nasm-2.13.03/x86/regs.h
    nasm-2.13.03/x86/regflags.c
    nasm-2.13.03/x86/disp8.c
    nasm-2.13.03/x86/regdis.h
    nasm-2.13.03/x86/insnsn.c
    nasm-2.13.03/x86/iflag.c
    nasm-2.13.03/x86/insnsb.c
    nasm-2.13.03/x86/regs.pl
    nasm-2.13.03/x86/regdis.c
    nasm-2.13.03/x86/insns-iflags.ph
    nasm-2.13.03/x86/insnsd.c
    nasm-2.13.03/x86/regs.c
    nasm-2.13.03/x86/iflaggen.h
    nasm-2.13.03/x86/regs.dat
    nasm-2.13.03/x86/insns.dat
    nasm-2.13.03/nasm.spec
    nasm-2.13.03/version.h
    nasm-2.13.03/version.mak
    nasm-2.13.03/nasm.spec.sed
    nasm-2.13.03/doc/
    nasm-2.13.03/doc/Makefile.in
    nasm-2.13.03/doc/nasmdoc.css
    nasm-2.13.03/doc/README
    nasm-2.13.03/doc/findfont.ph
    nasm-2.13.03/doc/pswidth.ph
    nasm-2.13.03/doc/pspdf.pl
    nasm-2.13.03/doc/head.ps
    nasm-2.13.03/doc/rdsrc.pl
    nasm-2.13.03/doc/Makefile
    nasm-2.13.03/doc/ttfmetrics.ph
    nasm-2.13.03/doc/genps.pl
    nasm-2.13.03/doc/inslist.pl
    nasm-2.13.03/doc/opt_var.txt
    nasm-2.13.03/doc/nasmlogo.eps
    nasm-2.13.03/doc/afmmetrics.ph
    nasm-2.13.03/doc/local.css
    nasm-2.13.03/doc/internal.doc
    nasm-2.13.03/doc/changes.src
    nasm-2.13.03/doc/nasmdoc.src
    nasm-2.13.03/doc/psfonts.ph
    nasm-2.13.03/doc/nasmlogw.png
    + autoheader
    + autoconf
    + rm -rf autom4te.cache config.log config.status
    + rm -f Makefile rdoff/Makefile doc/Makefile
    + rm -f config.h.in config.h config/config.h
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking for gcc option to accept ISO C99... none needed
    checking for gcc option to accept ISO Standard C... (cached) none needed
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for suffix of library files... a
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking for C/C++ restrict keyword... __restrict
    checking for size_t... yes
    checking whether byte ordering is bigendian... no
    checking if gcc accepts -fwrapv... yes
    checking if gcc accepts -U__STRICT_ANSI__... yes
    checking if gcc accepts -fno-common... yes
    checking for nroff... nroff
    checking for asciidoc... no
    checking for xmlto... no
    configure: WARNING: No asciidoc package found
    configure: WARNING: No xmlto package found
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking for ANSI C header files... (cached) yes
    checking for inttypes.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for stdbool.h that conforms to C99... yes
    checking for _Bool... yes
    checking stdnoreturn.h usability... yes
    checking stdnoreturn.h presence... yes
    checking for stdnoreturn.h... yes
    checking io.h usability... no
    checking io.h presence... no
    checking for io.h... no
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking for unistd.h... (cached) yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking sys/mman.h usability... yes
    checking sys/mman.h presence... yes
    checking for sys/mman.h... yes
    checking for sys/types.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking for strcasecmp... yes
    checking for stricmp... no
    checking for strncasecmp... yes
    checking for strnicmp... no
    checking for strsep... yes
    checking for strnlen... yes
    checking for getuid... yes
    checking for getgid... yes
    checking for realpath... yes
    checking for canonicalize_file_name... yes
    checking for _fullpath... no
    checking for pathconf... yes
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for _fseeki64... no
    checking for ftruncate... yes
    checking for _chsize... no
    checking for _chsize_s... no
    checking for fileno... yes
    checking for _fileno... no
    checking for _filelengthi64... no
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking for getpagesize... (cached) yes
    checking for sysconf... yes
    checking for access... yes
    checking for _access... no
    checking for faccessat... yes
    checking for __builtin_clz... yes
    checking for __builtin_clzl... yes
    checking for __builtin_clzll... yes
    checking for __builtin_expect... yes
    checking for vsnprintf... yes
    checking for _vsnprintf... no
    checking for snprintf... yes
    checking for _snprintf... no
    checking for strlcpy... no
    checking for struct _stati64... no
    checking for struct stat... yes
    checking for stat... yes
    checking for _stati64... no
    checking for fstat... yes
    checking for _fstati64... no
    checking whether strcasecmp is declared... yes
    checking whether stricmp is declared... no
    checking whether strncasecmp is declared... yes
    checking whether strnicmp is declared... no
    checking whether strsep is declared... yes
    checking whether strlcpy is declared... no
    checking whether strnlen is declared... yes
    checking for uintptr_t... yes
    checking if gcc accepts -Werror=attributes... yes
    checking if gcc supports the noreturn function attribute... yes
    checking if gcc supports the returns_nonnull function attribute... yes
    checking if gcc supports the malloc function attribute... yes
    checking if gcc supports the alloc_size function attribute... yes
    checking if gcc supports the format function attribute... yes
    checking if gcc supports the const function attribute... yes
    checking if gcc supports the pure function attribute... yes
    checking if gcc supports the error function attribute... yes
    checking if gcc accepts -W... yes
    checking if gcc accepts -Wall... yes
    checking if gcc accepts -pedantic... yes
    checking if gcc accepts -Werror=unknown-warning-option... no
    checking if gcc accepts -Wpedantic-ms-format... no
    checking if gcc accepts -Wc90-c99-compat... yes
    checking if gcc accepts -Wlong-long... yes
    checking if gcc accepts -Werror=implicit... yes
    checking if gcc accepts -Werror=missing-braces... yes
    checking if gcc accepts -Werror=return-type... yes
    checking if gcc accepts -Werror=trigraphs... yes
    checking if gcc accepts -Werror=pointer-arith... yes
    checking if gcc accepts -Werror=strict-prototypes... no
    checking if gcc accepts -Werror=missing-prototypes... yes
    checking if gcc accepts -Werror=missing-declarations... yes
    checking if gcc accepts -Werror=comment... yes
    checking if gcc accepts -Werror=vla... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating doc/Makefile
    config.status: creating config/config.h
    config.status: executing default-1 commands
    gcc -c -g -O3 -fwrapv -U__STRICT_ANSI__ -fno-common -Werror=attributes -W -Wall -pedantic -Wc90-c99-compat -Wno-long-long -Werror=implicit -Werror=missing-braces -Werror=return-type -Werror=trigraphs -Werror=pointer-arith -Werror=missing-prototypes -Werror=missing-declarations -Werror=comment -Werror=vla -DHAVE_CONFIG_H -I. -I. -I./include -I./include -I./x86 -I./x86 -I./asm -I./asm -I./disasm -I./disasm -I./output -I./output -o asm/nasm.o asm/nasm.c
    In file included from ./include/nasm.h:46,
                   from asm/nasm.c:47:
    ./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’ [-Werror=attributes]
    void pure_func seg_init(void);
    ^~~~
    cc1: some warnings being treated as errors
    make: *** [Makefile:75: asm/nasm.o] Error 1

    how can a build this ? disable warnings as errors somehow or ? idk
    please and thanks