Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i got an error #9

Open
MrAryavart opened this issue Jul 1, 2020 · 19 comments
Open

i got an error #9

MrAryavart opened this issue Jul 1, 2020 · 19 comments

Comments

@MrAryavart
Copy link

https://drive.google.com/file/d/1tUqR67hdNJ5PL9lyjqJswwqIhC_Gx4Lt/view?usp=sharing
i have shared the image with google drive link.

@emmett1
Copy link
Owner

emmett1 commented Jul 1, 2020

The link you gave shows nothing.

@emmett1
Copy link
Owner

emmett1 commented Jul 2, 2020

Script is updated. If you can confirm its working fine now on Mint i will add it to tested host section.

@MrAryavart
Copy link
Author

I will check and confirm

@MrAryavart
Copy link
Author

when i start the toolchain script i get this:
mkdir: cannot create directory '/mnt/lfs': Permission denied
mkdir: cannot create directory '/mnt/lfs': Permission denied

@MrAryavart MrAryavart reopened this Jul 5, 2020
@MrAryavart
Copy link
Author

the error which i was telling

collect2: error: ld returned 1 exit status
make: *** [Makefile:46: pkgadd] Error 1
!!! build pkgutils-5.40.7 failed !!!

@M0E-lnx
Copy link

M0E-lnx commented Jul 8, 2020

I got this same error. It looks like the problem is related to libarchive

The actual error starts with pkgutil.cc:(.text+0x1875): undefined reference to archive_read_new ans is followed with lots similar messages about all kinds libarchive functions.

No clue how to fix this, but I thought I'd mention what I came across.

@MrAryavart
Copy link
Author

Let's wait for @emmett1 to reply

@M0E-lnx
Copy link

M0E-lnx commented Jul 8, 2020

BTW, I think this is a duplicate or #7 or at least related to it.

@emmett1
Copy link
Owner

emmett1 commented Jul 8, 2020

when i start the toolchain script i get this:
mkdir: cannot create directory '/mnt/lfs': Permission denied
mkdir: cannot create directory '/mnt/lfs': Permission denied

Yes this happen to me too but the build still success for me. Sure i will take a look at it later :D

@emmett1
Copy link
Owner

emmett1 commented Jul 8, 2020

the error which i was telling

collect2: error: ld returned 1 exit status
make: *** [Makefile:46: pkgadd] Error 1
!!! build pkgutils-5.40.7 failed !!!

What distro as host did you use? And is it live environment or not?

@emmett1
Copy link
Owner

emmett1 commented Jul 8, 2020

I got this same error. It looks like the problem is related to libarchive

The actual error starts with pkgutil.cc:(.text+0x1875): undefined reference to archive_read_new ans is followed with lots similar messages about all kinds libarchive functions.

No clue how to fix this, but I thought I'd mention what I came across.

What distro as host did you use? And is it live environment or not?

@emmett1
Copy link
Owner

emmett1 commented Jul 8, 2020

BTW, I think this is a duplicate or #7 or at least related to it.

Those issue already fix in latest update. Make sure you on latest script.

@MrAryavart
Copy link
Author

@emmett1 Distro is Linux Mint and it was not live

@MrAryavart
Copy link
Author

i am really sorry i didn't see other issues its same as #7

@emmett1
Copy link
Owner

emmett1 commented Jul 9, 2020

Debian based distro often give problem when build lfs. Try other distro then tell me the result. I will try on debian distro when i got free time and try to make it work.

@MrAryavart
Copy link
Author

i am trying on manjaro and i didn't face the pkg build error...

@emmett1
Copy link
Owner

emmett1 commented Jul 15, 2020

Ok cool, i will add to tested host list.

@jmarroyave
Copy link

I had the same error on Ubuntu, the problem was because libarchive was missing

sudo apt-get install libarchive-dev

@voncloft
Copy link

Receiving the smae error pkgutil.cc:(.text+0x295f): undefined reference to `archive_read_new'

Using kubuntu

Tried libarchive-dev installing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants